Exemple #1
0
 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);
 }
Exemple #2
0
 private void RenderCubicCurveTo(SVGGCubicAbs curve, ISVGPathDraw pathDraw)
 {
     pathDraw.CubicCurveTo(curve.p1.MatrixTransform(matrixTransform), curve.p2.MatrixTransform(matrixTransform), curve.p.MatrixTransform(matrixTransform));
 }
 public void AddCubicCurveTo(Vector2 p1, Vector2 p2, Vector2 p)
 {
     SVGGCubicAbs svgGCubicAbs = new SVGGCubicAbs(p1, p2, p);
     listObject.Add(svgGCubicAbs);
 }