h6. [[Draw]] h6(. » [[Draw Module SWI Calls|SWI Calls]] h6((. » Draw_FlattenPath h2. Draw_FlattenPath h5. (SWI &40708) |_<^{width:3em}. Entry | | |<^. R0|<^. Pointer to [[Draw_Fill Path Block|path block]] | |<^. R1|<^. Pointer to [[Draw Output To A Path Block|output path block]], or 0 to calculate size | |<^. R2|<^. Flatness, or 0 for default | |_<^{width:3em}. Exit || |/2<^. R0 |<^. If R1=0, Calculated output buffer size| |<^. If R1=pointer, Pointer to end of [[Draw_Fill Path Block|path marker]] in output path| |<^. R1 |<^. Preserved| |<^. R2 |<^. Preserved| h4. Use The purpose of this call is to convert an input path to a flattened output path. h4. Notes It is useful if you want to repeatedly stroke a path, without having to repeatedly spend time flattening it. h4. See also * [[Draw_StrokePath]] * [[Draw Path Block]] * [[Draw Output To A Path Block]]