|
Fawkes API
Fawkes Development Version
|
Drawer for LineSegment objects. More...
#include <>>

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. | |
Public Member Functions inherited from fawkes::GeomDrawer | |
| GeomDrawer () | |
| Constructor. | |
| virtual | ~GeomDrawer () |
| Destructor. | |
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.
|
virtual |
Destructor.
Definition at line 43 of file line_segment_drawer.cpp.
|
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().