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 "Message_SlotSize/versions/new/1" does not exist. Please create it now, or hit the "back" button in your browser.

Draw_ProcessPath Join_Cap Block

Programmer's Reference Manuals
» Part 8 - Non-kernel input/output
» Draw Module
» SWI Calls
» Draw_ProcessPath
» Join/Cap Block

Join/Cap Block

Offset Meaning
+0 Join style
+1 Start cap end style
+2 End cap end style
+3 0 (reserved)
+4 Mitre limit, in form &ffff.ffff (the same form as a Draw Transform Units)
+8,9 Additional width of start triangular cap,
+10,11 Extension of start cap from line
+12,13 Additional width of end triangular cap
+14,15 Extension of end cap from line

Notes

The mitre limit at offset 4, must be stored in the form &ffff.ffff. If the distance projected by mitres would be greater than this proportion of the line width then it will be bevelled.

The values in offsets 8 thru 15, are stored in 1/256^th^ of line width.

If mitres and triangles are not used then the block may be 4 bytes long. If mitres are used, but triangles are not, then the block may be 8 bytes long.

Regrettably, triangles cannot be used on thin lines. It would have been possible to use absolute widths and lengths on thin paths, but alas this is not provided.

See also

  • Draw_ProcessPath
  • Draw_ProcessPath Cap End Style
  • Draw_ProcessPath Join Style
  • Draw Transform Units
Created on November 2, 2009 19:36:15 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Draw_ProcessPath, Draw_ProcessPath Join Style, Draw_ProcessPath Cap End Style, Draw_Stroke, Draw_StrokeClipped, Draw_StrokePath, Draw Module Technical Details

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