![]() |
KiCad PCB EDA Suite
|
Simple container to manage line stroke parameters. More...
#include <sch_item.h>
Public Member Functions | |
STROKE_PARAMS (int aWidth=Mils2iu(DEFAULT_LINE_WIDTH_MILS), PLOT_DASH_TYPE aPlotStyle=PLOT_DASH_TYPE::DEFAULT, const COLOR4D &aColor=COLOR4D::UNSPECIFIED) | |
int | GetWidth () const |
void | SetWidth (int aWidth) |
PLOT_DASH_TYPE | GetPlotStyle () const |
void | SetPlotStyle (PLOT_DASH_TYPE aPlotStyle) |
COLOR4D | GetColor () const |
void | SetColor (const COLOR4D &aColor) |
bool | operator!= (const STROKE_PARAMS &aOther) |
Private Attributes | |
int | m_width |
PLOT_DASH_TYPE | m_plotstyle |
COLOR4D | m_color |
Simple container to manage line stroke parameters.
Definition at line 140 of file sch_item.h.
|
inline |
Definition at line 143 of file sch_item.h.
|
inline |
Definition at line 158 of file sch_item.h.
References m_color.
Referenced by formatStroke(), SCH_LINE::GetLineColor(), SCH_BUS_ENTRY_BASE::GetStrokeColor(), SCH_LINE::IsStrokeEquivalent(), SCH_SEXPR_PARSER::parseSheet(), DIALOG_LINE_WIRE_BUS_PROPERTIES::TransferDataToWindow(), and SCH_LINE::UsesDefaultStroke().
|
inline |
Definition at line 155 of file sch_item.h.
References m_plotstyle.
Referenced by formatStroke(), SCH_LINE::GetEffectiveLineStyle(), SCH_LINE::GetLineStyle(), SCH_BUS_ENTRY_BASE::GetStrokeStyle(), SCH_LINE::IsStrokeEquivalent(), DIALOG_LINE_WIRE_BUS_PROPERTIES::TransferDataToWindow(), and SCH_LINE::UsesDefaultStroke().
|
inline |
Definition at line 152 of file sch_item.h.
References m_width.
Referenced by formatStroke(), SCH_LINE::GetBoundingBox(), SCH_LINE::GetLineSize(), SCH_BUS_WIRE_ENTRY::GetPenWidth(), SCH_LINE::GetPenWidth(), SCH_BUS_BUS_ENTRY::GetPenWidth(), SCH_LINE::IsStrokeEquivalent(), SCH_SEXPR_PARSER::parseArc(), SCH_SEXPR_PARSER::parseBezier(), SCH_SEXPR_PARSER::parseCircle(), SCH_SEXPR_PARSER::parsePolyLine(), SCH_SEXPR_PARSER::parseRectangle(), SCH_SEXPR_PARSER::parseSheet(), DIALOG_LINE_WIRE_BUS_PROPERTIES::TransferDataToWindow(), and SCH_LINE::UsesDefaultStroke().
|
inline |
|
inline |
Definition at line 159 of file sch_item.h.
References m_color.
Referenced by SCH_SEXPR_PARSER::parseStroke(), SCH_BUS_ENTRY_BASE::SCH_BUS_ENTRY_BASE(), SCH_LINE::SCH_LINE(), SCH_LINE::SetLineColor(), SCH_BUS_ENTRY_BASE::SetStrokeColor(), and DIALOG_LINE_WIRE_BUS_PROPERTIES::TransferDataFromWindow().
|
inline |
Definition at line 156 of file sch_item.h.
References m_plotstyle.
Referenced by PANEL_EESCHEMA_COLOR_SETTINGS::createPreviewItems(), SCH_SEXPR_PARSER::parseStroke(), SCH_BUS_ENTRY_BASE::SCH_BUS_ENTRY_BASE(), SCH_LINE::SCH_LINE(), SCH_LINE::SetLineStyle(), SCH_BUS_ENTRY_BASE::SetStrokeStyle(), and DIALOG_LINE_WIRE_BUS_PROPERTIES::TransferDataFromWindow().
|
inline |
Definition at line 153 of file sch_item.h.
References m_width.
Referenced by PANEL_EESCHEMA_COLOR_SETTINGS::createPreviewItems(), SCH_SEXPR_PARSER::parseStroke(), SCH_SEXPR_PLUGIN::saveSheet(), SCH_SEXPR_PLUGIN_CACHE::saveSymbolDrawItem(), SCH_BUS_ENTRY_BASE::SCH_BUS_ENTRY_BASE(), SCH_LINE::SCH_LINE(), SCH_LINE::SetLineWidth(), SCH_BUS_ENTRY_BASE::SetPenWidth(), and DIALOG_LINE_WIRE_BUS_PROPERTIES::TransferDataFromWindow().
|
private |
Definition at line 171 of file sch_item.h.
Referenced by GetColor(), operator!=(), and SetColor().
|
private |
Definition at line 170 of file sch_item.h.
Referenced by GetPlotStyle(), operator!=(), and SetPlotStyle().
|
private |
Definition at line 169 of file sch_item.h.
Referenced by GetWidth(), operator!=(), and SetWidth().