fxengine/include/render/bitmap.h

37 lines
486 B
C

#include <stdint.h>
#include <stdbool.h>
/* bitmap codé bit à bit
0 dans layout -> transparent
1 dans layout -> 1 dans color -> noir
0 dans color -> blanc */
struct bitmap_rich_8
{
uint32_t size_x,
uint32_t size_y,
uint8_t * color;
uint8_t * layout;
};
struct bitmap_rich_16
{
uint32_t size_x,
uint32_t size_y,
uint16_t * color;
uint16_t * layout;
};
struct bitmap_rich_32
{
uint32_t size_x,
uint32_t size_y,
uint32_t * color;
uint32_t * layout;
};