Add pdfioContentPathEnd function.

This commit is contained in:
Michael R Sweet
2022-07-03 10:01:10 -04:00
parent 1a17933635
commit ae9a91719b
3 changed files with 13 additions and 0 deletions

View File

@@ -589,6 +589,17 @@ pdfioContentPathCurve23(
}
//
// 'pdfioContentPathEnd()' - Clear the current path.
//
bool // O - `true` on success, `false` on failure
pdfioContentPathEnd(pdfio_stream_t *st) // I - Stream
{
return (pdfioStreamPuts(st, "n\n"));
}
//
// 'pdfioContentPathLineTo()' - Add a straight line to the current path.
//