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_DisplayDCodes
 Option to show dcode values on items drawn with a dcode tool. More...
 
bool m_DisplayPageLimits
 
bool m_DisplayNegativeObjects
 Option to draw negative objects in a specific color. More...
 
bool m_IsPrinting
 true when printing a page, false when drawing on screen More...
 
bool m_ForceBlackAndWhite
 Option print in blackand white (ont used id draw mode. More...
 
bool m_DiffMode
 Display layers in diff mode. More...
 
bool m_HighContrastMode
 High contrast mode (dim un-highlighted objects) 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...
 
COLOR4D m_BgDrawColor
 The background color. More...
 

Detailed Description

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

Definition at line 39 of file gbr_display_options.h.

Constructor & Destructor Documentation

◆ GBR_DISPLAY_OPTIONS()

GBR_DISPLAY_OPTIONS::GBR_DISPLAY_OPTIONS ( )
inline

Definition at line 58 of file gbr_display_options.h.

59  {
61  m_DisplayLinesFill = true;
62  m_DisplayPolygonsFill = true;
63  m_DisplayDCodes = false;
64  m_DisplayPageLimits = false;
65  m_IsPrinting = false;
67  m_ForceBlackAndWhite = false;
68  m_NegativeDrawColor = COLOR4D( DARKGRAY );
70  m_DiffMode = false;
71  m_HighContrastMode = false;
72  }
bool m_DisplayPolygonsFill
Option to draw polygons (filled/sketch)
COLOR4D m_BgDrawColor
The background color.
bool m_HighContrastMode
High contrast mode (dim un-highlighted objects)
bool m_DisplayNegativeObjects
Option to draw negative objects in a specific color.
bool m_DisplayLinesFill
Option to draw line items (filled/sketch)
COLOR4D m_NegativeDrawColor
The color used to draw negative objects, usually the background color, but not always,...
bool m_DiffMode
Display layers in diff mode.
bool m_ForceBlackAndWhite
Option print in blackand white (ont used id draw mode.
bool m_DisplayFlashedItemsFill
Option to draw flashed items (filled/sketch)
Definition: colors.h:45
bool m_IsPrinting
true when printing a page, false when drawing on screen
bool m_DisplayDCodes
Option to show dcode values on items drawn with a dcode tool.

References BLACK, DARKGRAY, m_BgDrawColor, m_DiffMode, m_DisplayDCodes, m_DisplayFlashedItemsFill, m_DisplayLinesFill, m_DisplayNegativeObjects, m_DisplayPageLimits, m_DisplayPolygonsFill, m_ForceBlackAndWhite, m_HighContrastMode, m_IsPrinting, and m_NegativeDrawColor.

Member Data Documentation

◆ m_BgDrawColor

COLOR4D GBR_DISPLAY_OPTIONS::m_BgDrawColor

The background color.

Definition at line 55 of file gbr_display_options.h.

Referenced by GBR_DISPLAY_OPTIONS(), and KIGFX::GERBVIEW_RENDER_SETTINGS::LoadDisplayOptions().

◆ m_DiffMode

◆ m_DisplayDCodes

bool GBR_DISPLAY_OPTIONS::m_DisplayDCodes

◆ m_DisplayFlashedItemsFill

◆ m_DisplayLinesFill

◆ m_DisplayNegativeObjects

bool GBR_DISPLAY_OPTIONS::m_DisplayNegativeObjects

◆ m_DisplayPageLimits

◆ m_DisplayPolygonsFill

◆ m_ForceBlackAndWhite

bool GBR_DISPLAY_OPTIONS::m_ForceBlackAndWhite

Option print in blackand white (ont used id draw mode.

Definition at line 49 of file gbr_display_options.h.

Referenced by GBR_DISPLAY_OPTIONS().

◆ 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 48 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 52 of file gbr_display_options.h.

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


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