Lines Matching refs:y2
69 T y2; member
72 x1(x1_), y1(y1_), x2(x2_), y2(y2_) {} in rect_base()
81 if(y1 > y2) { in normalize()
83 y1 = y2; in normalize()
84 y2 = t; in normalize()
93 if(y2 > r.y2) { in clip()
94 y2 = r.y2; in clip()
102 return x1 <= x2 && y1 <= y2; in clip()
106 return x1 <= x2 && y1 <= y2; in is_valid()
116 if(r.y2 > r2.y2) { in intersect_rectangles()
117 r.y2 = r2.y2; in intersect_rectangles()
134 if(r.y2 < r2.y2) { in unite_rectangles()
135 r.y2 = r2.y2; in unite_rectangles()