Searched refs:y_shift (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/freetype/dist/src/raster/
H A Dftrend1.c103 FT_Pos y_shift = 0; local in function:ft_raster1_render
142 y_shift = ( (FT_Int)bitmap->rows - slot->bitmap_top ) * 64;
147 y_shift += origin->y;
151 if ( x_shift || y_shift )
152 FT_Outline_Translate( outline, x_shift, y_shift );
172 if ( x_shift || y_shift )
173 FT_Outline_Translate( outline, -x_shift, -y_shift );
/xsrc/external/mit/freetype/dist/src/smooth/
H A Dftsmooth.c438 FT_Pos y_shift = 0; local in function:ft_smooth_render
481 y_shift = 64 * -slot->bitmap_top;
483 y_shift += 64 * (FT_Int)bitmap->rows / 3;
485 y_shift += 64 * (FT_Int)bitmap->rows;
490 y_shift += origin->y;
494 if ( x_shift || y_shift )
495 FT_Outline_Translate( outline, x_shift, y_shift );
561 if ( x_shift || y_shift )
562 FT_Outline_Translate( outline, -x_shift, -y_shift );
/xsrc/external/mit/freetype/dist/src/base/
H A Dftobjs.c358 FT_Pos y_shift = 0; local in function:ft_glyphslot_preset_bitmap
369 y_shift = origin->y;
378 pbox.yMin = ( cbox.yMin >> 6 ) + ( y_shift >> 6 );
380 pbox.yMax = ( cbox.yMax >> 6 ) + ( y_shift >> 6 );
384 cbox.yMin = ( cbox.yMin & 63 ) + ( y_shift & 63 );
386 cbox.yMax = ( cbox.yMax & 63 ) + ( y_shift & 63 );

Completed in 8 milliseconds