Home
last modified time | relevance | path

Searched refs:ystr (Results 1 – 2 of 2) sorted by relevance

/external/freetype/src/base/
Dftsynth.c104 FT_Pos xstr, ystr; in FT_GlyphSlot_Embolden() local
120 ystr = xstr; in FT_GlyphSlot_Embolden()
123 FT_Outline_EmboldenXY( &slot->outline, xstr, ystr ); in FT_GlyphSlot_Embolden()
131 ystr &= ~63; in FT_GlyphSlot_Embolden()
139 if ( ( ystr >> 6 ) > FT_INT_MAX || ( ystr >> 6 ) < FT_INT_MIN ) in FT_GlyphSlot_Embolden()
142 FT_TRACE1(( "too strong emboldening parameter ystr=%ld\n", ystr )); in FT_GlyphSlot_Embolden()
149 error = FT_Bitmap_Embolden( library, &slot->bitmap, xstr, ystr ); in FT_GlyphSlot_Embolden()
158 slot->advance.y += ystr; in FT_GlyphSlot_Embolden()
161 slot->metrics.height += ystr; in FT_GlyphSlot_Embolden()
163 slot->metrics.vertAdvance += ystr; in FT_GlyphSlot_Embolden()
[all …]
Dftbitmap.c292 FT_Int xstr, ystr; in FT_Bitmap_Embolden() local
306 ystr = (FT_Int)FT_PIX_ROUND( yStrength ) >> 6; in FT_Bitmap_Embolden()
308 if ( xstr == 0 && ystr == 0 ) in FT_Bitmap_Embolden()
310 else if ( xstr < 0 || ystr < 0 ) in FT_Bitmap_Embolden()
342 ystr *= 3; in FT_Bitmap_Embolden()
351 (FT_UInt)xstr, (FT_UInt)ystr ); in FT_Bitmap_Embolden()
358 p = bitmap->buffer + pitch * ystr; in FT_Bitmap_Embolden()
422 for ( x = 1; x <= ystr; x++ ) in FT_Bitmap_Embolden()
436 bitmap->rows += (FT_UInt)ystr; in FT_Bitmap_Embolden()