Purpose |
Define a custom coordinate system for the graphic target. |
Syntax |
GRAPHIC SCALE (x1!, y1!) - (x2!,
y2!) |
Remarks |
The graphic target must first be chosen with GRAPHIC ATTACH. GRAPHIC
SCALE lets you define your own world coordinate system for subsequent
If x2! is greater than x1!, coordinates grow larger as they move to the right. Otherwise, they grow larger as they move to the left. If y2! is greater than y1!, coordinates grow larger as they move downward. Otherwise, they grow larger as they move upward. By default, the position x2!/y2! translates to the first pixel which is outside of the client area, and therefore not drawn. However, if OVERLAP MODE is enabled by GRAPHIC SET OVERLAP, x2!/y2! translates to the final pixel in the client area and is drawn. GRAPHIC SCALE PIXELS sets or resets the coordinate system to pixel coordinates. |
See also |
GRAPHIC ATTACH, GRAPHIC CELL, GRAPHIC CELL SIZE, GRAPHIC GET SCALE, GRAPHIC SET OVERLAP |