KiCad PCB EDA Suite
Loading...
Searching...
No Matches
diff_renderer_plotter.cpp File Reference
#include <diff_merge/diff_renderer_plotter.h>
#include <base_units.h>
#include <geometry/shape_poly_set.h>
#include <plotters/plotter.h>
#include <plotters/plotter_png.h>
#include <plotters/plotters_pslike.h>
#include <wx/file.h>
#include <wx/log.h>

Go to the source code of this file.

Namespaces

namespace  KICAD_DIFF
 

Functions

static bool KICAD_DIFF::writeEmptyPng (const wxString &aOutputPath)
 Write a tiny placeholder PNG (single empty pixel) so a "no differences" diff still produces a valid output file.
 
static bool KICAD_DIFF::writeEmptySvg (const wxString &aOutputPath)
 
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.