Lines Matching refs:dst
30 SDL_DrawPoint(SDL_Surface * dst, int x, int y, Uint32 color) in SDL_DrawPoint() argument
32 if (!dst) { in SDL_DrawPoint()
37 if (dst->format->BitsPerPixel < 8) { in SDL_DrawPoint()
42 if (x < dst->clip_rect.x || y < dst->clip_rect.y || in SDL_DrawPoint()
43 x >= (dst->clip_rect.x + dst->clip_rect.w) || in SDL_DrawPoint()
44 y >= (dst->clip_rect.y + dst->clip_rect.h)) { in SDL_DrawPoint()
48 switch (dst->format->BytesPerPixel) { in SDL_DrawPoint()
65 SDL_DrawPoints(SDL_Surface * dst, const SDL_Point * points, int count, in SDL_DrawPoints() argument
73 if (!dst) { in SDL_DrawPoints()
78 if (dst->format->BitsPerPixel < 8) { in SDL_DrawPoints()
82 minx = dst->clip_rect.x; in SDL_DrawPoints()
83 maxx = dst->clip_rect.x + dst->clip_rect.w - 1; in SDL_DrawPoints()
84 miny = dst->clip_rect.y; in SDL_DrawPoints()
85 maxy = dst->clip_rect.y + dst->clip_rect.h - 1; in SDL_DrawPoints()
95 switch (dst->format->BytesPerPixel) { in SDL_DrawPoints()