42 BOOST_CHECK_CLOSE( device.
r, wire.
r, 0.001 );
43 BOOST_CHECK_CLOSE( device.
g, wire.
g, 0.001 );
44 BOOST_CHECK_CLOSE( device.
b, wire.
b, 0.001 );
49 BOOST_CHECK_CLOSE( brightened.
r, changeColor.
r, 0.001 );
50 BOOST_CHECK_CLOSE( brightened.
g, changeColor.
g, 0.001 );
51 BOOST_CHECK_CLOSE( brightened.
b, changeColor.
b, 0.001 );
52 BOOST_CHECK_CLOSE( brightened.
a, changeColor.
a, 0.001 );
59 std::unique_ptr<SCHEMATIC> schematic;
65 bool foundSymbol =
false;
79 BOOST_CHECK( foundSymbol );
A color representation with 4 components: red, green, blue, alpha.
const COLOR4D & GetLayerColor(int aLayer) const
Return the color used to draw a layer.
An abstract base class for deriving all objects that can be added to a VIEW.
virtual COLOR4D GetColor(const KIGFX::VIEW_ITEM *aItem, int aLayer) const override
Returns the color that should be used to draw the specific VIEW_ITEM on the specific layer using curr...
Container class that holds multiple SCH_SCREEN objects in a hierarchy.
BOOST_AUTO_TEST_CASE(ForcedPainterColorIgnoresSchematicLayerColors)
void ConfigureSchDiffContextRenderSettings(SCH_RENDER_SETTINGS &aSettings, const KIGFX::COLOR4D &aColor)
std::vector< KIGFX::VIEW_ITEM * > CollectSchematicDiffContextItems(SCHEMATIC &aSchematic, SCH_SCREEN *aScreen)
void LoadSchematic(SETTINGS_MANAGER &aSettingsManager, const wxString &aRelPath, std::unique_ptr< SCHEMATIC > &aSchematic)
Definition of the SCH_SHEET_PATH and SCH_SHEET_LIST classes for Eeschema.
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_REQUIRE(intersection.has_value()==c.ExpectedIntersection.has_value())
BOOST_AUTO_TEST_SUITE_END()