mirror of
				https://github.com/michaelrsweet/pdfio.git
				synced 2025-10-31 18:35:45 +01:00 
			
		
		
		
	Add pdfioContentPathEnd function.
This commit is contained in:
		| @@ -7,6 +7,7 @@ v1.1.0 (Month DD, YYYY) | |||||||
|  |  | ||||||
| - Added `pdfioFileCreateTemporary` function (Issue #29) | - Added `pdfioFileCreateTemporary` function (Issue #29) | ||||||
| - Added `pdfioDictIterateKeys` function (Issue #31) | - Added `pdfioDictIterateKeys` function (Issue #31) | ||||||
|  | - Added `pdfioContentPathEnd` function. | ||||||
| - Fixed "install-shared" target (Issue #32) | - Fixed "install-shared" target (Issue #32) | ||||||
| - Fixed `pdfioContentMatrixRotate` function. | - Fixed `pdfioContentMatrixRotate` function. | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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. | // 'pdfioContentPathLineTo()' - Add a straight line to the current path. | ||||||
| // | // | ||||||
|   | |||||||
| @@ -91,6 +91,7 @@ extern bool		pdfioContentPathClose(pdfio_stream_t *st) _PDFIO_PUBLIC; | |||||||
| extern bool		pdfioContentPathCurve(pdfio_stream_t *st, double x1, double y1, double x2, double y2, double x3, double y3) _PDFIO_PUBLIC; | extern bool		pdfioContentPathCurve(pdfio_stream_t *st, double x1, double y1, double x2, double y2, double x3, double y3) _PDFIO_PUBLIC; | ||||||
| extern bool		pdfioContentPathCurve13(pdfio_stream_t *st, double x1, double y1, double x3, double y3) _PDFIO_PUBLIC; | extern bool		pdfioContentPathCurve13(pdfio_stream_t *st, double x1, double y1, double x3, double y3) _PDFIO_PUBLIC; | ||||||
| extern bool		pdfioContentPathCurve23(pdfio_stream_t *st, double x2, double y2, double x3, double y3) _PDFIO_PUBLIC; | extern bool		pdfioContentPathCurve23(pdfio_stream_t *st, double x2, double y2, double x3, double y3) _PDFIO_PUBLIC; | ||||||
|  | extern bool		pdfioContentPathEnd(pdfio_stream_t *st) _PDFIO_PUBLIC; | ||||||
| extern bool		pdfioContentPathLineTo(pdfio_stream_t *st, double x, double y) _PDFIO_PUBLIC; | extern bool		pdfioContentPathLineTo(pdfio_stream_t *st, double x, double y) _PDFIO_PUBLIC; | ||||||
| extern bool		pdfioContentPathMoveTo(pdfio_stream_t *st, double x, double y) _PDFIO_PUBLIC; | extern bool		pdfioContentPathMoveTo(pdfio_stream_t *st, double x, double y) _PDFIO_PUBLIC; | ||||||
| extern bool		pdfioContentPathRect(pdfio_stream_t *st, double x, double y, double width, double height) _PDFIO_PUBLIC; | extern bool		pdfioContentPathRect(pdfio_stream_t *st, double x, double y, double width, double height) _PDFIO_PUBLIC; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user