Graphic Commands

The following functions can be used to display graphics:

BGR

Convert an RGB color value to BGR format

FONT END

Destroy a font when it is no longer needed

FONT NEW

Create a new font for use with GRAPHIC PRINT, XPRINT, etc

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 DETACH

Detaches a graphic target

GRAPHIC ELLIPSE

Draw an ellipse or a circle in the selected graphic target

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 target

GRAPHIC GET LINES

Retrieve the number of lines that can be printed on the graphic target

GRAPHIC GET LOC

Retrieve the location of the selected graphic target 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 target

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 GET SCALE

Retrieve the current coordinate limits for the graphic target

GRAPHIC INKEY$

Read a keyboard character if one is ready from the graphic target

GRAPHIC INPUT

Read data from the keyboard from within a graphic window

GRAPHIC INSTAT

Determine whether a keyboard character is ready

GRAPHIC INPUT FLUSH

Remove all buffered keyboard data

GRAPHIC LINE

Draw a line in the selected graphic target

GRAPHIC LINE INPUT

Read an entire line from the keyboard from 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 FONT

Select a font for the GRAPHIC PRINT, GRAPHIC INPUT, and GRAPHIC LINE INPUT statements

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 WAITKEY$

Read a keyboard character from the graphic window, waiting until one is ready.

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 CLICK

Check whether a GRAPHIC WINDOW has been clicked with the mouse

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