Home
last modified time | relevance | path

Searched refs:glyphBounds (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp107 Rect glyphBounds(skGlyph.fWidth, skGlyph.fHeight); in layoutTextUnscaled() local
108 glyphBounds.translate(totalAdvance + skGlyph.fLeft, skGlyph.fTop); in layoutTextUnscaled()
109 bounds.unionWith(glyphBounds); in layoutTextUnscaled()
/frameworks/minikin/libs/minikin/
DLayout.cpp992 MinikinRect glyphBounds; in doLayoutRun() local
998 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()
/frameworks/base/libs/hwui/
DSkiaCanvasProxy.cpp371 SkRect glyphBounds = SkRect::MakeEmpty(); in onDrawPosText() local
372 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()