| 
    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 166 of file padstack.h.
| PADSTACK::SHAPE_PROPS::SHAPE_PROPS | ( | ) | 
Definition at line 760 of file padstack.cpp.
References anchor_shape, chamfered_rect_positions, chamfered_rect_ratio, CIRCLE, RECT_NO_CHAMFER, round_rect_corner_radius, round_rect_radius_ratio, and shape.
Referenced by operator==().
| bool PADSTACK::SHAPE_PROPS::operator== | ( | const SHAPE_PROPS & | aOther | ) | const | 
Definition at line 771 of file padstack.cpp.
References chamfered_rect_positions, chamfered_rect_ratio, offset, round_rect_corner_radius, round_rect_radius_ratio, shape, and SHAPE_PROPS().
| PAD_SHAPE PADSTACK::SHAPE_PROPS::anchor_shape | 
Shape of the anchor when shape == PAD_SHAPE::CUSTOM.
Definition at line 169 of file padstack.h.
Referenced by PADSTACK::AnchorShape(), PADSTACK::DefaultThermalSpokeAngleForShape(), PADSTACK::SetAnchorShape(), and SHAPE_PROPS().
| int PADSTACK::SHAPE_PROPS::chamfered_rect_positions | 
Definition at line 184 of file padstack.h.
Referenced by PADSTACK::ChamferPositions(), PADSTACK::ChamferPositions(), operator==(), PADSTACK::packCopperLayer(), 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 183 of file padstack.h.
Referenced by PADSTACK::ChamferRatio(), operator==(), PADSTACK::SetChamferRatio(), SHAPE_PROPS(), and PADSTACK::unpackCopperLayer().
| VECTOR2I PADSTACK::SHAPE_PROPS::offset | 
Offset of the shape center from the pad center.
Definition at line 179 of file padstack.h.
Referenced by PADSTACK::Offset(), PADSTACK::Offset(), and operator==().
| double PADSTACK::SHAPE_PROPS::round_rect_corner_radius | 
Definition at line 181 of file padstack.h.
Referenced by operator==(), and SHAPE_PROPS().
| double PADSTACK::SHAPE_PROPS::round_rect_radius_ratio | 
Definition at line 182 of file padstack.h.
Referenced by operator==(), PADSTACK::RoundRectRadiusRatio(), PADSTACK::SetRoundRectRadiusRatio(), SHAPE_PROPS(), and PADSTACK::unpackCopperLayer().
| PAD_SHAPE PADSTACK::SHAPE_PROPS::shape | 
Shape of the pad.
Definition at line 168 of file padstack.h.
Referenced by PADSTACK::DefaultThermalSpokeAngleForShape(), operator==(), 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 170 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 190 of file padstack.h.
Referenced by PADSTACK::TrapezoidDeltaSize(), and PADSTACK::TrapezoidDeltaSize().