* src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,

Horizontal_Gray_Sweep_Drop): Test for intersections which
degenerate to a single point can be ignored; this has been confirmed
by Greg Hitchcock from Microsoft.  (This was commented out code.)
This commit is contained in:
Werner Lemberg 2008-06-27 06:58:48 +00:00
Родитель 8a9b63913f
Коммит a741c6f2aa
2 изменённых файлов: 7 добавлений и 21 удалений

Просмотреть файл

@ -1,3 +1,10 @@
2008-06-27 Werner Lemberg <wl@gnu.org>
* src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
Horizontal_Gray_Sweep_Drop): Test for intersections which
degenerate to a single point can be ignored; this has been confirmed
by Greg Hitchcock from Microsoft. (This was commented out code.)
2008-06-26 Werner Lemberg <wl@gnu.org>
Improve navigation in API reference.

Просмотреть файл

@ -2213,13 +2213,6 @@ static const char count_table[256] =
/* 5 1, 2, 6 */
/* 6, 7 same as mode 2 */
/* FIXXXME: The specification doesn't discuss the case where the */
/* intersections degenerate to a single point. */
#if 0
if ( x1 == x2 )
return;
#endif
e1 = CEILING( x1 );
e2 = FLOOR ( x2 );
pxl = e1;
@ -2415,13 +2408,6 @@ static const char count_table[256] =
/* | */
/* e2 + <-- pixel center */
/* FIXXXME: The specification doesn't discuss the case where the */
/* intersections degenerate to a single point. */
#if 0
if ( x1 == x2 )
return;
#endif
e1 = CEILING( x1 );
e2 = FLOOR ( x2 );
pxl = e1;
@ -2673,13 +2659,6 @@ static const char count_table[256] =
/* During the horizontal sweep, we only take care of drop-outs */
/* FIXXXME: The specification doesn't discuss the case where the */
/* intersections degenerate to a single point. */
#if 0
if ( x1 == x2 )
return;
#endif
e1 = CEILING( x1 );
e2 = FLOOR ( x2 );