12#ifndef SCH_DIFF_CANVAS_CONTEXT_H
13#define SCH_DIFF_CANVAS_CONTEXT_H
44 const KIGFX::COLOR4D& aColor );
47 const KIGFX::COLOR4D& aColor,
48 std::map<KIID, KIGFX::COLOR4D> aOverrides = {} );
51 const KIGFX::COLOR4D& aColor,
const std::map<KIID, KIGFX::COLOR4D>& aOverrides = {},
52 const std::vector<KIGFX::VIEW_ITEM*>& aExtraItems = {},
53 const std::map<KIID, KICAD_DIFF::CATEGORY>& aCategories = {},
54 SCH_SCREEN* aReferenceScreen =
nullptr, SCH_SCREEN* aComparisonScreen = nullptr );
Abstract interface for drawing on a 2D-surface.
Contains all the knowledge about how to draw graphical object onto any particular output device.
An abstract base class for deriving all objects that can be added to a VIEW.
Holds all the data relating to one schematic.
void ConfigureSchDiffCanvasContext(WIDGET_DIFF_CANVAS &aCanvas, SCHEMATIC *aReference, SCHEMATIC *aComparison, const KIGFX::COLOR4D &aColor, const std::map< KIID, KIGFX::COLOR4D > &aOverrides, const std::vector< KIGFX::VIEW_ITEM * > &aExtraItems, const std::map< KIID, KICAD_DIFF::CATEGORY > &aCategories, SCH_SCREEN *aReferenceScreen, SCH_SCREEN *aComparisonScreen)
void ConfigureSchDiffContextRenderSettings(SCH_RENDER_SETTINGS &aSettings, const KIGFX::COLOR4D &aColor)
std::vector< KIGFX::VIEW_ITEM * > CollectSchematicDiffContextItems(SCHEMATIC &aSchematic, SCH_SCREEN *aScreen)
std::unique_ptr< KIGFX::PAINTER > MakeSchDiffContextPainter(KIGFX::GAL *aGal, SCHEMATIC *aSchematic, const KIGFX::COLOR4D &aColor, std::map< KIID, KIGFX::COLOR4D > aOverrides)
The Cairo implementation of the graphics abstraction layer.