Lines Matching defs:Rect
25 class Rect {
31 static Rect _s_empty_rect_;
32 static Rect _s_invalid_rect_;
34 Rect() : left_(0), top_(0), right_(0), bottom_(0) {}
35 Rect(int l, int t, int r, int b) : left_(l), top_(t), right_(r), bottom_(b) {}
52 std::ostream& operator<<(std::ostream& os, const Rect& r);
148 explicit Region(Rect& rect)
151 bound_ = Rect { rect };
163 std::vector<Rect>& GetRegionRects()
168 std::vector<Rect> GetRegionRects() const
183 Rect& GetBoundRef()
188 Rect GetBound() const
208 inline std::vector<Rect>::const_iterator CBegin() const
213 inline std::vector<Rect>::iterator Begin()
218 inline std::vector<Rect>::const_iterator CEnd() const
223 inline std::vector<Rect>::const_iterator End()
260 std::vector<Rect> preRects;
261 std::vector<Rect> curRects;
269 std::vector<Rect> rects_;
270 Rect bound_;