DGtal  0.9.3beta
Public Member Functions
DGtal::DrawableWithBoard2D Struct Reference

#include <DGtal/base/Common.h>

Inheritance diagram for DGtal::DrawableWithBoard2D:
[legend]

Public Member Functions

virtual void setStyle (Board2D &) const
 
virtual ~DrawableWithBoard2D ()
 

Detailed Description

Interface that specifies that an object can draw itself on a board.

Todo:
(JOL) Put this class elsewhere.
Examples:
io/boards/dgtalBoard2D-3-custom-points.cpp.

Definition at line 204 of file Common.h.

Constructor & Destructor Documentation

virtual DGtal::DrawableWithBoard2D::~DrawableWithBoard2D ( )
inlinevirtual

Definition at line 210 of file Common.h.

210 {}

Member Function Documentation

virtual void DGtal::DrawableWithBoard2D::setStyle ( Board2D ) const
inlinevirtual

Operation to override. Does nothing by default.

Reimplemented in DGtal::CustomPen, DGtal::CustomFillColor, DGtal::CustomPenColor, and DGtal::CustomColors.

Definition at line 209 of file Common.h.

Referenced by DGtal::Style2DFactory::draw().

209 {}

The documentation for this struct was generated from the following file: