dillo  3.0.5
About: dillo is a small, fast, extensible Web browser particularly suitable for older or smaller computers and embedded systems (but only limited or no support for frames, CSS, JavaScript, Java).
  Fossies Dox: dillo-3.0.5.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

dw::core::Shape Class Referenceabstract

Abstract interface for different shapes. More...

#include <types.hh>

Inheritance diagram for dw::core::Shape:
[legend]
Collaboration diagram for dw::core::Shape:
[legend]

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.

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: