Searched refs:glyphBounds (Results 1 – 3 of 3) sorted by relevance
107 Rect glyphBounds(skGlyph.fWidth, skGlyph.fHeight); in layoutTextUnscaled() local108 glyphBounds.translate(totalAdvance + skGlyph.fLeft, skGlyph.fTop); in layoutTextUnscaled()109 bounds.unionWith(glyphBounds); in layoutTextUnscaled()
992 MinikinRect glyphBounds; in doLayoutRun() local998 glyphBounds.mLeft = roundf(HBFixedToFloat(extents.x_bearing)); in doLayoutRun()999 glyphBounds.mTop = roundf(HBFixedToFloat(-extents.y_bearing)); in doLayoutRun()1000 glyphBounds.mRight = roundf(HBFixedToFloat(extents.x_bearing + extents.width)); in doLayoutRun()1001 glyphBounds.mBottom = in doLayoutRun()1004 ctx->paint.font->GetBounds(&glyphBounds, glyph_ix, ctx->paint); in doLayoutRun()1006 glyphBounds.offset(x + xoff, y + yoff); in doLayoutRun()1007 mBounds.join(glyphBounds); in doLayoutRun()
371 SkRect glyphBounds = SkRect::MakeEmpty(); in onDrawPosText() local372 glyphs.paint.measureText(&glyphs.glyphIDs[i], sizeof(uint16_t), &glyphBounds); in onDrawPosText()373 glyphBounds.offset(pos[i].fX, pos[i].fY); in onDrawPosText()374 bounds.join(glyphBounds); in onDrawPosText()