libsub
|
Vertical position of the baseline of some text, expressed in one of a number of ways. More...
#include <vertical_position.h>
Public Member Functions | |
bool | operator== (VerticalPosition const &other) const |
bool | operator< (VerticalPosition const &other) const |
float | fraction_from_screen_top () const |
Public Attributes | |
boost::optional< float > | proportional |
boost::optional< int > | line |
boost::optional< int > | lines |
boost::optional< VerticalReference > | reference |
Vertical position of the baseline of some text, expressed in one of a number of ways.
boost::optional<int> sub::VerticalPosition::line |
line number offset from some reference point
boost::optional<int> sub::VerticalPosition::lines |
number of lines on the whole screen (i.e. height of the screen in lines)
boost::optional<float> sub::VerticalPosition::proportional |
as a proportion of screen height offset from some reference point
boost::optional<VerticalReference> sub::VerticalPosition::reference |
reference point