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

The SGI_Symbol class. More...

#include <sgi_symbol.h>

+ Inheritance diagram for SGI_Symbol:
+ Collaboration diagram for SGI_Symbol:

Classes

struct  CachedTextProperties_t
 

Public Member Functions

 SGI_Symbol (SI_Symbol &symbol) noexcept
 
 ~SGI_Symbol () 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 SGI_Base
 SGI_Base () noexcept
 
virtual ~SGI_Base () noexcept
 

Private Member Functions

 SGI_Symbol ()=delete
 
 SGI_Symbol (const SGI_Symbol &other)=delete
 
SGI_Symboloperator= (const SGI_Symbol &rhs)=delete
 
GraphicsLayergetLayer (const QString &name) const noexcept
 

Private Attributes

SI_SymbolmSymbol
 
const library::SymbolmLibSymbol
 
QFont mFont
 
QRectF mBoundingRect
 
QPainterPath mShape
 
QHash< const Text
*, CachedTextProperties_t
mCachedTextProperties
 

Detailed Description

The SGI_Symbol class.

Author
ubruhin
Date
2014-08-23

Constructor & Destructor Documentation

SGI_Symbol ( SI_Symbol symbol)
explicitnoexcept
~SGI_Symbol ( )
noexcept
SGI_Symbol ( )
privatedelete
SGI_Symbol ( const SGI_Symbol other)
privatedelete

Member Function Documentation

void updateCacheAndRepaint ( )
noexcept

+ Here is the call graph for this function:

QRectF boundingRect ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

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

+ Here is the caller graph for this function:

Member Data Documentation

SI_Symbol& mSymbol
private
const library::Symbol& mLibSymbol
private
QFont mFont
private
QRectF mBoundingRect
private
QPainterPath mShape
private
QHash<const Text*, CachedTextProperties_t> mCachedTextProperties
private

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