Basic graphics primitives

In this section:

Once a %gr (Graphics Region) drawing surface has been created, the following functions are used to draw in the space:

DRAW_LINE_BETWEEN@

Draws a straight line between two points.

DRAW_CHARACTERS@

Draws text.

DRAW_ELLIPSE@

Draws an ellipse.

DRAW_FILLED_ELLIPSE@

Fills an ellipse.

DRAW_FILLED_POLYGON@

Fills a polygon.

DRAW_FILLED_RECTANGLE@

Fills a rectangle.

DRAW_POLYLINE@

Draws a number of connected straight lines.

DRAW_RECTANGLE@

Draws a rectangle.

DRAW_POINT@

Sets a pixel colour.

SET_LINE_STYLE@

Sets attributes for line drawing.

SET_LINE_WIDTH@

Sets the width for line drawing.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited