KiCad PCB EDA Suite
|
"Listener" interface for a class that wants to be updated about polygon geometry changes More...
#include <polygon_geom_manager.h>
Public Member Functions | |
virtual bool | OnFirstPoint (POLYGON_GEOM_MANAGER &aMgr)=0 |
Called before the first point is added - clients can do initialization here, and can veto the start of the process (e.g. | |
virtual void | OnGeometryChange (const POLYGON_GEOM_MANAGER &aMgr)=0 |
Called when the polygon is complete. | |
virtual void | OnComplete (const POLYGON_GEOM_MANAGER &aMgr)=0 |
virtual | ~CLIENT () |
"Listener" interface for a class that wants to be updated about polygon geometry changes
Definition at line 43 of file polygon_geom_manager.h.
|
inlinevirtual |
Definition at line 61 of file polygon_geom_manager.h.
|
pure virtual |
Implemented in RULE_AREA_CREATE_HELPER, and ZONE_CREATE_HELPER.
Referenced by POLYGON_GEOM_MANAGER::SetFinished().
|
pure virtual |
Called before the first point is added - clients can do initialization here, and can veto the start of the process (e.g.
if user cancels a dialog)
Implemented in RULE_AREA_CREATE_HELPER, and ZONE_CREATE_HELPER.
Referenced by POLYGON_GEOM_MANAGER::AddPoint().
|
pure virtual |
Called when the polygon is complete.
Implemented in RULE_AREA_CREATE_HELPER, and ZONE_CREATE_HELPER.
Referenced by POLYGON_GEOM_MANAGER::AddPoint(), POLYGON_GEOM_MANAGER::DeleteLastCorner(), POLYGON_GEOM_MANAGER::Reset(), and POLYGON_GEOM_MANAGER::updateTemporaryLines().