Class to handle configuration and automatic determination of the DPI scale to use for canvases.
virtual void OnGalDisplayOptionsChanged(const GAL_DISPLAY_OPTIONS &)=0
CROSS_HAIR_MODE m_crossHairMode
Force cursor display.
double m_gridLineWidth
Minimum pixel distance between displayed grid lines.
double m_gridMinSpacing
Whether or not to draw the coordinate system axes.
GAL_ANTIALIASING_MODE antialiasing_mode
The grid style to draw the grid in.
bool m_forceDisplayCursor
The pixel scale factor (>1 for hi-DPI scaled displays)
KIGFX::GRID_STYLE m_gridStyle
Snapping options for the grid.
bool m_axesEnabled
Crosshair drawing mode.
GRID_SNAPPING m_gridSnapping
Thickness to render grid lines/dots.
void Notify(void(GAL_DISPLAY_OPTIONS_OBSERVER::*Ptr)(Args1...), Args2 &&... aArgs)
static const wxChar * traceGalDispOpts
Flag to enable GAL_DISPLAY_OPTIONS logging.
The Cairo implementation of the graphics abstraction layer.
GRID_STYLE
Type definition of the grid style.
@ SMALL_CROSS
Use small cross instead of dots for the grid.
@ DOTS
Use dots for the grid.