Dillo
Public Types | Public Member Functions | Public Attributes | List of all members
dw::Textblock::Line Struct Reference

#include <textblock.hh>

Public Types

enum  { LEFT, RIGHT, CENTER }
 

Public Member Functions

int totalHeight (int marginNextLine)
 Returns the difference between two vertical lines positions: height of this line plus space below this line. The margin of the next line (marginAscent - borderAscent) must be passed seperately. More...
 

Public Attributes

int firstWord
 
int lastWord
 
int top
 
int marginAscent
 
int marginDescent
 
int borderAscent
 
int borderDescent
 
int contentAscent
 
int contentDescent
 
int breakSpace
 
int textOffset
 
int maxLineWidth
 
int lastOofRefPositionedBeforeThisLine
 
int leftOffset
 
int rightOffset
 
enum dw::Textblock::Line:: { ... }  alignment
 

Member Enumeration Documentation

anonymous enum
Enumerator
LEFT 
RIGHT 
CENTER 

Member Function Documentation

int dw::Textblock::Line::totalHeight ( int  marginNextLine)
inline

Returns the difference between two vertical lines positions: height of this line plus space below this line. The margin of the next line (marginAscent - borderAscent) must be passed seperately.

References lout::misc::max().

Member Data Documentation

enum { ... } dw::Textblock::Line::alignment
int dw::Textblock::Line::borderAscent
int dw::Textblock::Line::borderDescent
int dw::Textblock::Line::breakSpace
int dw::Textblock::Line::contentAscent
int dw::Textblock::Line::contentDescent
int dw::Textblock::Line::firstWord
int dw::Textblock::Line::lastOofRefPositionedBeforeThisLine
int dw::Textblock::Line::lastWord
int dw::Textblock::Line::leftOffset
int dw::Textblock::Line::marginAscent
int dw::Textblock::Line::marginDescent
int dw::Textblock::Line::maxLineWidth

Referenced by dw::Textblock::addLine().

int dw::Textblock::Line::rightOffset
int dw::Textblock::Line::textOffset
int dw::Textblock::Line::top

The documentation for this struct was generated from the following file: