public void DrawEllipse(Canvas.Pen pen, RectangleF rect) { checkDrawEllipse(pen); m_Handle.DrawEllipse(pen.Handle, rect); }
public void DrawEllipse(Canvas.Pen pen, float x, float y, float w, float h) => DrawEllipse(pen, new RectangleF(x, y, w, h));
public void DrawEllipse(Canvas.Pen pen, int x, int y, int w, int h) => DrawEllipse(pen, new Rectangle(x, y, w, h));
public void DrawLine(Canvas.Pen pen, PointF p1, PointF p2) { checkDrawLine(pen); m_Handle.DrawLine(pen.Handle, p1, p2); }
public void DrawLine(Canvas.Pen pen, float x1, float y1, float x2, float y2) => DrawLine(pen, new PointF(x1, y1), new PointF(x2, y2));
public void DrawLine(Canvas.Pen pen, int x1, int y1, int x2, int y2) => DrawLine(pen, new Point(x1, y1), new Point(x2, y2));