Board
0.9.5
|
Leaf visitor may be used to apply a function on each Shape with style, in back-to-front order. More...
#include <ShapeVisitor.h>
Public Types | |
enum | ColorSpecification { PenColor, FillColor } |
typedef std::function< void(ShapeWithStyle &)> | Function |
Public Member Functions | |
ShapeWithStyleVisitor (Function f) | |
ShapeWithStyleVisitor (Style) | |
ShapeWithStyleVisitor (Color color, ColorSpecification spec) | |
ShapeWithStyleVisitor (Color penColor, Color fillColor) | |
ShapeWithStyleVisitor (double lineWidth) | |
ShapeWithStyleVisitor (LineStyle lineStyle) | |
ShapeWithStyleVisitor (LineCap lineCap) | |
ShapeWithStyleVisitor (LineJoin lineJoin) | |
void | visit (Shape &) override |
void | visit (Shape &) const override |
void | visit (ShapeWithStyle &) override |
void | visit (ShapeWithStyle &) const override |
void | visit (Dot &) override |
void | visit (Dot &) const override |
void | visit (Line &) override |
void | visit (Line &) const override |
void | visit (Arrow &) override |
void | visit (Arrow &) const override |
void | visit (Polyline &) override |
void | visit (Polyline &) const override |
void | visit (Ellipse &) override |
void | visit (Ellipse &) const override |
void | visit (Text &) override |
void | visit (Text &) const override |
void | visit (Bezier &) override |
void | visit (Bezier &) const override |
Leaf visitor may be used to apply a function on each Shape with style, in back-to-front order.