Documentation: Draw Module Overview (Version #1)
Programmer’s Reference Manuals
» Part 8 – Non-kernel input/output
» Draw Module
» Overview
Overview
The Draw Module provides an implementation of PostScript type drawing. By grouping lines, curves and moves using a user-defined co-ordinate system, they can be manipulated as one object. This object is called a path.
A path can be manipulated in a manner 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.