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

Constructor & Destructor Documentation

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

Definition at line 99 of file view_overlay.cpp.

99  :
100  m_isStroke( aIsStroke ) {}

Member Function Documentation

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

Implements KIGFX::VIEW_OVERLAY::COMMAND.

Definition at line 102 of file view_overlay.cpp.

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

103  {
104  aView->GetGAL()->SetIsStroke( m_isStroke );
105  }

Member Data Documentation

bool KIGFX::VIEW_OVERLAY::COMMAND_SET_STROKE::m_isStroke

Definition at line 107 of file view_overlay.cpp.


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