14#include <ds_surface.h>
22 PNG_STS_INVALID_SURFACE,
28 PNG_IHDR_CT_GRAYSCALE = 0,
29 PNG_IHDR_CT_TRUECOLOR = 2,
30 PNG_IHDR_CT_INDEXED = 3,
31 PNG_IHDR_CT_GRAYSCALE_ALPHA = 4,
32 PNG_IHDR_CT_TRUECOLOR_ALPHA = 6
38 PNG_IHDR_COMPRESSION_DEFLATE = 0
44 PNG_IHDR_FILTER_STANDARD = 0,
50 PNG_IHDR_INTERLACE_NONE = 0,
51 PNG_IHDR_INTERLACE_ADAM7 = 1,
94bool ds_update_surface_from_png(
const void *source,
size_t size,
bool alpha_only,
DsSurface &surface);
DsSurface is a class that represents a drawing surface.
Definition ds_surface.h:30
DsColorMode
DsColorMode is an enumeration of all possible color modes. These modes determine the color format use...
Definition ds_color.h:25
DsRotation
DsRotation is an enumeration of all possible values of the rotation used in drawing operations.
Definition ds_types.h:34
@ R0_DEG
all drawing is done on an unrotated framebuffer