KiCad PCB EDA Suite
|
#include <cadstar_archive_parser.h>
Public Member Functions | |
void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override |
Public Attributes | |
TEXTCODE_ID | ID |
wxString | Name |
long | LineWidth |
long | Height |
long | Width |
Defaults to 0 if using system fonts or, if using CADSTAR font, default to equal height (1:1 aspect ratio). | |
FONT | Font |
Definition at line 349 of file cadstar_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 291 of file cadstar_archive_parser.cpp.
References Font, XNODE::GetChildren(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), Height, ID, LineWidth, Name, THROW_UNKNOWN_NODE_IO_ERROR, and Width.
Referenced by CADSTAR_ARCHIVE_PARSER::CODEDEFS::ParseSubNode().
FONT CADSTAR_ARCHIVE_PARSER::TEXTCODE::Font |
Definition at line 358 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), and Parse().
long CADSTAR_ARCHIVE_PARSER::TEXTCODE::Height |
Definition at line 354 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), CADSTAR_SCH_ARCHIVE_LOADER::getTextHeightFromTextCode(), and Parse().
TEXTCODE_ID CADSTAR_ARCHIVE_PARSER::TEXTCODE::ID |
Definition at line 351 of file cadstar_archive_parser.h.
Referenced by Parse(), and CADSTAR_ARCHIVE_PARSER::CODEDEFS::ParseSubNode().
long CADSTAR_ARCHIVE_PARSER::TEXTCODE::LineWidth |
Definition at line 353 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), and Parse().
wxString CADSTAR_ARCHIVE_PARSER::TEXTCODE::Name |
Definition at line 352 of file cadstar_archive_parser.h.
Referenced by Parse().
long CADSTAR_ARCHIVE_PARSER::TEXTCODE::Width |
Defaults to 0 if using system fonts or, if using CADSTAR font, default to equal height (1:1 aspect ratio).
Allows for system fonts to be rendered in a different aspect ratio.
Definition at line 355 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), and Parse().