63void rotatePixel(int32_t* x, int32_t* y, int32_t rotateDeg, int32_t width, int32_t height);
64void drawWsg(
const wsg_t* wsg, int32_t xOff, int32_t yOff,
bool flipLR,
bool flipUD, int32_t rotateDeg);
paletteColor_t
All 216 possible colors, named like cRGB.
Definition palette.h:23
void drawWsg(const wsg_t *wsg, int32_t xOff, int32_t yOff, bool flipLR, bool flipUD, int32_t rotateDeg)
Draw a WSG to the display.
Definition wsg.c:105
paletteColor_t * px
The row-order array of pixels in the image.
Definition wsg.h:58
void drawWsgSimpleScaled(const wsg_t *wsg, int16_t xOff, int16_t yOff, int16_t xScale, int16_t yScale)
Draw a WSG to the display without flipping or rotation.
Definition wsg.c:329
void drawWsgSimple(const wsg_t *wsg, int16_t xOff, int16_t yOff)
Draw a WSG to the display without flipping or rotation.
Definition wsg.c:279
uint16_t w
The width of the image.
Definition wsg.h:59
uint16_t h
The height of the image.
Definition wsg.h:60
void drawWsgSimpleHalf(const wsg_t *wsg, int16_t xOff, int16_t yOff)
Draw a WSG to the display without flipping or rotation at half size.
Definition wsg.c:400
void rotatePixel(int32_t *x, int32_t *y, int32_t rotateDeg, int32_t width, int32_t height)
Definition wsg.c:27
void drawWsgTile(const wsg_t *wsg, int32_t xOff, int32_t yOff)
Quickly copy a WSG to the display without flipping or rotation or transparency.
Definition wsg.c:450
A sprite using paletteColor_t colors that can be drawn to the display.
Definition wsg.h:57