![]() |
LibrePCB Developers Documentation
|
The Via class represents a via of a board. More...
#include <via.h>
Collaboration diagram for Via:Public Types | |
| enum class | Event |
| typedef Slot< Via, Event > | OnEditedSlot |
Public Member Functions | |
| Via ()=delete | |
| Via (const Via &other) noexcept | |
| Via (const Uuid &uuid, const Via &other) noexcept | |
| Via (const Uuid &uuid, const Layer &startLayer, const Layer &endLayer, const Point &position, const PositiveLength &size, const PositiveLength &drillDiameter, const MaskConfig &exposureConfig) noexcept | |
| Via (const SExpression &node) | |
| ~Via () noexcept | |
| const Uuid & | getUuid () const noexcept |
| const Layer & | getStartLayer () const noexcept |
| const Layer & | getEndLayer () const noexcept |
| const Point & | getPosition () const noexcept |
| const PositiveLength & | getSize () const noexcept |
| const PositiveLength & | getDrillDiameter () const noexcept |
| const MaskConfig & | getExposureConfig () const noexcept |
| Path | getOutline (const Length &expansion=Length(0)) const noexcept |
| Path | getSceneOutline (const Length &expansion=Length(0)) const noexcept |
| bool | isThrough () const noexcept |
| bool | isBlind () const noexcept |
| bool | isBuried () const noexcept |
| bool | isOnLayer (const Layer &layer) const noexcept |
| bool | isOnAnyLayer (const QSet< const Layer * > &layers) const noexcept |
| QPainterPath | toQPainterPathPx (const Length &expansion=Length(0)) const noexcept |
| bool | setUuid (const Uuid &uuid) noexcept |
| bool | setLayers (const Layer &from, const Layer &to) |
| bool | setPosition (const Point &position) noexcept |
| bool | setSize (const PositiveLength &size) noexcept |
| bool | setDrillDiameter (const PositiveLength &diameter) noexcept |
| bool | setExposureConfig (const MaskConfig &config) noexcept |
| void | serialize (SExpression &root) const |
| Serialize into librepcb::SExpression node. | |
| bool | operator== (const Via &rhs) const noexcept |
| bool | operator!= (const Via &rhs) const noexcept |
| Via & | operator= (const Via &rhs) noexcept |
Static Public Member Functions | |
| static Path | getOutline (const PositiveLength &size, const Length &expansion=Length(0)) noexcept |
| static bool | isOnLayer (const Layer &layer, const Layer &from, const Layer &to) noexcept |
| static bool | isOnAnyLayer (const QSet< const Layer * > &layers, const Layer &from, const Layer &to) noexcept |
| static QPainterPath | toQPainterPathPx (const PositiveLength &size, const PositiveLength &drillDiameter, const Length &expansion=Length(0)) noexcept |
Public Attributes | |
| Signal< Via, Event > | onEdited |
Private Attributes | |
| Uuid | mUuid |
| const Layer * | mStartLayer |
| const Layer * | mEndLayer |
| Point | mPosition |
| PositiveLength | mSize |
| PositiveLength | mDrillDiameter |
| MaskConfig | mExposureConfig |
The Via class represents a via of a board.
The main purpose of this class is to serialize and deserialize vias contained in boards.
| typedef Slot<Via, Event> OnEditedSlot |
|
strong |
|
delete |
|
noexcept |
|
explicit |
Here is the call graph for this function:
|
noexcept |
|
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:
|
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:
|
inlinenoexcept |
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the call 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 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:
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 |
|
noexcept |
|
noexcept |
|
noexcept |
| void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
| root | Root node to serialize into. |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
|
staticnoexcept |
Here is the call graph for this function:
|
staticnoexcept |
|
staticnoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |