11#ifndef CORE_GP_TYPES_H
12#define CORE_GP_TYPES_H
const char ** gp_symmetry_names
NULL-terminated array of symmetry names (C strings).
uint32_t gp_pixel
Pixel integer value.
int gp_coord
Integer type for coordinates i.e. x, y, ...
unsigned int gp_size
Integer type for sizes i.e. w, h, ...
gp_symmetry gp_symmetry_by_name(const char *symmetry)
Rotation by by name (as defined in gp_symmetry_names).
gp_symmetry
Rotation and mirroring flags.
@ GP_ROTATE_90
Rotate 90 degrees clockwise.
@ GP_ROTATE_CCW
Rotate counter clockwise. Alias for GP_ROTATE_270.
@ GP_ROTATE_180
Rotate 180 degrees clockwise.
@ GP_ROTATE_270
Rotate 270 degrees clockwise.
@ GP_MIRROR_H
Mirror horizontally.
@ GP_ROTATE_INVALID
Return value for invalid symmetry.
@ GP_ROTATE_CW
Rotate clockwise. Alias for GP_ROTATE_90.
@ GP_MIRROR_V
Mirror vertically.
A description of a gp_pixel_type Assumes name with at most 15 chars.