Home
last modified time | relevance | path

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

/external/skqp/src/ports/
DSkFontHost_FreeType_common.cpp472 FT_GlyphSlotRec& ftGlyph = *face->glyph; in generateGlyphImage() local
475 SkIRect::MakeXYWH( ftGlyph.bitmap_left, in generateGlyphImage()
476 -ftGlyph.bitmap_top, in generateGlyphImage()
477 ftGlyph.bitmap.width, in generateGlyphImage()
478 ftGlyph.bitmap.rows))) in generateGlyphImage()
485 unsigned char* origBuffer = ftGlyph.bitmap.buffer; in generateGlyphImage()
487 if (-ftGlyph.bitmap_top < mask.fBounds.fTop) { in generateGlyphImage()
488 int32_t topDiff = mask.fBounds.fTop - (-ftGlyph.bitmap_top); in generateGlyphImage()
489 ftGlyph.bitmap.buffer += ftGlyph.bitmap.pitch * topDiff; in generateGlyphImage()
490 ftGlyph.bitmap.rows -= topDiff; in generateGlyphImage()
[all …]
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp1021 FT_GlyphSlotRec& ftGlyph = *face->glyph; in generateGlyphImage() local
1024 SkIRect::MakeXYWH( ftGlyph.bitmap_left, in generateGlyphImage()
1025 -ftGlyph.bitmap_top, in generateGlyphImage()
1026 ftGlyph.bitmap.width, in generateGlyphImage()
1027 ftGlyph.bitmap.rows))) in generateGlyphImage()
1034 unsigned char* origBuffer = ftGlyph.bitmap.buffer; in generateGlyphImage()
1036 if (-ftGlyph.bitmap_top < mask.fBounds.fTop) { in generateGlyphImage()
1037 int32_t topDiff = mask.fBounds.fTop - (-ftGlyph.bitmap_top); in generateGlyphImage()
1038 ftGlyph.bitmap.buffer += ftGlyph.bitmap.pitch * topDiff; in generateGlyphImage()
1039 ftGlyph.bitmap.rows -= topDiff; in generateGlyphImage()
[all …]