public void DrawTriangle(Triangle2f[] ts, int x, int y, Color c) { shape.DrawTriangle(ts, x, y, c); }
public void FillTriangle(Triangle2f t, float x, float y, Color c) { shape.FillTriangle(t, x, y, c); }
public void FillTriangle(Triangle2f[] ts, Color c) { FillTriangle(ts, 0, 0, c); }
public void FillTriangle(Triangle2f t, Color c) { FillTriangle(t, 0, 0, c); }
public void DrawTriangle(Triangle2f t) { DrawTriangle(t, 0, 0); }
public void DrawTriangle(Triangle2f[] ts, Color c) { DrawTriangle(ts, 0, 0, c); }
public void DrawTriangle(Triangle2f t, float x, float y, Color c) { shape.DrawTriangle(t, x, y, c); }
public void DrawTriangle(Triangle2f[] ts) { DrawTriangle(ts, 0, 0); }
public void DrawTriangle(Triangle2f t, Color c) { shape.DrawTriangle(t, c); }
public void DrawTriangle(Triangle2f t, float x, float y, LColor c) { DrawTriangle(t, x, y, c.Color); }
public void DrawTriangle(Triangle2f t, LColor c) { DrawTriangle(t, c.Color); }
public void DrawTriangle(Triangle2f[] ts, Color c) { shape.FillTriangle(ts, c); }
public void DrawTriangle(Triangle2f[] ts, LColor c) { FillTriangle(ts, c.Color); }
public void FillTriangle(Triangle2f[] ts) { FillTriangle(ts, 0, 0); }
public void FillTriangle(Triangle2f[] ts, LColor c) { FillTriangle(ts, 0, 0, c.Color); }
public void FillTriangle(Triangle2f t) { FillTriangle(t, 0, 0); }
public void FillTriangle(Triangle2f[] ts, int x, int y, LColor c) { FillTriangle(ts, x, y, c.Color); }
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); } }
public void FillTriangle(Triangle2f[] ts, int x, int y, Color c) { shape.FillTriangle(ts, x, y, c); }
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); }
public void FillTriangle(Triangle2f t, LColor c) { FillTriangle(t, c.Color); }
public void DrawTriangle(Triangle2f t, Color c) { DrawTriangle(t, 0, 0, c); }
public void FillTriangle(Triangle2f t, Color c) { shape.FillTriangle(t, c); }
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); } }
public void FillTriangle(Triangle2f t, float x, float y, LColor c) { FillTriangle(t, x, y, c.Color); }
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); }
public void DrawTriangle(Triangle2f[] ts, int x, int y, LColor c) { DrawTriangle(ts, x, y, c.Color); }