|
UGDK
0.4.1
|
#include <ugdk/graphic/drawable/solidrectangle.h>


Public Member Functions | |
| SolidRectangle (const Vector2D &size) | |
| ~SolidRectangle () | |
| void | Update (double dt) |
| void | Draw () const |
| const Vector2D & | size () const |
| void | set_size (const Vector2D &size) |
| const Color & | color () const |
| void | set_color (const Color &color) |
Public Member Functions inherited from ugdk::graphic::Shape | |
| virtual | ~Shape () |
Public Member Functions inherited from ugdk::graphic::Drawable | |
| virtual | ~Drawable () |
| void | set_hotspot (const Vector2D &hotspot) |
| void | set_hotspot (const HookPoint &hook) |
| const double | width () const |
| const double | height () const |
| const Vector2D & | hotspot () const |
Additional Inherited Members | |
Public Types inherited from ugdk::graphic::Drawable | |
| enum | HookPoint { TOP_LEFT, TOP, TOP_RIGHT, LEFT, CENTER, RIGHT, BOTTOM_LEFT, BOTTOM, BOTTOM_RIGHT } |
Protected Member Functions inherited from ugdk::graphic::Shape | |
| Shape () | |
Protected Attributes inherited from ugdk::graphic::Drawable | |
| ugdk::Vector2D | hotspot_ |
| ugdk::graphic::SolidRectangle::SolidRectangle | ( | const Vector2D & | size | ) |
| ugdk::graphic::SolidRectangle::~SolidRectangle | ( | ) |
|
inline |
|
virtual |
Implements ugdk::graphic::Drawable.
|
inline |
|
inline |
|
inlinevirtual |
Implements ugdk::graphic::Drawable.
|
virtual |
Implements ugdk::graphic::Drawable.