Documentation: Draw Module Overview
Programmer’s Reference Manuals
» Part 8 – Non-kernel input/output
» Draw Module
» Overview
Overview
The Draw Module provides vector-graphics drawing, based on MOVE/DRAW and Bezier curve primitives; much like a subset of Postscript. A sequence of primitive operations is called a path. Objects can be obtained by grouping paths.
Paths and objects can be manipulated in a number of different ways. A comprehensive list of options is provided below:
- Rotation, scaling and translation of the path
- Thickness of a line
- Description of dots and dashes for a line
- Joins between lines can be mitred, round or bevelled
- Leading or trailing ends of a line can have the following shapes; butt, round, squared or triangled
- Filling of arbitrary shapes
- Fill the interior of a shape
A path can be manipulated directly on screen or in memory using different sets of SWIs.