|
|
|
@ -645,13 +645,13 @@ |
|
|
|
|
if ( overshoot ) |
|
|
|
|
ras.cProfile->flags |= Overshoot_Bottom; |
|
|
|
|
|
|
|
|
|
FT_TRACE6(( " new ascending profile = %p\n", (void *)ras.cProfile )); |
|
|
|
|
FT_TRACE7(( " new ascending profile = %p\n", (void *)ras.cProfile )); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case Descending_State: |
|
|
|
|
if ( overshoot ) |
|
|
|
|
ras.cProfile->flags |= Overshoot_Top; |
|
|
|
|
FT_TRACE6(( " new descending profile = %p\n", (void *)ras.cProfile )); |
|
|
|
|
FT_TRACE7(( " new descending profile = %p\n", (void *)ras.cProfile )); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
default: |
|
|
|
@ -707,7 +707,7 @@ |
|
|
|
|
PProfile oldProfile; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FT_TRACE6(( " ending profile %p, start = %ld, height = %ld\n", |
|
|
|
|
FT_TRACE7(( " ending profile %p, start = %ld, height = %ld\n", |
|
|
|
|
(void *)ras.cProfile, ras.cProfile->start, h )); |
|
|
|
|
|
|
|
|
|
ras.cProfile->height = h; |
|
|
|
@ -3038,6 +3038,9 @@ |
|
|
|
|
if ( y_min == y_max ) |
|
|
|
|
return ras.error; /* still Raster_Overflow */ |
|
|
|
|
|
|
|
|
|
FT_TRACE6(( "band [%d..%d]: to be bisected\n", |
|
|
|
|
y_min, y_max )); |
|
|
|
|
|
|
|
|
|
y_mid = ( y_min + y_max ) >> 1; |
|
|
|
|
|
|
|
|
|
band_stack[band_top++] = y_min; |
|
|
|
@ -3045,6 +3048,9 @@ |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
FT_TRACE6(( "band [%d..%d]: %td bytes remaining\n", |
|
|
|
|
y_min, y_max, (char*)ras.maxBuff - (char*)ras.top )); |
|
|
|
|
|
|
|
|
|
if ( ras.fProfile ) |
|
|
|
|
if ( Draw_Sweep( RAS_VAR ) ) |
|
|
|
|
return ras.error; |
|
|
|
@ -3095,7 +3101,7 @@ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* Vertical Sweep */ |
|
|
|
|
FT_TRACE7(( "Vertical pass (ftraster)\n" )); |
|
|
|
|
FT_TRACE6(( "Vertical pass (ftraster)\n" )); |
|
|
|
|
|
|
|
|
|
ras.Proc_Sweep_Init = Vertical_Sweep_Init; |
|
|
|
|
ras.Proc_Sweep_Span = Vertical_Sweep_Span; |
|
|
|
@ -3115,7 +3121,7 @@ |
|
|
|
|
/* Horizontal Sweep */ |
|
|
|
|
if ( !( ras.outline.flags & FT_OUTLINE_SINGLE_PASS ) ) |
|
|
|
|
{ |
|
|
|
|
FT_TRACE7(( "Horizontal pass (ftraster)\n" )); |
|
|
|
|
FT_TRACE6(( "Horizontal pass (ftraster)\n" )); |
|
|
|
|
|
|
|
|
|
ras.Proc_Sweep_Init = Horizontal_Sweep_Init; |
|
|
|
|
ras.Proc_Sweep_Span = Horizontal_Sweep_Span; |
|
|
|
|