KiCad PCB EDA Suite
Loading...
Searching...
No Matches
TEXT_ATTRIBUTES Class Reference

#include <text_attributes.h>

Public Member Functions

 TEXT_ATTRIBUTES (KIFONT::FONT *aFont=nullptr)
 
int Compare (const TEXT_ATTRIBUTES &aRhs) const
 
bool operator== (const TEXT_ATTRIBUTES &aRhs) const
 
bool operator> (const TEXT_ATTRIBUTES &aRhs) const
 
bool operator< (const TEXT_ATTRIBUTES &aRhs) const
 

Public Attributes

KIFONT::FONTm_Font
 
GR_TEXT_H_ALIGN_T m_Halign
 
GR_TEXT_V_ALIGN_T m_Valign
 
EDA_ANGLE m_Angle
 
double m_LineSpacing
 
int m_StrokeWidth
 
bool m_Italic
 
bool m_Bold
 
bool m_Underlined
 
KIGFX::COLOR4D m_Color
 
bool m_Visible
 
bool m_Mirrored
 
bool m_Multiline
 
VECTOR2I m_Size
 
bool m_KeepUpright
 
int m_StoredStrokeWidth
 

Detailed Description

Definition at line 120 of file text_attributes.h.

Constructor & Destructor Documentation

◆ TEXT_ATTRIBUTES()

TEXT_ATTRIBUTES::TEXT_ATTRIBUTES ( KIFONT::FONT aFont = nullptr)

Definition at line 24 of file text_attributes.cpp.

Member Function Documentation

◆ Compare()

◆ operator<()

bool TEXT_ATTRIBUTES::operator< ( const TEXT_ATTRIBUTES aRhs) const
inline

Definition at line 129 of file text_attributes.h.

◆ operator==()

bool TEXT_ATTRIBUTES::operator== ( const TEXT_ATTRIBUTES aRhs) const
inline

Definition at line 127 of file text_attributes.h.

◆ operator>()

bool TEXT_ATTRIBUTES::operator> ( const TEXT_ATTRIBUTES aRhs) const
inline

Definition at line 128 of file text_attributes.h.

Member Data Documentation

◆ m_Angle

◆ m_Bold

◆ m_Color

◆ m_Font

◆ m_Halign

◆ m_Italic

◆ m_KeepUpright

◆ m_LineSpacing

◆ m_Mirrored

◆ m_Multiline

◆ m_Size

◆ m_StoredStrokeWidth

int TEXT_ATTRIBUTES::m_StoredStrokeWidth

Definition at line 148 of file text_attributes.h.

Referenced by EDA_TEXT::SetBold().

◆ m_StrokeWidth

◆ m_Underlined

◆ m_Valign

◆ m_Visible


The documentation for this class was generated from the following files: