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

StrokeProperty is a special wrapper around KoShapeStrokeModel for managing it in KoSvgTextProperties. More...

#include <KoSvgText.h>

+ Inheritance diagram for KoSvgText::StrokeProperty:

Public Member Functions

bool operator== (const StrokeProperty &rhs) const
 
 StrokeProperty ()
 
 StrokeProperty (QSharedPointer< KoShapeStrokeModel > p)
 

Public Attributes

QSharedPointer< KoShapeStrokeModelproperty
 

Detailed Description

StrokeProperty is a special wrapper around KoShapeStrokeModel for managing it in KoSvgTextProperties.

Definition at line 732 of file KoSvgText.h.

Constructor & Destructor Documentation

◆ StrokeProperty() [1/2]

KoSvgText::StrokeProperty::StrokeProperty ( )
inline

Definition at line 734 of file KoSvgText.h.

734{}

◆ StrokeProperty() [2/2]

KoSvgText::StrokeProperty::StrokeProperty ( QSharedPointer< KoShapeStrokeModel > p)
inline

Definition at line 735 of file KoSvgText.h.

735: property(p) {}
const Params2D p
QSharedPointer< KoShapeStrokeModel > property
Definition KoSvgText.h:743

Member Function Documentation

◆ operator==()

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

Definition at line 737 of file KoSvgText.h.

737 {
738 return (!property && !rhs.property) ||
739 (property && rhs.property &&
740 property->compareFillTo(rhs.property.data()) && property->compareStyleTo(rhs.property.data()));
741 }

References property.

Member Data Documentation

◆ property

QSharedPointer<KoShapeStrokeModel> KoSvgText::StrokeProperty::property

Definition at line 743 of file KoSvgText.h.


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