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

Public Member Functions

 COMMAND_SET_STROKE (bool aIsStroke)
 
virtual void Execute (VIEW *aView) const override
 

Public Attributes

bool m_isStroke
 

Detailed Description

Definition at line 207 of file view_overlay.cpp.

Constructor & Destructor Documentation

◆ COMMAND_SET_STROKE()

KIGFX::VIEW_OVERLAY::COMMAND_SET_STROKE::COMMAND_SET_STROKE ( bool  aIsStroke)
inline

Definition at line 209 of file view_overlay.cpp.

209  :
210  m_isStroke( aIsStroke ) {}

Member Function Documentation

◆ Execute()

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

Implements KIGFX::VIEW_OVERLAY::COMMAND.

Definition at line 212 of file view_overlay.cpp.

213  {
214  aView->GetGAL()->SetIsStroke( m_isStroke );
215  }

References KIGFX::VIEW::GetGAL(), m_isStroke, and KIGFX::GAL::SetIsStroke().

Member Data Documentation

◆ m_isStroke

bool KIGFX::VIEW_OVERLAY::COMMAND_SET_STROKE::m_isStroke

Definition at line 217 of file view_overlay.cpp.

Referenced by Execute().


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