Prev
MagickWand For PHP
Manual


Next

DrawSetViewbox

DrawSetViewbox -- sets the overall canvas size to be recorded with the drawing vector data

Description

void DrawSetViewbox( DrawingWand drw_wnd, float x1, float y1, float x2, float y2 )

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.


A description of each parameter follows:

drw_wnd A DrawingWand resource
x1 Left x ordinate
y1 Top y ordinate
x2 Right x ordinate
y2 Bottom y ordinate


Prev
DrawSetVectorGraphics
Up Next
DrawSkewX