Add new types for image points, regions

This commit is contained in:
XANTRONIX Development 2021-11-26 13:40:41 -05:00
parent f4a4354234
commit 2dc452edc9

View file

@ -31,6 +31,14 @@ typedef struct _cammy_image {
}; };
} cammy_image; } cammy_image;
typedef struct _cammy_image_point {
size_t x, y;
} cammy_image_point;
typedef struct _cammy_image_region {
size_t x, y, width, height;
} cammy_image_region;
cammy_image *cammy_image_new(cammy_image_format format, cammy_image *cammy_image_new(cammy_image_format format,
size_t width, size_t width,
size_t height); size_t height);