40 #ifndef LIBDCP_SUBTITLE_H
41 #define LIBDCP_SUBTITLE_H
65 float h_position ()
const {
85 Time fade_up_time ()
const {
89 Time fade_down_time ()
const {
90 return _fade_down_time;
93 void set_in (Time i) {
97 void set_out (Time o) {
101 void set_h_position (
float p) {
112 void set_fade_up_time (
Time t) {
116 void set_fade_down_time (Time t) {
147 Time _fade_down_time;
Subtitle(Time in, Time out, float h_position, HAlign h_align, float v_position, VAlign v_align, Time fade_up_time, Time fade_down_time)
void set_v_position(float p)
A representation of time within a DCP.
Namespace for everything in libdcp.
@ CENTER
horizontal position is distance from centre of screen to centre of subtitle
@ CENTER
vertical position is distance from centre of screen to centre of subtitle