public void MoveTo(double x, double y) { PathPoints.Add(new GFXPathMoveTo(x, y)); subpath_start_x = x; subpath_start_y = y; cache = null; }
public void AppendPath(GFXPath path) { if (path != null && path.PathPoints.Count != 0) { PathPoints.AddRange(path.PathPoints); cache = null; } }
public void ArcTo(double x, double y, double bulge) { cache = null; if (Math.Abs(bulge) < MathUtil.Epsilon) { LineTo(x, y); return; } PathPoints.Add(new GFXPathArcTo(x, y, bulge)); }
public void CloseSubPath() { PathPoints.Add(new GFXPathCloseSubPath(subpath_start_x, subpath_start_y)); cache = null; }
public void BezierTo(double xctl1, double yctl1, double xctl2, double yctl2, double xend, double yend) { PathPoints.Add(new GFXPathBezierTo(xctl1, yctl1, xctl2, yctl2, xend, yend)); cache = null; }
public void LineTo(double x, double y) { PathPoints.Add(new GFXPathLineTo(x, y)); cache = null; }