AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     pointer to path block
     R1 =     fill style, or 0 for default
           bit 31 clear to stroke each subpath in turn (can result in pixels being plotted twice)
     R2 =     pointer to transformation matrix, or 0 for identity
     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 dashing pattern, or 0 if none
     R7 =     pointer to clip description block.

<=     R0 corrupt

This SWI is used to draw a path.

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 default fill style
0 gives the default fill style which depends on R4 (line thickness):

R4 value     Default fill style

0          &30 - fill to boundary centre, non-zero rule.
other          &18 - fill only the boundary

[sh-index] Back to list of manuals