|
|
virtual | ~Shape (void) |
| | Destructor.
|
|
| Shape (const Shape ©) |
| | Copy constructor.
|
| virtual Shape * | clone () const =0 |
| | Copy assignment operator.
|
| ObjectTypeInfo | type () const override |
| | Re-implements the IObject::type method.
|
|
const Color4i & | outline_color (void) const |
| | Obtain the outline color used in rendering a shape.
|
|
const Color4i & | fill_color (void) const |
| | Obtain the inside fill color used in rendering a shape.
|
|
void | set_outline_color (const Color4i &color) |
| | Set the outline color of the shape to be rendered.
|
|
void | set_fill_color (const Color4i &color) |
| | Set the inside (fill) color of the shape to be rendered.
|
|
| Transformable (const Point2i &pos, const Size2i &size) |
|
| Transformable (const IntRect &bounds) |
| | Construct an object using a complete set of coordinates (bounds).
|
| ObjectTypeInfo | type () const override |
| | Re-implements the IObject::type method.
|
|
const Point2i & | position (void) const |
| | Getter for stored positioning coordinates.
|
|
const Size2i & | size (void) const |
| | Getter for stored size dimensions.
|
| virtual void | set_position (const Point2i &coords) |
| | Set the positioning – X & Y rendering coordinates – of the object.
|
| virtual void | set_size (const Size2i &size) |
| | Set the size dimensions– width & height rendering coordinates of the object.
|
| virtual void | set_bounds (const IntRect &bounds) |
| | Set the complete bounds of the object – position (X, Y) and size (width and height) dimensions.
|
| void | set_position (int x, int y) |
| void | set_size (int w, int h) |
| virtual void | translate (const Point2i &pos) |
| | IDrawable (void) |
| | Do nothing at all default constructor.
|
| virtual | ~IDrawable (void) |
| | Do nothing at all destructor.
|
| virtual void | update (void)=0 |
| virtual void | draw (RenderTarget &) const =0 |
| | Render the object onto the primary video buffer – your visible screen.
|
|
| IObject (void) |
| | Default constructor.
|
|
virtual | ~IObject (void) |
| | Virtual destructor.
|
| virtual bool | is_type (const ObjectTypeInfo &rhs) const |
| | Compare this object type with another object's type.
|
Definition at line 38 of file Shape.hpp.