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

Public Member Functions

 COMMAND_POLYGON (const std::deque< VECTOR2D > &aPointList)
 
virtual void Execute (VIEW *aView) const override
 

Public Attributes

std::deque< VECTOR2Dm_pointList
 

Detailed Description

Definition at line 160 of file view_overlay.cpp.

Constructor & Destructor Documentation

KIGFX::VIEW_OVERLAY::COMMAND_POLYGON::COMMAND_POLYGON ( const std::deque< VECTOR2D > &  aPointList)
inline

Definition at line 162 of file view_overlay.cpp.

162  :
163  m_pointList( aPointList ) {}
std::deque< VECTOR2D > m_pointList

Member Function Documentation

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

Implements KIGFX::VIEW_OVERLAY::COMMAND.

Definition at line 165 of file view_overlay.cpp.

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

166  {
167  aView->GetGAL()->DrawPolygon( m_pointList );
168  }
std::deque< VECTOR2D > m_pointList

Member Data Documentation

std::deque<VECTOR2D> KIGFX::VIEW_OVERLAY::COMMAND_POLYGON::m_pointList

Definition at line 170 of file view_overlay.cpp.


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