Lines Matching refs:Rect
26 Rect::Rect(const RECT& r) in Rect() function in gfx::Rect
31 Rect::Rect(const CGRect& r)
37 RECT Rect::ToRECT() const { in ToRECT()
46 CGRect Rect::ToCGRect() const { in ToCGRect()
102 void Rect::SetByBounds(int left, int top, int right, int bottom) { in SetByBounds()
111 void Rect::Inset(const Insets& insets) { in Inset()
115 void Rect::Inset(int left, int top, int right, int bottom) { in Inset()
123 void Rect::Offset(int horizontal, int vertical) { in Offset()
130 void Rect::operator+=(const Vector2d& offset) { in operator +=()
137 void Rect::operator-=(const Vector2d& offset) { in operator -=()
141 Insets Rect::InsetsFrom(const Rect& inner) const { in InsetsFrom()
148 bool Rect::operator<(const Rect& other) const { in operator <()
160 bool Rect::Contains(int point_x, int point_y) const { in Contains()
165 bool Rect::Contains(const Rect& rect) const { in Contains()
170 bool Rect::Intersects(const Rect& rect) const { in Intersects()
175 void Rect::Intersect(const Rect& rect) { in Intersect()
194 void Rect::Union(const Rect& rect) { in Union()
207 void Rect::Subtract(const Rect& rect) { in Subtract()
238 void Rect::AdjustToFit(const Rect& rect) { in AdjustToFit()
248 Point Rect::CenterPoint() const { in CenterPoint()
252 void Rect::ClampToCenteredSize(const Size& size) { in ClampToCenteredSize()
260 void Rect::SplitVertically(Rect* left_half, Rect* right_half) const { in SplitVertically()
269 bool Rect::SharesEdgeWith(const Rect& rect) const { in SharesEdgeWith()
276 int Rect::ManhattanDistanceToPoint(const Point& point) const { in ManhattanDistanceToPoint()
285 int Rect::ManhattanInternalDistance(const Rect& rect) const { in ManhattanInternalDistance()
286 Rect c(*this); in ManhattanInternalDistance()
294 std::string Rect::ToString() const { in ToString()
300 bool Rect::ApproximatelyEqual(const Rect& rect, int tolerance) const { in ApproximatelyEqual()
307 Rect operator+(const Rect& lhs, const Vector2d& rhs) { in operator +()
308 Rect result(lhs); in operator +()
313 Rect operator-(const Rect& lhs, const Vector2d& rhs) { in operator -()
314 Rect result(lhs); in operator -()
319 Rect IntersectRects(const Rect& a, const Rect& b) { in IntersectRects()
320 Rect result = a; in IntersectRects()
325 Rect UnionRects(const Rect& a, const Rect& b) { in UnionRects()
326 Rect result = a; in UnionRects()
331 Rect SubtractRects(const Rect& a, const Rect& b) { in SubtractRects()
332 Rect result = a; in SubtractRects()
337 Rect BoundingRect(const Point& p1, const Point& p2) { in BoundingRect()
338 Rect result; in BoundingRect()