image.h (514B)
1 #ifndef TA_IMAGE_H
2 #define TA_IMAGE_H
3
4 #include <stdint.h>
5 #include <stdbool.h>
6
7 bool ta_image_draw(const uint8_t *data, uint32_t length, ta_fixed x, ta_fixed y, ta_fixed width, ta_fixed height, uint16_t frame);
8 bool ta_image_render(const uint8_t *data, uint32_t length, uint16_t frame, uint32_t width, uint32_t height, uint32_t *pixels);
9 bool ta_image_init(const uint8_t *data, uint32_t length);
10 bool ta_image_get_size(const uint8_t *data, uint32_t *width, uint32_t *height);
11 void ta_image_release(void);
12
13 #endif