KiCad PCB EDA Suite
KIGFX::VIEW_OVERLAY::COMMAND_POLY_POLYGON Struct Reference
Inheritance diagram for KIGFX::VIEW_OVERLAY::COMMAND_POLY_POLYGON:
KIGFX::VIEW_OVERLAY::COMMAND

Public Member Functions

 COMMAND_POLY_POLYGON (const SHAPE_POLY_SET &aPolySet)
 
virtual void Execute (VIEW *aView) const override
 

Public Attributes

SHAPE_POLY_SET m_polySet
 

Detailed Description

Definition at line 174 of file view_overlay.cpp.

Constructor & Destructor Documentation

KIGFX::VIEW_OVERLAY::COMMAND_POLY_POLYGON::COMMAND_POLY_POLYGON ( const SHAPE_POLY_SET aPolySet)
inline

Definition at line 176 of file view_overlay.cpp.

176  :
177  m_polySet( aPolySet ) {}

Member Function Documentation

virtual void KIGFX::VIEW_OVERLAY::COMMAND_POLY_POLYGON::Execute ( VIEW aView) const
inlineoverridevirtual

Implements KIGFX::VIEW_OVERLAY::COMMAND.

Definition at line 179 of file view_overlay.cpp.

References KIGFX::GAL::DrawPolygon(), and KIGFX::VIEW::GetGAL().

180  {
181  aView->GetGAL()->DrawPolygon( m_polySet );
182  }

Member Data Documentation

SHAPE_POLY_SET KIGFX::VIEW_OVERLAY::COMMAND_POLY_POLYGON::m_polySet

Definition at line 184 of file view_overlay.cpp.


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