| 
    KiCad PCB EDA Suite
    
   | 
 
#include <sch_render_settings.h>
  
Public Member Functions | |
| SCH_RENDER_SETTINGS () | |
| void | LoadColors (const COLOR_SETTINGS *aSettings) override | 
| virtual COLOR4D | GetColor (const KIGFX::VIEW_ITEM *aItem, int aLayer) const override | 
| Returns the color that should be used to draw the specific VIEW_ITEM on the specific layer using currently used render settings.   | |
| bool | IsBackgroundDark () const override | 
| const KIGFX::COLOR4D & | GetBackgroundColor () const override | 
| Return current background color settings.   | |
| void | SetBackgroundColor (const COLOR4D &aColor) override | 
| Set the background color.   | |
| float | GetDanglingIndicatorThickness () const | 
| const COLOR4D & | GetGridColor () override | 
| Return current grid color settings.   | |
| const COLOR4D & | GetCursorColor () override | 
| Return current cursor color settings.   | |
| bool | GetShowPageLimits () const override | 
| VECTOR2I | TransformCoordinate (const VECTOR2I &aPoint) const | 
| void | SetLayerIsHighContrast (int aLayerId, bool aEnabled=true) | 
| Set the specified layer as high-contrast.   | |
| bool | GetLayerIsHighContrast (int aLayerId) const | 
| Return information whether the queried layer is marked as high-contrast.   | |
| const std::set< int > | GetHighContrastLayers () const | 
| Returns the set of currently high-contrast layers.   | |
| PCB_LAYER_ID | GetPrimaryHighContrastLayer () const | 
| Return the board layer which is in high-contrast mode.   | |
| PCB_LAYER_ID | GetActiveLayer () const | 
| void | SetActiveLayer (PCB_LAYER_ID aLayer) | 
| const wxString & | GetLayerName () const | 
| void | SetLayerName (const wxString &aLayerName) | 
| LSET | GetPrintLayers () const | 
| void | SetPrintLayers (const LSET &aLayerSet) | 
| void | ClearHighContrastLayers () | 
| Clear the list of active layers.   | |
| bool | IsHighlightEnabled () const | 
| Return current highlight setting.   | |
| const std::set< int > & | GetHighlightNetCodes () const | 
| Return the netcode of currently highlighted net.   | |
| void | SetHighlight (bool aEnabled, int aNetcode=-1, bool aMulti=false) | 
| Turns on/off highlighting.   | |
| void | SetHighlight (std::set< int > &aHighlight, bool aEnabled=true) | 
| Turns on highlighting and highlights multiple nets.   | |
| void | SetHighContrast (bool aEnabled) | 
| Turns on/off high contrast display mode.   | |
| bool | GetHighContrast () const | 
| void | SetDrawBoundingBoxes (bool aEnabled) | 
| bool | GetDrawBoundingBoxes () const | 
| float | GetDrawingSheetLineWidth () const | 
| int | GetDefaultPenWidth () const | 
| void | SetDefaultPenWidth (int aWidth) | 
| int | GetMinPenWidth () const | 
| void | SetMinPenWidth (int aWidth) | 
| double | GetDashLengthRatio () const | 
| void | SetDashLengthRatio (double aRatio) | 
| double | GetDashLength (int aLineWidth) const | 
| double | GetDotLength (int aLineWidth) const | 
| double | GetGapLengthRatio () const | 
| void | SetGapLengthRatio (double aRatio) | 
| double | GetGapLength (int aLineWidth) const | 
| bool | IsPrinting () const | 
| void | SetIsPrinting (bool isPrinting) | 
| bool | IsPrintBlackAndWhite () const | 
| void | SetPrintBlackAndWhite (bool aPrintBlackAndWhite) | 
| bool | PrintBlackAndWhiteReq () const | 
| const COLOR4D & | GetLayerColor (int aLayer) const | 
| Return the color used to draw a layer.   | |
| void | SetLayerColor (int aLayer, const COLOR4D &aColor) | 
| Change the color used to draw a layer.   | |
| void | SetOutlineWidth (float aWidth) | 
| Set line width used for drawing outlines.   | |
| float | GetOutlineWidth () const | 
| void | SetHighlightFactor (float aFactor) | 
| void | SetSelectFactor (float aFactor) | 
| void | SetDefaultFont (const wxString &aFont) | 
| const wxString & | GetDefaultFont () const | 
| wxDC * | GetPrintDC () const | 
| void | SetPrintDC (wxDC *aDC) | 
Public Attributes | |
| bool | m_IsSymbolEditor | 
| int | m_ShowUnit | 
| int | m_ShowBodyStyle | 
| bool | m_ShowPinsElectricalType | 
| bool | m_ShowHiddenPins | 
| bool | m_ShowHiddenFields | 
| bool | m_ShowVisibleFields | 
| bool | m_ShowPinNumbers | 
| bool | m_ShowPinNames | 
| bool | m_ShowPinAltIcons | 
| bool | m_ShowDisabled | 
| bool | m_ShowGraphicsDisabled | 
| bool | m_ShowConnectionPoints | 
| bool | m_OverrideItemColors | 
| double | m_LabelSizeRatio | 
| double | m_TextOffsetRatio | 
| int | m_PinSymbolSize | 
| int | m_SymbolLineWidth | 
| Override line widths for symbol drawing objects set to default line width.   | |
| TRANSFORM | m_Transform | 
Protected Member Functions | |
| virtual void | update () | 
| Precalculates extra colors for layers (e.g.   | |
Protected Attributes | |
| PCB_LAYER_ID | m_activeLayer | 
| wxString | m_layerName | 
| std::set< int > | m_highContrastLayers | 
| std::map< int, COLOR4D > | m_layerColors | 
| std::map< int, COLOR4D > | m_layerColorsHi | 
| std::map< int, COLOR4D > | m_layerColorsSel | 
| std::map< int, COLOR4D > | m_hiContrastColor | 
| std::map< int, COLOR4D > | m_layerColorsDark | 
| COLOR4D | m_backgroundColor | 
| bool | m_hiContrastEnabled | 
| Parameters for display modes.   | |
| float | m_hiContrastFactor | 
| bool | m_highlightEnabled | 
| std::set< int > | m_highlightNetcodes | 
| float | m_highlightFactor | 
| bool | m_drawBoundingBoxes | 
| float | m_selectFactor | 
| float | m_outlineWidth | 
| float | m_drawingSheetLineWidth | 
| int | m_defaultPenWidth | 
| int | m_minPenWidth | 
| double | m_dashLengthRatio | 
| double | m_gapLengthRatio | 
| wxString | m_defaultFont | 
| bool | m_isPrinting | 
| bool | m_printBlackAndWite | 
| LSET | m_printLayers | 
| wxDC * | m_printDC | 
Definition at line 35 of file sch_render_settings.h.
| SCH_RENDER_SETTINGS::SCH_RENDER_SETTINGS | ( | ) | 
Definition at line 33 of file sch_render_settings.cpp.
References DEFAULT_LABEL_SIZE_RATIO, DEFAULT_LINE_WIDTH_MILS, DEFAULT_TEXT_OFFSET_RATIO, DEFAULT_TEXT_SIZE, ADVANCED_CFG::GetCfg(), IU_PER_MILS, KiROUND(), m_IsSymbolEditor, m_LabelSizeRatio, KIGFX::RENDER_SETTINGS::m_minPenWidth, m_OverrideItemColors, m_PinSymbolSize, m_ShowBodyStyle, m_ShowConnectionPoints, m_ShowDisabled, m_ShowGraphicsDisabled, m_ShowHiddenFields, m_ShowHiddenPins, m_ShowPinAltIcons, m_ShowPinNames, m_ShowPinNumbers, m_ShowPinsElectricalType, m_ShowUnit, m_ShowVisibleFields, m_SymbolLineWidth, m_TextOffsetRatio, m_Transform, schIUScale, KIGFX::RENDER_SETTINGS::SetDashLengthRatio(), KIGFX::RENDER_SETTINGS::SetDefaultPenWidth(), and KIGFX::RENDER_SETTINGS::SetGapLengthRatio().
      
  | 
  inlineinherited | 
Clear the list of active layers.
Definition at line 125 of file render_settings.h.
References m_highContrastLayers.
Referenced by EDA_DRAW_PANEL_GAL::SetHighContrastLayer(), GERBVIEW_DRAW_PANEL_GAL::SetHighContrastLayer(), and PCB_DRAW_PANEL_GAL::SetHighContrastLayer().
      
  | 
  inlineinherited | 
Definition at line 113 of file render_settings.h.
References m_activeLayer.
Referenced by KIGFX::PCB_RENDER_SETTINGS::GetColor().
      
  | 
  inlineoverridevirtual | 
Return current background color settings.
Implements KIGFX::RENDER_SETTINGS.
Definition at line 54 of file sch_render_settings.h.
References COLOR4D::BLACK, LAYER_SCHEMATIC_BACKGROUND, and KIGFX::RENDER_SETTINGS::m_layerColors.
Referenced by LIB_SYMBOL::Plot(), SCH_FIELD::Plot(), SCH_RULE_AREA::Plot(), SCH_SHAPE::Plot(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), LIB_SYMBOL::PlotFields(), SCH_PIN::PlotPinType(), and SCH_PRINTOUT::PrintPage().
      
  | 
  inlineoverridevirtual | 
Returns the color that should be used to draw the specific VIEW_ITEM on the specific layer using currently used render settings.
| aItem | is the VIEW_ITEM. | 
| aLayer | is the layer. | 
Implements KIGFX::RENDER_SETTINGS.
Definition at line 42 of file sch_render_settings.h.
References KIGFX::RENDER_SETTINGS::m_layerColors, and COLOR4D::WHITE.
      
  | 
  inlineoverridevirtual | 
Return current cursor color settings.
Implements KIGFX::RENDER_SETTINGS.
Definition at line 71 of file sch_render_settings.h.
References LAYER_SCHEMATIC_CURSOR, and KIGFX::RENDER_SETTINGS::m_layerColors.
      
  | 
  inline | 
Definition at line 65 of file sch_render_settings.h.
References KIGFX::RENDER_SETTINGS::m_defaultPenWidth.
      
  | 
  inherited | 
Definition at line 67 of file render_settings.cpp.
References correction, and m_dashLengthRatio.
Referenced by STROKE_PARAMS::Stroke().
      
  | 
  inlineinherited | 
Definition at line 216 of file render_settings.h.
References m_dashLengthRatio.
      
  | 
  inlineinherited | 
Definition at line 305 of file render_settings.h.
References m_defaultFont.
Referenced by SCH_ITEM::GetDefaultFont(), EDA_TEXT::GetDrawFont(), SCH_PIN::PlotPinTexts(), and DS_PROXY_VIEW_ITEM::ViewDraw().
      
  | 
  inlineinherited | 
Definition at line 210 of file render_settings.h.
References m_defaultPenWidth.
Referenced by SCH_ITEM::GetEffectivePenWidth(), SCH_BITMAP::Plot(), SCH_BUS_ENTRY_BASE::Plot(), SCH_FIELD::Plot(), SCH_LABEL_BASE::Plot(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), PlotDrawingSheet(), SCH_PIN::PlotPinTexts(), PrintDrawingSheet(), EDA_TEXT::printOneLineOfText(), DS_DRAW_ITEM_LINE::PrintWsItem(), DS_DRAW_ITEM_POLYPOLYGONS::PrintWsItem(), and DS_DRAW_ITEM_RECT::PrintWsItem().
      
  | 
  inherited | 
Definition at line 73 of file render_settings.cpp.
References correction.
Referenced by STROKE_PARAMS::Stroke().
      
  | 
  inlineinherited | 
Definition at line 196 of file render_settings.h.
References m_drawBoundingBoxes.
Referenced by EDITOR_CONDITIONS::bboxesFunc(), and COMMON_TOOLS::ToggleBoundingBoxes().
      
  | 
  inlineinherited | 
Definition at line 208 of file render_settings.h.
References m_drawingSheetLineWidth.
Referenced by DS_PROXY_VIEW_ITEM::buildDrawList().
      
  | 
  inherited | 
Definition at line 81 of file render_settings.cpp.
References correction, and m_gapLengthRatio.
Referenced by STROKE_PARAMS::Stroke().
      
  | 
  inlineinherited | 
Definition at line 221 of file render_settings.h.
References m_gapLengthRatio.
      
  | 
  inlineoverridevirtual | 
Return current grid color settings.
Implements KIGFX::RENDER_SETTINGS.
Definition at line 70 of file sch_render_settings.h.
References LAYER_SCHEMATIC_GRID, and KIGFX::RENDER_SETTINGS::m_layerColors.
      
  | 
  inlineinherited | 
Definition at line 193 of file render_settings.h.
References m_hiContrastEnabled.
Referenced by PCB_GRID_HELPER::computeAnchors(), PAD_TOOL::EnumeratePads(), PCB_SELECTION_TOOL::FilterCollectorForFootprints(), PCB_SELECTION_TOOL::GuessSelectionCandidates(), BOARD_INSPECTION_TOOL::highlightNet(), PNS_KICAD_IFACE::IsItemVisible(), PCB_GRID_HELPER::queryVisible(), PCB_SELECTION_TOOL::Selectable(), PAD::ViewGetLOD(), PCB_REFERENCE_IMAGE::ViewGetLOD(), PCB_SHAPE::ViewGetLOD(), PCB_TEXT::ViewGetLOD(), PCB_TEXTBOX::ViewGetLOD(), PCB_TRACK::ViewGetLOD(), and PCB_VIA::ViewGetLOD().
      
  | 
  inlineinherited | 
Returns the set of currently high-contrast layers.
Definition at line 91 of file render_settings.h.
References m_highContrastLayers.
Referenced by PCB_GRID_HELPER::computeAnchors(), PAD_TOOL::EnumeratePads(), PCB_SELECTION_TOOL::FilterCollectorForFootprints(), PCB_GRID_HELPER::queryVisible(), and PCB_SELECTION_TOOL::Selectable().
      
  | 
  inlineinherited | 
Return the netcode of currently highlighted net.
Definition at line 145 of file render_settings.h.
References m_highlightNetcodes.
Referenced by PNS_KICAD_IFACE::DisplayRatline(), BOARD_INSPECTION_TOOL::highlightNet(), PNS::TOOL_BASE::highlightNets(), DRAWING_TOOL::Init(), PCB_SELECTION_TOOL::Init(), ROUTER_TOOL::Init(), PCB_NET_INSPECTOR_PANEL::OnNetsListContextMenu(), and PCB_EDIT_FRAME::setupUIConditions().
      
  | 
  inlineinherited | 
Return the color used to draw a layer.
| aLayer | is the layer number. | 
Definition at line 266 of file render_settings.h.
References KIGFX::COLOR4D::BLACK, LAYER_GLOBLABEL, LAYER_INTERSHEET_REFS, and m_layerColors.
Referenced by SCH_EDIT_FRAME::DrawCurrentSheetToClipboard(), BOARD_PRINTOUT::DrawPage(), KIGFX::PREVIEW::ANGLE_ITEM::drawPreviewShape(), KIGFX::PREVIEW::POLYGON_ITEM::drawPreviewShape(), KIGFX::PREVIEW::DrawTextNextToCursor(), FOOTPRINT_PREVIEW_PANEL::GetForegroundColor(), RULE_AREA_CREATE_HELPER::OnFirstPoint(), PCB_GRID_HELPER::PCB_GRID_HELPER(), LIB_SYMBOL::Plot(), SCH_BITMAP::Plot(), SCH_BUS_ENTRY_BASE::Plot(), SCH_FIELD::Plot(), SCH_JUNCTION::Plot(), SCH_LABEL_BASE::Plot(), SCH_LINE::Plot(), SCH_NO_CONNECT::Plot(), SCH_RULE_AREA::Plot(), SCH_SHAPE::Plot(), SCH_SHEET::Plot(), SCH_TABLE::Plot(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), SCH_SYMBOL::PlotDNP(), LIB_SYMBOL::PlotFields(), SCH_PLOTTER::plotOneSheetDXF(), SCH_PLOTTER::plotOneSheetPDF(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), SCH_PIN::PlotPinTexts(), SCH_PIN::PlotPinType(), SCH_PRINTOUT::PrintPage(), DS_DRAW_ITEM_LINE::PrintWsItem(), DS_DRAW_ITEM_POLYPOLYGONS::PrintWsItem(), DS_DRAW_ITEM_RECT::PrintWsItem(), DS_DRAW_ITEM_TEXT::PrintWsItem(), setupPlotterNewPDFPage(), StartPlotBoard(), DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample(), DS_PROXY_VIEW_ITEM::ViewDraw(), EDIT_POINTS::ViewDraw(), KIGFX::ANCHOR_DEBUG::ViewDraw(), and KIGFX::PREVIEW::RULER_ITEM::ViewDraw().
      
  | 
  inlineinherited | 
Return information whether the queried layer is marked as high-contrast.
Definition at line 83 of file render_settings.h.
References m_highContrastLayers.
Referenced by PCB_REFERENCE_IMAGE::ViewGetLOD().
      
  | 
  inlineinherited | 
Definition at line 116 of file render_settings.h.
References m_layerName.
Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), and PlotDrawingSheet().
      
  | 
  inlineinherited | 
Definition at line 213 of file render_settings.h.
References m_minPenWidth.
Referenced by SCH_ITEM::GetEffectivePenWidth(), SCH_BUS_ENTRY_BASE::Plot(), SCH_FIELD::Plot(), SCH_LABEL_BASE::Plot(), SCH_TABLE::Plot(), SCH_TEXT::Plot(), and SCH_TEXTBOX::Plot().
      
  | 
  inlineinherited | 
Definition at line 299 of file render_settings.h.
References m_outlineWidth.
      
  | 
  inlineinherited | 
Return the board layer which is in high-contrast mode.
There should only be one board layer which is high-contrast at any given time, although there might be many high-contrast synthetic (GAL) layers.
Definition at line 102 of file render_settings.h.
References m_highContrastLayers, PCB_LAYER_ID_COUNT, PCBNEW_LAYER_ID_START, and UNDEFINED_LAYER.
Referenced by PCB_GRID_HELPER::computeAnchors(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), BOARD_INSPECTION_TOOL::highlightNet(), PNS_KICAD_IFACE::IsItemVisible(), PAD::ViewGetLOD(), PCB_SHAPE::ViewGetLOD(), PCB_TEXT::ViewGetLOD(), PCB_TEXTBOX::ViewGetLOD(), PCB_TRACK::ViewGetLOD(), and PCB_VIA::ViewGetLOD().
      
  | 
  inlineinherited | 
Definition at line 308 of file render_settings.h.
References m_printDC.
Referenced by SCH_EDIT_FRAME::DrawCurrentSheetToClipboard(), EDA_DRAW_FRAME::PrintDrawingSheet(), EDA_TEXT::printOneLineOfText(), DS_DRAW_ITEM_BITMAP::PrintWsItem(), DS_DRAW_ITEM_LINE::PrintWsItem(), DS_DRAW_ITEM_POLYPOLYGONS::PrintWsItem(), and DS_DRAW_ITEM_RECT::PrintWsItem().
      
  | 
  inlineinherited | 
Definition at line 119 of file render_settings.h.
References m_printLayers.
      
  | 
  overridevirtual | 
Reimplemented from KIGFX::RENDER_SETTINGS.
Definition at line 78 of file sch_render_settings.cpp.
References KIGFX::RENDER_SETTINGS::IsPrinting(), Kiface(), KIFACE_BASE::KifaceSettings(), EESCHEMA_SETTINGS::m_Appearance, and EESCHEMA_SETTINGS::APPEARANCE::show_page_limits.
      
  | 
  inlineoverridevirtual | 
Reimplemented from KIGFX::RENDER_SETTINGS.
Definition at line 48 of file sch_render_settings.h.
References LAYER_SCHEMATIC_BACKGROUND, and KIGFX::RENDER_SETTINGS::m_layerColors.
      
  | 
  inlineinherited | 
Return current highlight setting.
Definition at line 135 of file render_settings.h.
References m_highlightEnabled.
Referenced by PCB_EDIT_FRAME::ExecuteRemoteCommand(), BOARD_INSPECTION_TOOL::highlightNet(), and PNS::TOOL_BASE::highlightNets().
      
  | 
  inlineinherited | 
Definition at line 230 of file render_settings.h.
References m_printBlackAndWite.
      
  | 
  inlineinherited | 
Definition at line 227 of file render_settings.h.
References m_isPrinting.
Referenced by SCH_RENDER_SETTINGS::GetShowPageLimits(), and KIGFX::VIEW_ITEM::lodScaleForThreshold().
      
  | 
  overridevirtual | 
Reimplemented from KIGFX::RENDER_SETTINGS.
Definition at line 62 of file sch_render_settings.cpp.
References GAL_LAYER_ID_END, GAL_LAYER_ID_START, COLOR_SETTINGS::GetColor(), COLOR_SETTINGS::GetOverrideSchItemColors(), LAYER_AUX_ITEMS, LAYER_SCHEMATIC_AUX_ITEMS, LAYER_SCHEMATIC_BACKGROUND, KIGFX::RENDER_SETTINGS::m_backgroundColor, KIGFX::RENDER_SETTINGS::m_layerColors, m_OverrideItemColors, SCH_LAYER_ID_END, and SCH_LAYER_ID_START.
Referenced by EESCHEMA_JOBS_HANDLER::InitRenderSettings(), EESCHEMA_JOBS_HANDLER::JobSymExportSvg(), RULE_AREA_CREATE_HELPER::OnFirstPoint(), SCH_PRINTOUT::PrintPage(), SCH_DESIGN_BLOCK_PREVIEW_WIDGET::SCH_DESIGN_BLOCK_PREVIEW_WIDGET(), SCH_PREVIEW_PANEL::SCH_PREVIEW_PANEL(), SYMBOL_EDIT_FRAME::SVGPlotSymbol(), DIALOG_PRINT::TransferDataFromWindow(), and PANEL_EESCHEMA_COLOR_SETTINGS::updatePreview().
      
  | 
  inlineinherited | 
Definition at line 236 of file render_settings.h.
References m_isPrinting, and m_printBlackAndWite.
      
  | 
  inlineinherited | 
Definition at line 114 of file render_settings.h.
References m_activeLayer.
Referenced by PCB_DRAW_PANEL_GAL::SetHighContrastLayer().
      
  | 
  inlineoverridevirtual | 
Set the background color.
Implements KIGFX::RENDER_SETTINGS.
Definition at line 60 of file sch_render_settings.h.
References LAYER_SCHEMATIC_BACKGROUND, and KIGFX::RENDER_SETTINGS::m_layerColors.
Referenced by SCH_PRINTOUT::PrintPage().
      
  | 
  inlineinherited | 
Definition at line 217 of file render_settings.h.
References m_dashLengthRatio.
Referenced by BOARD_ADAPTER::addShape(), EXPORTER_STEP::buildGraphic3DShape(), EESCHEMA_JOBS_HANDLER::InitRenderSettings(), SCH_EDIT_FRAME::LoadProjectSettings(), KIGFX::PCB_RENDER_SETTINGS::PCB_RENDER_SETTINGS(), SCH_RENDER_SETTINGS::SCH_RENDER_SETTINGS(), PCB_BASE_FRAME::SetBoard(), and SCH_EDIT_FRAME::ShowSchematicSetupDialog().
      
  | 
  inlineinherited | 
Definition at line 304 of file render_settings.h.
References m_defaultFont.
Referenced by SCH_EDIT_FRAME::CommonSettingsChanged(), SCH_EDIT_FRAME::DrawCurrentSheetToClipboard(), DIALOG_PLOT_SCHEMATIC::getPlotOptions(), PCB_BASE_FRAME::LoadSettings(), SCH_EDIT_FRAME::LoadSettings(), SYMBOL_EDIT_FRAME::LoadSettings(), and SCH_PRINTOUT::PrintPage().
      
  | 
  inlineinherited | 
Definition at line 211 of file render_settings.h.
References m_defaultPenWidth.
Referenced by GENDRILL_WRITER_BASE::genDrillMapFile(), EESCHEMA_JOBS_HANDLER::InitRenderSettings(), EESCHEMA_JOBS_HANDLER::JobSymExportSvg(), SCH_EDIT_FRAME::LoadProjectSettings(), SCH_PLOTTER::plotOneSheetDXF(), PLEDITOR_PRINTOUT::PrintPage(), SCH_RENDER_SETTINGS::SCH_RENDER_SETTINGS(), SCH_EDIT_FRAME::ShowSchematicSetupDialog(), StartPlotBoard(), SYMBOL_EDIT_FRAME::SVGPlotSymbol(), and DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample().
      
  | 
  inlineinherited | 
Definition at line 195 of file render_settings.h.
References m_drawBoundingBoxes.
Referenced by COMMON_TOOLS::ToggleBoundingBoxes().
      
  | 
  inlineinherited | 
Definition at line 222 of file render_settings.h.
References m_gapLengthRatio.
Referenced by BOARD_ADAPTER::addShape(), EXPORTER_STEP::buildGraphic3DShape(), EESCHEMA_JOBS_HANDLER::InitRenderSettings(), SCH_EDIT_FRAME::LoadProjectSettings(), KIGFX::PCB_RENDER_SETTINGS::PCB_RENDER_SETTINGS(), SCH_RENDER_SETTINGS::SCH_RENDER_SETTINGS(), PCB_BASE_FRAME::SetBoard(), and SCH_EDIT_FRAME::ShowSchematicSetupDialog().
      
  | 
  inlineinherited | 
Turns on/off high contrast display mode.
Definition at line 192 of file render_settings.h.
References m_hiContrastEnabled.
Referenced by GERBVIEW_FRAME::ApplyDisplaySettingsToGAL().
      
  | 
  inlineinherited | 
Turns on/off highlighting.
It may be done for the active layer or the specified net(s)..
| aEnabled | tells if highlighting should be enabled. | 
| aNetcode | is optional and if specified, turns on highlighting only for the net with number given as the parameter. | 
Definition at line 159 of file render_settings.h.
References m_highlightEnabled, and m_highlightNetcodes.
Referenced by BOARD_INSPECTION_TOOL::ClearHighlight(), PCB_EDIT_FRAME::ExecuteRemoteCommand(), BOARD_INSPECTION_TOOL::highlightNet(), PNS::TOOL_BASE::highlightNets(), PCB_NET_INSPECTOR_PANEL::highlightSelectedNets(), FOOTPRINT_PREVIEW_PANEL::New(), APPEARANCE_CONTROLS::onNetclassContextMenu(), GERBVIEW_SELECTION_TOOL::Reset(), PCB_SELECTION_TOOL::Reset(), SCH_SELECTION_TOOL::Reset(), NETS_SEARCH_HANDLER::SelectItems(), and RATSNEST_SEARCH_HANDLER::SelectItems().
      
  | 
  inlineinherited | 
Turns on highlighting and highlights multiple nets.
| aHighlight | is a set of netcodes to highlight | 
| aEnabled | tells if highlighting should be enabled. | 
Definition at line 179 of file render_settings.h.
References m_highlightEnabled, and m_highlightNetcodes.
      
  | 
  inlineinherited | 
Definition at line 301 of file render_settings.h.
References m_highlightFactor.
Referenced by PCB_BASE_FRAME::LoadSettings().
      
  | 
  inlineinherited | 
Definition at line 228 of file render_settings.h.
References m_isPrinting.
Referenced by BOARD_PRINTOUT::DrawPage(), and SCH_PRINTOUT::PrintPage().
      
  | 
  inlineinherited | 
Change the color used to draw a layer.
| aLayer | is the layer number. | 
| aColor | is the new color. | 
Definition at line 281 of file render_settings.h.
References m_layerColors, and update().
Referenced by SCH_EDIT_FRAME::DrawCurrentSheetToClipboard(), BOARD_PRINTOUT::DrawPage(), PLEDITOR_PRINTOUT::PrintPage(), SCH_PRINTOUT::PrintPage(), DIALOG_PAD_PROPERTIES::redraw(), PCBNEW_PRINTOUT::setupPainter(), PCBNEW_PRINTOUT::setupViewLayers(), and DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample().
      
  | 
  inlineinherited | 
Set the specified layer as high-contrast.
| aLayerId | is a layer number that should be displayed in a specific mode. | 
| aEnabled | is the new layer state ( true = active or false = not active). | 
Definition at line 70 of file render_settings.h.
References m_highContrastLayers.
Referenced by EDA_DRAW_PANEL_GAL::SetHighContrastLayer(), GERBVIEW_DRAW_PANEL_GAL::SetHighContrastLayer(), and PCB_DRAW_PANEL_GAL::SetHighContrastLayer().
      
  | 
  inlineinherited | 
Definition at line 117 of file render_settings.h.
References m_layerName.
Referenced by BOARD_PRINTOUT::DrawPage(), setupPlotterNewPDFPage(), and StartPlotBoard().
      
  | 
  inlineinherited | 
Definition at line 214 of file render_settings.h.
References m_minPenWidth.
Referenced by DIALOG_PLOT_SCHEMATIC::getPlotOptions().
      
  | 
  inlineinherited | 
Set line width used for drawing outlines.
| aWidth | is the new width. | 
Definition at line 298 of file render_settings.h.
References m_outlineWidth.
      
  | 
  inlineinherited | 
Definition at line 231 of file render_settings.h.
References m_printBlackAndWite.
Referenced by SCH_PRINTOUT::PrintPage().
      
  | 
  inlineinherited | 
Definition at line 309 of file render_settings.h.
References m_printDC.
Referenced by SCH_EDIT_FRAME::DrawCurrentSheetToClipboard(), PLEDITOR_PRINTOUT::PrintPage(), and DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample().
      
  | 
  inlineinherited | 
Definition at line 120 of file render_settings.h.
References m_printLayers.
Referenced by BOARD_PRINTOUT::DrawPage().
      
  | 
  inlineinherited | 
Definition at line 302 of file render_settings.h.
References m_selectFactor.
Referenced by PCB_BASE_FRAME::LoadSettings().
Definition at line 75 of file sch_render_settings.h.
References m_Transform.
Referenced by SCH_PIN::Plot(), SCH_SHAPE::Plot(), SCH_TEXT::Plot(), and SCH_TEXTBOX::Plot().
      
  | 
  protectedvirtualinherited | 
Precalculates extra colors for layers (e.g.
highlighted, darkened and any needed version of base colors).
Definition at line 87 of file render_settings.cpp.
References IsNetnameLayer(), LAYER_ID_COUNT, LAYER_PCB_BACKGROUND, m_hiContrastColor, m_hiContrastFactor, m_highlightFactor, m_layerColors, m_layerColorsDark, m_layerColorsHi, m_layerColorsSel, and m_selectFactor.
Referenced by KIGFX::DS_RENDER_SETTINGS::DS_RENDER_SETTINGS(), KIGFX::GERBVIEW_RENDER_SETTINGS::GERBVIEW_RENDER_SETTINGS(), KIGFX::GERBVIEW_RENDER_SETTINGS::LoadColors(), KIGFX::PCB_RENDER_SETTINGS::LoadColors(), KIGFX::PCB_RENDER_SETTINGS::PCB_RENDER_SETTINGS(), KIGFX::GERBVIEW_RENDER_SETTINGS::SetLayerColor(), and SetLayerColor().
      
  | 
  protectedinherited | 
Definition at line 318 of file render_settings.h.
Referenced by GetActiveLayer(), RENDER_SETTINGS(), and SetActiveLayer().
      
  | 
  protectedinherited | 
Definition at line 328 of file render_settings.h.
Referenced by KIGFX::DS_RENDER_SETTINGS::DS_RENDER_SETTINGS(), KIGFX::GERBVIEW_RENDER_SETTINGS::GERBVIEW_RENDER_SETTINGS(), KIGFX::DS_RENDER_SETTINGS::GetBackgroundColor(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), KIGFX::DS_RENDER_SETTINGS::IsBackgroundDark(), KIGFX::DS_RENDER_SETTINGS::LoadColors(), SCH_RENDER_SETTINGS::LoadColors(), KIGFX::PCB_RENDER_SETTINGS::PCB_RENDER_SETTINGS(), and KIGFX::DS_RENDER_SETTINGS::SetBackgroundColor().
      
  | 
  protectedinherited | 
Definition at line 347 of file render_settings.h.
Referenced by GetDashLength(), GetDashLengthRatio(), RENDER_SETTINGS(), and SetDashLengthRatio().
      
  | 
  protectedinherited | 
Definition at line 350 of file render_settings.h.
Referenced by GetDefaultFont(), and SetDefaultFont().
      
  | 
  protectedinherited | 
Definition at line 344 of file render_settings.h.
Referenced by SCH_RENDER_SETTINGS::GetDanglingIndicatorThickness(), GetDefaultPenWidth(), RENDER_SETTINGS(), and SetDefaultPenWidth().
      
  | 
  protectedinherited | 
Definition at line 338 of file render_settings.h.
Referenced by GetDrawBoundingBoxes(), RENDER_SETTINGS(), and SetDrawBoundingBoxes().
      
  | 
  protectedinherited | 
Definition at line 342 of file render_settings.h.
Referenced by GetDrawingSheetLineWidth(), and RENDER_SETTINGS().
      
  | 
  protectedinherited | 
Definition at line 348 of file render_settings.h.
Referenced by GetGapLength(), GetGapLengthRatio(), RENDER_SETTINGS(), and SetGapLengthRatio().
      
  | 
  protectedinherited | 
Definition at line 325 of file render_settings.h.
Referenced by KIGFX::GERBVIEW_RENDER_SETTINGS::GetColor(), and update().
      
  | 
  protectedinherited | 
Parameters for display modes.
Definition at line 331 of file render_settings.h.
Referenced by KIGFX::GERBVIEW_RENDER_SETTINGS::GetColor(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), GetHighContrast(), KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), RENDER_SETTINGS(), and SetHighContrast().
      
  | 
  protectedinherited | 
Definition at line 332 of file render_settings.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::GetColor(), KIGFX::PCB_RENDER_SETTINGS::LoadColors(), RENDER_SETTINGS(), and update().
      
  | 
  protectedinherited | 
Definition at line 320 of file render_settings.h.
Referenced by ClearHighContrastLayers(), KIGFX::GERBVIEW_RENDER_SETTINGS::GetColor(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), GetHighContrastLayers(), GetLayerIsHighContrast(), GetPrimaryHighContrastLayer(), and SetLayerIsHighContrast().
      
  | 
  protectedinherited | 
Definition at line 334 of file render_settings.h.
Referenced by KIGFX::GERBVIEW_RENDER_SETTINGS::GetColor(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), IsHighlightEnabled(), RENDER_SETTINGS(), SetHighlight(), and SetHighlight().
      
  | 
  protectedinherited | 
Definition at line 336 of file render_settings.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::GetColor(), RENDER_SETTINGS(), SetHighlightFactor(), and update().
      
  | 
  protectedinherited | 
Definition at line 335 of file render_settings.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::GetColor(), GetHighlightNetCodes(), RENDER_SETTINGS(), SetHighlight(), and SetHighlight().
      
  | 
  protectedinherited | 
Definition at line 352 of file render_settings.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::GetColor(), IsPrinting(), PrintBlackAndWhiteReq(), RENDER_SETTINGS(), and SetIsPrinting().
| bool SCH_RENDER_SETTINGS::m_IsSymbolEditor | 
Definition at line 81 of file sch_render_settings.h.
Referenced by PANEL_EESCHEMA_COLOR_SETTINGS::createSwatches(), and SCH_RENDER_SETTINGS().
| double SCH_RENDER_SETTINGS::m_LabelSizeRatio | 
Definition at line 99 of file sch_render_settings.h.
Referenced by EESCHEMA_JOBS_HANDLER::InitRenderSettings(), SCH_EDIT_FRAME::LoadProjectSettings(), SCH_RENDER_SETTINGS(), and SCH_EDIT_FRAME::ShowSchematicSetupDialog().
      
  | 
  protectedinherited | 
Definition at line 322 of file render_settings.h.
Referenced by KIGFX::GERBVIEW_RENDER_SETTINGS::GetBackgroundColor(), KIGFX::PCB_RENDER_SETTINGS::GetBackgroundColor(), SCH_RENDER_SETTINGS::GetBackgroundColor(), KIGFX::GERBVIEW_RENDER_SETTINGS::GetColor(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), SCH_RENDER_SETTINGS::GetColor(), KIGFX::GERBVIEW_RENDER_SETTINGS::GetCursorColor(), KIGFX::PCB_RENDER_SETTINGS::GetCursorColor(), SCH_RENDER_SETTINGS::GetCursorColor(), KIGFX::GERBVIEW_RENDER_SETTINGS::GetGridColor(), KIGFX::PCB_RENDER_SETTINGS::GetGridColor(), SCH_RENDER_SETTINGS::GetGridColor(), KIGFX::GERBVIEW_RENDER_SETTINGS::GetLayerColor(), GetLayerColor(), KIGFX::PCB_RENDER_SETTINGS::IsBackgroundDark(), SCH_RENDER_SETTINGS::IsBackgroundDark(), KIGFX::DS_RENDER_SETTINGS::LoadColors(), KIGFX::GERBVIEW_RENDER_SETTINGS::LoadColors(), KIGFX::PCB_RENDER_SETTINGS::LoadColors(), SCH_RENDER_SETTINGS::LoadColors(), KIGFX::GERBVIEW_RENDER_SETTINGS::SetBackgroundColor(), KIGFX::PCB_RENDER_SETTINGS::SetBackgroundColor(), SCH_RENDER_SETTINGS::SetBackgroundColor(), KIGFX::GERBVIEW_RENDER_SETTINGS::SetLayerColor(), SetLayerColor(), and update().
      
  | 
  protectedinherited | 
Definition at line 326 of file render_settings.h.
Referenced by KIGFX::GERBVIEW_RENDER_SETTINGS::GetColor(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), KIGFX::GERBVIEW_RENDER_SETTINGS::LoadColors(), and update().
      
  | 
  protectedinherited | 
Definition at line 323 of file render_settings.h.
Referenced by KIGFX::GERBVIEW_RENDER_SETTINGS::GetColor(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), KIGFX::GERBVIEW_RENDER_SETTINGS::LoadColors(), and update().
      
  | 
  protectedinherited | 
Definition at line 324 of file render_settings.h.
Referenced by KIGFX::GERBVIEW_RENDER_SETTINGS::GetColor(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), KIGFX::GERBVIEW_RENDER_SETTINGS::LoadColors(), and update().
      
  | 
  protectedinherited | 
Definition at line 319 of file render_settings.h.
Referenced by GetLayerName(), and SetLayerName().
      
  | 
  protectedinherited | 
Definition at line 345 of file render_settings.h.
Referenced by GetMinPenWidth(), RENDER_SETTINGS(), SCH_RENDER_SETTINGS::SCH_RENDER_SETTINGS(), and SetMinPenWidth().
      
  | 
  protectedinherited | 
Definition at line 341 of file render_settings.h.
Referenced by GetOutlineWidth(), RENDER_SETTINGS(), and SetOutlineWidth().
| bool SCH_RENDER_SETTINGS::m_OverrideItemColors | 
Definition at line 97 of file sch_render_settings.h.
Referenced by LoadColors(), SCH_SHEET::Plot(), SCH_PRINTOUT::PrintPage(), and SCH_RENDER_SETTINGS().
| int SCH_RENDER_SETTINGS::m_PinSymbolSize | 
Definition at line 102 of file sch_render_settings.h.
Referenced by externalPinDecoSize(), EESCHEMA_JOBS_HANDLER::InitRenderSettings(), internalPinDecoSize(), SCH_EDIT_FRAME::LoadProjectSettings(), SCH_RENDER_SETTINGS(), and SCH_EDIT_FRAME::ShowSchematicSetupDialog().
      
  | 
  protectedinherited | 
Definition at line 353 of file render_settings.h.
Referenced by IsPrintBlackAndWhite(), PrintBlackAndWhiteReq(), RENDER_SETTINGS(), and SetPrintBlackAndWhite().
      
  | 
  protectedinherited | 
Definition at line 357 of file render_settings.h.
Referenced by GetPrintDC(), RENDER_SETTINGS(), and SetPrintDC().
      
  | 
  protectedinherited | 
Definition at line 355 of file render_settings.h.
Referenced by GetPrintLayers(), and SetPrintLayers().
      
  | 
  protectedinherited | 
Definition at line 340 of file render_settings.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::GetColor(), RENDER_SETTINGS(), SetSelectFactor(), and update().
| int SCH_RENDER_SETTINGS::m_ShowBodyStyle | 
Definition at line 84 of file sch_render_settings.h.
Referenced by SYMBOL_EDIT_FRAME::RebuildView(), SCH_RENDER_SETTINGS(), SYMBOL_EDIT_FRAME::SetCurSymbol(), and SYMBOL_VIEWER_FRAME::updatePreviewSymbol().
| bool SCH_RENDER_SETTINGS::m_ShowConnectionPoints | 
Definition at line 95 of file sch_render_settings.h.
Referenced by SCH_RENDER_SETTINGS().
| bool SCH_RENDER_SETTINGS::m_ShowDisabled | 
Definition at line 93 of file sch_render_settings.h.
Referenced by SYMBOL_EDIT_FRAME::RebuildView(), SCH_RENDER_SETTINGS(), and SYMBOL_EDIT_FRAME::SetCurSymbol().
| bool SCH_RENDER_SETTINGS::m_ShowGraphicsDisabled | 
Definition at line 94 of file sch_render_settings.h.
Referenced by SYMBOL_EDIT_FRAME::RebuildView(), SCH_RENDER_SETTINGS(), and SYMBOL_EDIT_FRAME::SetCurSymbol().
| bool SCH_RENDER_SETTINGS::m_ShowHiddenFields | 
Definition at line 88 of file sch_render_settings.h.
Referenced by SYMBOL_EDIT_FRAME::CommonSettingsChanged(), EESCHEMA_JOBS_HANDLER::InitRenderSettings(), EESCHEMA_JOBS_HANDLER::JobSymExportSvg(), SYMBOL_EDIT_FRAME::LoadSettings(), SCH_FIELD::Plot(), LIB_SYMBOL::PlotFields(), DIALOG_PLOT_SCHEMATIC::plotSchematic(), SYMBOL_EDIT_FRAME::SaveSettings(), SCH_RENDER_SETTINGS(), SYMBOL_EDITOR_CONTROL::ToggleHiddenFields(), and DIALOG_PRINT::TransferDataFromWindow().
| bool SCH_RENDER_SETTINGS::m_ShowHiddenPins | 
Definition at line 87 of file sch_render_settings.h.
Referenced by SYMBOL_EDIT_FRAME::CommonSettingsChanged(), EESCHEMA_JOBS_HANDLER::InitRenderSettings(), EESCHEMA_JOBS_HANDLER::JobSymExportSvg(), SYMBOL_EDIT_FRAME::LoadSettings(), SCH_PIN::Plot(), DIALOG_PLOT_SCHEMATIC::plotSchematic(), SYMBOL_EDIT_FRAME::SaveSettings(), SCH_RENDER_SETTINGS(), SYMBOL_EDITOR_CONTROL::ToggleHiddenPins(), and DIALOG_PRINT::TransferDataFromWindow().
| bool SCH_RENDER_SETTINGS::m_ShowPinAltIcons | 
Definition at line 92 of file sch_render_settings.h.
Referenced by SCH_EDIT_FRAME::CommonSettingsChanged(), SYMBOL_EDIT_FRAME::CommonSettingsChanged(), EESCHEMA_JOBS_HANDLER::InitRenderSettings(), SCH_EDIT_FRAME::LoadSettings(), SYMBOL_EDIT_FRAME::LoadSettings(), SYMBOL_EDIT_FRAME::SaveSettings(), and SCH_RENDER_SETTINGS().
| bool SCH_RENDER_SETTINGS::m_ShowPinNames | 
Definition at line 91 of file sch_render_settings.h.
Referenced by SCH_RENDER_SETTINGS().
| bool SCH_RENDER_SETTINGS::m_ShowPinNumbers | 
Definition at line 90 of file sch_render_settings.h.
Referenced by SCH_EDIT_FRAME::LoadSettings(), SYMBOL_VIEWER_FRAME::LoadSettings(), SCH_PREVIEW_PANEL::SCH_PREVIEW_PANEL(), SCH_RENDER_SETTINGS(), SYMBOL_VIEWER_FRAME::setupUIConditions(), and SYMBOL_EDITOR_CONTROL::ShowPinNumbers().
| bool SCH_RENDER_SETTINGS::m_ShowPinsElectricalType | 
Definition at line 86 of file sch_render_settings.h.
Referenced by SYMBOL_EDIT_FRAME::CommonSettingsChanged(), SCH_EDIT_FRAME::LoadSettings(), SYMBOL_EDIT_FRAME::LoadSettings(), SYMBOL_VIEWER_FRAME::LoadSettings(), SCH_PRINTOUT::PrintPage(), SYMBOL_EDIT_FRAME::SaveSettings(), SCH_PREVIEW_PANEL::SCH_PREVIEW_PANEL(), SCH_RENDER_SETTINGS(), SYMBOL_VIEWER_FRAME::setupUIConditions(), and SYMBOL_EDITOR_CONTROL::ShowElectricalTypes().
| int SCH_RENDER_SETTINGS::m_ShowUnit | 
Definition at line 83 of file sch_render_settings.h.
Referenced by SYMBOL_DIFF_WIDGET::DisplayDiff(), SYMBOL_EDIT_FRAME::RebuildView(), SCH_RENDER_SETTINGS(), SYMBOL_EDIT_FRAME::SetCurSymbol(), and SYMBOL_VIEWER_FRAME::updatePreviewSymbol().
| bool SCH_RENDER_SETTINGS::m_ShowVisibleFields | 
Definition at line 89 of file sch_render_settings.h.
Referenced by SCH_RENDER_SETTINGS().
| int SCH_RENDER_SETTINGS::m_SymbolLineWidth | 
Override line widths for symbol drawing objects set to default line width.
Definition at line 103 of file sch_render_settings.h.
Referenced by SCH_ITEM::GetEffectivePenWidth(), SCH_EDIT_FRAME::LoadProjectSettings(), SCH_RENDER_SETTINGS(), and SCH_EDIT_FRAME::ShowSchematicSetupDialog().
| double SCH_RENDER_SETTINGS::m_TextOffsetRatio | 
Definition at line 100 of file sch_render_settings.h.
Referenced by EESCHEMA_JOBS_HANDLER::InitRenderSettings(), SCH_EDIT_FRAME::LoadProjectSettings(), SCH_PREVIEW_PANEL::SCH_PREVIEW_PANEL(), SCH_RENDER_SETTINGS(), and SCH_EDIT_FRAME::ShowSchematicSetupDialog().
| TRANSFORM SCH_RENDER_SETTINGS::m_Transform | 
Definition at line 105 of file sch_render_settings.h.
Referenced by SCH_FIELD::Plot(), SCH_PIN::Plot(), SCH_SYMBOL::Plot(), SCH_TEXT::Plot(), SCH_TEXTBOX::Plot(), SCH_SYMBOL::PlotPins(), SCH_RENDER_SETTINGS(), and TransformCoordinate().