ps_end_pattern

(PECL ps >= 1.2.0) End a pattern bool ps_end_pattern ( resource $psdoc ) Ends a pattern which was started with ps_begin_pattern(). Once a pattern has been ended, it can be used like a color to fill areas. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). Returns: Returns TRUE on success or FALSE on failure.

ps_end_page

(PECL ps >= 1.1.0) End a page bool ps_end_page ( resource $psdoc ) Ends a page which was started with ps_begin_page(). Ending a page will leave the current drawing context, which e.g. requires to reload fonts if they were loading within the page, and to set many other drawing parameters like the line width, or color.. Parameters: psdoc Resource identifier of the postsc

ps_delete

(PECL ps >= 1.1.0) Deletes all resources of a PostScript document bool ps_delete ( resource $psdoc ) Mainly frees memory used by the document. Also closes a file, if it was not closed before with ps_close(). You should in any case close the file with ps_close() before, because ps_close() not just closes the file but also outputs a trailor containing PostScript comments like the number of pages in the document and adding t

ps_curveto

(PECL ps >= 1.1.0) Draws a curve bool ps_curveto ( resource $psdoc, float $x1, float $y1, float $x2, float $y2, float $x3, float $y3 ) Add a section of a cubic Bézier curve described by the three given control points to the current path. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). x1 x-coordi

ps_continue_text

(PECL ps >= 1.1.0) Continue text in next line bool ps_continue_text ( resource $psdoc, string $text ) Output a text one line below the last line. The line spacing is taken from the value "leading" which must be set with ps_set_value(). The actual position of the text is determined by the values "textx" and "texty" which can be requested with ps_get_value() Parameters: psdoc

ps_closepath

(PECL ps >= 1.1.0) Closes path bool ps_closepath ( resource $psdoc ) Connects the last point with the first point of a path. The resulting path can be used for stroking, filling, clipping, etc.. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). Returns: Returns TRUE on success or FALSE on failure.

ps_closepath_stroke

(PECL ps >= 1.1.0) Closes and strokes path bool ps_closepath_stroke ( resource $psdoc ) Connects the last point with first point of a path and draws the resulting closed line. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). Returns: Returns TRUE on success or FALSE on failure.

ps_close

(PECL ps >= 1.1.0) Closes a PostScript document bool ps_close ( resource $psdoc ) Closes the PostScript document. This function writes the trailer of the PostScript document. It also writes the bookmark tree. ps_close() does not free any resources, which is done by ps_delete(). This function is also called by ps_delete() if it has not been called before. Parameters: psdoc

ps_close_image

(PECL ps >= 1.1.0) Closes image and frees memory void ps_close_image ( resource $psdoc, int $imageid ) Closes an image and frees its resources. Once an image is closed it cannot be used anymore. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). imageid Resource identifier of the image as returned

ps_clip

(PECL ps >= 1.1.0) Clips drawing to current path bool ps_clip ( resource $psdoc ) Takes the current path and uses it to define the border of a clipping area. Everything drawn outside of that area will not be visible. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). Returns: Returns TRUE on success or FALSE