KiCad PCB EDA Suite
|
! The set of properties that define a pad's shape on a given layer 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_corner_radius |
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. | |
! The set of properties that define a pad's shape on a given layer
Definition at line 158 of file padstack.h.
PADSTACK::SHAPE_PROPS::SHAPE_PROPS | ( | ) |
Definition at line 653 of file padstack.cpp.
bool PADSTACK::SHAPE_PROPS::operator== | ( | const SHAPE_PROPS & | aOther | ) | const |
Definition at line 664 of file padstack.cpp.
References chamfered_rect_positions, chamfered_rect_ratio, offset, round_rect_corner_radius, round_rect_radius_ratio, and shape.
PAD_SHAPE PADSTACK::SHAPE_PROPS::anchor_shape |
Shape of the anchor when shape == PAD_SHAPE::CUSTOM.
Definition at line 161 of file padstack.h.
Referenced by PADSTACK::AnchorShape(), PADSTACK::DefaultThermalSpokeAngleForShape(), and PADSTACK::SetAnchorShape().
int PADSTACK::SHAPE_PROPS::chamfered_rect_positions |
Definition at line 176 of file padstack.h.
Referenced by PADSTACK::ChamferPositions(), PADSTACK::Deserialize(), operator==(), PADSTACK::Serialize(), and PADSTACK::SetChamferPositions().
double PADSTACK::SHAPE_PROPS::chamfered_rect_ratio |
Size of chamfer: ratio of smallest of X,Y size.
Definition at line 175 of file padstack.h.
Referenced by PADSTACK::ChamferRatio(), PADSTACK::Deserialize(), operator==(), and PADSTACK::SetChamferRatio().
VECTOR2I PADSTACK::SHAPE_PROPS::offset |
Offset of the shape center from the pad center.
Definition at line 171 of file padstack.h.
Referenced by PADSTACK::Offset(), and operator==().
double PADSTACK::SHAPE_PROPS::round_rect_corner_radius |
Definition at line 173 of file padstack.h.
Referenced by operator==().
double PADSTACK::SHAPE_PROPS::round_rect_radius_ratio |
Definition at line 174 of file padstack.h.
Referenced by PADSTACK::Deserialize(), operator==(), PADSTACK::RoundRectRadiusRatio(), and PADSTACK::SetRoundRectRadiusRatio().
PAD_SHAPE PADSTACK::SHAPE_PROPS::shape |
Shape of the pad.
Definition at line 160 of file padstack.h.
Referenced by PADSTACK::DefaultThermalSpokeAngleForShape(), operator==(), PADSTACK::SetShape(), and PADSTACK::Shape().
VECTOR2I PADSTACK::SHAPE_PROPS::size |
Size of the shape, or of the anchor pad for custom shape pads.
Definition at line 162 of file padstack.h.
Referenced by PADSTACK::SetSize(), 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 182 of file padstack.h.
Referenced by PADSTACK::TrapezoidDeltaSize().