|
KiCad PCB EDA Suite
|
! More...
#include <padstack.h>
Public Member Functions | |
| SHAPE_PROPS () | |
| bool | operator== (const SHAPE_PROPS &aOther) const |
Public Attributes | |
| PAD_SHAPE | shape |
| Shape of the pad. | |
| PAD_SHAPE | anchor_shape |
| Shape of the anchor when shape == PAD_SHAPE::CUSTOM. | |
| VECTOR2I | size |
| Size of the shape, or of the anchor pad for custom shape pads. | |
| VECTOR2I | offset |
| Offset of the shape center from the pad center. | |
| double | round_rect_radius_ratio |
| double | chamfered_rect_ratio |
| Size of chamfer: ratio of smallest of X,Y size. | |
| int | chamfered_rect_positions |
| VECTOR2I | trapezoid_delta_size |
| Delta for PAD_SHAPE::TRAPEZOID; half the delta squeezes one end and half expands the other. | |
!
Whether or not to remove the copper shape for unconnected layers The set of properties that define a pad's shape on a given layer
Definition at line 184 of file padstack.h.
| PADSTACK::SHAPE_PROPS::SHAPE_PROPS | ( | ) |
Definition at line 1383 of file padstack.cpp.
References anchor_shape, chamfered_rect_positions, chamfered_rect_ratio, CIRCLE, offset, RECTANGLE, round_rect_radius_ratio, shape, size, and trapezoid_delta_size.
Referenced by operator==().
| bool PADSTACK::SHAPE_PROPS::operator== | ( | const SHAPE_PROPS & | aOther | ) | const |
Definition at line 1396 of file padstack.cpp.
References anchor_shape, chamfered_rect_positions, chamfered_rect_ratio, offset, round_rect_radius_ratio, shape, SHAPE_PROPS(), size, and trapezoid_delta_size.
| PAD_SHAPE PADSTACK::SHAPE_PROPS::anchor_shape |
Shape of the anchor when shape == PAD_SHAPE::CUSTOM.
Definition at line 187 of file padstack.h.
Referenced by PADSTACK::AnchorShape(), operator==(), PADSTACK::Serialize(), PADSTACK::SetAnchorShape(), and SHAPE_PROPS().
| int PADSTACK::SHAPE_PROPS::chamfered_rect_positions |
Definition at line 201 of file padstack.h.
Referenced by PADSTACK::ChamferPositions(), PADSTACK::ChamferPositions(), operator==(), PADSTACK::Serialize(), PADSTACK::SetChamferPositions(), SHAPE_PROPS(), and PADSTACK::unpackCopperLayer().
| double PADSTACK::SHAPE_PROPS::chamfered_rect_ratio |
Size of chamfer: ratio of smallest of X,Y size.
Definition at line 200 of file padstack.h.
Referenced by PADSTACK::ChamferRatio(), operator==(), PADSTACK::Serialize(), PADSTACK::SetChamferRatio(), SHAPE_PROPS(), and PADSTACK::unpackCopperLayer().
| VECTOR2I PADSTACK::SHAPE_PROPS::offset |
Offset of the shape center from the pad center.
Definition at line 197 of file padstack.h.
Referenced by PADSTACK::Offset(), PADSTACK::Offset(), operator==(), PADSTACK::Serialize(), and SHAPE_PROPS().
| double PADSTACK::SHAPE_PROPS::round_rect_radius_ratio |
Definition at line 199 of file padstack.h.
Referenced by operator==(), PADSTACK::RoundRectRadiusRatio(), PADSTACK::Serialize(), PADSTACK::SetRoundRectRadiusRatio(), SHAPE_PROPS(), and PADSTACK::unpackCopperLayer().
| PAD_SHAPE PADSTACK::SHAPE_PROPS::shape |
Shape of the pad.
Definition at line 186 of file padstack.h.
Referenced by operator==(), PADSTACK::Serialize(), PADSTACK::SetShape(), PADSTACK::Shape(), and SHAPE_PROPS().
| VECTOR2I PADSTACK::SHAPE_PROPS::size |
Size of the shape, or of the anchor pad for custom shape pads.
Definition at line 188 of file padstack.h.
Referenced by operator==(), PADSTACK::Serialize(), PADSTACK::SetSize(), SHAPE_PROPS(), and PADSTACK::Size().
| VECTOR2I PADSTACK::SHAPE_PROPS::trapezoid_delta_size |
Delta for PAD_SHAPE::TRAPEZOID; half the delta squeezes one end and half expands the other.
It is only valid to have a single axis be non-zero.
Definition at line 207 of file padstack.h.
Referenced by operator==(), PADSTACK::Serialize(), SHAPE_PROPS(), PADSTACK::TrapezoidDeltaSize(), and PADSTACK::TrapezoidDeltaSize().