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 165 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 167 of file view_overlay.cpp.

167  :
168  m_isStroke( aIsStroke )
169  { }

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 171 of file view_overlay.cpp.

172  {
173  aView->GetGAL()->SetIsStroke( m_isStroke );
174  }

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 176 of file view_overlay.cpp.

Referenced by Execute().


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