25 #ifndef __GEOMETRY_DRAWING_MANIPULATOR_H_
26 #define __GEOMETRY_DRAWING_MANIPULATOR_H_
28 #include <geometry/gtk/geom_drawer.h>
56 void set_color(
float r,
float g,
float b);
57 void get_color(
float& r,
float& g,
float& b)
const;
59 virtual void draw(Cairo::RefPtr<Cairo::Context>& context);
68 bool m_line_width_set;
69 bool m_point_size_set;
75 DrawingManipulator*
set_color(
float r,
float g,
float b);
float get_point_size() const
Get the point size.
virtual ~DrawingManipulator()
Desctructor.
float get_line_width() const
Get the line width.
DrawingManipulator * set_point_size(float s)
Creates a drawing manipulator which sets the given point size.
Color
Some pre-defined colors.
Fawkes library namespace.
DrawingManipulator * set_color(float r, float g, float b)
Creates a drawing manipulator which sets the given color.
Abstract base class for all drawer classes.
void set_point_size(float s)
Set the point size.
DrawingManipulator * set_line_width(float w)
Creates a drawing manipulator which sets the given line width.
DrawingManipulator()
Constructor.
void set_color(Color c)
Set the color.
void get_color(float &r, float &g, float &b) const
Get the color.
void set_line_width(float w)
Set the line width.
void integrate(const DrawingManipulator *m)
Integrates the parameters of another manipulator.
Allows to control some aspects of the rendering of objects.
virtual void draw(Cairo::RefPtr< Cairo::Context > &context)
This method is called by the GeomDrawingArea.