7 #include "maskauto.inc"
8 #include "maskautos.inc"
15 int operator==(MaskPoint
& ptr
);
16 MaskPoint
& operator=(MaskPoint
& ptr
);
19 // Incoming acceleration
20 float control_x1
, control_y1
;
21 // Outgoing acceleration
22 float control_x2
, control_y2
;
28 SubMask(MaskAuto
*keyframe
);
31 int operator==(SubMask
& ptr
);
32 void copy_from(SubMask
& ptr
);
33 void load(FileXML
*file
);
34 void copy(FileXML
*file
);
37 ArrayList
<MaskPoint
*> points
;
41 class MaskAuto
: public Auto
44 MaskAuto(EDL
*edl
, MaskAutos
*autos
);
47 int operator==(Auto
&that
);
48 int operator==(MaskAuto
&that
);
49 int identical(MaskAuto
*src
);
50 void load(FileXML
*file
);
51 void copy(int64_t start
, int64_t end
, FileXML
*file
, int default_auto
);
52 void copy_from(Auto
*src
);
53 void copy_from(MaskAuto
*src
);
56 // Retrieve submask with clamping
57 SubMask
* get_submask(int number
);
60 ArrayList
<SubMask
*> masks
;
61 // These are constant for the entire track