Searched refs:fontBounds (Results 1 – 3 of 3) sorted by relevance
124 const SkRect fontBounds = SkFontPriv::GetFontBounds(font); in glyphrun_source_bounds() local129 if (fontBounds.isEmpty()) { in glyphrun_source_bounds()171 bounds.fLeft += fontBounds.left(); in glyphrun_source_bounds()172 bounds.fTop += fontBounds.top(); in glyphrun_source_bounds()173 bounds.fRight += fontBounds.right(); in glyphrun_source_bounds()174 bounds.fBottom += fontBounds.bottom(); in glyphrun_source_bounds()182 bounds.join(SkMatrix().setRSXform(xform).mapRect(fontBounds)); in glyphrun_source_bounds()
331 const SkRect fontBounds = SkFontPriv::GetFontBounds(run.font()); in ConservativeRunBounds() local332 if (fontBounds.isEmpty()) { in ConservativeRunBounds()366 bounds.join(map_quad_to_rect(xform[i], fontBounds)); in ConservativeRunBounds()375 bounds.fLeft += fontBounds.left(); in ConservativeRunBounds()376 bounds.fTop += fontBounds.top(); in ConservativeRunBounds()377 bounds.fRight += fontBounds.right(); in ConservativeRunBounds()378 bounds.fBottom += fontBounds.bottom(); in ConservativeRunBounds()
250 SkRect fontBounds = SkFontPriv::GetFontBounds(font); in show_bounds() local253 drawBounds.join(fontBounds); in show_bounds()262 canvas->drawRect(fontBounds, boundsPaint); in show_bounds()