Home | History | Annotate | Download | only in gfx

Lines Matching full:width

7 // contained by the rectangle, but the coordinate (x + width, y) is not.
9 // rectangles with negative width and/or height), but there will be assertions
31 Rect(int width, int height);
32 Rect(int x, int y, int width, int height);
58 int width() const { return size_.width(); }
59 void set_width(int width);
70 int right() const { return x() + width(); }
73 void SetRect(int x, int y, int width, int height);
110 // point (x + width, y + height) is not.
144 // a x-location of 2 and a width of 4, and the supplied rectangle had
145 // an x-location of 0 with a width of 5, the returned rectangle would have
146 // an x-location of 1 with a width of 4.
152 // Returns true if this rectangle shares an entire edge (i.e., same width or