Logging for testing

This commit is contained in:
Anurag Thakur 2022-07-12 17:19:37 +05:30
parent b66a91728b
commit 171a542175
2 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,7 @@ dense_move_to( const FT_Vector* to, RasterFP* aRasterFP )
static int
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 lp = {aRasterFP->prev_x, aRasterFP->prev_y};
RasterFP_DrawLine( aRasterFP, lp, tp );

View File

@ -1451,6 +1451,7 @@ typedef ptrdiff_t FT_PtrDist;
gray_line_to( const FT_Vector* to,
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 ) );
return 0;
}