Home
last modified time | relevance | path

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

/external/skia/src/text/
DGlyphRun.cpp120 const SkRect fontBounds = SkFontPriv::GetFontBounds(font); in glyphrun_source_bounds() local
125 if (fontBounds.isEmpty()) { in glyphrun_source_bounds()
167 bounds.fLeft += fontBounds.left(); in glyphrun_source_bounds()
168 bounds.fTop += fontBounds.top(); in glyphrun_source_bounds()
169 bounds.fRight += fontBounds.right(); in glyphrun_source_bounds()
170 bounds.fBottom += fontBounds.bottom(); in glyphrun_source_bounds()
178 bounds.join(SkMatrix().setRSXform(xform).mapRect(fontBounds)); in glyphrun_source_bounds()
/external/skia/src/core/
DSkTextBlob.cpp322 const SkRect fontBounds = SkFontPriv::GetFontBounds(run.font()); in ConservativeRunBounds() local
323 if (fontBounds.isEmpty()) { in ConservativeRunBounds()
357 bounds.join(map_quad_to_rect(xform[i], fontBounds)); in ConservativeRunBounds()
366 bounds.fLeft += fontBounds.left(); in ConservativeRunBounds()
367 bounds.fTop += fontBounds.top(); in ConservativeRunBounds()
368 bounds.fRight += fontBounds.right(); in ConservativeRunBounds()
369 bounds.fBottom += fontBounds.bottom(); in ConservativeRunBounds()
/external/skia/gm/
Dfontmgr.cpp246 SkRect fontBounds = SkFontPriv::GetFontBounds(font); in show_bounds() local
249 drawBounds.join(fontBounds); in show_bounds()
258 canvas->drawRect(fontBounds, boundsPaint); in show_bounds()