Example #1
0
 public void DrawTriangle(Triangle2f[] ts, int x, int y, Color c)
 {
     shape.DrawTriangle(ts, x, y, c);
 }
Example #2
0
 public void FillTriangle(Triangle2f t, float x, float y, Color c)
 {
     shape.FillTriangle(t, x, y, c);
 }
Example #3
0
 public void FillTriangle(Triangle2f[] ts, Color c)
 {
     FillTriangle(ts, 0, 0, c);
 }
Example #4
0
 public void FillTriangle(Triangle2f t, Color c)
 {
     FillTriangle(t, 0, 0, c);
 }
Example #5
0
 public void DrawTriangle(Triangle2f t)
 {
     DrawTriangle(t, 0, 0);
 }
Example #6
0
 public void DrawTriangle(Triangle2f[] ts, Color c)
 {
     DrawTriangle(ts, 0, 0, c);
 }
Example #7
0
 public void DrawTriangle(Triangle2f t, float x, float y, Color c)
 {
     shape.DrawTriangle(t, x, y, c);
 }
Example #8
0
 public void DrawTriangle(Triangle2f[] ts)
 {
     DrawTriangle(ts, 0, 0);
 }
Example #9
0
 public void DrawTriangle(Triangle2f t, Color c)
 {
     shape.DrawTriangle(t, c);
 }
Example #10
0
 public void DrawTriangle(Triangle2f t, float x, float y, LColor c)
 {
     DrawTriangle(t, x, y, c.Color);
 }
Example #11
0
 public void DrawTriangle(Triangle2f t, LColor c)
 {
     DrawTriangle(t, c.Color);
 }
Example #12
0
 public void DrawTriangle(Triangle2f[] ts, Color c)
 {
     shape.FillTriangle(ts, c);
 }
Example #13
0
 public void DrawTriangle(Triangle2f[] ts, LColor c)
 {
     FillTriangle(ts, c.Color);
 }
Example #14
0
 public void FillTriangle(Triangle2f[] ts)
 {
     FillTriangle(ts, 0, 0);
 }
Example #15
0
 public void FillTriangle(Triangle2f[] ts, LColor c)
 {
     FillTriangle(ts, 0, 0, c.Color);
 }
Example #16
0
 public void FillTriangle(Triangle2f t)
 {
     FillTriangle(t, 0, 0);
 }
Example #17
0
 public void FillTriangle(Triangle2f[] ts, int x, int y, LColor c)
 {
     FillTriangle(ts, x, y, c.Color);
 }
Example #18
0
 public void DrawTriangle(Triangle2f[] ts, int x, int y)
 {
     if (isClose)
     {
         return;
     }
     if (ts == null)
     {
         return;
     }
     int size = ts.Length;
     for (int i = 0; i < size; i++)
     {
         DrawTriangle(ts[i], x, y);
     }
 }
Example #19
0
 public void FillTriangle(Triangle2f[] ts, int x, int y, Color c)
 {
     shape.FillTriangle(ts, x, y, c);
 }
Example #20
0
 public void DrawTriangle(Triangle2f t, int x, int y)
 {
     if (isClose)
     {
         return;
     }
     if (t == null)
     {
         return;
     }
     int[] xpos = new int[3];
     int[] ypos = new int[3];
     xpos[0] = x + (int)t.xpoints[0];
     xpos[1] = x + (int)t.xpoints[1];
     xpos[2] = x + (int)t.xpoints[2];
     ypos[0] = y + (int)t.ypoints[0];
     ypos[1] = y + (int)t.ypoints[1];
     ypos[2] = y + (int)t.ypoints[2];
     DrawPolygon(xpos, ypos, 3);
 }
Example #21
0
 public void FillTriangle(Triangle2f t, LColor c)
 {
     FillTriangle(t, c.Color);
 }
Example #22
0
 public void DrawTriangle(Triangle2f t, Color c)
 {
     DrawTriangle(t, 0, 0, c);
 }
Example #23
0
 public void FillTriangle(Triangle2f t, Color c)
 {
     shape.FillTriangle(t, c);
 }
Example #24
0
 public void FillTriangle(Triangle2f[] ts, int x, int y, Color c)
 {
     if (ts == null)
     {
         return;
     }
     int size = ts.Length;
     for (int i = 0; i < size; i++)
     {
         FillTriangle(ts[i], x, y, c);
     }
 }
Example #25
0
 public void FillTriangle(Triangle2f t, float x, float y, LColor c)
 {
     FillTriangle(t, x, y, c.Color);
 }
Example #26
0
 public void FillTriangle(Triangle2f t, float x, float y, Color c)
 {
     if (t == null)
     {
         return;
     }
     float[] xpos = new float[3];
     float[] ypos = new float[3];
     xpos[0] = x + t.xpoints[0];
     xpos[1] = x + t.xpoints[1];
     xpos[2] = x + t.xpoints[2];
     ypos[0] = y + t.ypoints[0];
     ypos[1] = y + t.ypoints[1];
     ypos[2] = y + t.ypoints[2];
     FillPolygon(xpos, ypos, 3, c);
 }
Example #27
0
 public void DrawTriangle(Triangle2f[] ts, int x, int y, LColor c)
 {
     DrawTriangle(ts, x, y, c.Color);
 }