php man page for ps_rect

Query: ps_rect

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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)
Related Man Pages
mlib_graphicsdrawrectangle_x_32(3mlib) - opensolaris
ps_add_note(3) - php
ps_add_pdflink(3) - php
ps_lineto(3) - php
ps_open_image(3) - php
Similar Topics in the Unix Linux Community
String removal from file