Silverfrost Logo About Us | Contact Us
 

Basic graphics primitives

Once a %gr 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.

 

 

Copyright © 1999-2017 Silverfrost Limited