KiCad PCB EDA Suite
|
#include <stroke_params_parser.h>
Public Member Functions | |
STROKE_PARAMS_PARSER (LINE_READER *aReader, int iuPerMM) | |
void | ParseStroke (STROKE_PARAMS &aStroke) |
Private Member Functions | |
int | parseInt (const char *aText) |
double | parseDouble (const char *aText) |
Private Attributes | |
int | m_iuPerMM |
Definition at line 29 of file stroke_params_parser.h.
|
inline |
Definition at line 32 of file stroke_params_parser.h.
References m_iuPerMM.
|
private |
Definition at line 371 of file stroke_params.cpp.
References DSNLEXER::parseDouble(), and T.
Referenced by ParseStroke().
|
private |
void STROKE_PARAMS_PARSER::ParseStroke | ( | STROKE_PARAMS & | aStroke | ) |
Definition at line 303 of file stroke_params.cpp.
References color, DASH, DASHDOT, DASHDOTDOT, DEFAULT, DOT, KiROUND(), m_iuPerMM, parseDouble(), parseInt(), STROKE_PARAMS::SetColor(), STROKE_PARAMS::SetLineStyle(), STROKE_PARAMS::SetWidth(), SOLID, and T.
Referenced by PCB_IO_KICAD_SEXPR_PARSER::parsePCB_SHAPE(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_TABLE(), SCH_IO_KICAD_SEXPR_PARSER::parseStroke(), and PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent().
|
private |
Definition at line 44 of file stroke_params_parser.h.
Referenced by ParseStroke(), and STROKE_PARAMS_PARSER().