|
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 358 of file cadstar_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 307 of file cadstar_archive_parser.cpp.
References Font, XNODE::GetChildren(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), Height, ID, LineWidth, Name, WARN_UNKNOWN_NODE_IO_ERROR, and Width.
Referenced by CADSTAR_ARCHIVE_PARSER::CODEDEFS::ParseSubNode().
| FONT CADSTAR_ARCHIVE_PARSER::TEXTCODE::Font |
Definition at line 367 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), and Parse().
| long CADSTAR_ARCHIVE_PARSER::TEXTCODE::Height |
Definition at line 363 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 360 of file cadstar_archive_parser.h.
Referenced by Parse(), and CADSTAR_ARCHIVE_PARSER::CODEDEFS::ParseSubNode().
| long CADSTAR_ARCHIVE_PARSER::TEXTCODE::LineWidth |
Definition at line 362 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 361 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 364 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), CADSTAR_SCH_ARCHIVE_LOADER::applyTextCodeIfExists(), and Parse().