Dillo v3.1.1-111-gd4f56d0d
|
Abstract interface for different shapes. More...
#include <types.hh>
Public Member Functions | |
virtual bool | isPointWithin (int x, int y)=0 |
virtual void | draw (core::View *view, core::style::Style *style, int x, int y)=0 |
Public Member Functions inherited from lout::object::Object | |
virtual | ~Object () |
The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. | |
virtual bool | equals (Object *other) |
Returns, whether two objects are equal. | |
virtual int | hashValue () |
Return a hash value for the object. | |
virtual Object * | clone () |
Return an exact copy of the object. | |
virtual void | intoStringBuffer (misc::StringBuffer *sb) |
Store a textual representation of the object in a misc::StringBuffer. | |
const char * | toString () |
Use object::Object::intoStringBuffer to return a textual representation of the object. | |
virtual size_t | sizeOf () |
Return the number of bytes, this object totally uses. | |
|
pure virtual |
Implemented in dw::core::Rectangle, dw::core::Circle, and dw::core::Polygon.
Referenced by dw::ImageMapsList::ImageMap::draw().
|
pure virtual |
Implemented in dw::core::Rectangle, dw::core::Circle, and dw::core::Polygon.
Referenced by dw::ImageMapsList::ImageMap::link().