Graphic Commands

The following functions can be used to display graphics:

BGR

Convert an RGB color value to BGR format

GRAPHIC ARC

Draw an arc in the selected graphic window

GARAPHIC ATTACH

Select the graphic target (window or bitmap) on which future drawing operations will take place

GRAPHIC BITMAP END

Close the selected graphic bitmap

GRAPHIC BITMAP LOAD

Create a memory bitmap and load an image into it

GRAPHIC BITMAP NEW

Create a new memory bitmap

GRAPHIC BOX

Draw a box with square or rounded corners in the selected graphic window

GRAPHIC CHR SIZE

Retrieve the character size for the current font in the selected graphic window

GRAPHIC CLEAR

Clear the entire selected graphic window, optionally using a specified color and fill style

GRAPHIC COLOR

Set the foreground color and optionally the background color for various graphic statements

GRAPHIC COPY

Copy a bitmap to the selected graphic target

GRAPHIC ELLIPSE

Draw an ellipse or a circle in the selected graphic window

GRAPHIC FONT

Select a font for the GRAPHIC PRINT statement

GRAPHIC GET BITS

Retrieve a copy of a bitmap, storing it as a device-independent bitmap in a dynamic string variable

GRAPHIC GET CLIENT

Retrieve the client size of the selected graphic target

GRAPHIC GET DC

Retrieve the handle of the DC (device context) for the selected graphic window

GRAPHIC GET LOC

Retrieve the location of the selected graphic window on the screen

GRAPHIC GET MIX

Retrieve the color mix mode for the selected graphic target

GRAPHIC GET PIXEL

Retrieve the color of the pixel at the specified point in the selected graphic window

GRAPHIC GET POS

Retrieve the POS (last point referenced) by a graphic statement

GRAPHIC GET PPI

Retrieve the resolution of the display device, in points per inch

GRAPHIC LINE

Draw a line in the selected graphic window

GRAPHIC PAINT

Fill an area with a solid color or a hatch pattern

GRAPHIC PIE

Draw a pie section on the selected graphic target

GRAPHIC POLYGON

Draw a polygon in the selected graphic target

GRAPHIC POLYLINE

Draw a series of connected line segments

GRAPHIC PRINT

Output text to the selected graphic target

GRAPHIC REDRAW

Update buffered graphical statements, drawing them to the selected graphic target

GRAPHIC RENDER

Render an image on the selected graphic target

GRAPHIC SAVE

Save an image to a bitmap (.BMP) file

GRAPHIC SCALE

Define a custom coordinate system for the graphic target

GRAPHIC SET BITS

Replace a copy of a bitmap that was retrieved as a device-independent bitmap

GRAPHIC SET FOCUS

Bring the selected graphic window to the foreground and direct focus to it

GRAPHIC SET LOC

Change the location of the selected graphic window on the screen

GRAPHIC SET MIX

Set the color mix mode for the selected graphic target

GRAPHIC SET PIXEL

Draw a single pixel to the selected graphic window

GRAPHIC SET POS

Set the last point referenced (POS) for the selected graphic target

GRAPHIC STRETCH

Copy and resize a bitmap to the selected graphic target

GRAPHIC STYLE

Set the line style to be used by various graphical statements in the selected graphic target

GRAPHIC TEXT SIZE

Calculate the size of text to be printed

GRAPHIC WIDTH

Set the line width to be used by various graphical statements in the selected graphic target

GRAPHIC WINDOW

Create a new graphic window

GRAPHIC WINDOW END

Close and destroy the selected graphic window

RGB

Return an RGB color value for use with the Windows API palette and GDI functions