KiCad PCB EDA Suite
|
#include <stroke_params.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 134 of file stroke_params.h.
|
inline |
Definition at line 137 of file stroke_params.h.
|
private |
Definition at line 310 of file stroke_params.cpp.
References DSNLEXER::parseDouble().
Referenced by ParseStroke().
|
private |
Definition at line 299 of file stroke_params.cpp.
Referenced by ParseStroke().
void STROKE_PARAMS_PARSER::ParseStroke | ( | STROKE_PARAMS & | aStroke | ) |
Definition at line 242 of file stroke_params.cpp.
References Clamp(), color, DASH, DASHDOT, DASHDOTDOT, DEFAULT, DOT, m_iuPerMM, parseDouble(), parseInt(), STROKE_PARAMS::SetColor(), STROKE_PARAMS::SetPlotStyle(), STROKE_PARAMS::SetWidth(), and SOLID.
Referenced by PCB_PARSER::parseFP_SHAPE(), PCB_PARSER::parseFP_TEXTBOX(), PCB_PARSER::parsePCB_SHAPE(), PCB_PARSER::parsePCB_TEXTBOX(), and SCH_SEXPR_PARSER::parseStroke().
|
private |
Definition at line 150 of file stroke_params.h.
Referenced by ParseStroke().