LibrePCB Developers Documentation
BGI_FootprintPad Class Referencefinal

The BGI_FootprintPad class. More...

#include <bgi_footprintpad.h>

+ Inheritance diagram for BGI_FootprintPad:
+ Collaboration diagram for BGI_FootprintPad:

Public Member Functions

 BGI_FootprintPad (BI_FootprintPad &pad) noexcept
 
 ~BGI_FootprintPad () noexcept
 
bool isSelectable () const noexcept
 
void updateCacheAndRepaint () noexcept
 
QRectF boundingRect () const noexcept
 
QPainterPath shape () const noexcept
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
 
- Public Member Functions inherited from BGI_Base
 BGI_Base () noexcept
 
virtual ~BGI_Base () noexcept
 

Private Member Functions

 BGI_FootprintPad ()=delete
 
 BGI_FootprintPad (const BGI_FootprintPad &other)=delete
 
BGI_FootprintPadoperator= (const BGI_FootprintPad &rhs)=delete
 
GraphicsLayergetLayer (QString name) const noexcept
 

Private Attributes

BI_FootprintPadmPad
 
const library::FootprintPadmLibPad
 
GraphicsLayermPadLayer
 
GraphicsLayermTopStopMaskLayer
 
GraphicsLayermBottomStopMaskLayer
 
GraphicsLayermTopCreamMaskLayer
 
GraphicsLayermBottomCreamMaskLayer
 
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_FootprintPad class.

Constructor & Destructor Documentation

◆ BGI_FootprintPad() [1/3]

BGI_FootprintPad ( BI_FootprintPad pad)
explicitnoexcept

◆ ~BGI_FootprintPad()

~BGI_FootprintPad ( )
noexcept

◆ BGI_FootprintPad() [2/3]

BGI_FootprintPad ( )
privatedelete

◆ BGI_FootprintPad() [3/3]

BGI_FootprintPad ( const BGI_FootprintPad 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
inlinenoexcept

◆ shape()

QPainterPath shape ( ) const
inlinenoexcept

◆ paint()

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

◆ operator=()

BGI_FootprintPad& operator= ( const BGI_FootprintPad rhs)
privatedelete

◆ getLayer()

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

Member Data Documentation

◆ mPad

BI_FootprintPad& mPad
private

◆ mLibPad

const library::FootprintPad& mLibPad
private

◆ mPadLayer

GraphicsLayer* mPadLayer
private

◆ mTopStopMaskLayer

GraphicsLayer* mTopStopMaskLayer
private

◆ mBottomStopMaskLayer

GraphicsLayer* mBottomStopMaskLayer
private

◆ mTopCreamMaskLayer

GraphicsLayer* mTopCreamMaskLayer
private

◆ mBottomCreamMaskLayer

GraphicsLayer* mBottomCreamMaskLayer
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: