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

◆ COMMAND_POLY_POLYGON()

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

◆ Execute()

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.

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

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

Member Data Documentation

◆ m_polySet

SHAPE_POLY_SET KIGFX::VIEW_OVERLAY::COMMAND_POLY_POLYGON::m_polySet

Definition at line 184 of file view_overlay.cpp.

Referenced by Execute().


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