KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ALLEGRO::BLK_0x30_STR_WRAPPER Struct Reference

Text object with position, rotation, layer, font properties, and alignment. More...

#include <allegro_pcb_structs.h>

Classes

struct  TEXT_PROPERTIES
 

Public Types

enum class  TEXT_REVERSAL { STRAIGHT , REVERSED , UNKNOWN }
 
enum class  TEXT_ALIGNMENT { LEFT , RIGHT , CENTER , UNKNOWN }
 

Public Member Functions

uint32_t GetGroupPtr () const
 

Public Attributes

uint8_t m_Type
 
LAYER_INFO m_Layer
 
uint32_t m_Key
 
uint32_t m_Next
 
COND_GE< FMT_VER::V_172, uint32_t > m_Unknown1
 
COND_GE< FMT_VER::V_172, uint32_t > m_Unknown2
 
COND_GE< FMT_VER::V_172, TEXT_PROPERTIESm_Font
 
COND_GE< FMT_VER::V_172, uint32_t > m_Ptr1
 
COND_GE< FMT_VER::V_174, uint32_t > m_Unknown3
 
uint32_t m_StrGraphicPtr
 
COND_GE< FMT_VER::V_172, uint32_t > m_PtrGroup_17x
 
COND_LT< FMT_VER::V_172, uint32_t > m_Unknown4
 
COND_LT< FMT_VER::V_172, TEXT_PROPERTIESm_Font16x
 
COND_GE< FMT_VER::V_172, uint32_t > m_Ptr2
 
int32_t m_CoordsX
 
int32_t m_CoordsY
 
uint32_t m_Unknown5
 
uint32_t m_Rotation
 Millidegrees.
 
COND_LT< FMT_VER::V_172, uint32_t > m_PtrGroup_16x
 

Static Public Attributes

static constexpr uint8_t BLOCK_TYPE_CODE = 0x30
 

Detailed Description

Text object with position, rotation, layer, font properties, and alignment.

References a 0x31 string graphic (m_StrGraphicPtr) for the actual text content. Used for reference designators, component values, and other board text. Font index in TEXT_PROPERTIES.m_Key is 1-based into the 0x36 FontDef_X08 list.

Definition at line 2032 of file allegro_pcb_structs.h.

Member Enumeration Documentation

◆ TEXT_ALIGNMENT

Enumerator
LEFT 
RIGHT 
CENTER 
UNKNOWN 

Definition at line 2043 of file allegro_pcb_structs.h.

◆ TEXT_REVERSAL

Enumerator
STRAIGHT 
REVERSED 
UNKNOWN 

Definition at line 2036 of file allegro_pcb_structs.h.

Member Function Documentation

◆ GetGroupPtr()

uint32_t ALLEGRO::BLK_0x30_STR_WRAPPER::GetGroupPtr ( ) const
inline

Definition at line 2087 of file allegro_pcb_structs.h.

References m_PtrGroup_16x, and m_PtrGroup_17x.

Member Data Documentation

◆ BLOCK_TYPE_CODE

uint8_t ALLEGRO::BLK_0x30_STR_WRAPPER::BLOCK_TYPE_CODE = 0x30
staticconstexpr

Definition at line 2034 of file allegro_pcb_structs.h.

◆ m_CoordsX

int32_t ALLEGRO::BLK_0x30_STR_WRAPPER::m_CoordsX

Definition at line 2079 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPcbText().

◆ m_CoordsY

int32_t ALLEGRO::BLK_0x30_STR_WRAPPER::m_CoordsY

Definition at line 2080 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPcbText().

◆ m_Font

COND_GE<FMT_VER::V_172, TEXT_PROPERTIES> ALLEGRO::BLK_0x30_STR_WRAPPER::m_Font

Definition at line 2066 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPcbText().

◆ m_Font16x

COND_LT<FMT_VER::V_172, TEXT_PROPERTIES> ALLEGRO::BLK_0x30_STR_WRAPPER::m_Font16x

Definition at line 2075 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPcbText().

◆ m_Key

uint32_t ALLEGRO::BLK_0x30_STR_WRAPPER::m_Key

Definition at line 2061 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPcbText().

◆ m_Layer

LAYER_INFO ALLEGRO::BLK_0x30_STR_WRAPPER::m_Layer

Definition at line 2060 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPcbText().

◆ m_Next

uint32_t ALLEGRO::BLK_0x30_STR_WRAPPER::m_Next

Definition at line 2062 of file allegro_pcb_structs.h.

◆ m_Ptr1

COND_GE<FMT_VER::V_172, uint32_t> ALLEGRO::BLK_0x30_STR_WRAPPER::m_Ptr1

Definition at line 2067 of file allegro_pcb_structs.h.

◆ m_Ptr2

COND_GE<FMT_VER::V_172, uint32_t> ALLEGRO::BLK_0x30_STR_WRAPPER::m_Ptr2

Definition at line 2077 of file allegro_pcb_structs.h.

◆ m_PtrGroup_16x

COND_LT<FMT_VER::V_172, uint32_t> ALLEGRO::BLK_0x30_STR_WRAPPER::m_PtrGroup_16x

Definition at line 2085 of file allegro_pcb_structs.h.

Referenced by GetGroupPtr().

◆ m_PtrGroup_17x

COND_GE<FMT_VER::V_172, uint32_t> ALLEGRO::BLK_0x30_STR_WRAPPER::m_PtrGroup_17x

Definition at line 2072 of file allegro_pcb_structs.h.

Referenced by GetGroupPtr().

◆ m_Rotation

uint32_t ALLEGRO::BLK_0x30_STR_WRAPPER::m_Rotation

Millidegrees.

Definition at line 2083 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPcbText().

◆ m_StrGraphicPtr

uint32_t ALLEGRO::BLK_0x30_STR_WRAPPER::m_StrGraphicPtr

◆ m_Type

uint8_t ALLEGRO::BLK_0x30_STR_WRAPPER::m_Type

Definition at line 2059 of file allegro_pcb_structs.h.

◆ m_Unknown1

COND_GE<FMT_VER::V_172, uint32_t> ALLEGRO::BLK_0x30_STR_WRAPPER::m_Unknown1

Definition at line 2064 of file allegro_pcb_structs.h.

◆ m_Unknown2

COND_GE<FMT_VER::V_172, uint32_t> ALLEGRO::BLK_0x30_STR_WRAPPER::m_Unknown2

Definition at line 2065 of file allegro_pcb_structs.h.

◆ m_Unknown3

COND_GE<FMT_VER::V_174, uint32_t> ALLEGRO::BLK_0x30_STR_WRAPPER::m_Unknown3

Definition at line 2068 of file allegro_pcb_structs.h.

◆ m_Unknown4

COND_LT<FMT_VER::V_172, uint32_t> ALLEGRO::BLK_0x30_STR_WRAPPER::m_Unknown4

Definition at line 2073 of file allegro_pcb_structs.h.

◆ m_Unknown5

uint32_t ALLEGRO::BLK_0x30_STR_WRAPPER::m_Unknown5

Definition at line 2082 of file allegro_pcb_structs.h.


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