KiCad PCB EDA Suite
GBR_DISPLAY_OPTIONS Class Reference

#include <gbr_display_options.h>

Public Member Functions

 GBR_DISPLAY_OPTIONS ()
 

Public Attributes

bool m_DisplayFlashedItemsFill
 Option to draw flashed items (filled/sketch) More...
 
bool m_DisplayLinesFill
 Option to draw line items (filled/sketch) More...
 
bool m_DisplayPolygonsFill
 Option to draw polygons (filled/sketch) More...
 
bool m_DisplayPageLimits
 
bool m_IsPrinting
 true when printing a page, false when drawing on screen More...
 
bool m_DiffMode
 Display layers in diff mode. More...
 
bool m_XORMode
 Display layers in exclusive-or mode. More...
 
bool m_HighContrastMode
 High contrast mode (dim un-highlighted objects) More...
 
bool m_FlipGerberView
 Display as a mirror image. More...
 
COLOR4D m_NegativeDrawColor
 The color used to draw negative objects, usually the background color, but not always, when negative objects must be visible. More...
 

Detailed Description

Note
Some of these parameters are used only for printing, some others only for drawing on screen.

Definition at line 35 of file gbr_display_options.h.

Constructor & Destructor Documentation

◆ GBR_DISPLAY_OPTIONS()

GBR_DISPLAY_OPTIONS::GBR_DISPLAY_OPTIONS ( )
inline

Definition at line 52 of file gbr_display_options.h.

53 {
55 m_DisplayLinesFill = true;
57 m_DisplayPageLimits = false;
58 m_IsPrinting = false;
60 m_DiffMode = false;
61 m_XORMode = false;
62 m_HighContrastMode = false;
63 m_FlipGerberView = false;
64 }
bool m_DisplayFlashedItemsFill
Option to draw flashed items (filled/sketch)
bool m_HighContrastMode
High contrast mode (dim un-highlighted objects)
bool m_DiffMode
Display layers in diff mode.
COLOR4D m_NegativeDrawColor
The color used to draw negative objects, usually the background color, but not always,...
bool m_XORMode
Display layers in exclusive-or mode.
bool m_FlipGerberView
Display as a mirror image.
bool m_IsPrinting
true when printing a page, false when drawing on screen
bool m_DisplayPolygonsFill
Option to draw polygons (filled/sketch)
bool m_DisplayLinesFill
Option to draw line items (filled/sketch)
A color representation with 4 components: red, green, blue, alpha.
Definition: color4d.h:104
@ DARKGRAY
Definition: color4d.h:46

References DARKGRAY, m_DiffMode, m_DisplayFlashedItemsFill, m_DisplayLinesFill, m_DisplayPageLimits, m_DisplayPolygonsFill, m_FlipGerberView, m_HighContrastMode, m_IsPrinting, m_NegativeDrawColor, and m_XORMode.

Member Data Documentation

◆ m_DiffMode

bool GBR_DISPLAY_OPTIONS::m_DiffMode

Display layers in diff mode.

Definition at line 43 of file gbr_display_options.h.

Referenced by GERBVIEW_CONTROL::DisplayControl(), GBR_DISPLAY_OPTIONS(), and GERBVIEW_FRAME::setupUIConditions().

◆ m_DisplayFlashedItemsFill

◆ m_DisplayLinesFill

◆ m_DisplayPageLimits

◆ m_DisplayPolygonsFill

◆ m_FlipGerberView

bool GBR_DISPLAY_OPTIONS::m_FlipGerberView

Display as a mirror image.

Definition at line 46 of file gbr_display_options.h.

Referenced by GERBVIEW_CONTROL::DisplayControl(), GBR_DISPLAY_OPTIONS(), and GERBVIEW_FRAME::setupUIConditions().

◆ m_HighContrastMode

bool GBR_DISPLAY_OPTIONS::m_HighContrastMode

◆ m_IsPrinting

bool GBR_DISPLAY_OPTIONS::m_IsPrinting

true when printing a page, false when drawing on screen

Definition at line 42 of file gbr_display_options.h.

Referenced by GBR_DISPLAY_OPTIONS().

◆ m_NegativeDrawColor

COLOR4D GBR_DISPLAY_OPTIONS::m_NegativeDrawColor

The color used to draw negative objects, usually the background color, but not always, when negative objects must be visible.

Definition at line 47 of file gbr_display_options.h.

Referenced by GBR_DISPLAY_OPTIONS(), and GERBER_DRAW_ITEM::Print().

◆ m_XORMode

bool GBR_DISPLAY_OPTIONS::m_XORMode

Display layers in exclusive-or mode.

Definition at line 44 of file gbr_display_options.h.

Referenced by GERBVIEW_CONTROL::DisplayControl(), GBR_DISPLAY_OPTIONS(), and GERBVIEW_FRAME::setupUIConditions().


The documentation for this class was generated from the following file: