Searched refs:fontBounds (Results 1 – 5 of 5) sorted by relevance
/third_party/flutter/skia/gm/ |
D | fontmgr.cpp | 228 SkRect fontBounds = SkFontPriv::GetFontBounds(font).makeOffset(x, y); in show_bounds() local 234 canvas->drawRect(fontBounds, boundsPaint); in show_bounds() 244 SkRect underline{ fontBounds.fLeft, fm.fUnderlinePosition+y, in show_bounds() 245 fontBounds.fRight, fm.fUnderlinePosition+y + fm.fUnderlineThickness }; in show_bounds() 252 SkRect strikeout{ fontBounds.fLeft, fm.fStrikeoutPosition+y - fm.fStrikeoutThickness, in show_bounds() 253 fontBounds.fRight, fm.fStrikeoutPosition+y }; in show_bounds() 273 {fontBounds.left(), fontBounds.centerY()}, in show_bounds() 274 {fontBounds.right(), fontBounds.centerY()}, in show_bounds() 275 {fontBounds.centerX(), fontBounds.top()}, in show_bounds() 276 {fontBounds.centerX(), fontBounds.bottom()} in show_bounds() [all …]
|
/third_party/skia/src/core/ |
D | SkGlyphRun.cpp | 44 const SkRect fontBounds = SkFontPriv::GetFontBounds(fFont); in sourceBounds() local 46 if (fontBounds.isEmpty()) { in sourceBounds() 89 bounds.fLeft += fontBounds.left(); in sourceBounds() 90 bounds.fTop += fontBounds.top(); in sourceBounds() 91 bounds.fRight += fontBounds.right(); in sourceBounds() 92 bounds.fBottom += fontBounds.bottom(); in sourceBounds() 100 bounds.join(SkMatrix().setRSXform(xform).mapRect(fontBounds)); in sourceBounds()
|
D | SkTextBlob.cpp | 319 const SkRect fontBounds = SkFontPriv::GetFontBounds(run.font()); in ConservativeRunBounds() local 320 if (fontBounds.isEmpty()) { in ConservativeRunBounds() 354 bounds.join(map_quad_to_rect(xform[i], fontBounds)); in ConservativeRunBounds() 363 bounds.fLeft += fontBounds.left(); in ConservativeRunBounds() 364 bounds.fTop += fontBounds.top(); in ConservativeRunBounds() 365 bounds.fRight += fontBounds.right(); in ConservativeRunBounds() 366 bounds.fBottom += fontBounds.bottom(); in ConservativeRunBounds()
|
/third_party/flutter/skia/src/core/ |
D | SkTextBlob.cpp | 307 const SkRect fontBounds = SkFontPriv::GetFontBounds(run.font()); in ConservativeRunBounds() local 308 if (fontBounds.isEmpty()) { in ConservativeRunBounds() 340 bounds = map_quad_to_rect(xform[0], fontBounds); in ConservativeRunBounds() 342 bounds.join(map_quad_to_rect(xform[i], fontBounds)); in ConservativeRunBounds() 351 bounds.fLeft += fontBounds.left(); in ConservativeRunBounds() 352 bounds.fTop += fontBounds.top(); in ConservativeRunBounds() 353 bounds.fRight += fontBounds.right(); in ConservativeRunBounds() 354 bounds.fBottom += fontBounds.bottom(); in ConservativeRunBounds()
|
/third_party/skia/gm/ |
D | fontmgr.cpp | 245 SkRect fontBounds = SkFontPriv::GetFontBounds(font); in show_bounds() local 248 drawBounds.join(fontBounds); in show_bounds() 257 canvas->drawRect(fontBounds, boundsPaint); in show_bounds()
|