#include <CEGUIColourRect.h>
Collaboration diagram for CEGUI::ColourRect:
Public Member Functions | |
ColourRect (void) | |
Default constructor. | |
ColourRect (const colour &col) | |
Constructor for ColourRect objects (via single colour). Also handles default construction. | |
ColourRect (const colour &top_left, const colour &top_right, const colour &bottom_left, const colour &bottom_right) | |
Constructor for ColourRect objects. | |
virtual | ~ColourRect (void) |
Destructor for ColourRect objects. | |
void | setAlpha (float alpha) |
Set the alpha value to use for all four corners of the ColourRect. | |
void | setTopAlpha (float alpha) |
Set the alpha value to use for the top edge of the ColourRect. | |
void | setBottomAlpha (float alpha) |
Set the alpha value to use for the bottom edge of the ColourRect. | |
void | setLeftAlpha (float alpha) |
Set the alpha value to use for the left edge of the ColourRect. | |
void | setRightAlpha (float alpha) |
Set the alpha value to use for the right edge of the ColourRect. | |
ColourRect | getSubRectangle (float left, float right, float top, float bottom) const |
Gets a portion of this ColourRect as a subset ColourRect. | |
colour | getColourAtPoint (float x, float y) const |
Get the colour at a point in the rectangle. | |
void | setColours (const colour &col) |
Set the colour of all four corners simultaneously. | |
Public Attributes | |
colour | d_top_left |
colour | d_top_right |
colour | d_bottom_left |
colour | d_bottom_right |
Definition at line 50 of file CEGUIColourRect.h.
|
Default constructor.
Definition at line 59 of file CEGUIColourRect.cpp. Referenced by getSubRectangle(). |
|
Constructor for ColourRect objects (via single colour). Also handles default construction.
Definition at line 47 of file CEGUIColourRect.cpp. |
|
Constructor for ColourRect objects.
Definition at line 35 of file CEGUIColourRect.cpp. |
|
Destructor for ColourRect objects.
Definition at line 71 of file CEGUIColourRect.cpp. |
|
Get the colour at a point in the rectangle.
Definition at line 130 of file CEGUIColourRect.cpp. References d_bottom_left, d_bottom_right, d_top_left, and d_top_right. Referenced by getSubRectangle(). |
|
Gets a portion of this ColourRect as a subset ColourRect.
Definition at line 140 of file CEGUIColourRect.cpp. References ColourRect(), and getColourAtPoint(). Referenced by CEGUI::RenderableImage::draw_impl(), and CEGUI::RenderableFrame::draw_impl(). |
|
Set the alpha value to use for all four corners of the ColourRect.
Definition at line 79 of file CEGUIColourRect.cpp. References d_bottom_left, d_bottom_right, d_top_left, d_top_right, and CEGUI::colour::setAlpha(). |
|
Set the alpha value to use for the bottom edge of the ColourRect.
Definition at line 101 of file CEGUIColourRect.cpp. References d_bottom_left, d_bottom_right, and CEGUI::colour::setAlpha(). |
|
Set the colour of all four corners simultaneously.
Definition at line 154 of file CEGUIColourRect.cpp. References d_bottom_left, d_bottom_right, d_top_left, and d_top_right. |
|
Set the alpha value to use for the left edge of the ColourRect.
Definition at line 111 of file CEGUIColourRect.cpp. References d_bottom_left, d_top_left, and CEGUI::colour::setAlpha(). |
|
Set the alpha value to use for the right edge of the ColourRect.
Definition at line 121 of file CEGUIColourRect.cpp. References d_bottom_right, d_top_right, and CEGUI::colour::setAlpha(). |
|
Set the alpha value to use for the top edge of the ColourRect.
Definition at line 91 of file CEGUIColourRect.cpp. References d_top_left, d_top_right, and CEGUI::colour::setAlpha(). |
|
|
|
|