public void AddCubicCurveTo(Vector2 p1, Vector2 p2, Vector2 p) { SVGGCubicAbs svgGCubicAbs = new SVGGCubicAbs(p1, p2, p); listObject.Add(svgGCubicAbs); }
public void AddCubicCurveTo(SVGPoint p1, SVGPoint p2, SVGPoint p) { SetLastPoint(p); SVGGCubicAbs svgGCubicAbs = new SVGGCubicAbs(p1, p2, p); listType.Add(SVGPathElementType.CubicCurveTo); listObject.Add(svgGCubicAbs); }
private void RenderCubicCurveTo(SVGGCubicAbs curve, ISVGPathDraw pathDraw) { pathDraw.CubicCurveTo(curve.p1.MatrixTransform(matrixTransform), curve.p2.MatrixTransform(matrixTransform), curve.p.MatrixTransform(matrixTransform)); }