Home
last modified time | relevance | path

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

/external/freetype/src/base/
Dftsynth.c94 FT_Pos xstr, ystr; in FT_GlyphSlot_Embolden() local
110 ystr = xstr; in FT_GlyphSlot_Embolden()
113 FT_Outline_EmboldenXY( &slot->outline, xstr, ystr ); in FT_GlyphSlot_Embolden()
121 ystr &= ~63; in FT_GlyphSlot_Embolden()
129 if ( ( ystr >> 6 ) > FT_INT_MAX || ( ystr >> 6 ) < FT_INT_MIN ) in FT_GlyphSlot_Embolden()
132 FT_TRACE1(( "too strong emboldening parameter ystr=%ld\n", ystr )); in FT_GlyphSlot_Embolden()
139 error = FT_Bitmap_Embolden( library, &slot->bitmap, xstr, ystr ); in FT_GlyphSlot_Embolden()
148 slot->advance.y += ystr; in FT_GlyphSlot_Embolden()
151 slot->metrics.height += ystr; in FT_GlyphSlot_Embolden()
153 slot->metrics.vertAdvance += ystr; in FT_GlyphSlot_Embolden()
[all …]
Dftbitmap.c316 FT_Int xstr, ystr; in FT_Bitmap_Embolden() local
330 ystr = (FT_Int)FT_PIX_ROUND( yStrength ) >> 6; in FT_Bitmap_Embolden()
332 if ( xstr == 0 && ystr == 0 ) in FT_Bitmap_Embolden()
334 else if ( xstr < 0 || ystr < 0 ) in FT_Bitmap_Embolden()
366 ystr *= 3; in FT_Bitmap_Embolden()
375 (FT_UInt)xstr, (FT_UInt)ystr ); in FT_Bitmap_Embolden()
382 p = bitmap->buffer + pitch * ystr; in FT_Bitmap_Embolden()
446 for ( x = 1; x <= ystr; x++ ) in FT_Bitmap_Embolden()
460 bitmap->rows += (FT_UInt)ystr; in FT_Bitmap_Embolden()