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

/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
H A DHarfBuzzFaceSkia.cpp72 SkRect skBounds; local
75 paint->getTextWidths(&glyph, sizeof(glyph), &skWidth, &skBounds);
80 extents->x_bearing = SkiaScalarToHarfBuzzPosition(skBounds.fLeft);
81 extents->y_bearing = SkiaScalarToHarfBuzzPosition(-skBounds.fTop);
82 extents->width = SkiaScalarToHarfBuzzPosition(skBounds.width());
83 extents->height = SkiaScalarToHarfBuzzPosition(-skBounds.height());
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_mac.cpp977 // The following produces skBounds in SkGlyph units (pixels, y down),
978 // or returns early if skBounds would be empty.
979 SkRect skBounds; local
1009 skBounds = SkRect::MakeLTRB(gRect.fMinX, gRect.fMinY, gRect.fMaxX, gRect.fMaxY);
1011 fFUnitMatrix.mapRect(&skBounds);
1036 skBounds = SkRect::MakeXYWH(cgBounds.origin.x, -cgBounds.origin.y - cgBounds.size.height,
1041 // Due to all of the vertical bounds bugs, skBounds is always the horizontal bounds.
1045 skBounds.offset(offset);
1051 skBounds.fRight += SkFixedToFloat(glyph->getSubXFixed());
1052 skBounds
[all...]
/external/skia/src/ports/
H A DSkFontHost_mac.cpp977 // The following produces skBounds in SkGlyph units (pixels, y down),
978 // or returns early if skBounds would be empty.
979 SkRect skBounds; local
1009 skBounds = SkRect::MakeLTRB(gRect.fMinX, gRect.fMinY, gRect.fMaxX, gRect.fMaxY);
1011 fFUnitMatrix.mapRect(&skBounds);
1036 skBounds = SkRect::MakeXYWH(cgBounds.origin.x, -cgBounds.origin.y - cgBounds.size.height,
1041 // Due to all of the vertical bounds bugs, skBounds is always the horizontal bounds.
1045 skBounds.offset(offset);
1051 skBounds.fRight += SkFixedToFloat(glyph->getSubXFixed());
1052 skBounds
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsContext.cpp374 SkRect skBounds = SkRect::MakeFromIRect(skIBounds);
375 *bounds = FloatRect(skBounds);
494 SkRect skBounds = WebCoreFloatRectToSKRect(*bounds); local
495 saveLayer(&skBounds, &layerPaint, saveFlags);

Completed in 131 milliseconds