fawkes::LineSegmentDrawer Class Reference
Drawer for LineSegment objects. More...
#include <geometry/gtk/line_segment_drawer.h>
Inheritance diagram for fawkes::LineSegmentDrawer:

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.
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] |
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 48 of file line_segment_drawer.cpp.
References fawkes::LineSegment::p1(), fawkes::LineSegment::p2(), fawkes::HomCoord::x(), and fawkes::HomCoord::y().
The documentation for this class was generated from the following files:
- src/libs/geometry/gtk/line_segment_drawer.h
- src/libs/geometry/gtk/line_segment_drawer.cpp

