Exemplo n.º 1
0
 /// <summary>
 /// Draws a line.
 /// </summary>
 /// <param name="pen">The stroke pen.</param>
 /// <param name="p1">The first point of the line.</param>
 /// <param name="p2">The second point of the line.</param>
 public void DrawLine(Pen pen, Point p1, Point p2)
 {
     if (PenIsVisible(pen))
     {
         PlatformImpl.DrawLine(pen, p1, p2);
     }
 }