Example #1
0
 public static void FillShape(TriangleF tri, Graphics g, Brush b)
 {
     using (GraphicsPath path = tri.GetShape())
         g.FillPath(b, path);
 }
 public static void FillShape(TriangleF tri, Graphics g, Brush b)
 {
     using (GraphicsPath path = tri.GetShape())
         g.FillPath(b, path);
 }
Example #3
0
 public static void DrawShape(TriangleF tri, Graphics g, Pen p)
 {
     using (GraphicsPath path = tri.GetShape())
         g.DrawPath(p, path);
 }
 public static void DrawShape(TriangleF tri, Graphics g, Pen p)
 {
     using (GraphicsPath path = tri.GetShape())
         g.DrawPath(p, path);
 }