LibrePCB Developers Documentation
BGI_Footprint Class Referencefinal

The BGI_Footprint class. More...

#include <bgi_footprint.h>

+ Inheritance diagram for BGI_Footprint:
+ Collaboration diagram for BGI_Footprint:

Public Member Functions

 BGI_Footprint (BI_Footprint &footprint) noexcept
 
 ~BGI_Footprint () 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_Footprint ()=delete
 
 BGI_Footprint (const BGI_Footprint &other)=delete
 
BGI_Footprintoperator= (const BGI_Footprint &rhs)=delete
 
GraphicsLayergetLayer (QString name) const noexcept
 

Private Attributes

BI_FootprintmFootprint
 
const library::FootprintmLibFootprint
 
QRectF mBoundingRect
 
QPainterPath mShape
 

Additional Inherited Members

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

Detailed Description

The BGI_Footprint class.

Constructor & Destructor Documentation

◆ BGI_Footprint() [1/3]

BGI_Footprint ( BI_Footprint footprint)
explicitnoexcept

◆ ~BGI_Footprint()

~BGI_Footprint ( )
noexcept

◆ BGI_Footprint() [2/3]

BGI_Footprint ( )
privatedelete

◆ BGI_Footprint() [3/3]

BGI_Footprint ( const BGI_Footprint 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_Footprint& operator= ( const BGI_Footprint 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

◆ mFootprint

BI_Footprint& mFootprint
private

◆ mLibFootprint

const library::Footprint& mLibFootprint
private

◆ mBoundingRect

QRectF mBoundingRect
private

◆ mShape

QPainterPath mShape
private

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