Prev
MagickWand For PHP
Manual


Next

DrawPathEllipticArcRelative

DrawPathEllipticArcRelative -- draws an elliptical arc from the current point using relative coordinates

Description

void DrawPathEllipticArcRelative( DrawingWand drw_wnd, float rx, float ry, float x_axis_rotation, bool large_arc_flag, bool sweep_flag, float x, float y )

Draws an elliptical arc from the current point to (x, y) using relative coordinates. The size and orientation of the ellipse are defined by two radii (rx, ry) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automagically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.


A description of each parameter follows:

drw_wnd A DrawingWand resource
rx X radius
ry Y radius
x_axis_rotation Indicates how the ellipse as a whole is rotated relative to the current coordinate system
large_arc_flag If non-zero (TRUE) then draw the larger of the available arcs
sweep_flag If non-zero (TRUE) then draw the arc matching a clock-wise rotation


Prev
DrawPathEllipticArcAbsolute
Up Next
DrawPathFinish