Home
last modified time | relevance | path

Searched refs:skBounds (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzFaceSkia.cpp72 SkRect skBounds; in SkiaGetGlyphWidthAndExtents() local
75 paint->getTextWidths(&glyph, sizeof(glyph), &skWidth, &skBounds); in SkiaGetGlyphWidthAndExtents()
80 extents->x_bearing = SkiaScalarToHarfBuzzPosition(skBounds.fLeft); in SkiaGetGlyphWidthAndExtents()
81 extents->y_bearing = SkiaScalarToHarfBuzzPosition(-skBounds.fTop); in SkiaGetGlyphWidthAndExtents()
82 extents->width = SkiaScalarToHarfBuzzPosition(skBounds.width()); in SkiaGetGlyphWidthAndExtents()
83 extents->height = SkiaScalarToHarfBuzzPosition(-skBounds.height()); in SkiaGetGlyphWidthAndExtents()
/external/skia/src/ports/
DSkFontHost_mac.cpp979 SkRect skBounds; in generateMetrics() local
1009 skBounds = SkRect::MakeLTRB(gRect.fMinX, gRect.fMinY, gRect.fMaxX, gRect.fMaxY); in generateMetrics()
1011 fFUnitMatrix.mapRect(&skBounds); in generateMetrics()
1036 skBounds = SkRect::MakeXYWH(cgBounds.origin.x, -cgBounds.origin.y - cgBounds.size.height, in generateMetrics()
1045 skBounds.offset(offset); in generateMetrics()
1051 skBounds.fRight += SkFixedToFloat(glyph->getSubXFixed()); in generateMetrics()
1052 skBounds.fBottom += SkFixedToFloat(glyph->getSubYFixed()); in generateMetrics()
1056 skBounds.roundOut(&skIBounds); in generateMetrics()
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_mac.cpp979 SkRect skBounds; in generateMetrics() local
1009 skBounds = SkRect::MakeLTRB(gRect.fMinX, gRect.fMinY, gRect.fMaxX, gRect.fMaxY); in generateMetrics()
1011 fFUnitMatrix.mapRect(&skBounds); in generateMetrics()
1036 skBounds = SkRect::MakeXYWH(cgBounds.origin.x, -cgBounds.origin.y - cgBounds.size.height, in generateMetrics()
1045 skBounds.offset(offset); in generateMetrics()
1051 skBounds.fRight += SkFixedToFloat(glyph->getSubXFixed()); in generateMetrics()
1052 skBounds.fBottom += SkFixedToFloat(glyph->getSubYFixed()); in generateMetrics()
1056 skBounds.roundOut(&skIBounds); in generateMetrics()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp374 SkRect skBounds = SkRect::MakeFromIRect(skIBounds); in getTransformedClipBounds() local
375 *bounds = FloatRect(skBounds); in getTransformedClipBounds()
494 SkRect skBounds = WebCoreFloatRectToSKRect(*bounds); in beginLayer() local
495 saveLayer(&skBounds, &layerPaint, saveFlags); in beginLayer()