public void DrawPolygon(PaintPen pen, ShapePoint[] points) { Point[] point = new Point[points.Length]; for (int i = 0; i < points.Length; i++) { point[i] = points[i].ToPoint(); } _graphics.DrawPolygon(pen.ToPen(), point); }
public void DrawPath(PaintPen pen, PaintGraphicsPath path) { _graphics.DrawPath(pen.ToPen(), path.ToGraphicsPath()); }
public void DrawLine(PaintPen pen, int x1, int y1, int x2, int y2) { _graphics.DrawLine(pen.ToPen(), x1, y1, x2, y2); }
public void DrawLine(PaintPen pen, ShapePoint pt1, ShapePoint pt2) { _graphics.DrawLine(pen.ToPen(), pt1.ToPoint(), pt2.ToPoint()); }
public void DrawRectangle(PaintPen pen, int x, int y, int width, int height) { _graphics.DrawRectangle(pen.ToPen(), x, y, width, height); }
public void DrawRectangle(PaintPen pen, float x, float y, float width, float height) { _graphics.DrawRectangle(pen.ToPen(), x, y, width, height); }
public void DrawCurve(PaintPen pen, PointF[] points, float tension) { _graphics.DrawCurve(pen.ToPen(), points, tension); }
public void DrawArc(PaintPen pen, int x, int y, int width, int height, int startAngle, int sweepAngle) { _graphics.DrawArc(pen.ToPen(), x, y, width, height, startAngle, sweepAngle); }
public void DrawLine(PaintPen pen, PointF pt1, PointF pt2) { _graphics.DrawLine(pen.ToPen(), pt1, pt2); }