h6. [[Draw]] h6(. » [[Draw Module SWI Calls|SWI Calls]] h6((. » Draw_StrokePath h2. Draw_StrokePath h5. (SWI &40706) |_<^{width:3em}. Entry | | |<^. R0|<^. Pointer to [[Draw_Fill Path Block|path block]] | |<^. R1|<^. Pointer to an [[Draw Output To A Path Block|output path block]], or 0 to calculate size | |<^. R2|<^. Pointer to [[Transformation Matrix|transformation matrix]], or 0 for default | |<^. R3|<^. Flatness, or 0 for default | |<^. R4|<^. Line thickness, or 0 for default | |<^. R5|<^. Pointer to [[Draw_ProcessPath Join_Cap Block|join/cap block]], or 0 if none| |<^. R6|<^. Pointer to [[Draw_ProcessPath Dash Block|dash block ]], or 0 if none | |_<^{width:3em}. Exit || |/2<^. R0 |<^. If R1 = 0, then calculated output buffer size, otherwise | |<^. Pointer to end of [[Draw_Fill Path Block|path marker]] in output path | |<^. R1 |<^. Preserved| |<^. R2 |<^. Preserved| |<^. R3 |<^. Preserved| |<^. R4 |<^. Preserved| |<^. R5 |<^. Preserved| |<^. R6 |<^. Preserved| h4. Use The purpose of this call is to draw a path and write the output as a path in the block. h4. 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. h4. See also * [[Draw_Stroke]] * [[Draw Path Block]] * [[Draw Fill Style]] * [[Draw Dash Block]] * [[Draw Join_Cap Block]] * [[Draw Output To A Path Block]] * [[Transformation Matrix]]