Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ps_rect(3) [php man page]

PS_RECT(3)								 1								PS_RECT(3)

ps_rect - Draws a rectangle

SYNOPSIS
bool ps_rect (resource $psdoc, float $x, float $y, float $width, float $height) DESCRIPTION
Draws a rectangle with its lower left corner at ($x, $y). The rectangle starts and ends in its lower left corner. 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 rectangle as a subpath. If the last drawing operation does not end in the lower left corner then there will be a gap in the path. PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $x - x-coordinate of the lower left corner of the rectangle. o $y - y-coordinate of the lower left corner of the rectangle. o $width - The width of the image. o $height - The height of the image. RETURN VALUES
Returns TRUE on success or FALSE on failure. SEE ALSO
ps_arc(3), ps_cirle(3), ps_lineto(3). PHP Documentation Group PS_RECT(3)

Check Out this Related Man Page

PS_ADD_WEBLINK(3)							 1							 PS_ADD_WEBLINK(3)

ps_add_weblink - Adds link to a web location

SYNOPSIS
bool ps_add_weblink (resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $url) DESCRIPTION
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 the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distillertm or Ghostview. PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $llx - The x-coordinate of the lower left corner. o $lly - The y-coordinate of the lower left corner. o $urx - The x-coordinate of the upper right corner. o $ury - The y-coordinate of the upper right corner. o $url - The url of the hyperlink to be opened when clicking on this link, e.g. http://www.php.net. RETURN VALUES
Returns TRUE on success or FALSE on failure. SEE ALSO
ps_add_launchlink(3), ps_add_locallink(3), ps_add_pdflink(3). PHP Documentation Group PS_ADD_WEBLINK(3)
Man Page