Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
SPIVectorEffect Class Reference

Vector Effects. THIS SHOULD BE A GENERIC CLASS. More...

#include <style-internal.h>

Inheritance diagram for SPIVectorEffect:
SPIBase TypedSPI< SPAttr::VECTOR_EFFECT, SPIVectorEffect >

Public Member Functions

 SPIVectorEffect ()
 
 ~SPIVectorEffect () override=default
 
void read (gchar const *str) override
 
const Glib::ustring get_value () const override
 
void clear () override
 
void cascade (const SPIBase *const parent) override
 
void merge (const SPIBase *const parent) override
 
SPIVectorEffectoperator= (const SPIVectorEffect &rhs)=default
 
bool equals (const SPIBase &rhs) const override
 
- Public Member Functions inherited from SPIBase
 SPIBase (bool inherits_=true)
 
virtual ~SPIBase ()=default
 
void readIfUnset (gchar const *str, SPStyleSrc source=SPStyleSrc::STYLE_PROP)
 
void readAttribute (Inkscape::XML::Node *repr)
 
bool shall_write (guint const flags=SP_STYLE_FLAG_IFSET, SPStyleSrc const &style_src_req=SPStyleSrc::STYLE_PROP, SPIBase const *const base=nullptr) const
 Check if this property should be written.
 
virtual const Glib::ustring write (guint const flags=SP_STYLE_FLAG_IFSET, SPStyleSrc const &style_src_req=SPStyleSrc::STYLE_PROP, SPIBase const *const base=nullptr) const
 Compile this style conditionally into a 'name: value' string suitable for css attrs.
 
void overwrite (const SPIBase *const other)
 
void setStylePointer (SPStyle *style_in)
 
SPIBaseoperator= (const SPIBase &rhs)=default
 
bool operator== (const SPIBase &rhs) const
 
virtual SPAttr id () const
 
Glib::ustring const & name () const
 

Public Attributes

bool stroke: 1
 
bool size: 1
 
bool rotate: 1
 
bool fixed: 1
 
- Public Attributes inherited from SPIBase
bool inherits: 1
 
bool set: 1
 
bool inherit: 1
 
bool important: 1
 
SPStyleSrc style_src
 

Additional Inherited Members

- Protected Member Functions inherited from SPIBase
char const * important_str () const
 
- Protected Attributes inherited from SPIBase
SPStylestyle
 

Detailed Description

Vector Effects. THIS SHOULD BE A GENERIC CLASS.

Definition at line 1199 of file style-internal.h.

Constructor & Destructor Documentation

◆ SPIVectorEffect()

SPIVectorEffect::SPIVectorEffect ( )
inline

Definition at line 1203 of file style-internal.h.

References clear().

◆ ~SPIVectorEffect()

SPIVectorEffect::~SPIVectorEffect ( )
overridedefault

Member Function Documentation

◆ cascade()

void SPIVectorEffect::cascade ( const SPIBase *const  parent)
inlineoverridevirtual

Implements SPIBase.

Definition at line 1223 of file style-internal.h.

◆ clear()

void SPIVectorEffect::clear ( )
inlineoverridevirtual

Reimplemented from SPIBase.

Definition at line 1214 of file style-internal.h.

References SPIBase::clear(), fixed, rotate, size, and stroke.

Referenced by SPIVectorEffect().

◆ equals()

bool SPIVectorEffect::equals ( const SPIBase rhs) const
overridevirtual

Reimplemented from SPIBase.

Definition at line 3314 of file style-internal.cpp.

References SPIBase::equals(), fixed, rotate, size, and stroke.

◆ get_value()

const Glib::ustring SPIVectorEffect::get_value ( ) const
overridevirtual

Implements SPIBase.

Definition at line 3288 of file style-internal.cpp.

References fixed, SPIBase::inherit, rotate, size, and stroke.

◆ merge()

void SPIVectorEffect::merge ( const SPIBase *const  parent)
inlineoverridevirtual

Implements SPIBase.

Definition at line 1224 of file style-internal.h.

◆ operator=()

SPIVectorEffect & SPIVectorEffect::operator= ( const SPIVectorEffect rhs)
default

◆ read()

void SPIVectorEffect::read ( gchar const *  str)
overridevirtual

Implements SPIBase.

Definition at line 3228 of file style-internal.cpp.

References fixed, rotate, SPIBase::set, size, strneq(), and stroke.

Member Data Documentation

◆ fixed

bool SPIVectorEffect::fixed

Definition at line 1235 of file style-internal.h.

Referenced by clear(), equals(), get_value(), and read().

◆ rotate

bool SPIVectorEffect::rotate

Definition at line 1234 of file style-internal.h.

Referenced by clear(), equals(), get_value(), and read().

◆ size

bool SPIVectorEffect::size

Definition at line 1233 of file style-internal.h.

Referenced by clear(), equals(), get_value(), and read().

◆ stroke

bool SPIVectorEffect::stroke

Definition at line 1232 of file style-internal.h.

Referenced by clear(), equals(), get_value(), and read().


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