Racket | (require iup/glcanvas) |
---|---|
CHICKEN | (require-extension iup-glcanvas) |
(glcanvas [action (or/c symbol? string? #f) #f] #: ...) → ihandle?
(call-with-glcanvas [handle ihandle?] [proc (-> ihandle? any)] #:swap? [swap? any/c #f] #:sync? [sync? any/c #f]) → any
swap?
is true, the double buffers of the OpenGL context are
swapped before the call returns.
If sync?
is true, the state of the windowing system and OpenGL
is synchronized before entry into and after exit from the given procedure.
(glcanvas-is-current? [handle ihandle?]) → boolean?
(glcanvas-palette-set! [handle ihandle?] [index integer?] [red real?] [green real?] [blue real?]) → void?
(glcanvas-font-set! [handle ihandle?] [first integer?] [count integer?] [list-base integer?]) → void?