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

#include <graphics_importer_buffer.h>

Inheritance diagram for IMPORTED_TEXT:
IMPORTED_SHAPE

Public Member Functions

 IMPORTED_TEXT (const VECTOR2D &aOrigin, const wxString &aText, double aHeight, double aWidth, double aThickness, double aOrientation, GR_TEXT_H_ALIGN_T aHJustify, GR_TEXT_V_ALIGN_T aVJustify, const COLOR4D &aColor)
 
void ImportTo (GRAPHICS_IMPORTER &aImporter) const override
 
virtual std::unique_ptr< IMPORTED_SHAPEclone () const override
 
void Transform (const MATRIX3x3D &aTransform, const VECTOR2D &aTranslation) override
 
void SetParentShapeIndex (int aIndex)
 
int GetParentShapeIndex () const
 

Protected Attributes

int m_parentShapeIndex = -1
 

Private Attributes

VECTOR2D m_origin
 
const wxString m_text
 
double m_height
 
double m_width
 
double m_thickness
 
double m_orientation
 
GR_TEXT_H_ALIGN_T m_hJustify
 
GR_TEXT_V_ALIGN_T m_vJustify
 
COLOR4D m_color
 

Detailed Description

Definition at line 203 of file graphics_importer_buffer.h.

Constructor & Destructor Documentation

◆ IMPORTED_TEXT()

IMPORTED_TEXT::IMPORTED_TEXT ( const VECTOR2D aOrigin,
const wxString &  aText,
double  aHeight,
double  aWidth,
double  aThickness,
double  aOrientation,
GR_TEXT_H_ALIGN_T  aHJustify,
GR_TEXT_V_ALIGN_T  aVJustify,
const COLOR4D aColor 
)
inline

Definition at line 206 of file graphics_importer_buffer.h.

Member Function Documentation

◆ clone()

virtual std::unique_ptr< IMPORTED_SHAPE > IMPORTED_TEXT::clone ( ) const
inlineoverridevirtual

Implements IMPORTED_SHAPE.

Definition at line 222 of file graphics_importer_buffer.h.

◆ GetParentShapeIndex()

int IMPORTED_SHAPE::GetParentShapeIndex ( ) const
inlineinherited

◆ ImportTo()

void IMPORTED_TEXT::ImportTo ( GRAPHICS_IMPORTER aImporter) const
inlineoverridevirtual

◆ SetParentShapeIndex()

void IMPORTED_SHAPE::SetParentShapeIndex ( int  aIndex)
inlineinherited

Definition at line 46 of file graphics_importer_buffer.h.

References IMPORTED_SHAPE::m_parentShapeIndex.

◆ Transform()

void IMPORTED_TEXT::Transform ( const MATRIX3x3D aTransform,
const VECTOR2D aTranslation 
)
inlineoverridevirtual

Implements IMPORTED_SHAPE.

Definition at line 227 of file graphics_importer_buffer.h.

References m_origin.

Member Data Documentation

◆ m_color

COLOR4D IMPORTED_TEXT::m_color
private

Definition at line 241 of file graphics_importer_buffer.h.

Referenced by ImportTo().

◆ m_height

double IMPORTED_TEXT::m_height
private

Definition at line 235 of file graphics_importer_buffer.h.

Referenced by ImportTo().

◆ m_hJustify

GR_TEXT_H_ALIGN_T IMPORTED_TEXT::m_hJustify
private

Definition at line 239 of file graphics_importer_buffer.h.

Referenced by ImportTo().

◆ m_orientation

double IMPORTED_TEXT::m_orientation
private

Definition at line 238 of file graphics_importer_buffer.h.

Referenced by ImportTo().

◆ m_origin

VECTOR2D IMPORTED_TEXT::m_origin
private

Definition at line 233 of file graphics_importer_buffer.h.

Referenced by ImportTo(), and Transform().

◆ m_parentShapeIndex

int IMPORTED_SHAPE::m_parentShapeIndex = -1
protectedinherited

◆ m_text

const wxString IMPORTED_TEXT::m_text
private

Definition at line 234 of file graphics_importer_buffer.h.

Referenced by ImportTo().

◆ m_thickness

double IMPORTED_TEXT::m_thickness
private

Definition at line 237 of file graphics_importer_buffer.h.

Referenced by ImportTo().

◆ m_vJustify

GR_TEXT_V_ALIGN_T IMPORTED_TEXT::m_vJustify
private

Definition at line 240 of file graphics_importer_buffer.h.

Referenced by ImportTo().

◆ m_width

double IMPORTED_TEXT::m_width
private

Definition at line 236 of file graphics_importer_buffer.h.

Referenced by ImportTo().


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