GetCanvasViewport ( canvas_num, ByRef x, ByRef y, ByRef w, ByRef h )

Gets position and dimensions of the current canvas viewport.

Example: