Fixed Contour to allow drawing single pixels
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@586 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
599e835e28
commit
306752eaeb
7
graph.c
7
graph.c
@ -2148,6 +2148,13 @@ void Polyfill(int Vertices, short * Points, int Color)
|
|||||||
int Indice;
|
int Indice;
|
||||||
byte *FX_Feedback_Ecran_avant_remplissage;
|
byte *FX_Feedback_Ecran_avant_remplissage;
|
||||||
|
|
||||||
|
Afficher_pixel(Points[0],Points[1],Color);
|
||||||
|
if (Vertices==1)
|
||||||
|
{
|
||||||
|
Mettre_Ecran_A_Jour(Points[0],Points[1],1,1);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Comme pour le Fill, cette operation fait un peu d'"overdraw"
|
// Comme pour le Fill, cette operation fait un peu d'"overdraw"
|
||||||
// (pixels dessinés plus d'une fois) alors on force le FX Feedback à OFF
|
// (pixels dessinés plus d'une fois) alors on force le FX Feedback à OFF
|
||||||
FX_Feedback_Ecran_avant_remplissage=FX_Feedback_Ecran;
|
FX_Feedback_Ecran_avant_remplissage=FX_Feedback_Ecran;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user