Searched defs:Rect (Results 1 – 7 of 7) sorted by relevance
25 template <class T> struct Rect { struct27 Rect(T w, T h) : width(w), height(h) {} in Rect() argument30 bool operator==(const Rect& rhs) const { argument34 size_t area() const { return size_t(width) * height; } in area()
34 inline Rect() : Rect(INVALID_RECT) {} in Rect() function36 inline Rect(T w, T h) { in Rect() function47 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b) { in Rect() function53 inline Rect(const Point& lt, const Point& rb) { in Rect() function59 inline explicit Rect(const FloatRect& floatRect) { in Rect() function
53 struct Rect { struct54 int32_t left;55 int32_t top;56 int32_t width;57 int32_t height;
31 class Rect; variable
49 } Rect; typedef
87 const std::vector<std::optional<common::Rect>>& /*damage*/) { in setSurfaceDamage()
765 const std::vector<common::Rect>& /*damage*/) { in setClientTarget()