Searched refs:SkGlyphRect (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/src/core/ |
D | SkGlyph.h | 175 class SkGlyphRect; variable 177 SkGlyphRect rect_union(SkGlyphRect, SkGlyphRect); 178 SkGlyphRect rect_intersection(SkGlyphRect, SkGlyphRect); 183 class SkGlyphRect { 185 SkGlyphRect(int16_t left, int16_t top, int16_t right, int16_t bottom) in SkGlyphRect() function 199 SkGlyphRect offset(int16_t x, int16_t y) const { in offset() 200 return SkGlyphRect{fRect + Storage{x, y, SkTo<int16_t>(-x), SkTo<int16_t>(-y)}}; in offset() 203 friend SkGlyphRect skglyph::rect_union(SkGlyphRect, SkGlyphRect); 204 friend SkGlyphRect skglyph::rect_intersection(SkGlyphRect, SkGlyphRect); 208 SkGlyphRect(Storage rect) : fRect{rect} { } in SkGlyphRect() function [all …]
|
/third_party/skia/tests/ |
D | SkGlyphTest.cpp | 13 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()
|
/third_party/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 450 const SkGlyphRect& deviceBounds, 499 const SkGlyphRect fGlyphDeviceBounds; 510 const SkGlyphRect& deviceBounds, in DirectMaskSubRun() 535 SkGlyphRect runBounds = skglyph::empty_rect(); in Make() 544 const SkGlyphRect deviceBounds = in Make() 1738 SkGlyphRect runBounds = skglyph::empty_rect(); in Make() 1747 const SkGlyphRect deviceBounds = in Make()
|