Searched refs:xstr (Results 1 – 2 of 2) sorted by relevance
/external/freetype/src/base/ |
D | ftsynth.c | 89 FT_Pos xstr, ystr; in FT_GlyphSlot_Embolden() local 97 xstr = FT_MulFix( face->units_per_EM, in FT_GlyphSlot_Embolden() 99 ystr = xstr; in FT_GlyphSlot_Embolden() 104 (void)FT_Outline_Embolden( &slot->outline, xstr ); in FT_GlyphSlot_Embolden() 108 xstr = xstr * 2; in FT_GlyphSlot_Embolden() 109 ystr = xstr; in FT_GlyphSlot_Embolden() 114 xstr &= ~63; in FT_GlyphSlot_Embolden() 115 if ( xstr == 0 ) in FT_GlyphSlot_Embolden() 116 xstr = 1 << 6; in FT_GlyphSlot_Embolden() 135 error = FT_Bitmap_Embolden( library, &slot->bitmap, xstr, ystr ); in FT_GlyphSlot_Embolden() [all …]
|
D | ftbitmap.c | 222 FT_Int xstr, ystr; in FT_Bitmap_Embolden() local 235 xstr = (FT_Int)FT_PIX_ROUND( xStrength ) >> 6; in FT_Bitmap_Embolden() 238 if ( xstr == 0 && ystr == 0 ) in FT_Bitmap_Embolden() 240 else if ( xstr < 0 || ystr < 0 ) in FT_Bitmap_Embolden() 253 align = ( bitmap->width + xstr + 3 ) / 4; in FT_Bitmap_Embolden() 255 align = ( bitmap->width + xstr + 1 ) / 2; in FT_Bitmap_Embolden() 269 if ( xstr > 8 ) in FT_Bitmap_Embolden() 270 xstr = 8; in FT_Bitmap_Embolden() 274 xstr *= 3; in FT_Bitmap_Embolden() 282 error = ft_bitmap_assure_buffer( library->memory, bitmap, xstr, ystr ); in FT_Bitmap_Embolden() [all …]
|