h6. [[Draw]] h6(. » Draw Output To A Path Block When writing to a path block the Draw module uses the word after the [[Draw Path Block|end of path marker]] to store the size of the buffer. As data is written and the end of path marker is moved this value is updated, and the SWI returns a pointer to the new position of the end of path marker. This allows a second SWI to be called to append to the path, with no need for the program to keep track of the free space in the buffer. Hence before calling any SWIs that write a path to a buffer the first two words should be initialised, thus: |_<^{width:3em}. Offset |_<^. Value | |>^. +0|<^. 0 (end o path marker) | |>^. +4|<^. Size of buffer | h4. See also * [[Draw_FlattenPath]] * [[Draw_StrokePath]] * [[Draw Path Block]]