Searched refs:skBounds (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/engine/flutter/third_party/txt/src/txt/ |
D | font_skia.cc | 74 SkRect skBounds; in GetBounds() local 76 skFont.getWidths(&glyph16, 1, NULL, &skBounds); in GetBounds() 77 bounds->mLeft = skBounds.fLeft; in GetBounds() 78 bounds->mTop = skBounds.fTop; in GetBounds() 79 bounds->mRight = skBounds.fRight; in GetBounds() 80 bounds->mBottom = skBounds.fBottom; in GetBounds()
|
/third_party/flutter/txt/src/txt/ |
D | font_skia.cc | 76 SkRect skBounds; in GetBounds() local 78 skFont.getWidths(&glyph16, 1, NULL, &skBounds); in GetBounds() 79 bounds->mLeft = skBounds.fLeft; in GetBounds() 80 bounds->mTop = skBounds.fTop; in GetBounds() 81 bounds->mRight = skBounds.fRight; in GetBounds() 82 bounds->mBottom = skBounds.fBottom; in GetBounds()
|
/third_party/skia/src/ports/ |
D | SkScalerContext_mac_ct.cpp | 288 SkRect skBounds; in generateMetrics() local 319 skBounds = SkRect::MakeXYWH(cgBounds.origin.x, -cgBounds.origin.y - cgBounds.size.height, in generateMetrics() 326 skBounds.fRight += SkFixedToFloat(glyph->getSubXFixed()); in generateMetrics() 327 skBounds.fBottom += SkFixedToFloat(glyph->getSubYFixed()); in generateMetrics() 332 if (!SkRect::MakeXYWH(-32767, -32767, 65535, 65535).contains(skBounds)) { in generateMetrics() 337 skBounds.roundOut(&skIBounds); in generateMetrics()
|
/third_party/flutter/skia/src/ports/ |
D | SkFontHost_mac.cpp | 1189 SkRect skBounds; in generateMetrics() local 1220 skBounds = SkRect::MakeXYWH(cgBounds.origin.x, -cgBounds.origin.y - cgBounds.size.height, in generateMetrics() 1227 skBounds.fRight += SkFixedToFloat(glyph->getSubXFixed()); in generateMetrics() 1228 skBounds.fBottom += SkFixedToFloat(glyph->getSubYFixed()); in generateMetrics() 1233 if (!SkRect::MakeXYWH(-32767, -32767, 65535, 65535).contains(skBounds)) { in generateMetrics() 1238 skBounds.roundOut(&skIBounds); in generateMetrics()
|