Graphic Commands

The followings can be used to display graphics:

BGR

Convert an RGB color value to BGR format.

GRAPHIC(CANVAS.X)

Retrieves the writable width of the attached graphic target.

GRAPHIC(CANVAS.Y)

Retrieves the writable height of the attached graphic target.

GRAPHIC(Cell.Size.X)

Retrieves the character cell width including external leading.

GRAPHIC(Cell.Size.Y)

Retrieves the character cell height including external leading.

GRAPHIC(Chr.Size.X)

Retrieves the character width on the graphic target.

GRAPHIC(Chr.Size.Y)

Retrieves the character height on the graphic target.

GRAPHIC(Client.X)

Retrieves the client width of the attached graphic target.

GRAPHIC(Client.Y)

Retrieves the client height of the attached graphic target.

GRAPHIC(Clip.X)

Retrieves the width of the clip area.

GRAPHIC(Clip.Y)

Retrieves the height of the clip area.

GRAPHIC(COL)

Retrieves the next column print position, based upon the row and column position of a text cell.

GRAPHIC(DC)

Retrieves the handle of the DC (device context) for the selected graphic target.

GRAPHIC(INSTAT)

determines whether a keyboard character is ready.

GRAPHIC(LINES)

Retrieves the number of text lines which will fit on the graphic target.

GRAPHIC(LOC.X)

Retrieves the horizontal location of the graphic target on the desktop.

GRAPHIC(LOC.Y)

Retrieves the vertical location of the graphic target on the desktop

GRAPHIC(MIX)

Retrieves the color mix mode for the selected graphic target.

GRAPHIC(OVERLAP)

Retrieves the status of Graphic Overlap Mode.

GRAPHIC(PIXEL...)

Retrieves the color of the pixel at the specified point.

GRAPHIC(POS.X)

Retrieves the horizontal POS (last point referenced) by a GRAPHIC statement.

GRAPHIC(POS.Y)

Retrieves the vertical POS (last point referenced) by a GRAPHIC statement.

GRAPHIC(PPI.X)

Retrieves the horizontal resolution of the display device, in points per inch.

GRAPHIC(PPI.Y)

Retrieves the vertical resolution of the display device, in points per inch.

GRAPHIC(ROW)

Retrieves the next row print position, based upon the row and column position of a text cell.

GRAPHIC(SCROLLTEXT)

Retrieves the status of Graphic ScrollText Mode.

GRAPHIC(SIZE.X)

Retrieves the overall width of the selected graphic target.

GRAPHIC(SIZE.Y)

Retrieves the overall height of the selected graphic target.

GRAPHIC(STRETCHMODE)

Retrieves the default bitmap stretching mode for the attached DC.

GRAPHIC(TEXT.SIZE.X...)

calculates the width of text to be printed.

GRAPHIC(TEXT.SIZE.Y...)

calculates the height of text to be printed.

GRAPHIC(View.X)

Retrieves the horizontal position of the virtual graphic viewport.

GRAPHIC(View.Y)

Retrieves the vertical position of the virtual graphic viewport.

GRAPHIC(WORDWRAP)

Retrieves the status of Graphic WordWrap Mode.

GRAPHIC(WRAP)

Retrieves the status of Graphic Wrap Mode.

GRAPHIC$(CAPTION)

Retrieves the caption from a Graphic Window.

GRAPHIC$(INKEY$)

reads a keyboard character if one is ready.

GRAPHIC$(WAITKEY$)

reads a keyboard character or extended key, waiting until one is ready.

GRAPHIC$(WAITKEY$...)

reads a limited set of keyboard characters or extended keys, with an optional timeout value.

GRAPHIC ARC

Draw an arc in the selected graphic window.

GRAPHIC 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 CELL

Sets or Retrieves the next print position of a text cell.

GRAPHIC CELL SIZE

Retrieve the character cell size including external leading.

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

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

GRAPHIC GET CANVAS

Retrieves the buffer size of the attached graphic target.

GRAPHIC GET CAPTION

Retrieves the caption from a Graphic Window.

GRAPHIC GET CLIENT

Retrieve the client size of the selected graphic target.

GRAPHIC GET CLIP

Retrieves the size of the clip area.

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 OVERLAP

Retrieves the status of Graphic Overlap Mode.

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

Retrieves the status of Graphic ScrollText Mode.

GRAPHIC GET SIZE

Retrieves the overall size of the selected graphic target.

GRAPHIC GET STRETCHMODE

Retrieves the default bitmap stretching mode for the attached DC.

GRAPHIC GET VIEW

Retrieves the position of the virtual graphic viewport.

GRAPHIC GET WORDWRAP

Retrieves the status of Graphic WordWrap Mode.

GRAPHIC GET WRAP

Retrieves the status of Graphic Wrap Mode.

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 AUTOSIZE

Expands a graphic target into autosize mode.

GRAPHIC SET BITS

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

GRAPHIC SET CAPTION

Change the caption on a Graphic Window.

GRAPHIC SET CLIENT

Change the size of a graphic window to a specific client area size.

GRAPHIC SET CLIP

Establishes margins around the outer edges of the graphic target.

GRAPHIC SET FIXED

Restores a graphic target to standard fixed mode.

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 OVERLAP

Enables or disables Graphic Overlap Mode.

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 SET SCROLLTEXT

Enables or disables Graphic ScrollText Mode.

GRAPHIC SET SIZE

Change the overall size of a graphic window.

GRAPHIC SET STRETCHMODE

Sets the default bitmap stretching mode for the current DC.

GRAPHIC SET VIEW

Changes the position of the viewport on a virtual graphic target.

GRAPHIC SET VIRTUAL

Expands a graphic target into virtual mode.

GRAPHIC SET WORDWRAP

Enables or disables Graphic WordWrap Mode.

GRAPHIC SET WRAP

Enables or disables Graphic Wrap Mode.

GRAPHIC SPLIT

Splits a string into two parts for display on a 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.

GRAPHIC WINDOW HIDE

Make a graphic window invisible.

GRAPHIC WINDOW MINIMIZE

Minimize a graphic window.

GRAPHIC WINDOW NONSTABLE

Make a graphic window non-stable (closeable).

GRAPHIC WINDOW NORMALIZE

Make a graphic window visible.

GRAPHIC WINDOW STABILIZE

Make a graphic window stable (non-closeable).

GRAPHIC WINDOW TEXT

Create a new graphic window oriented more towards the display of text.

RGB

Return an RGB color value for use with the Windows API palette and GDIs.