Home
last modified time | relevance | path

Searched refs:SkGlyphRect (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkGlyph.h174 class SkGlyphRect; variable
176 SkGlyphRect rect_union(SkGlyphRect, SkGlyphRect);
177 SkGlyphRect rect_intersection(SkGlyphRect, SkGlyphRect);
182 class SkGlyphRect {
184 SkGlyphRect(int16_t left, int16_t top, int16_t right, int16_t bottom) in SkGlyphRect() function
198 SkGlyphRect offset(int16_t x, int16_t y) const { in offset()
199 return SkGlyphRect{fRect + Storage{x, y, SkTo<int16_t>(-x), SkTo<int16_t>(-y)}}; in offset()
202 friend SkGlyphRect skglyph::rect_union(SkGlyphRect, SkGlyphRect);
203 friend SkGlyphRect skglyph::rect_intersection(SkGlyphRect, SkGlyphRect);
207 SkGlyphRect(Storage rect) : fRect{rect} { } in SkGlyphRect() function
[all …]
/external/skia/tests/
DSkGlyphTest.cpp13 SkGlyphRect r{1, 1, 10, 10}; in DEF_TEST()
15 SkGlyphRect a = rect_union(r, empty_rect()); in DEF_TEST()
21 SkGlyphRect acc = full_rect(); in DEF_TEST()
24 acc = rect_intersection(acc, SkGlyphRect(x, y, x + 20, y + 20)); in DEF_TEST()
32 acc = rect_union(acc, SkGlyphRect(x, y, x + 20, y + 20)); in DEF_TEST()
/external/skia/src/gpu/text/
DGrTextBlob.cpp439 const SkGlyphRect& deviceBounds,
487 const SkGlyphRect fGlyphDeviceBounds;
498 const SkGlyphRect& deviceBounds, in DirectMaskSubRun()
522 SkGlyphRect runBounds = skglyph::empty_rect(); in Make()
531 const SkGlyphRect deviceBounds = in Make()
1708 SkGlyphRect runBounds = skglyph::empty_rect(); in Make()
1717 const SkGlyphRect deviceBounds = in Make()