ps_circle

(PECL ps >= 1.1.0) Draws a circle bool ps_circle ( resource $psdoc, float $x, float $y, float $radius ) Draws a circle with its middle point at (x, y). The circle starts and ends at position (x+radius, y). If this function is called outside a path it will start a new path. If it is called within a path it will add the circle as a subpath. If the last drawing operation does not end in point (x+radius, y) then there will be

ps_begin_template

(PECL ps >= 1.2.0) Start a new template int ps_begin_template ( resource $psdoc, float $width, float $height ) Starts a new template. A template is called a form in the postscript language. It is created similar to a pattern but used like an image. Templates are often used for drawings which are placed several times through out the document, e.g. like a company logo. All drawing functions may be used within a template. Th

ps_begin_pattern

(PECL ps >= 1.2.0) Start a new pattern int ps_begin_pattern ( resource $psdoc, float $width, float $height, float $xstep, float $ystep, int $painttype ) Starts a new pattern. A pattern is like a page containing e.g. a drawing which can be used for filling areas. It is used like a color by calling ps_setcolor() and setting the color space to pattern. Parameters: psdoc R

ps_begin_page

(PECL ps >= 1.1.0) Start a new page bool ps_begin_page ( resource $psdoc, float $width, float $height ) Starts a new page. Although the parameters width and height imply a different page size for each page, this is not possible in PostScript. The first call of ps_begin_page() will set the page size for the whole document. Consecutive calls will have no effect, except for creating a new page. The situation is different if

ps_arcn

(PECL ps >= 1.1.0) Draws an arc clockwise bool ps_arcn ( resource $psdoc, float $x, float $y, float $radius, float $alpha, float $beta ) Draws a portion of a circle with at middle point at (x, y). The arc starts at an angle of alpha and ends at an angle of beta. It is drawn clockwise (use ps_arc() to draw counterclockwise). The subpath added to the current path starts on the arc at angle beta and ends on the arc at angle

ps_arc

(PECL ps >= 1.1.0) Draws an arc counterclockwise bool ps_arc ( resource $psdoc, float $x, float $y, float $radius, float $alpha, float $beta ) Draws a portion of a circle with at middle point at (x, y). The arc starts at an angle of alpha and ends at an angle of beta. It is drawn counterclockwise (use ps_arcn() to draw clockwise). The subpath added to the current path starts on the arc at angle alpha and ends on the arc a

ps_add_weblink

(PECL ps >= 1.1.0) Adds link to a web location bool ps_add_weblink ( resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $url ) Places a hyperlink at the given position pointing to a web page. The hyperlink's source position is a rectangle with its lower left corner at (llx, lly) and its upper right corner at (urx, ury). The rectangle has by default a thin blue border. The note will not be visible if

ps_add_pdflink

(PECL ps >= 1.1.0) Adds link to a page in a second pdf document bool ps_add_pdflink ( resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $filename, int $page, string $dest ) Places a hyperlink at the given position pointing to a second pdf document. Clicking on the link will branch to the document at the given page. The first page in a document has number 1. The hyperlink's source position is a rect

ps_add_note

(PECL ps >= 1.1.0) Adds note to current page bool ps_add_note ( resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $contents, string $title, string $icon, int $open ) Adds a note at a certain position on the page. Notes are like little rectangular sheets with text on it, which can be placed anywhere on a page. They are shown either folded or unfolded. If folded, the specified icon is used as a placeho

ps_add_locallink

(PECL ps >= 1.1.0) Adds link to a page in the same document bool ps_add_locallink ( resource $psdoc, float $llx, float $lly, float $urx, float $ury, int $page, string $dest ) Places a hyperlink at the given position pointing to a page in the same document. Clicking on the link will jump to the given page. The first page in a document has number 1. The hyperlink's source position is a rectangle with its lower left corner