![]() |
LibrePCB Developers Documentation
|
The PadGeometry class describes the shape of a pad. More...
#include <padgeometry.h>
Collaboration diagram for PadGeometry:Public Types | |
| enum class | Shape |
Public Member Functions | |
| PadGeometry ()=delete | |
| PadGeometry (const PadGeometry &other) noexcept | |
| ~PadGeometry () noexcept | |
| Shape | getShape () const noexcept |
| Length | getWidth () const noexcept |
| Length | getHeight () const noexcept |
| UnsignedLength | getCornerRadius () const noexcept |
| const Path & | getPath () const noexcept |
| const PadHoleList & | getHoles () const noexcept |
| QVector< Path > | toOutlines () const |
| QPainterPath | toQPainterPathPx () const noexcept |
| QPainterPath | toFilledQPainterPathPx () const noexcept |
| QPainterPath | toHolesQPainterPathPx () const noexcept |
| PadGeometry | withOffset (const Length &offset) const noexcept |
| PadGeometry | withoutHoles () const noexcept |
| bool | operator== (const PadGeometry &rhs) const noexcept |
| bool | operator!= (const PadGeometry &rhs) const noexcept |
| PadGeometry & | operator= (const PadGeometry &rhs) noexcept |
Static Public Member Functions | |
| static PadGeometry | roundedRect (const PositiveLength &width, const PositiveLength &height, const UnsignedLimitedRatio &radius, const PadHoleList &holes) noexcept |
| static PadGeometry | roundedOctagon (const PositiveLength &width, const PositiveLength &height, const UnsignedLimitedRatio &radius, const PadHoleList &holes) noexcept |
| static PadGeometry | stroke (const PositiveLength &diameter, const NonEmptyPath &path, const PadHoleList &holes) noexcept |
| static PadGeometry | custom (const Path &outline, const PadHoleList &holes) |
| static bool | isValidCustomOutline (const Path &path) noexcept |
Private Member Functions | |
| PadGeometry (Shape shape, const Length &width, const Length &height, const UnsignedLimitedRatio &radius, const Path &path, const Length &offset, const PadHoleList &holes) noexcept | |
Static Private Member Functions | |
| static PositiveLength | maxArcTolerance () noexcept |
Private Attributes | |
| Shape | mShape |
| Length | mBaseWidth |
| Length | mBaseHeight |
| UnsignedLimitedRatio | mRadius |
| Path | mPath |
| Length | mOffset |
| PadHoleList | mHoles |
The PadGeometry class describes the shape of a pad.
|
strong |
|
delete |
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
|
privatenoexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:| QVector< Path > toOutlines | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticnoexcept |
Here is the caller graph for this function:
|
staticnoexcept |
Here is the caller graph for this function:
|
staticnoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticnoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
inlinestaticprivatenoexcept |
Returns the maximum allowed arc tolerance when flattening arcs. Do not change this if you don't know exactly what you're doing (it might affect planes in existing boards)!
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |