Krita Source Code Documentation
Loading...
Searching...
No Matches
KoSvgText::BackgroundProperty Struct Reference

BackgroundProperty is a special wrapper around KoShapeBackground for managing it in KoSvgTextProperties. More...

#include <KoSvgText.h>

+ Inheritance diagram for KoSvgText::BackgroundProperty:

Public Member Functions

 BackgroundProperty ()
 
 BackgroundProperty (QSharedPointer< KoShapeBackground > p)
 
bool operator== (const BackgroundProperty &rhs) const
 

Public Attributes

QSharedPointer< KoShapeBackgroundproperty
 

Detailed Description

BackgroundProperty is a special wrapper around KoShapeBackground for managing it in KoSvgTextProperties.

Definition at line 713 of file KoSvgText.h.

Constructor & Destructor Documentation

◆ BackgroundProperty() [1/2]

KoSvgText::BackgroundProperty::BackgroundProperty ( )
inline

Definition at line 715 of file KoSvgText.h.

715{}

◆ BackgroundProperty() [2/2]

KoSvgText::BackgroundProperty::BackgroundProperty ( QSharedPointer< KoShapeBackground > p)
inline

Definition at line 716 of file KoSvgText.h.

716: property(p) {}
const Params2D p
QSharedPointer< KoShapeBackground > property
Definition KoSvgText.h:724

Member Function Documentation

◆ operator==()

bool KoSvgText::BackgroundProperty::operator== ( const BackgroundProperty & rhs) const
inline

Definition at line 718 of file KoSvgText.h.

718 {
719 return (!property && !rhs.property) ||
720 (property && rhs.property &&
721 property->compareTo(rhs.property.data()));
722 }

References property.

Member Data Documentation

◆ property

QSharedPointer<KoShapeBackground> KoSvgText::BackgroundProperty::property

Definition at line 724 of file KoSvgText.h.


The documentation for this struct was generated from the following file: