Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fawkes::GeomDrawer Class Referenceabstract

Abstract base class for all drawer classes. More...

#include <>>

Inheritance diagram for fawkes::GeomDrawer:

Public Member Functions

 GeomDrawer ()
 Constructor. More...
 
virtual ~GeomDrawer ()
 Destructor. More...
 
virtual void draw (Cairo::RefPtr< Cairo::Context > &context)=0
 This method is called by the GeomDrawingArea. More...
 

Detailed Description

Abstract base class for all drawer classes.

All objects that have corresponding drawer classes can easily be drawn on a GeomDrawingArea.

Author
Daniel Beck

Definition at line 30 of file geom_drawer.h.

Constructor & Destructor Documentation

fawkes::GeomDrawer::GeomDrawer ( )

Constructor.

Definition at line 42 of file geom_drawer.cpp.

fawkes::GeomDrawer::~GeomDrawer ( )
virtual

Destructor.

Definition at line 47 of file geom_drawer.cpp.

Member Function Documentation

void fawkes::GeomDrawer::draw ( Cairo::RefPtr< Cairo::Context > &  context)
pure virtual

This method is called by the GeomDrawingArea.

Here, derived classes should implement the drawing code.

Parameters
contextthe drawing context

Implemented in fawkes::DrawingManipulator, fawkes::HomVectorDrawer, fawkes::HomPointDrawer, fawkes::SplineDrawer, fawkes::BezierDrawer, and fawkes::LineSegmentDrawer.


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