Home | History | Annotate | Download | only in gfx

Lines Matching full:width

38 Rect::Rect(int width, int height) {
39 set_width(width);
43 Rect::Rect(int x, int y, int width, int height)
45 set_width(width);
69 set_width(r.size.width);
75 set_width(r.size.width);
82 set_width(r.width);
88 set_width(r.width);
94 void Rect::set_width(int width) {
95 size_.set_width(width);
101 void Rect::SetRect(int x, int y, int width, int height) {
103 set_width(width);
109 set_width(std::max(width() - left - right, 0));
133 return CGRectMake(x(), y(), width(), height());
137 GdkRectangle r = {x(), y(), width(), height()};
217 int new_width = width();
219 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width);
225 return Point(x() + (width() + 1) / 2, y() + (height() + 1) / 2);
231 (x() == rect.x() && width() == rect.width() &&