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

Public Member Functions

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

Public Attributes

std::deque< VECTOR2Dm_pointList
 

Detailed Description

Definition at line 113 of file view_overlay.cpp.

Constructor & Destructor Documentation

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

Definition at line 115 of file view_overlay.cpp.

115  :
116  m_pointList( aPointList ) {}

Member Function Documentation

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

Implements KIGFX::VIEW_OVERLAY::COMMAND.

Definition at line 118 of file view_overlay.cpp.

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

119  {
120  aView->GetGAL()->DrawPolyline( m_pointList );
121  }

Member Data Documentation

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

Definition at line 123 of file view_overlay.cpp.


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