* src/smooth/ftgrays.c (gray_hline): Microptimize.
This commit is contained in:
parent
9d0a3bd848
commit
a0b92bcb47
@ -1,3 +1,7 @@
|
||||
2016-09-07 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
* src/smooth/ftgrays.c (gray_hline): Microptimize.
|
||||
|
||||
2016-09-06 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[smooth] Operate in absolute bitmap coordinates.
|
||||
|
@ -1333,7 +1333,7 @@ typedef ptrdiff_t FT_PtrDist;
|
||||
TArea area;
|
||||
|
||||
|
||||
if ( cell->x > x && cover != 0 )
|
||||
if ( cover != 0 && cell->x > x )
|
||||
gray_hline( RAS_VAR_ x, y, (TArea)cover * ( ONE_PIXEL * 2 ),
|
||||
cell->x - x );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user