Searched refs:fontBounds (Results 1 – 3 of 3) sorted by relevance
120 const SkRect fontBounds = SkFontPriv::GetFontBounds(font); in glyphrun_source_bounds() local125 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()
322 const SkRect fontBounds = SkFontPriv::GetFontBounds(run.font()); in ConservativeRunBounds() local323 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()
246 SkRect fontBounds = SkFontPriv::GetFontBounds(font); in show_bounds() local249 drawBounds.join(fontBounds); in show_bounds()258 canvas->drawRect(fontBounds, boundsPaint); in show_bounds()