Crazy Eddie's GUI System
0.8.4
|
Public Member Functions | |
virtual const String & | getName () const =0 |
virtual const Sizef & | getRenderedSize () const =0 |
virtual const Vector2f & | getRenderedOffset () const =0 |
virtual void | render (GeometryBuffer &buffer, const Rectf &dest_area, const Rectf *clip_area, const ColourRect &colours) const =0 |
virtual void | notifyDisplaySizeChanged (const Sizef &size)=0 |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Rectf *clip_area=0) const |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Rectf *clip_area, const ColourRect &colours) const |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Sizef &size, const Rectf *clip_area=0) const |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Sizef &size, const Rectf *clip_area, const ColourRect &colours) const |
Static Public Member Functions | |
static void | computeScalingFactors (AutoScaledMode mode, const Sizef &display_size, const Sizef &native_display_size, float &x_scale, float &y_scale) |
Helper able to compute scaling factors for auto scaling. | |
Protected Member Functions | |
void | elementStartLocal (const String &element, const XMLAttributes &attributes) |
Function that handles elements locally (used at end of handler chain) | |
void | elementEndLocal (const String &element) |
Function that handles elements locally (used at end of handler chain) |
Interface for Image.
In CEGUI, an Image is some object that can render itself into a given GeometryBuffer object. This may be something as simple as a basic textured quad, or something more complex.
static void CEGUI::Image::computeScalingFactors | ( | AutoScaledMode | mode, |
const Sizef & | display_size, | ||
const Sizef & | native_display_size, | ||
float & | x_scale, | ||
float & | y_scale | ||
) | [static] |
Helper able to compute scaling factors for auto scaling.