#include <CEGUIFalDimensions.h>
Collaboration diagram for CEGUI::Dimension:
Public Member Functions | |
Dimension () | |
Constructor. | |
~Dimension () | |
Destructor. | |
Dimension (const BaseDim &dim, DimensionType type) | |
Constructor. | |
Dimension (const Dimension &other) | |
Copy constructor. | |
Dimension & | operator= (const Dimension &other) |
Assignment operator. | |
const BaseDim & | getBaseDimension () const |
return the BaseDim object currently used as the value for this Dimension. | |
void | setBaseDimension (const BaseDim &dim) |
set the current value for this Dimension. | |
DimensionType | getDimensionType () const |
Return a DimensionType value indicating what this Dimension represents. | |
void | setDimensionType (DimensionType type) |
Sets what this Dimension represents. | |
void | writeXMLToStream (OutStream &out_stream) const |
Writes an xml representation of this Dimension to out_stream. |
The key thing to understand about Dimension is that it contains not just a dimensional value, but also a record of what the dimension value is supposed to represent. (e.g. a co-ordinate on the x axis, or the height of something).
Definition at line 481 of file CEGUIFalDimensions.h.
|
Constructor.
Definition at line 529 of file CEGUIFalDimensions.cpp. References CEGUI::DT_INVALID. |
|
Destructor.
Definition at line 535 of file CEGUIFalDimensions.cpp. |
|
Constructor.
Definition at line 541 of file CEGUIFalDimensions.cpp. References CEGUI::BaseDim::clone(). |
|
Copy constructor.
Definition at line 547 of file CEGUIFalDimensions.cpp. References CEGUI::BaseDim::clone(), d_type, and d_value. |
|
return the BaseDim object currently used as the value for this Dimension.
Definition at line 564 of file CEGUIFalDimensions.cpp. Referenced by CEGUI::ComponentArea::getPixelRect(). |
|
Return a DimensionType value indicating what this Dimension represents.
Definition at line 578 of file CEGUIFalDimensions.cpp. Referenced by CEGUI::ComponentArea::getPixelRect(). |
|
Assignment operator.
Definition at line 553 of file CEGUIFalDimensions.cpp. References CEGUI::BaseDim::clone(), d_type, and d_value. |
|
set the current value for this Dimension.
Definition at line 570 of file CEGUIFalDimensions.cpp. References CEGUI::BaseDim::clone(). |
|
Sets what this Dimension represents.
Definition at line 583 of file CEGUIFalDimensions.cpp. Referenced by CEGUI::Falagard_xmlHandler::elementStart(). |
|
Writes an xml representation of this Dimension to out_stream.
Definition at line 588 of file CEGUIFalDimensions.cpp. References CEGUI::FalagardXMLHelper::dimensionTypeToString(), and CEGUI::BaseDim::writeXMLToStream(). Referenced by CEGUI::ComponentArea::writeXMLToStream(). |