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

Page "Wiki/versions/6" does not exist. Please create it now, or hit the "back" button in your browser.

Draw_StrokePath

Programmer's Reference Manuals
» Part 8 - Non-kernel input/output
» Draw Module
» SWI Calls
» Draw_StrokePath

Draw_StrokePath

(SWI &40706)
Entry
R0 Pointer to path block
R1 Pointer to an output path block, or 0 to calculate size
R2 Pointer to transformation matrix, or 0 for default
R3 Flatness, or 0 for default
R4 Line thickness, or 0 for default
R5 Pointer to join/cap block, or 0 if none
R6 Pointer to dash block, or 0 if none
Exit
R0 If R1 = 0, then calculated output buffer size, otherwise
Pointer to end of path marker in output path
R1 Preserved
R2 Preserved
R3 Preserved
R4 Preserved
R5 Preserved
R6 Preserved

Use

The purpose of this call is to draw a path and write the output as a path in the block.

Notes

If thickness is zero, fill bits 3, 2 must not be 01.
If thickness is non-zero, fill bits 2-5 must not be 0110. i.e. Filling just the boundary pixels.

Draw_Stroke is similar to this call, however, it outputs the the screen rather than to a block.

See also

  • Draw_Fill Path Block
  • Draw_Fill Fill Style
  • Draw_ProcessPath Dash Block
  • Draw_ProcessPath Join_Cap Block
  • Draw_Stroke
  • Draw Output To A Path Block
  • Transformation Matrix
Created on November 2, 2009 20:37:26 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Draw Module SWI Calls, Draw_FlattenPath, Draw Output To A Path Block, Draw_TransformPath

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