15 #ifndef _BOARD_SHAPELIST_H_
16 #define _BOARD_SHAPELIST_H_
18 #include "Board/Shapes.h"
19 #include "Board/Tools.h"
28 struct ShapeList :
public Shape {
42 const std::string &
name()
const;
77 const TransformEPS & transform )
const;
79 void flushFIG( std::ostream & stream,
80 const TransformFIG & transform,
81 std::map<DGtal::Color,int> & colormap )
const;
83 void flushSVG( std::ostream & stream,
84 const TransformSVG & transform )
const;
87 void flushCairo( cairo_t *cr,
88 const TransformCairo & transform )
const;
92 const TransformTikZ & transform )
const;
151 T &
last(
const unsigned int position = 0 );
153 Shape &
last(
const unsigned int position = 0 );
165 static const std::string
_name;
185 struct Group :
public ShapeList {
187 Group(
int depthValue = -1 )
200 const std::string &
name()
const;
231 float width,
float height );
249 const TransformEPS & transform )
const;
251 void flushFIG( std::ostream & stream,
252 const TransformFIG & transform,
253 std::map<DGtal::Color,int> & colormap )
const;
255 void flushSVG( std::ostream & stream,
256 const TransformSVG & transform )
const;
259 void flushCairo( cairo_t *cr,
260 const TransformCairo & transform )
const;
264 const TransformTikZ & transform )
const;
273 static const std::string
_name;
279 #include "ShapeList.ih"