Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
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.
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal.
 
virtual int hashValue ()
 Return a hash value for the object.
 
virtual Objectclone ()
 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.
 

Detailed Description

Abstract interface for different shapes.

Definition at line 58 of file types.hh.

Member Function Documentation

◆ draw()

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

◆ isPointWithin()

virtual bool dw::core::Shape::isPointWithin ( int  x,
int  y 
)
pure virtual

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