]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_types.h
Add mlt_rect and mlt_properties_set/get_rect.
[mlt] / src / framework / mlt_types.h
index 41e42c8d83e6b6bd477027a54e0559f3a1d48860..fbd41900b30fbd8c465614b6237e591117d320eb 100644 (file)
@@ -123,6 +123,14 @@ typedef double mlt_position;
 typedef int32_t mlt_position;
 #endif
 
+typedef struct {
+       double x; /**< X coordinate */
+       double y; /**< Y coordinate */
+       double w; /**< width */
+       double h; /**< height */
+       double o; /**< opacity / mix-level */
+} mlt_rect;
+
 typedef struct mlt_frame_s *mlt_frame, **mlt_frame_ptr; /**< pointer to Frame object */
 typedef struct mlt_property_s *mlt_property;            /**< pointer to Property object */
 typedef struct mlt_properties_s *mlt_properties;        /**< pointer to Properties object */