Searched refs:skBounds (Results 1 - 5 of 5) 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());
H A DFontHarfBuzz.cpp309 SkRect skBounds = bounds; local
338 const SkTextBlobBuilder::RunBuffer& buffer = builder.allocRunPosH(paint, count, 0, &skBounds);
/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.cpp346 SkRect skBounds = SkRect::Make(skIBounds);
347 *bounds = FloatRect(skBounds);
465 SkRect skBounds = WebCoreFloatRectToSKRect(*bounds); local
466 saveLayer(&skBounds, &layerPaint);

Completed in 91 milliseconds