예제 #1
0
 public void DrawTriangle(Triangle2f[] ts, int x, int y, Color c)
 {
     shape.DrawTriangle(ts, x, y, c);
 }
예제 #2
0
 public void FillTriangle(Triangle2f t, float x, float y, Color c)
 {
     shape.FillTriangle(t, x, y, c);
 }
예제 #3
0
 public void FillTriangle(Triangle2f[] ts, Color c)
 {
     FillTriangle(ts, 0, 0, c);
 }
예제 #4
0
 public void FillTriangle(Triangle2f t, Color c)
 {
     FillTriangle(t, 0, 0, c);
 }
예제 #5
0
 public void DrawTriangle(Triangle2f t)
 {
     DrawTriangle(t, 0, 0);
 }
예제 #6
0
 public void DrawTriangle(Triangle2f[] ts, Color c)
 {
     DrawTriangle(ts, 0, 0, c);
 }
예제 #7
0
 public void DrawTriangle(Triangle2f t, float x, float y, Color c)
 {
     shape.DrawTriangle(t, x, y, c);
 }
예제 #8
0
 public void DrawTriangle(Triangle2f[] ts)
 {
     DrawTriangle(ts, 0, 0);
 }
예제 #9
0
 public void DrawTriangle(Triangle2f t, Color c)
 {
     shape.DrawTriangle(t, c);
 }
예제 #10
0
 public void DrawTriangle(Triangle2f t, float x, float y, LColor c)
 {
     DrawTriangle(t, x, y, c.Color);
 }
예제 #11
0
 public void DrawTriangle(Triangle2f t, LColor c)
 {
     DrawTriangle(t, c.Color);
 }
예제 #12
0
 public void DrawTriangle(Triangle2f[] ts, Color c)
 {
     shape.FillTriangle(ts, c);
 }
예제 #13
0
 public void DrawTriangle(Triangle2f[] ts, LColor c)
 {
     FillTriangle(ts, c.Color);
 }
예제 #14
0
 public void FillTriangle(Triangle2f[] ts)
 {
     FillTriangle(ts, 0, 0);
 }
예제 #15
0
 public void FillTriangle(Triangle2f[] ts, LColor c)
 {
     FillTriangle(ts, 0, 0, c.Color);
 }
예제 #16
0
 public void FillTriangle(Triangle2f t)
 {
     FillTriangle(t, 0, 0);
 }
예제 #17
0
 public void FillTriangle(Triangle2f[] ts, int x, int y, LColor c)
 {
     FillTriangle(ts, x, y, c.Color);
 }
예제 #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);
     }
 }
예제 #19
0
 public void FillTriangle(Triangle2f[] ts, int x, int y, Color c)
 {
     shape.FillTriangle(ts, x, y, c);
 }
예제 #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);
 }
예제 #21
0
 public void FillTriangle(Triangle2f t, LColor c)
 {
     FillTriangle(t, c.Color);
 }
예제 #22
0
 public void DrawTriangle(Triangle2f t, Color c)
 {
     DrawTriangle(t, 0, 0, c);
 }
예제 #23
0
 public void FillTriangle(Triangle2f t, Color c)
 {
     shape.FillTriangle(t, c);
 }
예제 #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);
     }
 }
예제 #25
0
 public void FillTriangle(Triangle2f t, float x, float y, LColor c)
 {
     FillTriangle(t, x, y, c.Color);
 }
예제 #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);
 }
예제 #27
0
 public void DrawTriangle(Triangle2f[] ts, int x, int y, LColor c)
 {
     DrawTriangle(ts, x, y, c.Color);
 }