RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

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.

Revised on January 3, 2010 17:33:01 by GavinWraith (26)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: Draw Module

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys