• Home
  • Raw
  • Download

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()
125 void Rect::Offset(int horizontal, int vertical) { in Offset()
132 void Rect::operator+=(const Vector2d& offset) { in operator +=()
139 void Rect::operator-=(const Vector2d& offset) { in operator -=()
143 Insets Rect::InsetsFrom(const Rect& inner) const { in InsetsFrom()
150 bool Rect::operator<(const Rect& other) const { in operator <()
162 bool Rect::Contains(int point_x, int point_y) const { in Contains()
167 bool Rect::Contains(const Rect& rect) const { in Contains()
172 bool Rect::Intersects(const Rect& rect) const { in Intersects()
177 void Rect::Intersect(const Rect& rect) { in Intersect()
196 void Rect::Union(const Rect& rect) { in Union()
209 void Rect::Subtract(const Rect& rect) { in Subtract()
240 void Rect::AdjustToFit(const Rect& rect) { in AdjustToFit()
250 Point Rect::CenterPoint() const { in CenterPoint()
254 void Rect::ClampToCenteredSize(const Size& size) { in ClampToCenteredSize()
262 void Rect::SplitVertically(Rect* left_half, Rect* right_half) const { in SplitVertically()
271 bool Rect::SharesEdgeWith(const Rect& rect) const { in SharesEdgeWith()
278 int Rect::ManhattanDistanceToPoint(const Point& point) const { in ManhattanDistanceToPoint()
287 int Rect::ManhattanInternalDistance(const Rect& rect) const { in ManhattanInternalDistance()
288 Rect c(*this); in ManhattanInternalDistance()
296 std::string Rect::ToString() const { in ToString()
302 bool Rect::ApproximatelyEqual(const Rect& rect, int tolerance) const { in ApproximatelyEqual()
309 Rect operator+(const Rect& lhs, const Vector2d& rhs) { in operator +()
310 Rect result(lhs); in operator +()
315 Rect operator-(const Rect& lhs, const Vector2d& rhs) { in operator -()
316 Rect result(lhs); in operator -()
321 Rect IntersectRects(const Rect& a, const Rect& b) { in IntersectRects()
322 Rect result = a; in IntersectRects()
327 Rect UnionRects(const Rect& a, const Rect& b) { in UnionRects()
328 Rect result = a; in UnionRects()
333 Rect SubtractRects(const Rect& a, const Rect& b) { in SubtractRects()
334 Rect result = a; in SubtractRects()
339 Rect BoundingRect(const Point& p1, const Point& p2) { in BoundingRect()
340 Rect result; in BoundingRect()