Lines Matching refs:origin
21 void AdjustAlongAxis(int dst_origin, int dst_size, int* origin, int* size) {
22 if (*origin < dst_origin) {
23 *origin = dst_origin;
27 *origin = std::min(dst_origin + dst_size, *origin + *size) - *size;
49 Rect::Rect(const gfx::Point& origin, const gfx::Size& size)
50 : origin_(origin), size_(size) {
68 : origin_(r.origin.x, r.origin.y) {
74 origin_.SetPoint(r.origin.x, r.origin.y);
238 return out << r.origin() << " " << r.size();