Lines Matching refs:y1
21 int x1, int y1, int x2, int y2,
34 SDLTest_AssertCheck(x1 == x1Ref && y1 == y1Ref && x2 == x2Ref && y2 == y2Ref,
36 x1, y1, x2, y2,
53 int x1, y1;
63 y1 = 15;
67 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
68 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 0, 15, 31, 15);
71 y1 = yTop;
75 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
76 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 15, 0, 15, 31);
79 y1 = -refRect.h;
83 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
84 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 0, 0, 31, 31);
87 y1 = 2*refRect.h;
91 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
92 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 31, 31, 0, 0);
95 y1 = 32;
99 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
100 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 0, 31, 31, 0);
103 y1 = -1;
107 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
108 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 31, 0, 0, 31);
124 int x1, y1;
138 y1 = y1Ref;
142 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
143 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, x1Ref, y1Ref, x2Ref, y2Ref);
146 y1 = y1Ref;
150 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
151 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, x1Ref, y1Ref, xmax, ymax);
154 y1 = ymin;
158 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
159 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, xmin, ymin, x2Ref, y2Ref);
162 y1 = ymin;
166 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
167 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, xmin, ymin, xmax, ymax);
170 y1 = ymax;
174 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
175 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, xmin, ymax, xmax, ymin);
191 int x1, y1;
201 y1 = 0;
205 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
206 _validateIntersectRectAndLineResults(intersected, SDL_FALSE, &rect, &refRect, x1, y1, x2, y2, xLeft, 0, xLeft, 31);
209 y1 = 0;
213 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
214 _validateIntersectRectAndLineResults(intersected, SDL_FALSE, &rect, &refRect, x1, y1, x2, y2, xRight, 0, xRight, 31);
217 y1 = yTop;
221 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
222 _validateIntersectRectAndLineResults(intersected, SDL_FALSE, &rect, &refRect, x1, y1, x2, y2, 0, yTop, 31, yTop);
225 y1 = yBottom;
229 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
230 _validateIntersectRectAndLineResults(intersected, SDL_FALSE, &rect, &refRect, x1, y1, x2, y2, 0, yBottom, 31, yBottom);
246 int x1, y1, x1Ref, y1Ref;
260 y1 = y1Ref;
264 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
265 _validateIntersectRectAndLineResults(intersected, SDL_FALSE, &rect, &refRect, x1, y1, x2, y2, x1Ref, y1Ref, x2Ref, y2Ref);
281 int y1 = rect.h / 2;
286 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2);
289 intersected = SDL_IntersectRectAndLine((SDL_Rect *)NULL, &x1, &y1, &x2, &y2);
291 intersected = SDL_IntersectRectAndLine(&rect, (int *)NULL, &y1, &x2, &y2);
295 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, (int *)NULL, &y2);
297 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, (int *)NULL);