I learning about creating grafics in C..
I made a triangle:
void _triangle(int xstart, int ystart, int xend, int yend, int xtop, int ytop)
{
sline(xstart, ystart, xend, yend);
sline(xend, yend, xtop, ytop);
sline(xtop, ytop, xstart, ystart);
}
But how do i get the triangle filled med the color Red or Yellow, and i got some others grafics, which I liked to be filled with some colors..
But how can i make that...
tx