CSS::LineHeight Class Reference

#include <CSSUnit.hpp>

Inheritance diagram for CSS::LineHeight:

CSS::Length List of all members.

Detailed Description

The line height.


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.
LengthsetNotOwnedLength (Length *const len)
 Set the new length.
LengthsetOwnedLength (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.


Constructor & Destructor Documentation

CSS::LineHeight::LineHeight ( Length relativeTo = 0,
bool  _owned = false 
) [inline]

Default constructor.

CSS::LineHeight::LineHeight ( const LineHeight other  )  [inline]

Copy constructor.


Member Function Documentation

virtual int32 CSS::LineHeight::getAsPixels ( const uint32  currentIteration = 0  )  const [inline, virtual]

Get this length in pixels.

Returns:
the number of pixel used for this length

Reimplemented from CSS::Length.

virtual const int32 CSS::LineHeight::getComputedValue (  )  const [inline, virtual]

Get the computed value.

Reimplemented from CSS::Length.

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]

Is this length absolute (for performance reason) ?

Reimplemented from CSS::Length.

virtual bool CSS::LineHeight::isAuto (  )  const [inline, virtual]

Is this length set as auto.

Reimplemented from CSS::Length.

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]

Set the computed value.

Reimplemented from CSS::Length.

Length* CSS::LineHeight::setNotOwnedLength ( Length *const   len  )  [inline]

Set the new length.

Length* CSS::LineHeight::setOwnedLength ( Length *const   len  )  [inline]

Set the new length.

void CSS::Length::setValue ( const float  val  )  [inline, inherited]

Set the declared value.

virtual void CSS::LineHeight::setZero (  )  [inline, virtual]

Zero this object.

Reimplemented from CSS::Length.


Member Data Documentation

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.


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

(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is