![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
Enumerations | |
enum | SWIM_ROTATION_T { NOROTATION, RIGHT, INVERT, LEFT } |
Functions | |
void | swim_put_image (SWIM_WINDOW_T *win, const COLOR_T *image, int32_t xsize, int32_t ysize) |
Puts a raw image into a window. | |
void | swim_put_invert_image (SWIM_WINDOW_T *win, const COLOR_T *image, int32_t xsize, int32_t ysize) |
Puts a raw image into a window inverted. | |
void | swim_put_left_image (SWIM_WINDOW_T *win, const COLOR_T *image, int32_t xsize, int32_t ysize) |
Puts a raw image into a window rotated left. | |
void | swim_put_right_image (SWIM_WINDOW_T *win, const COLOR_T *image, int32_t xsize, int32_t ysize) |
Puts a raw image into a window rotated right. | |
void | swim_put_scale_image (SWIM_WINDOW_T *win, const COLOR_T *image, int32_t xsize, int32_t ysize) |
Puts and scales a raw image into a window. | |
void | swim_put_scale_invert_image (SWIM_WINDOW_T *win, const COLOR_T *image, int32_t xsize, int32_t ysize) |
Puts and scales a raw image into a window inverted. | |
void | swim_put_scale_left_image (SWIM_WINDOW_T *win, const COLOR_T *image, int32_t xsize, int32_t ysize) |
Puts and scales a raw image into a window rotated left. | |
void | swim_put_scale_right_image (SWIM_WINDOW_T *win, const COLOR_T *image, int32_t xsize, int32_t ysize) |
Puts and scales a raw image into a window rotated right. | |
void | swim_put_win_image (SWIM_WINDOW_T *win, const COLOR_T *image, int32_t xsize, int32_t ysize, int32_t scale, SWIM_ROTATION_T rtype) |
SWIM image draw composite function. | |
This package provides basic SWIM image management capabilities such as image scaling, rotation, and clipping. All image data passed to SWIM must be raw image data (stored left to right, top to bottom) in the same color format as COLOR_T.
enum SWIM_ROTATION_T |
Image rotation tags
Definition at line 56 of file lpc_swim_image.h.
void swim_put_image | ( | SWIM_WINDOW_T * | win, |
const COLOR_T * | image, | ||
int32_t | xsize, | ||
int32_t | ysize | ||
) |
Puts a raw image into a window.
win | : Pointer to window data structure |
image | : Pointer to raw image data |
xsize | : Horizontal size of image data |
ysize | : Vertical size of image data |
Definition at line 52 of file lpc_swim_image.c.
void swim_put_invert_image | ( | SWIM_WINDOW_T * | win, |
const COLOR_T * | image, | ||
int32_t | xsize, | ||
int32_t | ysize | ||
) |
Puts a raw image into a window inverted.
win | : Pointer to window data structure |
image | : Pointer to raw image data |
xsize | : Horizontal size of image data |
ysize | : Vertical size of image data |
Definition at line 88 of file lpc_swim_image.c.
void swim_put_left_image | ( | SWIM_WINDOW_T * | win, |
const COLOR_T * | image, | ||
int32_t | xsize, | ||
int32_t | ysize | ||
) |
Puts a raw image into a window rotated left.
win | : Pointer to window data structure |
image | : Pointer to raw image data |
xsize | : Horizontal size of image data |
ysize | : Vertical size of image data |
Definition at line 120 of file lpc_swim_image.c.
void swim_put_right_image | ( | SWIM_WINDOW_T * | win, |
const COLOR_T * | image, | ||
int32_t | xsize, | ||
int32_t | ysize | ||
) |
Puts a raw image into a window rotated right.
win | : Pointer to window data structure |
image | : Pointer to raw image data |
xsize | : Horizontal size of image data |
ysize | : Vertical size of image data |
Definition at line 156 of file lpc_swim_image.c.
void swim_put_scale_image | ( | SWIM_WINDOW_T * | win, |
const COLOR_T * | image, | ||
int32_t | xsize, | ||
int32_t | ysize | ||
) |
Puts and scales a raw image into a window.
win | : Pointer to window data structure |
image | : Pointer to raw image data |
xsize | : Horizontal size of image data |
ysize | : Vertical size of image data |
Definition at line 191 of file lpc_swim_image.c.
void swim_put_scale_invert_image | ( | SWIM_WINDOW_T * | win, |
const COLOR_T * | image, | ||
int32_t | xsize, | ||
int32_t | ysize | ||
) |
Puts and scales a raw image into a window inverted.
win | : Pointer to window data structure |
image | : Pointer to raw image data |
xsize | : Horizontal size of image data |
ysize | : Vertical size of image data |
Definition at line 225 of file lpc_swim_image.c.
void swim_put_scale_left_image | ( | SWIM_WINDOW_T * | win, |
const COLOR_T * | image, | ||
int32_t | xsize, | ||
int32_t | ysize | ||
) |
Puts and scales a raw image into a window rotated left.
win | : Pointer to window data structure |
image | : Pointer to raw image data |
xsize | : Horizontal size of image data |
ysize | : Vertical size of image data |
Definition at line 259 of file lpc_swim_image.c.
void swim_put_scale_right_image | ( | SWIM_WINDOW_T * | win, |
const COLOR_T * | image, | ||
int32_t | xsize, | ||
int32_t | ysize | ||
) |
Puts and scales a raw image into a window rotated right.
win | : Pointer to window data structure |
image | : Pointer to raw image data |
xsize | : Horizontal size of image data |
ysize | : Vertical size of image data |
Definition at line 293 of file lpc_swim_image.c.
void swim_put_win_image | ( | SWIM_WINDOW_T * | win, |
const COLOR_T * | image, | ||
int32_t | xsize, | ||
int32_t | ysize, | ||
int32_t | scale, | ||
SWIM_ROTATION_T | rtype | ||
) |
SWIM image draw composite function.
win | : Pointer to window data structure |
image | : Pointer to raw image data |
xsize | : Horizontal size of image data |
ysize | : Vertical size of image data |
scale | : Set to 1 to scale, or 0 for cropping |
rtype | : Image rotation type |
Definition at line 327 of file lpc_swim_image.c.