|
SDL
2.0
|
#include "../../SDL_internal.h"
Include dependency graph for SDL_drawline.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| int | SDL_DrawLine (SDL_Surface *dst, int x1, int y1, int x2, int y2, Uint32 color) |
| int | SDL_DrawLines (SDL_Surface *dst, const SDL_Point *points, int count, Uint32 color) |
| int SDL_DrawLine | ( | SDL_Surface * | dst, |
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2, | ||
| Uint32 | color | ||
| ) |
Definition at line 142 of file SDL_drawline.c.
References SDL_CalculateDrawLineFunc(), SDL_IntersectRectAndLine, SDL_SetError, and SDL_TRUE.
| int SDL_DrawLines | ( | SDL_Surface * | dst, |
| const SDL_Point * | points, | ||
| int | count, | ||
| Uint32 | color | ||
| ) |
Definition at line 166 of file SDL_drawline.c.
References i, SDL_CalculateDrawLineFunc(), SDL_DrawPoint(), SDL_IntersectRectAndLine, and SDL_SetError.
Referenced by SW_RunCommandQueue().