Home
last modified time | relevance | path

Searched defs:SkSize (Results 1 – 2 of 2) sorted by relevance

/external/skqp/include/core/
DSkSize.h47 struct SkSize { struct
51 static SkSize Make(SkScalar w, SkScalar h) { return {w, h}; } in Make() argument
53 static SkSize Make(const SkISize& src) { in Make() argument
61 static SkSize MakeEmpty() { return {0, 0}; } in MakeEmpty() argument
63 void set(SkScalar w, SkScalar h) { *this = SkSize{w, h}; } in set() argument
73 void setEmpty() { *this = SkSize{0, 0}; } in setEmpty() argument
87 static inline bool operator==(const SkSize& a, const SkSize& b) { argument
/external/skia/include/core/
DSkSize.h49 struct SkSize { struct
53 static SkSize Make(SkScalar w, SkScalar h) { return {w, h}; } in Make() argument
55 static SkSize Make(const SkISize& src) { in Make() argument
59 static SkSize MakeEmpty() { return {0, 0}; } in MakeEmpty() argument
61 void set(SkScalar w, SkScalar h) { *this = SkSize{w, h}; } in set() argument
71 void setEmpty() { *this = SkSize{0, 0}; } in setEmpty() argument
85 static inline bool operator==(const SkSize& a, const SkSize& b) { argument