gfx:get-window-size

(gfx:get-window-size canvas|opengl)


Description:

get the width and height of this canvas or opengl window as a dotted pair


Arguments:

canvas or opengl -- the canvas or opengl window who's dimensions we want


Returns: pair


Examples:

(gfx:get-window-size (gfx:make-canvas)) => (578 . 600)



Back to index