From 4da7be39827ea5888ef9c97b1aadf61b0d76347c Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Fri, 7 Feb 2025 11:27:18 -0500 Subject: initial commit (lol) --- mons_image/include/image.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mons_image/include/image.h (limited to 'mons_image/include/image.h') diff --git a/mons_image/include/image.h b/mons_image/include/image.h new file mode 100644 index 0000000..8b258aa --- /dev/null +++ b/mons_image/include/image.h @@ -0,0 +1,19 @@ +#ifndef MONS_IMAGE_H +#define MONS_IMAGE_H + +typedef struct mons_pixel { + unsigned char r; + unsigned char g; + unsigned char b; + unsigned char a; +} mons_pixel; + +typedef struct mons_image { + unsigned int width; + unsigned int height; + mons_pixel *data; +} mons_image; + +void mons_image_free(mons_image *image); + +#endif -- cgit v1.2.3