Searched refs:skBounds (Results 1 – 2 of 2) sorted by relevance
65 SkRect skBounds; in SkiaGetGlyphWidthAndExtents() local68 paint->getTextWidths(&glyph, sizeof(glyph), &skWidth, &skBounds); in SkiaGetGlyphWidthAndExtents()76 extents->x_bearing = SkScalarToHBFixed(skBounds.fLeft); in SkiaGetGlyphWidthAndExtents()77 extents->y_bearing = SkScalarToHBFixed(-skBounds.fTop); in SkiaGetGlyphWidthAndExtents()78 extents->width = SkScalarToHBFixed(skBounds.width()); in SkiaGetGlyphWidthAndExtents()79 extents->height = SkScalarToHBFixed(-skBounds.height()); in SkiaGetGlyphWidthAndExtents()
66 SkRect skBounds; in GetBounds() local68 skPaint.getTextWidths(&glyph16, sizeof(glyph16), NULL, &skBounds); in GetBounds()69 bounds->mLeft = skBounds.fLeft; in GetBounds()70 bounds->mTop = skBounds.fTop; in GetBounds()71 bounds->mRight = skBounds.fRight; in GetBounds()72 bounds->mBottom = skBounds.fBottom; in GetBounds()