#include <CSSUnit.hpp>
Inheritance diagram for CSS::LineHeight:

Public Member Functions | |
| virtual int32 | getAsPixels (const uint32 currentIteration=0) const |
| Get this length in pixels. | |
| virtual const int32 | getComputedValue () const |
| Get the computed value. | |
| int32 | getHeightInPixels (CSS::Font *font, const uint32 currentIteration=0) |
| Get the line height in pixel. | |
| virtual bool | isAbsolute () const |
| Is this length absolute (for performance reason) ? | |
| virtual bool | isAuto () const |
| Is this length set as auto. | |
| bool | isSet () const |
| Check if the line height is set already. | |
| LineHeight (const LineHeight &other) | |
| Copy constructor. | |
| LineHeight (Length *relativeTo=0, bool _owned=false) | |
| Default constructor. | |
| virtual void | setComputedValue (const int32 _value, const uint32 _iter) |
| Set the computed value. | |
| Length * | setNotOwnedLength (Length *const len) |
| Set the new length. | |
| Length * | setOwnedLength (Length *const len) |
| Set the new length. | |
| void | setValue (const float val) |
| Set the declared value. | |
| virtual void | setZero () |
| Zero this object. | |
Protected Attributes | |
| int32 | computedValue |
| The last computed value (in pixels). | |
| uint32 | iteration |
| The current rendering iteration (can only increase). | |
| float | value |
| The value. | |
| CSS::LineHeight::LineHeight | ( | Length * | relativeTo = 0, |
|
| bool | _owned = false | |||
| ) | [inline] |
Default constructor.
| CSS::LineHeight::LineHeight | ( | const LineHeight & | other | ) | [inline] |
Copy constructor.
| virtual int32 CSS::LineHeight::getAsPixels | ( | const uint32 | currentIteration = 0 |
) | const [inline, virtual] |
Get this length in pixels.
Reimplemented from CSS::Length.
| virtual const int32 CSS::LineHeight::getComputedValue | ( | ) | const [inline, virtual] |
| int32 CSS::LineHeight::getHeightInPixels | ( | CSS::Font * | font, | |
| const uint32 | currentIteration = 0 | |||
| ) | [inline] |
Get the line height in pixel.
| virtual bool CSS::LineHeight::isAbsolute | ( | ) | const [inline, virtual] |
| virtual bool CSS::LineHeight::isAuto | ( | ) | const [inline, virtual] |
| bool CSS::LineHeight::isSet | ( | ) | const [inline] |
Check if the line height is set already.
| virtual void CSS::LineHeight::setComputedValue | ( | const int32 | _value, | |
| const uint32 | _iter | |||
| ) | [inline, virtual] |
| void CSS::Length::setValue | ( | const float | val | ) | [inline, inherited] |
Set the declared value.
| virtual void CSS::LineHeight::setZero | ( | ) | [inline, virtual] |
int32 CSS::Length::computedValue [mutable, protected, inherited] |
The last computed value (in pixels).
uint32 CSS::Length::iteration [mutable, protected, inherited] |
The current rendering iteration (can only increase).
float CSS::Length::value [protected, inherited] |
The value.
