Dillo
Public Member Functions | List of all members
dw::core::Shape Class Referenceabstract

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. More...
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal. More...
 
virtual int hashValue ()
 Return a hash value for the object. More...
 
virtual Objectclone ()
 Return an exact copy of the object. More...
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer. More...
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object. More...
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses. More...
 

Detailed Description

Abstract interface for different shapes.

Member Function Documentation

virtual void dw::core::Shape::draw ( core::View view,
core::style::Style style,
int  x,
int  y 
)
pure virtual
virtual bool dw::core::Shape::isPointWithin ( int  x,
int  y 
)
pure virtual

The documentation for this class was generated from the following file: