Crazy Eddies GUI System  0.7.1
Public Member Functions | Public Attributes | List of all members
CEGUI::UDim Class Reference

Class representing a unified dimension; that is a dimension that has both a relative 'scale' portion and and absolute 'offset' portion. More...

Public Member Functions

 UDim (float scale, float offset)
 
float asAbsolute (float base) const
 
float asRelative (float base) const
 
UDim operator+ (const UDim &other) const
 
UDim operator- (const UDim &other) const
 
UDim operator* (const UDim &other) const
 
UDim operator/ (const UDim &other) const
 
const UDimoperator+= (const UDim &other)
 
const UDimoperator-= (const UDim &other)
 
const UDimoperator*= (const UDim &other)
 
const UDimoperator/= (const UDim &other)
 
bool operator== (const UDim &other) const
 
bool operator!= (const UDim &other) const
 

Public Attributes

float d_scale
 
float d_offset
 

Detailed Description

Class representing a unified dimension; that is a dimension that has both a relative 'scale' portion and and absolute 'offset' portion.