|
KiCad PCB EDA Suite
|
Stroked line segment from one of the source documents. More...
#include <diff_scene.h>
Public Attributes | |
| VECTOR2I | start |
| VECTOR2I | end |
| int | width = 0 |
| KIGFX::COLOR4D | color |
| LSET | layers |
Stroked line segment from one of the source documents.
Width and color are carried so the renderer doesn't have to consult a theme per shape; the caller picks the color based on the side and any layer-specific tint it wants. Width 0 yields a one-device-pixel hairline in the GAL renderer; the plotter promotes it to a visible minimum.
Side membership is implied by whether the shape lives in DIFF_SCENE's referenceGeometry or comparisonGeometry — no separate field needed.
Definition at line 116 of file diff_scene.h.
| KIGFX::COLOR4D KICAD_DIFF::DOCUMENT_SEGMENT::color |
Definition at line 121 of file diff_scene.h.
| VECTOR2I KICAD_DIFF::DOCUMENT_SEGMENT::end |
Definition at line 119 of file diff_scene.h.
Referenced by KICAD_DIFF::BBoxFromGeometry(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
| LSET KICAD_DIFF::DOCUMENT_SEGMENT::layers |
Definition at line 122 of file diff_scene.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KICAD_DIFF::FilterGeometryByVisibleLayers(), and KICAD_DIFF::GeometryLayerSet().
| VECTOR2I KICAD_DIFF::DOCUMENT_SEGMENT::start |
Definition at line 118 of file diff_scene.h.
Referenced by KICAD_DIFF::BBoxFromGeometry(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
| int KICAD_DIFF::DOCUMENT_SEGMENT::width = 0 |
Definition at line 120 of file diff_scene.h.
Referenced by KICAD_DIFF::BBoxFromGeometry(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().