KiCad PCB EDA Suite
GBR_DISPLAY_OPTIONS Class Reference

#include <class_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_DisplayPolarCood
 Option to display coordinates in status bar in X,Y or Polar coords. More...
 
bool m_DisplayDCodes
 Option to show dcode values on items drawn with a dcode tool. More...
 
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 class_gbr_display_options.h.

Constructor & Destructor Documentation

GBR_DISPLAY_OPTIONS::GBR_DISPLAY_OPTIONS ( )
inline

Definition at line 58 of file class_gbr_display_options.h.

References BLACK, and DARKGRAY.

59  {
61  m_DisplayLinesFill = true;
62  m_DisplayPolygonsFill = true;
63  m_DisplayPolarCood = false;
64  m_DisplayDCodes = 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, when negative objects must be visible.
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)
bool m_DisplayPolarCood
Option to display coordinates in status bar in X,Y or Polar coords.
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.

Member Data Documentation

COLOR4D GBR_DISPLAY_OPTIONS::m_BgDrawColor

The background color.

Definition at line 55 of file class_gbr_display_options.h.

Referenced by GBR_LAYOUT::Draw(), GERBVIEW_FRAME::PrintPage(), and GERBVIEW_FRAME::RedrawActiveWindow().

bool GBR_DISPLAY_OPTIONS::m_DiffMode
bool GBR_DISPLAY_OPTIONS::m_DisplayDCodes
bool GBR_DISPLAY_OPTIONS::m_DisplayNegativeObjects

Option to draw negative objects in a specific color.

Definition at line 47 of file class_gbr_display_options.h.

Referenced by GERBVIEW_FRAME::IsElementVisible(), KIGFX::GERBVIEW_RENDER_SETTINGS::LoadDisplayOptions(), and GERBVIEW_FRAME::SetElementVisibility().

bool GBR_DISPLAY_OPTIONS::m_DisplayPolarCood
bool GBR_DISPLAY_OPTIONS::m_ForceBlackAndWhite

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

Definition at line 49 of file class_gbr_display_options.h.

Referenced by GBR_LAYOUT::Draw(), and GERBVIEW_FRAME::PrintPage().

bool GBR_DISPLAY_OPTIONS::m_HighContrastMode
bool GBR_DISPLAY_OPTIONS::m_IsPrinting

true when printing a page, false when drawing on screen

Definition at line 48 of file class_gbr_display_options.h.

Referenced by GBR_LAYOUT::Draw(), GERBVIEW_FRAME::IsLayerVisible(), and GERBVIEW_FRAME::PrintPage().

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 class_gbr_display_options.h.

Referenced by GERBER_DRAW_ITEM::Draw(), GERBVIEW_FRAME::PrintPage(), and GERBVIEW_FRAME::RedrawActiveWindow().


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