Lines Matching refs:DesktopRect
79 class RTC_EXPORT DesktopRect {
81 static DesktopRect MakeSize(const DesktopSize& size) { in MakeSize()
82 return DesktopRect(0, 0, size.width(), size.height()); in MakeSize()
84 static DesktopRect MakeWH(int32_t width, int32_t height) { in MakeWH()
85 return DesktopRect(0, 0, width, height); in MakeWH()
87 static DesktopRect MakeXYWH(int32_t x, in MakeXYWH()
91 return DesktopRect(x, y, x + width, y + height); in MakeXYWH()
93 static DesktopRect MakeLTRB(int32_t left, in MakeLTRB()
97 return DesktopRect(left, top, right, bottom); in MakeLTRB()
99 static DesktopRect MakeOriginSize(const DesktopVector& origin, in MakeOriginSize()
104 DesktopRect() : left_(0), top_(0), right_(0), bottom_(0) {} in DesktopRect() function
121 bool equals(const DesktopRect& other) const { in equals()
130 bool ContainsRect(const DesktopRect& rect) const;
133 void IntersectWith(const DesktopRect& rect);
137 void UnionWith(const DesktopRect& rect);
158 DesktopRect(int32_t left, int32_t top, int32_t right, int32_t bottom) in DesktopRect() function