KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CADSTAR_ARCHIVE_PARSER::TEXT Struct Reference

#include <cadstar_archive_parser.h>

Inheritance diagram for CADSTAR_ARCHIVE_PARSER::TEXT:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

void Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override
 
void Parse (XNODE *aNode, PARSER_CONTEXT *aContext, bool aParseFields)
 

Public Attributes

TEXT_ID ID
 
wxString Text
 
TEXTCODE_ID TextCodeID
 
LAYER_ID LayerID
 
POINT Position
 
long OrientAngle = 0
 
bool Mirror = false
 
bool Fixed = false
 
SWAP_RULE SwapRule = SWAP_RULE::BOTH
 
JUSTIFICATION Justification
 Note: Justification has no effect on single lines of text.
 
ALIGNMENT Alignment
 In CADSTAR The default alignment for a TEXT object (when "(No Alignment()" is selected) Bottom Left of the first line.
 
GROUP_ID GroupID = wxEmptyString
 If not empty, this FIGURE is part of a group.
 
REUSEBLOCKREF ReuseBlockRef
 

Detailed Description

Definition at line 916 of file cadstar_archive_parser.h.

Member Function Documentation

◆ Parse() [1/2]

void CADSTAR_ARCHIVE_PARSER::TEXT::Parse ( XNODE aNode,
PARSER_CONTEXT aContext 
)
overridevirtual

◆ Parse() [2/2]

Member Data Documentation

◆ Alignment

ALIGNMENT CADSTAR_ARCHIVE_PARSER::TEXT::Alignment
Initial value:
= ALIGNMENT::
NO_ALIGNMENT

In CADSTAR The default alignment for a TEXT object (when "(No Alignment()" is selected) Bottom Left of the first line.

Note that this is different from BOTTOM_LEFT (which is bottom left of the whole text block)

Definition at line 929 of file cadstar_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), CADSTAR_SCH_ARCHIVE_LOADER::getKiCadSchText(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef().

◆ Fixed

bool CADSTAR_ARCHIVE_PARSER::TEXT::Fixed = false

Definition at line 925 of file cadstar_archive_parser.h.

◆ GroupID

GROUP_ID CADSTAR_ARCHIVE_PARSER::TEXT::GroupID = wxEmptyString

If not empty, this FIGURE is part of a group.

Definition at line 934 of file cadstar_archive_parser.h.

◆ ID

◆ Justification

JUSTIFICATION CADSTAR_ARCHIVE_PARSER::TEXT::Justification
Initial value:

Note: Justification has no effect on single lines of text.

Definition at line 927 of file cadstar_archive_parser.h.

Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getKiCadSchText(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef().

◆ LayerID

◆ Mirror

◆ OrientAngle

◆ Position

◆ ReuseBlockRef

REUSEBLOCKREF CADSTAR_ARCHIVE_PARSER::TEXT::ReuseBlockRef

Definition at line 935 of file cadstar_archive_parser.h.

◆ SwapRule

SWAP_RULE CADSTAR_ARCHIVE_PARSER::TEXT::SwapRule = SWAP_RULE::BOTH

Definition at line 926 of file cadstar_archive_parser.h.

◆ Text

◆ TextCodeID


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