mlt_service_type;
/* I don't want to break anyone's applications without warning. -Zach */
-#undef DOUBLE_MLT_POSITION
#ifdef DOUBLE_MLT_POSITION
#define MLT_POSITION_FMT "%f"
#define MLT_POSITION_MOD(A, B) (A - B * ((int)(A / B)))
typedef int32_t mlt_position;
#endif
+/** A rectangle type with coordinates, size, and opacity */
+
typedef struct {
double x; /**< X coordinate */
double y; /**< Y coordinate */
}
mlt_rect;
+/** A tuple of color components */
+
typedef struct {
- uint8_t r;
- uint8_t g;
- uint8_t b;
- uint8_t a;
+ uint8_t r; /**< red */
+ uint8_t g; /**< green */
+ uint8_t b; /**< blue */
+ uint8_t a; /**< alpha */
}
mlt_color;