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

Public Member Functions

 COMMAND_BITMAP_TEXT (const wxString &aText, const VECTOR2I &aPosition, const EDA_ANGLE &aAngle)
 
virtual void Execute (VIEW *aView) const override
 

Public Attributes

wxString m_text
 
VECTOR2I m_pos
 
EDA_ANGLE m_angle
 

Detailed Description

Definition at line 246 of file view_overlay.cpp.

Constructor & Destructor Documentation

◆ COMMAND_BITMAP_TEXT()

KIGFX::VIEW_OVERLAY::COMMAND_BITMAP_TEXT::COMMAND_BITMAP_TEXT ( const wxString &  aText,
const VECTOR2I aPosition,
const EDA_ANGLE aAngle 
)
inline

Definition at line 248 of file view_overlay.cpp.

249 :
250 m_text( aText ),
251 m_pos( aPosition ),
252 m_angle( aAngle )
253 { }

Member Function Documentation

◆ Execute()

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

Implements KIGFX::VIEW_OVERLAY::COMMAND.

Definition at line 255 of file view_overlay.cpp.

256 {
257 aView->GetGAL()->BitmapText( m_text, m_pos, m_angle );
258 }

References KIGFX::GAL::BitmapText(), KIGFX::VIEW::GetGAL(), m_angle, m_pos, and m_text.

Member Data Documentation

◆ m_angle

EDA_ANGLE KIGFX::VIEW_OVERLAY::COMMAND_BITMAP_TEXT::m_angle

Definition at line 262 of file view_overlay.cpp.

Referenced by Execute().

◆ m_pos

VECTOR2I KIGFX::VIEW_OVERLAY::COMMAND_BITMAP_TEXT::m_pos

Definition at line 261 of file view_overlay.cpp.

Referenced by Execute().

◆ m_text

wxString KIGFX::VIEW_OVERLAY::COMMAND_BITMAP_TEXT::m_text

Definition at line 260 of file view_overlay.cpp.

Referenced by Execute().


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