Add new types for image points, regions
This commit is contained in:
parent
f4a4354234
commit
2dc452edc9
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue