Drawer for LineSegment objects. More...
#include <geometry/gtk/line_segment_drawer.h>

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. | |
Drawer for LineSegment objects.
Definition at line 33 of file line_segment_drawer.h.
| fawkes::LineSegmentDrawer::LineSegmentDrawer | ( | LineSegment | l | ) |
Constructor.
| 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.
| 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.
| context | the drawing context |
Implements fawkes::GeomDrawer.
Definition at line 49 of file line_segment_drawer.cpp.
References fawkes::LineSegment::p1(), fawkes::LineSegment::p2(), fawkes::HomCoord::x(), and fawkes::HomCoord::y().
1.6.1