zenilib: zenilib/jni/external/sdl/src/render/software/SDL_drawpoint.c 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_drawpoint.c File Reference
`#include "SDL_config.h"`
`#include "SDL_draw.h"`
`#include "SDL_drawpoint.h"`

Go to the source code of this file.

## Functions

int | SDL_DrawPoint (SDL_Surface *dst, int x, int y, Uint32 color)
int | SDL_DrawPoints (SDL_Surface *dst, const SDL_Point *points, int count, Uint32 color)

## Function Documentation

int SDL_DrawPoint | ( | SDL_Surface * | dst,
|  | int | x,
|  | int | y,
|  | Uint32 | color
| ) |  |

Definition at line 30 of file SDL_drawpoint.c.

References SDL_PixelFormat::BitsPerPixel, SDL_PixelFormat::BytesPerPixel, SDL_Surface::clip_rect, DRAW_FASTSETPIXELXY1, DRAW_FASTSETPIXELXY2, DRAW_FASTSETPIXELXY4, SDL_Surface::format, SDL_Rect::h, SDL_SetError(), SDL_Unsupported, SDL_Rect::w, SDL_Rect::x, and SDL_Rect::y.

Referenced by SDL_DrawLines().

int SDL_DrawPoints | ( | SDL_Surface * | dst,
|  | const SDL_Point * | points,
|  | int | count,
|  | Uint32 | color
| ) |  |

Definition at line 65 of file SDL_drawpoint.c.

References SDL_PixelFormat::BitsPerPixel, SDL_PixelFormat::BytesPerPixel, SDL_Surface::clip_rect, DRAW_FASTSETPIXELXY1, DRAW_FASTSETPIXELXY2, DRAW_FASTSETPIXELXY4, SDL_Surface::format, SDL_Rect::h, i, SDL_SetError(), SDL_Unsupported, SDL_Rect::w, SDL_Point::x, SDL_Rect::x, SDL_Point::y, and SDL_Rect::y.

Referenced by SW_RenderDrawPoints().