func_graphics_max2d_getviewport.rst 426 B

123456789101112131415161718192021222324252627282930313233
  1. .. _func_graphics_max2d_getviewport:
  2. ===========
  3. GetViewport
  4. ===========
  5. GetViewport -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. GetViewport( x Var,y Var,width Var,height Var )
  10. Get dimensions of current Viewport.
  11. Parameters
  12. ==========
  13. Return Values
  14. =============
  15. The horizontal, vertical, width and height values of the current Viewport in the variables supplied.
  16. Examples
  17. ========
  18. See Also
  19. ========