* src/raster/ftraster.c (Draw_Sweep): If span is smaller than one
pixel, only check for dropouts if neither start nor end point lies on a pixel center. This fixes Savannah bug #23762.
This commit is contained in:
parent
be54a68c9d
commit
71b8f3f2ed
@ -1,3 +1,9 @@
|
||||
2008-07-04 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/raster/ftraster.c (Draw_Sweep): If span is smaller than one
|
||||
pixel, only check for dropouts if neither start nor end point lies
|
||||
on a pixel center. This fixes Savannah bug #23762.
|
||||
|
||||
2008-06-29 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* Version 2.3.7 released.
|
||||
|
@ -2867,11 +2867,12 @@ static const char count_table[256] =
|
||||
x2 = xs;
|
||||
}
|
||||
|
||||
if ( x2 - x1 <= ras.precision )
|
||||
{
|
||||
e1 = FLOOR( x1 );
|
||||
e2 = CEILING( x2 );
|
||||
e1 = FLOOR( x1 );
|
||||
e2 = CEILING( x2 );
|
||||
|
||||
if ( x2 - x1 <= ras.precision &&
|
||||
e1 != x1 && e2 != x2 )
|
||||
{
|
||||
if ( e1 > e2 || e2 == e1 + ras.precision )
|
||||
{
|
||||
if ( ras.dropOutControl != 2 )
|
||||
|
Loading…
Reference in New Issue
Block a user