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

Public Member Functions

 COMMAND_POLY_POLYLINE (const SHAPE_LINE_CHAIN &aLineChain)
 
virtual void Execute (VIEW *aView) const override
 

Public Attributes

SHAPE_LINE_CHAIN m_polyLine
 

Detailed Description

Definition at line 127 of file view_overlay.cpp.

Constructor & Destructor Documentation

KIGFX::VIEW_OVERLAY::COMMAND_POLY_POLYLINE::COMMAND_POLY_POLYLINE ( const SHAPE_LINE_CHAIN aLineChain)
inline

Definition at line 129 of file view_overlay.cpp.

129  :
130  m_polyLine( aLineChain ) {}

Member Function Documentation

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

Implements KIGFX::VIEW_OVERLAY::COMMAND.

Definition at line 132 of file view_overlay.cpp.

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

133  {
134  aView->GetGAL()->DrawPolyline( m_polyLine );
135  }

Member Data Documentation

SHAPE_LINE_CHAIN KIGFX::VIEW_OVERLAY::COMMAND_POLY_POLYLINE::m_polyLine

Definition at line 137 of file view_overlay.cpp.


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