[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SET DRAWING AREA

Description:
This command will establish a window that will prohibit any drawing to
occur outside.  It is a simple way to confine the display of graphical
objects.

Syntax:
SET DRAWING AREA
   [FROM <Pos1_a>,<Pos1_b> TO <Pos2_a>,<Pos2_b>]

Arguments:
<Pos1_a> is the upper left row screen coordinate of the box.
<Pos1_b> is the upper left column screen coordinate of the box.
<Pos2_a> is the lower right row screen coordinate of the box.
<Pos2_b> is the lower right column screen coordinate of the box.

Example:
SET DRAWING AREA FROM <Pos1_a>,<Pos1_b> ; // define a drawing area
   TO <Pos2_a>,<Pos2_b>

         Purpose: Restrict drawing to a window area
 Mapped Function: __SetDrawArea() contained in GLLIBR.PRG.
   dGE functions: clipwin()
   Other GL UDFs: None.
System variables: None.
System constants: None.

See Also:

See Also: __SetDrawArea()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson