Some progress on the gradiation rectangles. I messed up the vector calculation somehow. Is someone good at maths ?

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@301 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2008-10-22 19:56:30 +00:00
parent 08f0541f11
commit cef61562d0
5 changed files with 112 additions and 70 deletions

View File

@@ -154,6 +154,7 @@ void Degrade_aleatoire (long Indice,short Pos_X,short Pos_Y);
void Tracer_cercle_degrade (short Centre_X,short Centre_Y,short Rayon,short Eclairage_X,short Eclairage_Y);
void Tracer_ellipse_degradee(short Centre_X,short Centre_Y,short Rayon_horizontal,short Rayon_vertical,short Eclairage_X,short Eclairage_Y);
void Tracer_rectangle_degrade(short RAX,short RAY,short RBX,short RBY,short VAX,short VAY, short VBX, short VBY);
void Polyfill(int Vertices, short * Points, int Color);
void Capturer_brosse_au_lasso(int Vertices, short * Points,short Effacement);