12#ifndef PCB_DIFF_CANVAS_CONTEXT_H
13#define PCB_DIFF_CANVAS_CONTEXT_H
44 const KIGFX::COLOR4D& aColor );
47 std::map<KIID, KIGFX::COLOR4D> aOverrides = {} );
50 const KIGFX::COLOR4D& aColor,
const std::map<KIID, KIGFX::COLOR4D>& aOverrides = {},
51 const std::vector<KIGFX::VIEW_ITEM*>& aExtraItems = {},
52 const std::map<KIID, KICAD_DIFF::CATEGORY>& aCategories = {} );
Information pertinent to a Pcbnew printed circuit board.
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.
std::vector< KIGFX::VIEW_ITEM * > CollectBoardDiffContextItems(BOARD &aBoard)
void ConfigurePcbDiffCanvasContext(WIDGET_DIFF_CANVAS &aCanvas, BOARD *aReference, BOARD *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)
std::unique_ptr< KIGFX::PAINTER > MakePcbDiffContextPainter(KIGFX::GAL *aGal, const KIGFX::COLOR4D &aColor, std::map< KIID, KIGFX::COLOR4D > aOverrides)
void ConfigurePcbDiffContextRenderSettings(KIGFX::PCB_RENDER_SETTINGS &aSettings, const KIGFX::COLOR4D &aColor)
std::vector< KIGFX::VIEW_ITEM * > CollectFootprintDiffContextItems(FOOTPRINT &aFootprint)
The Cairo implementation of the graphics abstraction layer.