Contour fill (issue 90), 4th mode of continuous drawing.
However, there is a rendering problem from the original polygon tool: the bottom pixels are not drawn. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@581 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -1687,7 +1687,7 @@ void Bouton_Dessin_Switch_mode(void)
|
||||
{
|
||||
/* ANCIEN CODE SANS POPUPS */
|
||||
Mode_de_dessin_en_cours++;
|
||||
if (Mode_de_dessin_en_cours>OPERATION_DESSIN_POINT)
|
||||
if (Mode_de_dessin_en_cours>OPERATION_FILLED_CONTOUR)
|
||||
Mode_de_dessin_en_cours=OPERATION_DESSIN_CONTINU;
|
||||
|
||||
Effacer_curseur();
|
||||
@@ -1711,7 +1711,7 @@ void Bouton_Dessin_Switch_mode(void)
|
||||
{
|
||||
case 1:
|
||||
Mode_de_dessin_en_cours++;
|
||||
if (Mode_de_dessin_en_cours>OPERATION_DESSIN_POINT)
|
||||
if (Mode_de_dessin_en_cours>OPERATION_FILLED_CONTOUR)
|
||||
Mode_de_dessin_en_cours=OPERATION_DESSIN_CONTINU;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user