예제 #1
0
 public void DrawEllipse(Canvas.Pen pen, RectangleF rect)
 {
     checkDrawEllipse(pen);
     m_Handle.DrawEllipse(pen.Handle, rect);
 }
예제 #2
0
 public void DrawEllipse(Canvas.Pen pen, float x, float y, float w, float h) => DrawEllipse(pen, new RectangleF(x, y, w, h));
예제 #3
0
 public void DrawEllipse(Canvas.Pen pen, int x, int y, int w, int h) => DrawEllipse(pen, new Rectangle(x, y, w, h));
예제 #4
0
 public void DrawLine(Canvas.Pen pen, PointF p1, PointF p2)
 {
     checkDrawLine(pen);
     m_Handle.DrawLine(pen.Handle, p1, p2);
 }
예제 #5
0
 public void DrawLine(Canvas.Pen pen, float x1, float y1, float x2, float y2) => DrawLine(pen, new PointF(x1, y1), new PointF(x2, y2));
예제 #6
0
 public void DrawLine(Canvas.Pen pen, int x1, int y1, int x2, int y2) => DrawLine(pen, new Point(x1, y1), new Point(x2, y2));