|
#define | GATE_COLOR_BLACK { 0x00, 0x00, 0x00, 0xff } |
|
#define | GATE_COLOR_BLUE { 0x00, 0x00, 0x99, 0xff } |
|
#define | GATE_COLOR_GREEN { 0x00, 0x99, 0x00, 0xff } |
|
#define | GATE_COLOR_CYAN { 0x00, 0x99, 0x99, 0xff } |
|
#define | GATE_COLOR_RED { 0x99, 0x00, 0x00, 0xff } |
|
#define | GATE_COLOR_MAGENTA { 0x99, 0x00, 0x99, 0xff } |
|
#define | GATE_COLOR_BROWN { 0x99, 0x66, 0x33, 0xff } |
|
#define | GATE_COLOR_LIGHTGRAY { 0x99, 0x99, 0x99, 0xff } |
|
#define | GATE_COLOR_DARKGRAY { 0x66, 0x66, 0x66, 0xff } |
|
#define | GATE_COLOR_BRIGHTBLUE { 0x66, 0x66, 0xff, 0xff } |
|
#define | GATE_COLOR_BRIGHTGREEN { 0x66, 0xff, 0x66, 0xff } |
|
#define | GATE_COLOR_BRIGHTCYAN { 0x66, 0xff, 0xff, 0xff } |
|
#define | GATE_COLOR_BRIGHTRED { 0xff, 0x66, 0x66, 0xff } |
|
#define | GATE_COLOR_BRIGHTMAGENTA { 0xff, 0x66, 0xff, 0xff } |
|
#define | GATE_COLOR_YELLOW { 0xff, 0xff, 0x66, 0xff } |
|
#define | GATE_COLOR_WHITE { 0xff, 0xff, 0xff, 0xff } |
|
#define | GATE_COLOR_DEFAULT_MONOCHROME_THRESHOLD 127 |
|
|
GATE_GRAPHICS_API void | gate_color_set_opaque (gate_color_t *dest, gate_color_t const *src) |
|
GATE_GRAPHICS_API void | gate_color_set_transparent (gate_color_t *dest, gate_color_t const *src) |
|
GATE_GRAPHICS_API gate_size_t | gate_color_parse_hex (gate_char8_t const *text, gate_size_t textlen, gate_color_t *col) |
|
GATE_GRAPHICS_API gate_size_t | gate_color_palette_rgb4_create (gate_color_rgb_t palette[16]) |
|
GATE_GRAPHICS_API gate_size_t | gate_color_palette_rgb8_create (gate_color_rgb_t palette[256]) |
|
GATE_GRAPHICS_API gate_size_t | gate_color_palette_rgb8_resolve (gate_color_rgb_t find_color, gate_color_rgb_t const *palette, gate_size_t palette_length) |
|
GATE_GRAPHICS_API gate_size_t | gate_color_load_rgb_24 (gate_color_t *dest, gate_size_t pixel_count, void const *source) |
|
GATE_GRAPHICS_API gate_size_t | gate_color_load_rgb_32 (gate_color_t *dest, gate_size_t pixel_count, void const *source) |
|
GATE_GRAPHICS_API gate_size_t | gate_color_load_yuv2_16 (gate_color_t *dest, gate_size_t pixel_count, void const *source) |
|
GATE_GRAPHICS_API gate_uint8_t | gate_color_to_grayscale (gate_color_t const *src) |
|
GATE_GRAPHICS_API gate_uint8_t | gate_color_to_monochrome (gate_color_t const *src, gate_uint8_t threshold) |
|
Color data and palette structures.