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

Text decoration line type internal to SPStyle. THIS SHOULD BE A GENERIC CLASS. More...

#include <style-internal.h>

Inheritance diagram for SPITextDecorationLine:
SPIBase TypedSPI< SPAttr::TEXT_DECORATION_LINE, SPITextDecorationLine >

Public Member Functions

 SPITextDecorationLine ()
 
 ~SPITextDecorationLine () 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
 
SPITextDecorationLineoperator= (const SPITextDecorationLine &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 underline: 1
 
bool overline: 1
 
bool line_through: 1
 
bool blink: 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

Text decoration line type internal to SPStyle. THIS SHOULD BE A GENERIC CLASS.

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

Constructor & Destructor Documentation

◆ SPITextDecorationLine()

SPITextDecorationLine::SPITextDecorationLine ( )
inline

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

References clear().

◆ ~SPITextDecorationLine()

SPITextDecorationLine::~SPITextDecorationLine ( )
overridedefault

Member Function Documentation

◆ cascade()

void SPITextDecorationLine::cascade ( const SPIBase *const  parent)
overridevirtual

◆ clear()

void SPITextDecorationLine::clear ( )
inlineoverridevirtual

Reimplemented from SPIBase.

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

References blink, SPIBase::clear(), line_through, overline, and underline.

Referenced by SPITextDecorationLine().

◆ equals()

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

Reimplemented from SPIBase.

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

References blink, SPIBase::equals(), line_through, overline, and underline.

◆ get_value()

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

Implements SPIBase.

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

References blink, SPIBase::inherit, line_through, overline, and underline.

◆ merge()

void SPITextDecorationLine::merge ( const SPIBase *const  parent)
overridevirtual

◆ operator=()

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

◆ read()

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

Implements SPIBase.

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

References blink, SPIBase::inherit, line_through, overline, SPIBase::set, strneq(), and underline.

Member Data Documentation

◆ blink

bool SPITextDecorationLine::blink

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

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

◆ line_through

bool SPITextDecorationLine::line_through

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

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

◆ overline

bool SPITextDecorationLine::overline

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

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

◆ underline

bool SPITextDecorationLine::underline

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

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


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