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 131 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 133 of file view_overlay.cpp.

133  :
134  m_polySet( aPolySet )
135  { }

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 137 of file view_overlay.cpp.

138  {
139  aView->GetGAL()->DrawPolygon( m_polySet );
140  }

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 142 of file view_overlay.cpp.

Referenced by Execute().


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