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

◆ COMMAND_POLY_POLYLINE()

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

◆ Execute()

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.

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

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

Member Data Documentation

◆ m_polyLine

SHAPE_LINE_CHAIN KIGFX::VIEW_OVERLAY::COMMAND_POLY_POLYLINE::m_polyLine

Definition at line 137 of file view_overlay.cpp.

Referenced by Execute().


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