44#include "DGtal/base/Common.h"
45#include "DGtal/helpers/StdDefs.h"
46#include "DGtal/io/boards/Board2D.h"
47#include "DGtal/io/Color.h"
63 K.init( plow, pup,
true );
66 Cell pixlow =
K.uSpel( plow );
67 Cell ptlow =
K.uPointel( plow );
68 Cell pixup =
K.uSpel( pup );
69 Cell ptup1 =
K.uPointel( pup );
77 Color( 100, 100, 255 ) ) )
81 Color( 255, 100, 100 ) ) )
85 Color( 100, 255, 100 ) ) )
86 << linelb << linelt << linell << linelr;
Aim: This class specializes a 'Board' class so as to display DGtal objects more naturally (with <<)....
Structure representing an RGB triple with alpha component.
static Self diagonal(Component val=1)
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
Z2i this namespace gathers the standard of types for 2D imagery.
KhalimskySpaceND< 2, Integer > KSpace
DGtal is the top-level namespace which contains all DGtal functions and types.
Custom style class redefining the pen color and the fill color. You may use Board2D::Color::None for ...
std::string className() const
Return the style name used for drawing this object.
Modifier class in a Board2D stream. Useful to choose your own mode for a given class....