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

Public Member Functions

 COMMAND_GLYPH_SIZE (const VECTOR2D aSize)
 
virtual void Execute (VIEW *aView) const override
 

Public Attributes

VECTOR2D m_size
 

Detailed Description

Definition at line 230 of file view_overlay.cpp.

Constructor & Destructor Documentation

◆ COMMAND_GLYPH_SIZE()

KIGFX::VIEW_OVERLAY::COMMAND_GLYPH_SIZE::COMMAND_GLYPH_SIZE ( const VECTOR2D  aSize)
inline

Definition at line 232 of file view_overlay.cpp.

232  :
233  m_size( aSize )
234  { };

Member Function Documentation

◆ Execute()

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

Implements KIGFX::VIEW_OVERLAY::COMMAND.

Definition at line 236 of file view_overlay.cpp.

237  {
238  aView->GetGAL()->SetGlyphSize( m_size );
239  }

References KIGFX::VIEW::GetGAL(), m_size, and KIGFX::GAL::SetGlyphSize().

Member Data Documentation

◆ m_size

VECTOR2D KIGFX::VIEW_OVERLAY::COMMAND_GLYPH_SIZE::m_size

Definition at line 241 of file view_overlay.cpp.

Referenced by Execute().


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