Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkSize.h51 struct SkSize { struct
55 static SkSize Make(SkScalar w, SkScalar h) { return {w, h}; } in Make() argument
57 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