\addtogroup renderer_interfaces Rendering Engine Interfaces
@{
One of a number of interfaces (all starting with nsISVGRenderer*)
to be implemented by an SVG rendering engine. See nsISVGRenderer
for more details.
This interface is used by an nsISVGRendererPathGeometry object in
a call to nsISVGPathGeometrySource::constructPath() to obtain a
native representation of the path described by
nsISVGPathGeometrySource.
[uuid(c3cd294e-39ae-4718-b2bc-87c0fad97a12)]
Methods
Draw an elliptical arc from the current position to
(x,y). Advance current position to (x,y).
@param x X-coordinate of end point (untransformed).
@param y Y-coordinate of end point (untransformed).
@param r1 Radius of ellipse in X direction (untransformed).
@param r2 Radius of ellipse in Y direction (untransformed).
@param angle Rotation of ellipse as a whole (untransformed).
@param largeArcFlag PR_TRUE: choose the large arc (>=180 degrees),
PR_FALSE: choose the smaller arc (<=180 degrees)
@param sweepFlag PR_TRUE: sweep in positive angle direction,
PR_FALSE: sweep in negative angle direction
Close the current subpath. Move current position back to beginning of subpath. @param newX X-coordinate of new current position (untransformed). @param newY Y-coordinate of new current position (untransformed).
Draw cubic Bezier curve from the current position to (x,y) using (x1,y1) as the control point at the beginning og the curve and (x2,y2) as the control point at the end of the curve. Advance current position to (x,y). @param x X-coordinate of end point (untransformed). @param y Y-coordinate of end point (untransformed). @param x1 X-coordinate of first control point (untransformed). @param y1 Y-coordinate of first control point (untransformed). @param x2 X-coordinate of second control point (untransformed). @param y2 Y-coordinate of second control point (untransformed).
Draw a straight line from the current position to (x,y). Advance current position to (x,y). @param x X-coordinate of end point (untransformed). @param y Y-coordinate of end point (untransformed).
