42#include "DGtal/base/Common.h"
43#include "DGtal/io/boards/Board2D.h"
44#include "DGtal/helpers/StdDefs.h"
63 board <<
domain << p1 << p2 << p3;
65 board.
saveSVG(
"dgtalBoard2D-1-points.svg");
66 board.
saveEPS(
"dgtalBoard2D-1-points.eps");
67 board.
saveTikZ(
"dgtalBoard2D-1-points.tikz");
70 board.
saveCairo(
"dgtalBoard2D-1-points-cairo.pdf", Board2D::CairoPDF);
71 board.
saveCairo(
"dgtalBoard2D-1-points-cairo.png", Board2D::CairoPNG);
72 board.
saveCairo(
"dgtalBoard2D-1-points-cairo.ps", Board2D::CairoPS);
73 board.
saveCairo(
"dgtalBoard2D-1-points-cairo.svg", Board2D::CairoSVG);
Aim: This class specializes a 'Board' class so as to display DGtal objects more naturally (with <<)....
void beginBlock(const std::string &keyword="")
void saveTikZ(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
void saveEPS(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
void saveSVG(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
void saveCairo(const char *filename, CairoType type=CairoPNG, PageSize size=Board::BoundingBox, double margin=10.0) const
Z2i this namespace gathers the standard of types for 2D imagery.
DGtal is the top-level namespace which contains all DGtal functions and types.