LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BGI_Plane Class Referencefinal

The BGI_Plane class. More...

#include <bgi_plane.h>

+ Inheritance diagram for BGI_Plane:
+ Collaboration diagram for BGI_Plane:

Public Member Functions

 BGI_Plane (BI_Plane &plane) noexcept
 
 ~BGI_Plane () 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_Plane ()=delete
 
 BGI_Plane (const BGI_Plane &other)=delete
 
BGI_Planeoperator= (const BGI_Plane &rhs)=delete
 
GraphicsLayergetLayer (QString name) const noexcept
 

Private Attributes

BI_PlanemPlane
 
GraphicsLayermLayer
 
QRectF mBoundingRect
 
QPainterPath mShape
 
QPainterPath mOutline
 
QVector< QPainterPath > mAreas
 

Additional Inherited Members

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

Detailed Description

The BGI_Plane class.

Author
ubruhin
Date
2017-11-19

Constructor & Destructor Documentation

BGI_Plane ( BI_Plane plane)
explicitnoexcept
~BGI_Plane ( )
noexcept
BGI_Plane ( )
privatedelete
BGI_Plane ( const BGI_Plane 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_Plane& operator= ( const BGI_Plane 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_Plane& mPlane
private
GraphicsLayer* mLayer
private
QRectF mBoundingRect
private
QPainterPath mShape
private
QPainterPath mOutline
private
QVector<QPainterPath> mAreas
private

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