downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ImagickDraw::skewX> <ImagickDraw::setVectorGraphics
Last updated: Fri, 06 Nov 2009

view this page in

ImagickDraw::setViewbox

(PECL imagick 2.0.0)

ImagickDraw::setViewboxSets the overall canvas size

Description

bool ImagickDraw::setViewbox ( int $x1 , int $y1 , int $x2 , int $y2 )
Warning

This function is currently not documented; only its argument list is available.

Sets the overall canvas size to be recorded with the drawing vector data. Usually this will be specified using the same size as the canvas image. When the vector data is saved to SVG or MVG formats, the viewbox is use to specify the size of the canvas image that a viewer will render the vector data on.

Parameters

x1

left x coordinate

y1

left y coordinate

x2

right x coordinate

y2

right y coordinate

Return Values

No value is returned.



add a note add a note User Contributed Notes
ImagickDraw::setViewbox
There are no user contributed notes for this page.

ImagickDraw::skewX> <ImagickDraw::setVectorGraphics
Last updated: Fri, 06 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites