LibrePCB Developers Documentation
BGI_Via Class Referencefinal

The BGI_Via class. More...

#include <bgi_via.h>

+ Inheritance diagram for BGI_Via:
+ Collaboration diagram for BGI_Via:

Public Member Functions

 BGI_Via (BI_Via &via) noexcept
 
 ~BGI_Via () noexcept
 
bool isSelectable () const noexcept
 
void updateCacheAndRepaint () noexcept
 
QRectF boundingRect () const
 
QPainterPath shape () const noexcept
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
- Public Member Functions inherited from BGI_Base
 BGI_Base () noexcept
 
virtual ~BGI_Base () noexcept
 

Private Member Functions

 BGI_Via ()=delete
 
 BGI_Via (const BGI_Via &other)=delete
 
BGI_Viaoperator= (const BGI_Via &rhs)=delete
 
GraphicsLayergetLayer (const QString &name) const noexcept
 

Private Attributes

BI_ViamVia
 
GraphicsLayermViaLayer
 
GraphicsLayermTopStopMaskLayer
 
GraphicsLayermBottomStopMaskLayer
 
bool mDrawStopMask
 
QPainterPath mShape
 
QPainterPath mCopper
 
QPainterPath mStopMask
 
QPainterPath mCreamMask
 
QRectF mBoundingRect
 
QFont mFont
 

Additional Inherited Members

- Static Protected Member Functions inherited from BGI_Base
static qreal getZValueOfCopperLayer (const QString &name) noexcept
 

Detailed Description

The BGI_Via class.

Constructor & Destructor Documentation

◆ BGI_Via() [1/3]

BGI_Via ( BI_Via via)
explicitnoexcept

◆ ~BGI_Via()

~BGI_Via ( )
noexcept

◆ BGI_Via() [2/3]

BGI_Via ( )
privatedelete
+ Here is the caller graph for this function:

◆ BGI_Via() [3/3]

BGI_Via ( const BGI_Via other)
privatedelete

Member Function Documentation

◆ isSelectable()

bool isSelectable ( ) const
noexcept
+ Here is the call graph for this function:

◆ updateCacheAndRepaint()

void updateCacheAndRepaint ( )
noexcept
+ Here is the call graph for this function:

◆ boundingRect()

QRectF boundingRect ( ) const
inline
+ Here is the caller graph for this function:

◆ shape()

QPainterPath shape ( ) const
inlinenoexcept
+ Here is the call graph for this function:

◆ paint()

void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

BGI_Via& operator= ( const BGI_Via rhs)
privatedelete
+ Here is the caller graph for this function:

◆ getLayer()

GraphicsLayer * getLayer ( const QString &  name) const
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mVia

BI_Via& mVia
private

◆ mViaLayer

GraphicsLayer* mViaLayer
private

◆ mTopStopMaskLayer

GraphicsLayer* mTopStopMaskLayer
private

◆ mBottomStopMaskLayer

GraphicsLayer* mBottomStopMaskLayer
private

◆ mDrawStopMask

bool mDrawStopMask
private

◆ mShape

QPainterPath mShape
private

◆ mCopper

QPainterPath mCopper
private

◆ mStopMask

QPainterPath mStopMask
private

◆ mCreamMask

QPainterPath mCreamMask
private

◆ mBoundingRect

QRectF mBoundingRect
private

◆ mFont

QFont mFont
private

The documentation for this class was generated from the following files: