zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_drawline.c File Reference
#include "SDL_config.h"
#include "SDL_draw.h"
#include "SDL_drawline.h"
#include "SDL_drawpoint.h"

Go to the source code of this file.

Typedefs

typedef void(* DrawLineFunc )(SDL_Surface *dst, int x1, int y1, int x2, int y2, Uint32 color, SDL_bool draw_end)
 

Functions

static DrawLineFunc SDL_CalculateDrawLineFunc (const SDL_PixelFormat *fmt)
 
int SDL_DrawLine (SDL_Surface *dst, int x1, int y1, int x2, int y2, Uint32 color)
 
static void SDL_DrawLine1 (SDL_Surface *dst, int x1, int y1, int x2, int y2, Uint32 color, SDL_bool draw_end)
 
static void SDL_DrawLine2 (SDL_Surface *dst, int x1, int y1, int x2, int y2, Uint32 color, SDL_bool draw_end)
 
static void SDL_DrawLine4 (SDL_Surface *dst, int x1, int y1, int x2, int y2, Uint32 color, SDL_bool draw_end)
 
int SDL_DrawLines (SDL_Surface *dst, const SDL_Point *points, int count, Uint32 color)
 

Typedef Documentation

typedef void(* DrawLineFunc)(SDL_Surface *dst, int x1, int y1, int x2, int y2, Uint32 color, SDL_bool draw_end)

Definition at line 120 of file SDL_drawline.c.

Function Documentation

static DrawLineFunc SDL_CalculateDrawLineFunc ( const SDL_PixelFormat fmt)
static
int SDL_DrawLine ( SDL_Surface dst,
int  x1,
int  y1,
int  x2,
int  y2,
Uint32  color 
)
static void SDL_DrawLine1 ( SDL_Surface dst,
int  x1,
int  y1,
int  x2,
int  y2,
Uint32  color,
SDL_bool  draw_end 
)
static