LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( BI_Via via)
explicitnoexcept
~BGI_Via ( )
noexcept
BGI_Via ( )
privatedelete
BGI_Via ( const BGI_Via other)
privatedelete

Member Function Documentation

bool isSelectable ( ) const
noexcept

+ Here is the call graph for this function:

void updateCacheAndRepaint ( )
noexcept

+ Here is the call graph for this function:

QRectF boundingRect ( ) const
inline

+ Here is the caller graph for this function:

QPainterPath shape ( ) const
inlinenoexcept
void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)

+ Here is the call graph for this function:

BGI_Via& operator= ( const BGI_Via rhs)
privatedelete
GraphicsLayer * getLayer ( const QString &  name) const
privatenoexcept

+ Here is the caller graph for this function:

Member Data Documentation

BI_Via& mVia
private
GraphicsLayer* mViaLayer
private
GraphicsLayer* mTopStopMaskLayer
private
GraphicsLayer* mBottomStopMaskLayer
private
bool mDrawStopMask
private
QPainterPath mShape
private
QPainterPath mCopper
private
QPainterPath mStopMask
private
QPainterPath mCreamMask
private
QRectF mBoundingRect
private
QFont mFont
private

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