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 VECTOR2I aSize)
 
virtual void Execute (VIEW *aView) const override
 

Public Attributes

VECTOR2I m_size
 

Detailed Description

Definition at line 231 of file view_overlay.cpp.

Constructor & Destructor Documentation

◆ COMMAND_GLYPH_SIZE()

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

Definition at line 233 of file view_overlay.cpp.

233 :
234 m_size( aSize )
235 { };

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

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

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

Member Data Documentation

◆ m_size

VECTOR2I KIGFX::VIEW_OVERLAY::COMMAND_GLYPH_SIZE::m_size

Definition at line 242 of file view_overlay.cpp.

Referenced by Execute().


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