#ifndef __LMC_TYPES_H__ #define __LMC_TYPES_H__ #include #include G_BEGIN_DECLS typedef struct _LmcBorderInfo LmcBorderInfo; typedef struct _LmcPropertyValue LmcPropertyValue; typedef struct _LmcPixel LmcPixel; typedef struct _LmcPoint LmcPoint; struct _LmcBorderInfo { short left, right, top, bottom; short left_unscaled, right_unscaled, top_unscaled, bottom_unscaled; }; struct _LmcPropertyValue { Atom type; /* None means property does not exist */ int format; /* 8, 16, 32 */ union { char *b; short *s; long *l; } data; unsigned long n_items; /* Number of 8, 16, or 32 bit quantities */ }; struct _LmcPixel { guchar red; guchar green; guchar blue; guchar alpha; }; struct _LmcPoint { double x; double y; }; typedef void (*LmcDeformationFunc) (int u, int v, int x, int y, int width, int height, int *deformed_x, int *deformed_y, void *data); G_END_DECLS #endif /* __LMC_TYPES_H__ */