#include <papyrus/renderable.h>
Inheritance diagram for Papyrus::Renderable:

Renderable provides the pure virtual render() method, which takes a cairomm context as its only parameter. Descendants of Papyrus::Renderable provide their own implementations of render() that allow them to be rendered into the supplied cairomm context.
The render() method makes it possible to render a hierarchy (or hierarchies) of Renderables into a cairomm context employing a visitor pattern.
Inherit from Papyrus::Renderable when you want your object to be capable of being rendered into a cairo context through a common interface.
Don't forget to provide your own implementation of render() since it's a pure virtual method.
Public Types | |
|
typedef PapyrusSmartPointer< Renderable > | pointer |
Public Member Functions | |
| virtual void | render (Cairo::RefPtr< Cairo::Context > cairo)=0 |
| PAPYRUS_CLASS_NAME ("Renderable") | |
1.5.1