Lines Matching refs:x2

31 SDL_BlendLine_RGB2(SDL_Surface * dst, int x1, int y1, int x2, int y2,  in SDL_BlendLine_RGB2()  argument
69 } else if (x1 == x2) { in SDL_BlendLine_RGB2()
87 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGB2()
108 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB2()
113 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB2()
118 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB2()
123 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB2()
128 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB2()
137 SDL_BlendLine_RGB555(SDL_Surface * dst, int x1, int y1, int x2, int y2, in SDL_BlendLine_RGB555() argument
174 } else if (x1 == x2) { in SDL_BlendLine_RGB555()
192 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGB555()
213 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB555()
218 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB555()
223 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB555()
228 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB555()
233 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB555()
242 SDL_BlendLine_RGB565(SDL_Surface * dst, int x1, int y1, int x2, int y2, in SDL_BlendLine_RGB565() argument
279 } else if (x1 == x2) { in SDL_BlendLine_RGB565()
297 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGB565()
318 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB565()
323 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB565()
328 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB565()
333 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB565()
338 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB565()
347 SDL_BlendLine_RGB4(SDL_Surface * dst, int x1, int y1, int x2, int y2, in SDL_BlendLine_RGB4() argument
385 } else if (x1 == x2) { in SDL_BlendLine_RGB4()
403 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGB4()
424 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB4()
429 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB4()
434 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB4()
439 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB4()
444 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB4()
453 SDL_BlendLine_RGBA4(SDL_Surface * dst, int x1, int y1, int x2, int y2, in SDL_BlendLine_RGBA4() argument
491 } else if (x1 == x2) { in SDL_BlendLine_RGBA4()
509 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGBA4()
530 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGBA4()
535 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGBA4()
540 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGBA4()
545 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGBA4()
550 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGBA4()
559 SDL_BlendLine_RGB888(SDL_Surface * dst, int x1, int y1, int x2, int y2, in SDL_BlendLine_RGB888() argument
596 } else if (x1 == x2) { in SDL_BlendLine_RGB888()
614 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGB888()
635 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB888()
640 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB888()
645 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB888()
650 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB888()
655 AALINE(x1, y1, x2, y2, in SDL_BlendLine_RGB888()
664 SDL_BlendLine_ARGB8888(SDL_Surface * dst, int x1, int y1, int x2, int y2, in SDL_BlendLine_ARGB8888() argument
701 } else if (x1 == x2) { in SDL_BlendLine_ARGB8888()
719 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_ARGB8888()
740 AALINE(x1, y1, x2, y2, in SDL_BlendLine_ARGB8888()
745 AALINE(x1, y1, x2, y2, in SDL_BlendLine_ARGB8888()
750 AALINE(x1, y1, x2, y2, in SDL_BlendLine_ARGB8888()
755 AALINE(x1, y1, x2, y2, in SDL_BlendLine_ARGB8888()
760 AALINE(x1, y1, x2, y2, in SDL_BlendLine_ARGB8888()
769 int x1, int y1, int x2, int y2,
806 SDL_BlendLine(SDL_Surface * dst, int x1, int y1, int x2, int y2, in SDL_BlendLine() argument
822 if (!SDL_IntersectRectAndLine(&dst->clip_rect, &x1, &y1, &x2, &y2)) { in SDL_BlendLine()
826 func(dst, x1, y1, x2, y2, blendMode, r, g, b, a, SDL_TRUE); in SDL_BlendLine()
836 int x2, y2; in SDL_BlendLines() local
852 x2 = points[i].x; in SDL_BlendLines()
857 if (!SDL_IntersectRectAndLine(&dst->clip_rect, &x1, &y1, &x2, &y2)) { in SDL_BlendLines()
862 draw_end = (x2 != points[i].x || y2 != points[i].y); in SDL_BlendLines()
864 func(dst, x1, y1, x2, y2, blendMode, r, g, b, a, draw_end); in SDL_BlendLines()