HomeSort by relevance Sort by last modified time
    Searched defs:SkSize (Results 1 - 2 of 2) sorted by null

  /external/skia/include/core/
SkSize.h 47 struct SkSize {
51 static SkSize Make(SkScalar w, SkScalar h) { return {w, h}; }
53 static SkSize Make(const SkISize& src) {
57 SkSize& operator=(const SkISize& src) {
58 return *this = SkSize{SkIntToScalar(src.fWidth), SkIntToScalar(src.fHeight)};
61 static SkSize MakeEmpty() { return {0, 0}; }
63 void set(SkScalar w, SkScalar h) { *this = SkSize{w, h}; }
73 void setEmpty() { *this = SkSize{0, 0}; }
87 static inline bool operator==(const SkSize& a, const SkSize& b)
    [all...]
  /external/skqp/include/core/
SkSize.h 47 struct SkSize {
51 static SkSize Make(SkScalar w, SkScalar h) { return {w, h}; }
53 static SkSize Make(const SkISize& src) {
57 SkSize& operator=(const SkISize& src) {
58 return *this = SkSize{SkIntToScalar(src.fWidth), SkIntToScalar(src.fHeight)};
61 static SkSize MakeEmpty() { return {0, 0}; }
63 void set(SkScalar w, SkScalar h) { *this = SkSize{w, h}; }
73 void setEmpty() { *this = SkSize{0, 0}; }
87 static inline bool operator==(const SkSize& a, const SkSize& b)
    [all...]

Completed in 222 milliseconds