KiCad PCB EDA Suite
Loading...
Searching...
No Matches
diff_renderer_plotter.h File Reference
#include <kicommon.h>
#include <diff_merge/diff_scene.h>
#include <wx/string.h>

Go to the source code of this file.

Classes

struct  KICAD_DIFF::PLOTTER_RENDER_OPTIONS
 Options controlling the headless PNG/SVG renderer. More...
 

Namespaces

namespace  KICAD_DIFF
 

Functions

bool KICAD_DIFF::RenderSceneToPng (const DIFF_SCENE &aScene, const wxString &aOutputPath, const PLOTTER_RENDER_OPTIONS &aOptions)
 Render a DIFF_SCENE to a PNG file.
 
bool KICAD_DIFF::RenderSceneToSvg (const DIFF_SCENE &aScene, const wxString &aOutputPath, const PLOTTER_RENDER_OPTIONS &aOptions)
 Render a DIFF_SCENE to an SVG file.
 
constexpr int KICAD_DIFF::EffectivePlotWidth (int aWidth)
 Return aWidth if positive, otherwise PLOT_HAIRLINE_IU.
 

Variables

constexpr int KICAD_DIFF::PLOT_HAIRLINE_IU = 10
 Minimum stroke width the headless plotter will use when a primitive declares a non-positive line width.