Advanced Graphics Functions

AlignSelected           Aligns selected graphic objects.

Cls                         Clears the screen and sets its background color.

Coordinates             Sets the VTS screen coordinate limits (also called "world coordinates") used by the graphics functions.

Crop                       Modifies an existing bitmap, producing a new one that displays a sub-section of the original.

DialogInitPos            Attempts to position a dialog so that it is not started beyond the left, right, top, or bottom of the visible screen.

DragHandle              Drags a selected graphic object's selected handle.

DrawArcPath            Draws an arc in any window.

DrawChordPath        Draws a chord in any window.

DrawEllipticalPath      Draws an ellipse in any window.

DrawPath                Draws a polygon in any window.

DrawPiePath            Draws a pie path in any window.

Freeze                    Freezes all or selected animated graphics in a window.

Folder                     Draws a tabbed folder dialog.

GetColorInfo            Returns the brush and pen information for a given graphic statement.

GetModuleRefBox     Returns the outer reference box for any selectable (GUI) graphics in a module.

GetPathBound          Returns the bounding box coordinates for a path.

GetSelected             Returns a selected graphic item in a window.

GetSelectedInfo        Returns information about selected graphic item(s) in a window.

GetShapePath          Returns the path value that defines the shape of a polygon.

GetSubgraphic          Returns the subgraphic function of the specified statement.

GetTrajectoryPath     Returns the Path value that defines the trajectory of a graphic object.

GetTransform          Returns the transform value applied to a graphic statement.

GetXformRefBox      Returns the reference box for any transform of a module.

ImageArray             Reads an existing image handle and returns another one containing an image created from that handle by tiling the image a given number of times.

ImageSweep            Reads an existing image handle and returns another one containing an image created from that handle by tiling the image a given number of times along an arc-shaped path.

LastSelected            Returns the most recently selected graphic statement.

ModifyBitmap           Reads an existing image handle and produces a new one with modifications.

Normalize                Returns a normalize value.

NumSelected           Returns the number of selected graphics statements in a window.

Palette                    Allows the color assignment for a color number to be changed, provided that Windows is running in 256 color mode.

PalStatus                 Returns the current palette settings.

Path                       Returns a path value.

Point                      Returns a two-dimensional point or location in a window.

RootTransform         Returns the object value that contains the root transform applied to the given module.

Rotate                    Returns a rotate value that specifies a rotation about a point.

SectionControl          Creates a control that displays a variable number of sections. Visually, a section consists of a header and content.

SelectArea               Selects active graphics statements within a rectangular area in a window.

SelectCodePointer     Given a window object and a code pointer for an active graphics object within that window, this function adds the graphics object to the window's selection set.

SelectDAG               Selects an active graphics statement.

SelectGraphic           Selects an active graphics statement at a location in a window.

SelectHandle            Returns a pointer to a handle of selected graphics statements at a location in a window.

SelectHandleNum      Selects the given handle of selected graphics statements in a window.

SelectPath               Selects a path given its code pointer value.

SetHandle                Sets the position of graphics handles in a window.

SetModuleRefBox      Sets the reference box for a module.

SetXLoc                  Sets the X screen location of the locator (mouse).

SetYLoc                  Sets the Y screen location of the locator (mouse).

Trajectory               Returns a trajectory value.

UnselectGraphics      Unselects all of the graphics in the specified window.

UnselectObject         Unselects a statement in the context supplied.

Untransform            Undoes a previous transform so that the module instance and everything it has called will not be transformed.

UpdateCoordinates    Updates a graphic statement's coordinates to the document file in which it is specified.

Vertex                    Returns a Vertex value, which is a collection of 3 points and a mode.