Lines Matching refs:RECT
5 #include "ui/gfx/geometry/rect.h"
20 template class RectBase<Rect, Point, Size, Insets, Vector2d, int>;
22 typedef class RectBase<Rect, Point, Size, Insets, Vector2d, int> RectBaseT;
25 Rect::Rect(const RECT& r)
31 Rect::Rect(const CGRect& r)
39 RECT Rect::ToRECT() const {
40 RECT r;
48 CGRect Rect::ToCGRect() const {
53 std::string Rect::ToString() const {
59 Rect operator+(const Rect& lhs, const Vector2d& rhs) {
60 Rect result(lhs);
65 Rect operator-(const Rect& lhs, const Vector2d& rhs) {
66 Rect result(lhs);
71 Rect IntersectRects(const Rect& a, const Rect& b) {
72 Rect result = a;
77 Rect UnionRects(const Rect& a, const Rect& b) {
78 Rect result = a;
83 Rect SubtractRects(const Rect& a, const Rect& b) {
84 Rect result = a;
89 Rect BoundingRect(const Point& p1, const Point& p2) {
94 return Rect(rx, ry, rr - rx, rb - ry);