LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.

Author
ubruhin
Date
2015-05-24

Constructor & Destructor Documentation

BGI_Footprint ( BI_Footprint footprint)
explicitnoexcept
~BGI_Footprint ( )
noexcept
BGI_Footprint ( )
privatedelete
BGI_Footprint ( const BGI_Footprint 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
inlinenoexcept
QPainterPath shape ( ) const
inlinenoexcept
void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = 0 
)

+ Here is the call graph for this function:

BGI_Footprint& operator= ( const BGI_Footprint rhs)
privatedelete
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

BI_Footprint& mFootprint
private
const library::Footprint& mLibFootprint
private
QRectF mBoundingRect
private
QPainterPath mShape
private

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