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 127 of file stroke_params.h.
|
inline |
Definition at line 130 of file stroke_params.h.
|
private |
Definition at line 319 of file stroke_params.cpp.
References DSNLEXER::parseDouble().
Referenced by ParseStroke().
|
private |
Definition at line 308 of file stroke_params.cpp.
Referenced by ParseStroke().
void STROKE_PARAMS_PARSER::ParseStroke | ( | STROKE_PARAMS & | aStroke | ) |
Definition at line 251 of file stroke_params.cpp.
References Clamp(), color, m_iuPerMM, parseDouble(), parseInt(), STROKE_PARAMS::SetColor(), STROKE_PARAMS::SetPlotStyle(), and STROKE_PARAMS::SetWidth().
Referenced by PCB_PARSER::parsePCB_SHAPE(), PCB_PARSER::parsePCB_TEXTBOX(), and SCH_SEXPR_PARSER::parseStroke().
|
private |
Definition at line 143 of file stroke_params.h.
Referenced by ParseStroke().