|
KiCad PCB EDA Suite
|
An on-canvas constraint badge. More...
#include <constraint_overlay.h>
Public Attributes | |
| VECTOR2I | pos |
| KIID | constraint |
| PCB_CONSTRAINT_TYPE | type |
| KIGFX::COLOR4D | color |
| std::vector< SEG > | avoid |
An on-canvas constraint badge.
Holds its anchor (the world point it labels), the constraint type (which picks the icon) and colour to draw, and which constraint it represents for hit-testing. The on-screen draw position is computed at draw time by CONSTRAINT_OVERLAY::LayoutBadges.
Definition at line 51 of file constraint_overlay.h.
| std::vector<SEG> CONSTRAINT_BADGE::avoid |
Definition at line 57 of file constraint_overlay.h.
| KIGFX::COLOR4D CONSTRAINT_BADGE::color |
Definition at line 56 of file constraint_overlay.h.
Referenced by CONSTRAINT_BADGE_ITEM::ViewDraw().
| KIID CONSTRAINT_BADGE::constraint |
Definition at line 54 of file constraint_overlay.h.
Referenced by CONSTRAINT_BADGE_ITEM::ViewDraw().
| VECTOR2I CONSTRAINT_BADGE::pos |
Definition at line 53 of file constraint_overlay.h.
| PCB_CONSTRAINT_TYPE CONSTRAINT_BADGE::type |
Definition at line 55 of file constraint_overlay.h.
Referenced by CONSTRAINT_BADGE_ITEM::ViewDraw().