(Formerly known as RawDrawTriangle, which is now obsolete)
DrawingSurface.DrawTriangle(int x1, int y1, int x2, int y2, int x3, int y3)
Draws a filled triangle in the current colour with corners at the points
(x1,y1), (x2,y2) and (x3,y3).
Well, don't look at me, you might find it useful for something :-)
Example:
DrawingSurface *surface = Room.GetDrawingSurfaceForBackground();
surface.DrawingColor = 14;
surface.DrawTriangle(0,0,160,100,0,200);
surface.Release();
will draw a triangle with corners at the points (0,0),(160,100),(0,200).
See Also: DrawingSurface.DrawImage,
DrawingSurface.DrawLine,
DrawingSurface.DrawRectangle
|