#include <CEGUIImage.h>
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. | |
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. | |
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 |
Definition at line 51 of file CEGUIImage.h.
|
Default constructor (only used by std::map).
Definition at line 372 of file CEGUIImage.h. |
|
Constructor for Image objects. This is not normally used directly by client code, use the Imageset interface instead.
Definition at line 42 of file CEGUIImage.cpp. References CEGUI::Point, and CEGUI::utf8. |
|
Copy constructor.
Definition at line 63 of file CEGUIImage.cpp. |
|
Destructor for Image objects.
Definition at line 77 of file CEGUIImage.cpp. |
|
Queue the image to be drawn.
Definition at line 105 of file CEGUIImage.cpp. References CEGUI::Imageset::draw(), and CEGUI::Rect::offset(). |
|
Queue the image to be drawn.
Definition at line 323 of file CEGUIImage.h. References CEGUI::Vector3::d_x, CEGUI::Vector3::d_y, and CEGUI::Vector3::d_z. |
|
Queue the image to be drawn.
Definition at line 283 of file CEGUIImage.h. References CEGUI::Vector3::d_x, CEGUI::Vector3::d_y, and CEGUI::Vector3::d_z. |
|
Queue the image to be drawn.
Definition at line 249 of file CEGUIImage.h. References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Vector3::d_x, CEGUI::Vector3::d_y, and CEGUI::Vector3::d_z. |
|
Queue the image to be drawn.
Definition at line 215 of file CEGUIImage.h. |
|
Queue the image to be drawn.
Definition at line 171 of file CEGUIImage.h. References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Vector3::d_x, CEGUI::Vector3::d_y, and CEGUI::Vector3::d_z. Referenced by CEGUI::MouseCursor::draw(), CEGUI::ListboxTextItem::draw(), CEGUI::RenderableImage::draw_impl(), CEGUI::RenderableFrame::draw_impl(), CEGUI::Static::drawSelf(), and CEGUI::MultiLineEditbox::renderTextLines(). |
|
Return the pixel height of the image.
Definition at line 81 of file CEGUIImage.h. Referenced by CEGUI::RenderableFrame::draw_impl(), CEGUI::Static::setFrameImages(), and CEGUI::Static::setImageForFrameLocation(). |
|
Return the name of the Imageset that contains this Image.
Definition at line 129 of file CEGUIImage.cpp. References CEGUI::Imageset::getName(). Referenced by CEGUI::PropertyHelper::imageToString(). |
|
Return the name of this Image object.
Definition at line 120 of file CEGUIImage.cpp. Referenced by CEGUI::PropertyHelper::imageToString(). |
|
Return a Point object that contains the offset applied when rendering this Image.
Definition at line 91 of file CEGUIImage.h. References CEGUI::Point. |
|
Return the X rendering offset.
Definition at line 101 of file CEGUIImage.h. Referenced by CEGUI::RenderableFrame::draw_impl(). |
|
Return the Y rendering offset.
Definition at line 111 of file CEGUIImage.h. Referenced by CEGUI::RenderableFrame::draw_impl(). |
|
Return a Size object containing the dimensions of the Image.
Definition at line 61 of file CEGUIImage.h. Referenced by CEGUI::RenderableImage::draw_impl(). |
|
Return the pixel width of the image.
Definition at line 71 of file CEGUIImage.h. Referenced by CEGUI::RenderableFrame::draw_impl(), CEGUI::Static::setFrameImages(), and CEGUI::Static::setImageForFrameLocation(). |
|
Definition at line 421 of file CEGUIImage.h. |
|
Definition at line 361 of file CEGUIImage.h. |
|
Definition at line 362 of file CEGUIImage.h. |