KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DIFF_RENDER_OPTIONS Struct Reference

Options for diff PNG rendering. More...

#include <gerber_diff.h>

Public Attributes

int dpi = 300
 
int width = 0
 0 = calculate from DPI
 
int height = 0
 0 = calculate from DPI
 
bool antialias = true
 
KIGFX::COLOR4D colorOverlap = KIGFX::COLOR4D( 0.5, 0.5, 0.5, 1.0 )
 Gray.
 
KIGFX::COLOR4D colorAdditions = KIGFX::COLOR4D( 0.0, 1.0, 0.0, 1.0 )
 Green.
 
KIGFX::COLOR4D colorRemovals = KIGFX::COLOR4D( 1.0, 0.0, 0.0, 1.0 )
 Red.
 
KIGFX::COLOR4D colorBackground = KIGFX::COLOR4D( 1.0, 1.0, 1.0, 1.0 )
 White.
 

Detailed Description

Options for diff PNG rendering.

Definition at line 130 of file gerber_diff.h.

Member Data Documentation

◆ antialias

bool DIFF_RENDER_OPTIONS::antialias = true

Definition at line 135 of file gerber_diff.h.

Referenced by GERBVIEW_JOBS_HANDLER::JobGerberDiff(), and RenderDiffToPng().

◆ colorAdditions

KIGFX::COLOR4D DIFF_RENDER_OPTIONS::colorAdditions = KIGFX::COLOR4D( 0.0, 1.0, 0.0, 1.0 )

Green.

Definition at line 138 of file gerber_diff.h.

Referenced by RenderDiffToPng().

◆ colorBackground

KIGFX::COLOR4D DIFF_RENDER_OPTIONS::colorBackground = KIGFX::COLOR4D( 1.0, 1.0, 1.0, 1.0 )

White.

Definition at line 140 of file gerber_diff.h.

Referenced by GERBVIEW_JOBS_HANDLER::JobGerberDiff(), and RenderDiffToPng().

◆ colorOverlap

KIGFX::COLOR4D DIFF_RENDER_OPTIONS::colorOverlap = KIGFX::COLOR4D( 0.5, 0.5, 0.5, 1.0 )

Gray.

Definition at line 137 of file gerber_diff.h.

Referenced by RenderDiffToPng().

◆ colorRemovals

KIGFX::COLOR4D DIFF_RENDER_OPTIONS::colorRemovals = KIGFX::COLOR4D( 1.0, 0.0, 0.0, 1.0 )

Red.

Definition at line 139 of file gerber_diff.h.

Referenced by RenderDiffToPng().

◆ dpi

int DIFF_RENDER_OPTIONS::dpi = 300

Definition at line 132 of file gerber_diff.h.

Referenced by GERBVIEW_JOBS_HANDLER::JobGerberDiff(), and RenderDiffToPng().

◆ height

int DIFF_RENDER_OPTIONS::height = 0

0 = calculate from DPI

Definition at line 134 of file gerber_diff.h.

Referenced by RenderDiffToPng().

◆ width

int DIFF_RENDER_OPTIONS::width = 0

0 = calculate from DPI

Definition at line 133 of file gerber_diff.h.

Referenced by RenderDiffToPng().


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