23 #if !SDL_RENDER_DISABLED
33 unsigned inva = 0xff -
a;
56 unsigned inva = 0xff -
a;
79 unsigned inva = 0xff -
a;
102 unsigned inva = 0xff -
a;
126 unsigned inva = 0xff -
a;
171 unsigned inva = 0xff -
a;
205 return SDL_SetError(
"SDL_BlendPoint(): Unsupported surface format");
276 return SDL_SetError(
"SDL_BlendPoints(): Unsupported surface format");
329 for (i = 0; i <
count; ++
i) {
336 status =
func(dst, x, y, blendMode, r, g, b, a);
#define DRAW_SETPIXELXY2_RGB(x, y)
#define DRAW_SETPIXELXY4_MOD_RGB(x, y)
#define DRAW_SETPIXELXY_RGB565(x, y)
#define DRAW_SETPIXELXY_ADD_RGB888(x, y)
SDL_BlendMode
The blend mode used in SDL_RenderCopy() and drawing operations.
static int SDL_BlendPoint_RGBA(SDL_Surface *dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
#define DRAW_SETPIXELXY4_RGBA(x, y)
#define DRAW_SETPIXELXY2_BLEND_RGB(x, y)
The structure that defines a point.
A collection of pixels used in software blitting.
#define DRAW_SETPIXELXY4_ADD_RGBA(x, y)
GLboolean GLboolean GLboolean GLboolean a
#define DRAW_SETPIXELXY_MOD_ARGB8888(x, y)
static int SDL_BlendPoint_ARGB8888(SDL_Surface *dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
#define DRAW_SETPIXELXY4_MOD_RGBA(x, y)
static int SDL_BlendPoint_RGB888(SDL_Surface *dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
static int SDL_BlendPoint_RGB565(SDL_Surface *dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
static int SDL_BlendPoint_RGB555(SDL_Surface *dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
#define DRAW_SETPIXELXY_BLEND_RGB888(x, y)
#define DRAW_SETPIXELXY_BLEND_RGB555(x, y)
#define DRAW_SETPIXELXY_ARGB8888(x, y)
#define DRAW_SETPIXELXY_MOD_RGB555(x, y)
DECLSPEC int SDLCALL SDL_SetError(const char *fmt,...)
#define DRAW_SETPIXELXY4_BLEND_RGB(x, y)
#define DRAW_SETPIXELXY_ADD_RGB555(x, y)
static int SDL_BlendPoint_RGB(SDL_Surface *dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
EGLSurface EGLint EGLint y
#define DRAW_SETPIXELXY_MOD_RGB888(x, y)
uint8_t Uint8
An unsigned 8-bit integer type.
#define DRAW_SETPIXELXY_MOD_RGB565(x, y)
int SDL_BlendPoint(SDL_Surface *dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
GLdouble GLdouble GLdouble r
GLdouble GLdouble GLdouble b
#define DRAW_SETPIXELXY2_ADD_RGB(x, y)
GLuint GLdouble GLdouble GLint GLint const GLdouble * points
#define DRAW_SETPIXELXY_RGB555(x, y)
#define DRAW_SETPIXELXY_BLEND_RGB565(x, y)
#define DRAW_SETPIXELXY4_ADD_RGB(x, y)
#define DRAW_SETPIXELXY_RGB888(x, y)
#define DRAW_SETPIXELXY4_BLEND_RGBA(x, y)
#define DRAW_SETPIXELXY_BLEND_ARGB8888(x, y)
#define DRAW_SETPIXELXY_ADD_ARGB8888(x, y)
#define DRAW_SETPIXELXY4_RGB(x, y)
int SDL_BlendPoints(SDL_Surface *dst, const SDL_Point *points, int count, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
#define SDL_Unsupported()
#define DRAW_SETPIXELXY_ADD_RGB565(x, y)
#define DRAW_SETPIXELXY2_MOD_RGB(x, y)