dev | Pointer to the display's device structure returned by the initialization function. |
x0 | Horizontal coordinate of the first vertex (corner) of the triangle, counted from the left side of the screen. |
y0 | Vertical coordinate of the first vertex (corner) of the triangle, counted down from the top of the screen. |
x1 | Horizontal coordinate of the second vertex of the triangle. |
y1 | Vertical coordinate of the first vertex of the triangle. |
x2 | Horizontal coordinate of the third vertex of the triangle. |
y2 | Vertical coordinate of the third vertex of the triangle. |
color | Color of the shape, in the format native to the display. |