Purpose |
Enables or disables Graphic Overlap Mode. |
Syntax |
GRAPHIC SET OVERLAP [NumrExpr&] |
Remarks |
GRAPHIC SET OVERLAP enables or disables overlap mode for the graphic target which is currently attached to the graphic stream. It has no effect on any other graphic target. If NumrExpr& is true (non-zero), overlap mode is enabled. If false (zero), wrap mode is disabled. If NumrExpr& is missing, the default is to enable Overlap Mode. With Overlap Mode, you control how PowerBASIC treats
GRAPHIC BOX (0,0) - (50,50) In this case, a box is drawn from 0,0 to 49,49. The final pixels at the bottom and right edge are simply not drawn. However, if Overlap Mode is enabled with GRAPHIC SET OVERLAP, the box is drawn from 0,0 to 50,50. The Overlap Mode affects drawing operations involving GRAPHIC SCALE, GRAPHIC BOX, GRAPHIC ELLIPSE, GRAPHIC LINE, GRAPHIC POLYLINE, etc. |
See also |