KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_geometry_extractor.cpp File Reference
#include <diff_merge/sch_geometry_extractor.h>
#include "sch_diff_utils.h"
#include <lib_symbol.h>
#include <schematic.h>
#include <sch_item.h>
#include <sch_junction.h>
#include <sch_line.h>
#include <sch_screen.h>
#include <sch_sheet.h>
#include <sch_sheet_path.h>
#include <sch_symbol.h>
#include <algorithm>
#include <set>

Go to the source code of this file.

Namespaces

namespace  KICAD_DIFF
 

Functions

DOCUMENT_GEOMETRY KICAD_DIFF::ExtractSchematicGeometry (const SCHEMATIC &aSchematic, const KIGFX::COLOR4D &aColor, const std::map< KIID, KIGFX::COLOR4D > &aOverrides={}, bool aOnlyOverrides=false)
 Extract a coarse outline of a SCHEMATIC into a DOCUMENT_GEOMETRY for use as background context in DIFF_SCENE rendering.
 
DOCUMENT_GEOMETRY KICAD_DIFF::ExtractSymbolGeometry (const LIB_SYMBOL &aSymbol, const KIGFX::COLOR4D &aColor, int aUnit=0, int aBodyStyle=0)
 Extract coarse drawable context from a library symbol for visual symbol diffs.