Definition at line 50 of file subtitle.h.
◆ Subtitle()
Subtitle::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 |
|
) |
| |
|
protected |
- Parameters
-
v_position | Vertical position as a fraction of the screen height (between 0 and 1) from v_align |
Definition at line 48 of file subtitle.cc.
◆ in()
Time dcp::Subtitle::in |
( |
| ) |
const |
|
inline |
- Returns
- subtitle start time (relative to the start of the reel)
Definition at line 56 of file subtitle.h.
◆ out()
Time dcp::Subtitle::out |
( |
| ) |
const |
|
inline |
- Returns
- subtitle finish time (relative to the start of the reel)
Definition at line 61 of file subtitle.h.
◆ set_v_position()
void dcp::Subtitle::set_v_position |
( |
float |
p | ) |
|
|
inline |
- Parameters
-
p | New vertical position as a proportion of the screen height from the top (between 0 and 1) |
Definition at line 108 of file subtitle.h.
◆ v_position()
float dcp::Subtitle::v_position |
( |
| ) |
const |
|
inline |
- Returns
- vertical position as a proportion of the screen height from the vertical alignment point. (between 0 and 1)
Definition at line 77 of file subtitle.h.
◆ _h_position
float dcp::Subtitle::_h_position = 0 |
|
protected |
Horizontal position as a proportion of the screen width from the _h_align (between 0 and 1)
Definition at line 139 of file subtitle.h.
◆ _v_position
float dcp::Subtitle::_v_position = 0 |
|
protected |
Vertical position as a proportion of the screen height from the _v_align (between 0 and 1)
Definition at line 144 of file subtitle.h.
The documentation for this class was generated from the following files: