Searched refs:skBounds (Results 1 – 3 of 3) sorted by relevance
42 SkRect skBounds;44 skPaint.getTextWidths(&glyph16, sizeof(glyph16), NULL, &skBounds);45 bounds->mLeft = skBounds.fLeft;46 bounds->mTop = skBounds.fTop;47 bounds->mRight = skBounds.fRight;48 bounds->mBottom = skBounds.fBottom;
62 SkRect skBounds; in GetBounds() local64 skPaint.getTextWidths(&glyph16, sizeof(glyph16), NULL, &skBounds); in GetBounds()65 bounds->mLeft = skBounds.fLeft; in GetBounds()66 bounds->mTop = skBounds.fTop; in GetBounds()67 bounds->mRight = skBounds.fRight; in GetBounds()68 bounds->mBottom = skBounds.fBottom; in GetBounds()
63 SkRect skBounds; in SkiaGetGlyphWidthAndExtents() local66 paint->getTextWidths(&glyph, sizeof(glyph), &skWidth, &skBounds); in SkiaGetGlyphWidthAndExtents()74 extents->x_bearing = SkScalarToHBFixed(skBounds.fLeft); in SkiaGetGlyphWidthAndExtents()75 extents->y_bearing = SkScalarToHBFixed(-skBounds.fTop); in SkiaGetGlyphWidthAndExtents()76 extents->width = SkScalarToHBFixed(skBounds.width()); in SkiaGetGlyphWidthAndExtents()77 extents->height = SkScalarToHBFixed(-skBounds.height()); in SkiaGetGlyphWidthAndExtents()