DGtal  1.3.beta
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 221 of file Common.h.

Constructor & Destructor Documentation

◆ ~DrawableWithBoard2D()

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

Definition at line 227 of file Common.h.

227 {}

Member Function Documentation

◆ setStyle()

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 226 of file Common.h.

226 {}

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


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