ps_setoverprintmode

(PECL ps >= 1.3.0) Sets overprint mode bool ps_setoverprintmode ( resource $psdoc, int $mode ) Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). mode Resource identifier of the postscript file as returned by ps_new(). Returns: Returns TRUE on success or FALSE on failure.

ps_setmiterlimit

(PECL ps >= 1.1.0) Sets the miter limit bool ps_setmiterlimit ( resource $psdoc, float $value ) If two lines join in a small angle and the line join is set to PS_LINEJOIN_MITER, then the resulting spike will be very long. The miter limit is the maximum ratio of the miter length (the length of the spike) and the line width. Parameters: psdoc Resource identifier of the p

ps_setlinewidth

(PECL ps >= 1.1.0) Sets width of a line bool ps_setlinewidth ( resource $psdoc, float $width ) Sets the line width for all following drawing operations. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). width The width of lines in points. Returns: Returns TRUE on success o

ps_setlinejoin

(PECL ps >= 1.1.0) Sets how contected lines are joined bool ps_setlinejoin ( resource $psdoc, int $type ) Sets how lines are joined. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). type The way lines are joined. Possible values are PS_LINEJOIN_MITER, PS_LINEJOIN_ROUND, or PS_LINEJOIN_BEVEL.

ps_setlinecap

(PECL ps >= 1.1.0) Sets appearance of line ends bool ps_setlinecap ( resource $psdoc, int $type ) Sets how line ends look like. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). type The type of line ends. Possible values are PS_LINECAP_BUTT, PS_LINECAP_ROUND, or PS_LINECAP_SQUARED.

ps_setgray

(PECL ps >= 1.1.0) Sets gray value bool ps_setgray ( resource $psdoc, float $gray ) Sets the gray value for all following drawing operations. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). gray The value must be between 0 (white) and 1 (black). Returns: Returns TRUE on

ps_setfont

(PECL ps >= 1.1.0) Sets font to use for following output bool ps_setfont ( resource $psdoc, int $fontid, float $size ) Sets a font, which has to be loaded before with ps_findfont(). Outputting text without setting a font results in an error. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). fontid

ps_setflat

(PECL ps >= 1.1.0) Sets flatness bool ps_setflat ( resource $psdoc, float $value ) Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). value The value must be between 0.2 and 1. Returns: Returns TRUE on success or FALSE on failure. This fun

ps_setdash

(PECL ps >= 1.1.0) Sets appearance of a dashed line bool ps_setdash ( resource $psdoc, float $on, float $off ) Sets the length of the black and white portions of a dashed line. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). on The length of the dash. off The l

ps_setcolor

(PECL ps >= 1.1.0) Sets current color bool ps_setcolor ( resource $psdoc, string $type, string $colorspace, float $c1, float $c2, float $c3, float $c4 ) Sets the color for drawing, filling, or both. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). type The parameter type can be both, fill, or fill