NAME WINDOW Statement SYNOPSIS WINDOW [[SCREEN] (x1!,y1!)-(x2!,y2!)] o SCREEN Inverts the normal Cartesian direction of the y screen coordinates so that y values increase from the top of the screen to the bottom. o (x1!,y1!) Logical coordinates that map to the upper-left screen coordinates of the viewport. o (x2!,y2!) Logical coordinates that map to the lower-right screen coordinates of the viewport. o WINDOW with no arguments disables the logical coordinate system. o Use the VIEW statement to change the size of the viewport. DESCRIPTION Defines logical dimensions for the current graphics viewport. Use the WINDOW statement to define your own viewport coordinate system. Example: 'This example requires a color graphics adapter. SCREEN 1 FOR i% = 1 TO 10 STEP 2 WINDOW (-160 / i%, -100 / i%)-(160 / i%, 100 / i%) CIRCLE (0, 0), 10 NEXT i% SEE ALSO CLS PMAP POINT SCREEN Statement VIEW WIDTH