30 m_highlightNetcodes(),
31 m_drawBoundingBoxes( false ),
32 m_dashLengthRatio( 12 ),
33 m_gapLengthRatio( 3 ),
77 return std::max( ( 1.0 -
correction ), 0.2 ) * aLineWidth;
107 factor = std::min( 1.0, factor );
double GetGapLength(int aLineWidth) const
virtual ~RENDER_SETTINGS()
double GetDotLength(int aLineWidth) const
std::map< int, COLOR4D > m_layerColorsHi
float m_drawingSheetLineWidth
virtual void update()
Precalculates extra colors for layers (e.g.
PCB_LAYER_ID m_activeLayer
std::map< int, COLOR4D > m_hiContrastColor
double GetDashLength(int aLineWidth) const
std::map< int, COLOR4D > m_layerColorsDark
std::map< int, COLOR4D > m_layerColorsSel
std::map< int, COLOR4D > m_layerColors
bool m_hiContrastEnabled
Parameters for display modes.
#define LAYER_ID_COUNT
Must update this if you add any enums after GerbView!
@ LAYER_PCB_BACKGROUND
PCB background color.
bool IsNetnameLayer(int aLayer)
Test whether a layer is a netname layer.
The Cairo implementation of the graphics abstraction layer.
constexpr double correction