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.
|
private |
Definition at line 371 of file stroke_params.cpp.
References DSNLEXER::parseDouble().
Referenced by ParseStroke().
|
private |
Definition at line 360 of file stroke_params.cpp.
Referenced by ParseStroke().
void STROKE_PARAMS_PARSER::ParseStroke | ( | STROKE_PARAMS & | aStroke | ) |
Definition at line 303 of file stroke_params.cpp.
References color, KiROUND(), m_iuPerMM, parseDouble(), parseInt(), STROKE_PARAMS::SetColor(), STROKE_PARAMS::SetLineStyle(), and STROKE_PARAMS::SetWidth().
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().