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

#include <cadstar_archive_parser.h>

Inheritance diagram for CADSTAR_ARCHIVE_PARSER::FONT:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

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

Public Attributes

wxString Name = wxT( "CADSTAR" )
 
long Modifier1 = FONT_NORMAL
 It seems this is related to weight. 400=Normal, 700=Bold.
 
long Modifier2 = 0
 It seems this is always 0 regardless of settings.
 
bool KerningPairs
 From CADSTAR Help: "Kerning Pairs is for causing the system to automatically reduce the spacing between certain pairs of characters in order to improve the appearance of the text".
 
bool Italic = false
 

Detailed Description

Definition at line 333 of file cadstar_archive_parser.h.

Member Function Documentation

◆ Parse()

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

Member Data Documentation

◆ Italic

bool CADSTAR_ARCHIVE_PARSER::FONT::Italic = false

◆ KerningPairs

bool CADSTAR_ARCHIVE_PARSER::FONT::KerningPairs
Initial value:
=
false

From CADSTAR Help: "Kerning Pairs is for causing the system to automatically reduce the spacing between certain pairs of characters in order to improve the appearance of the text".

Definition at line 338 of file cadstar_archive_parser.h.

◆ Modifier1

long CADSTAR_ARCHIVE_PARSER::FONT::Modifier1 = FONT_NORMAL

It seems this is related to weight. 400=Normal, 700=Bold.

Definition at line 336 of file cadstar_archive_parser.h.

Referenced by CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists().

◆ Modifier2

long CADSTAR_ARCHIVE_PARSER::FONT::Modifier2 = 0

It seems this is always 0 regardless of settings.

Definition at line 337 of file cadstar_archive_parser.h.

◆ Name

wxString CADSTAR_ARCHIVE_PARSER::FONT::Name = wxT( "CADSTAR" )

Definition at line 335 of file cadstar_archive_parser.h.


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