Inkscape
Vector Graphics Editor
|
Custom stroke properties. Only used for -inkscape-stroke: hairline. More...
#include <style-internal.h>
Public Member Functions | |
SPIStrokeExtensions () | |
~SPIStrokeExtensions () 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 |
SPIStrokeExtensions & | operator= (const SPIStrokeExtensions &rhs)=default |
bool | equals (const SPIBase &rhs) const override |
![]() | |
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) |
SPIBase & | operator= (const SPIBase &rhs)=default |
bool | operator== (const SPIBase &rhs) const |
virtual SPAttr | id () const |
Glib::ustring const & | name () const |
Public Attributes | |
bool | hairline: 1 |
![]() | |
bool | inherits: 1 |
bool | set: 1 |
bool | inherit: 1 |
bool | important: 1 |
SPStyleSrc | style_src |
Additional Inherited Members | |
![]() | |
char const * | important_str () const |
![]() | |
SPStyle * | style |
Custom stroke properties. Only used for -inkscape-stroke: hairline.
Definition at line 1239 of file style-internal.h.
|
inline |
Definition at line 1243 of file style-internal.h.
|
overridedefault |
|
inlineoverridevirtual |
Implements SPIBase.
Definition at line 1256 of file style-internal.h.
|
inlineoverridevirtual |
Reimplemented from SPIBase.
Definition at line 1250 of file style-internal.h.
References SPIBase::clear(), and hairline.
|
overridevirtual |
Reimplemented from SPIBase.
Definition at line 3361 of file style-internal.cpp.
References SPIBase::equals(), and hairline.
|
overridevirtual |
Implements SPIBase.
Definition at line 3344 of file style-internal.cpp.
References hairline, and SPIBase::inherit.
|
inlineoverridevirtual |
Implements SPIBase.
Definition at line 1257 of file style-internal.h.
|
default |
|
overridevirtual |
Implements SPIBase.
Definition at line 3330 of file style-internal.cpp.
References hairline, and SPIBase::set.
bool SPIStrokeExtensions::hairline |
Definition at line 1265 of file style-internal.h.
Referenced by clear(), equals(), get_value(), and read().