Inkscape
Vector Graphics Editor
|
Text decoration type internal to SPStyle. More...
#include <style-internal.h>
Public Member Functions | |
SPITextDecoration ()=default | |
~SPITextDecoration () override=default | |
void | read (gchar const *str) override |
const Glib::ustring | get_value () const override |
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 override |
Compile this style conditionally into a 'name: value' string suitable for css attrs. | |
void | clear () override |
void | cascade (const SPIBase *const parent) override |
void | merge (const SPIBase *const parent) override |
SPITextDecoration & | operator= (const SPITextDecoration &rhs) |
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. | |
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 | |
SPStyle * | style_td = nullptr |
![]() | |
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 |
Text decoration type internal to SPStyle.
Definition at line 1149 of file style-internal.h.
|
default |
|
overridedefault |
|
overridevirtual |
Implements SPIBase.
Definition at line 3191 of file style-internal.cpp.
|
inlineoverridevirtual |
Reimplemented from SPIBase.
Definition at line 1163 of file style-internal.h.
References SPIBase::clear(), and style_td.
|
overridevirtual |
Reimplemented from SPIBase.
Definition at line 3216 of file style-internal.cpp.
References SPIBase::equals(), SPIBase::style, and SPStyle::text_decoration_line.
|
overridevirtual |
Implements SPIBase.
Definition at line 3172 of file style-internal.cpp.
References SPIBase::inherit, SPIBase::style, and SPStyle::text_decoration_line.
Referenced by write().
|
overridevirtual |
Implements SPIBase.
Definition at line 3203 of file style-internal.cpp.
|
inline |
Definition at line 1171 of file style-internal.h.
References SPIBase::operator=().
|
overridevirtual |
Implements SPIBase.
Definition at line 3101 of file style-internal.cpp.
References SPIBase::set, SPIBase::style, style_td, SPStyle::text_decoration_color, SPStyle::text_decoration_line, and SPStyle::text_decoration_style.
|
overridevirtual |
Compile this style conditionally into a 'name: value' string suitable for css attrs.
see shall_write for details on conditional flags.
flags | Conditions bitmask of SP_STYLE_FLAG_* bits |
style_src_req | For SP_STYLE_FLAG_IFSRC |
base | Parent node style for SP_STYLE_FLAG_IFDIFF , can be NULL |
Reimplemented from SPIBase.
Definition at line 3178 of file style-internal.cpp.
References get_value(), SPIBase::important_str(), SPIBase::name(), SPIBase::set, SPIBase::style, and SPStyle::text_decoration_line.
SPStyle* SPITextDecoration::style_td = nullptr |