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 348 of file cadstar_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 291 of file cadstar_archive_parser.cpp.
References XNODE::GetChildren(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), ID, and THROW_UNKNOWN_NODE_IO_ERROR.
Referenced by CADSTAR_ARCHIVE_PARSER::CODEDEFS::ParseSubNode().
FONT CADSTAR_ARCHIVE_PARSER::TEXTCODE::Font |
Definition at line 357 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists().
long CADSTAR_ARCHIVE_PARSER::TEXTCODE::Height |
Definition at line 353 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), and CADSTAR_SCH_ARCHIVE_LOADER::getTextHeightFromTextCode().
TEXTCODE_ID CADSTAR_ARCHIVE_PARSER::TEXTCODE::ID |
Definition at line 350 of file cadstar_archive_parser.h.
Referenced by CADSTAR_ARCHIVE_PARSER::CODEDEFS::ParseSubNode().
long CADSTAR_ARCHIVE_PARSER::TEXTCODE::LineWidth |
Definition at line 352 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), and CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists().
wxString CADSTAR_ARCHIVE_PARSER::TEXTCODE::Name |
Definition at line 351 of file cadstar_archive_parser.h.
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 354 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), and CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists().