forked from minhngoc25a/freetype2
Logging for testing
This commit is contained in:
parent
b66a91728b
commit
171a542175
|
@ -57,6 +57,7 @@ dense_move_to( const FT_Vector* to, RasterFP* aRasterFP )
|
||||||
static int
|
static int
|
||||||
dense_line_to( const FT_Vector* to, RasterFP* aRasterFP )
|
dense_line_to( const FT_Vector* to, RasterFP* aRasterFP )
|
||||||
{
|
{
|
||||||
|
printf("dense_line_to: %d, %d\n", to->x, to->y);
|
||||||
RasterFP_Point tp = {UPSCALE(to->x), UPSCALE(to->y)};
|
RasterFP_Point tp = {UPSCALE(to->x), UPSCALE(to->y)};
|
||||||
RasterFP_Point lp = {aRasterFP->prev_x, aRasterFP->prev_y};
|
RasterFP_Point lp = {aRasterFP->prev_x, aRasterFP->prev_y};
|
||||||
RasterFP_DrawLine( aRasterFP, lp, tp );
|
RasterFP_DrawLine( aRasterFP, lp, tp );
|
||||||
|
|
|
@ -1451,6 +1451,7 @@ typedef ptrdiff_t FT_PtrDist;
|
||||||
gray_line_to( const FT_Vector* to,
|
gray_line_to( const FT_Vector* to,
|
||||||
gray_PWorker worker )
|
gray_PWorker worker )
|
||||||
{
|
{
|
||||||
|
printf("gray_line_to: %d, %d\n", to->x, to->y);
|
||||||
gray_render_line( RAS_VAR_ UPSCALE( to->x ), UPSCALE( to->y ) );
|
gray_render_line( RAS_VAR_ UPSCALE( to->x ), UPSCALE( to->y ) );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue