Collaboration diagram for CEGUI::Image:
Public Member Functions | |
Size | getSize (void) const |
Return a Size object containing the dimensions of the Image. | |
float | getWidth (void) const |
Return the pixel width of the image. | |
float | getHeight (void) const |
Return the pixel height of the image. | |
Point | getOffsets (void) const |
Return a Point object that contains the offset applied when rendering this Image. | |
float | getOffsetX (void) const |
Return the X rendering offset. | |
float | getOffsetY (void) const |
Return the Y rendering offset. | |
const String & | getName (void) const |
Return the name of this Image object. | |
const String & | getImagesetName (void) const |
Return the name of the Imageset that contains this Image. | |
const Rect & | getSourceTextureArea (void) const |
Return Rect describing the source texture area used by this Image. | |
void | draw (const Vector3 &position, const Size &size, const Rect &clip_rect, const colour &top_left_colour=0xFFFFFFFF, const colour &top_right_colour=0xFFFFFFFF, const colour &bottom_left_colour=0xFFFFFFFF, const colour &bottom_right_colour=0xFFFFFFFF, QuadSplitMode quad_split_mode=TopLeftToBottomRight) const |
Queue the image to be drawn. | |
void | draw (const Rect &dest_rect, float z, const Rect &clip_rect, const colour &top_left_colour=0xFFFFFFFF, const colour &top_right_colour=0xFFFFFFFF, const colour &bottom_left_colour=0xFFFFFFFF, const colour &bottom_right_colour=0xFFFFFFFF, QuadSplitMode quad_split_mode=TopLeftToBottomRight) const |
Queue the image to be drawn. | |
void | draw (const Vector3 &position, const Size &size, const Rect &clip_rect, const ColourRect &colours, QuadSplitMode quad_split_mode=TopLeftToBottomRight) const |
Queue the image to be drawn. | |
void | draw (const Vector3 &position, const Rect &clip_rect, const ColourRect &colours, QuadSplitMode quad_split_mode=TopLeftToBottomRight) const |
Queue the image to be drawn. | |
void | draw (const Vector3 &position, const Rect &clip_rect, const colour &top_left_colour=0xFFFFFFFF, const colour &top_right_colour=0xFFFFFFFF, const colour &bottom_left_colour=0xFFFFFFFF, const colour &bottom_right_colour=0xFFFFFFFF, QuadSplitMode quad_split_mode=TopLeftToBottomRight) const |
Queue the image to be drawn. | |
void | draw (const Rect &dest_rect, float z, const Rect &clip_rect, const ColourRect &colours, QuadSplitMode quad_split_mode=TopLeftToBottomRight) const |
Queue the image to be drawn. | |
void | writeXMLToStream (OutStream &out_stream) const |
Writes an xml representation of this Image object to out_stream. | |
Image (void) | |
Default constructor (only used by std::map). | |
Image (const Imageset *owner, const String &name, const Rect &area, const Point &render_offset, float horzScaling=1.0f, float vertScaling=1.0f) | |
Constructor for Image objects. This is not normally used directly by client code, use the Imageset interface instead. | |
Image (const Image &image) | |
Copy constructor. | |
~Image (void) | |
Destructor for Image objects. | |
Friends | |
class | std::map< String, Image > |
struct | std::pair< const String, Image > |
class | Imageset |
|
Constructor for Image objects. This is not normally used directly by client code, use the Imageset interface instead.
|
|
Queue the image to be drawn.
|
|
Queue the image to be drawn.
|
|
Queue the image to be drawn.
|
|
Queue the image to be drawn.
|
|
Queue the image to be drawn.
|
|
Queue the image to be drawn.
|
|
Return the pixel height of the image.
|
|
Return the name of the Imageset that contains this Image.
|
|
Return the name of this Image object.
|
|
Return a Point object that contains the offset applied when rendering this Image.
|
|
Return the X rendering offset.
|
|
Return the Y rendering offset.
|
|
Return a Size object containing the dimensions of the Image.
|
|
Return Rect describing the source texture area used by this Image.
|
|
Return the pixel width of the image.
|
|
Writes an xml representation of this Image object to out_stream.
|