Searched defs:SkSize (Results 1 – 1 of 1) sorted by relevance
51 struct SkSize { struct55 static SkSize Make(SkScalar w, SkScalar h) { return {w, h}; } in Make() argument57 static SkSize Make(const SkISize& src) { in Make() argument61 static SkSize MakeEmpty() { return {0, 0}; } in MakeEmpty() argument63 void set(SkScalar w, SkScalar h) { *this = SkSize{w, h}; } in set() argument73 void setEmpty() { *this = SkSize{0, 0}; } in setEmpty() argument87 static inline bool operator==(const SkSize& a, const SkSize& b) { argument