zenilib: zenilib/jni/external/sdl/src/render/software/SDL_blendline.h File Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
SDL_blendline.h File Reference
`#include "SDL_config.h"`

Go to the source code of this file.

## Functions

int | SDL_BlendLine (SDL_Surface *dst, int x1, int y1, int x2, int y2, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
int | SDL_BlendLines (SDL_Surface *dst, const SDL_Point *points, int count, SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a)

## Function Documentation

int SDL_BlendLine | ( | SDL_Surface * | dst,
|  | int | x1,
|  | int | y1,
|  | int | x2,
|  | int | y2,
|  | SDL_BlendMode | blendMode,
|  | Uint8 | r,
|  | Uint8 | g,
|  | Uint8 | b,
|  | Uint8 | a
| ) |  |

Definition at line 708 of file SDL_blendline.c.

References SDL_Surface::clip_rect, SDL_Surface::format, SDL_CalculateBlendLineFunc(), SDL_IntersectRectAndLine(), SDL_SetError(), and SDL_TRUE.

int SDL_BlendLines | ( | SDL_Surface * | dst,
|  | const SDL_Point * | points,
|  | int | count,
|  | SDL_BlendMode | blendMode,
|  | Uint8 | r,
|  | Uint8 | g,
|  | Uint8 | b,
|  | Uint8 | a
| ) |  |

Definition at line 733 of file SDL_blendline.c.

References SDL_Surface::clip_rect, SDL_Surface::format, i, SDL_BlendPoint(), SDL_CalculateBlendLineFunc(), SDL_IntersectRectAndLine(), SDL_SetError(), SDL_Point::x, and SDL_Point::y.

Referenced by SW_RenderDrawLines().