libsub
 All Classes Files Functions Variables
Public Member Functions | Public Attributes | List of all members
sub::VerticalPosition Class Reference

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
 

Detailed Description

Vertical position of the baseline of some text, expressed in one of a number of ways.

Member Data Documentation

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


The documentation for this class was generated from the following files: