fawkes::LineSegmentDrawer Class Reference

Drawer for LineSegment objects. More...

#include <geometry/gtk/line_segment_drawer.h>

Inheritance diagram for fawkes::LineSegmentDrawer:

[legend]
List of all members.

Public Member Functions

 LineSegmentDrawer (LineSegment l)
 Constructor.
virtual ~LineSegmentDrawer ()
 Destructor.
virtual void draw (Cairo::RefPtr< Cairo::Context > &context)
 This method is called by the GeomDrawingArea.

Detailed Description

Drawer for LineSegment objects.

Author:
Daniel Beck

Definition at line 33 of file line_segment_drawer.h.


Constructor & Destructor Documentation

fawkes::LineSegmentDrawer::LineSegmentDrawer ( LineSegment  l  ) 

Constructor.

Parameters:
l the LineSegement to drawer

Definition at line 37 of file line_segment_drawer.cpp.

fawkes::LineSegmentDrawer::~LineSegmentDrawer (  )  [virtual]

Destructor.

Definition at line 43 of file line_segment_drawer.cpp.


Member Function Documentation

void fawkes::LineSegmentDrawer::draw ( Cairo::RefPtr< Cairo::Context > &  context  )  [virtual]

This method is called by the GeomDrawingArea.

Here, derived classes should implement the drawing code.

Parameters:
context the drawing context

Implements fawkes::GeomDrawer.

Definition at line 49 of file line_segment_drawer.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:32:50 2011 for Fawkes API by  doxygen 1.4.7