Inkscape
Vector Graphics Editor
|
Shapes type internal to SPStyle. More...
#include <style-internal.h>
Public Member Functions | |
~SPIShapes () override | |
SPIShapes () | |
SPIShapes (const SPIShapes &)=delete | |
void | read (gchar const *str) override |
void | clear () override |
bool | containsAnyShape (Inkscape::ObjectSet *set) |
Check if a Shape object exists in the selection Needed for when user selects multiple objects and. | |
![]() | |
SPIString (bool inherits=true) | |
SPIString (const SPIString &rhs) | |
~SPIString () override | |
void | read (gchar const *str) override |
const Glib::ustring | get_value () const override |
Value as it should be written to CSS representation, including quotes if needed. | |
void | clear () override |
void | cascade (const SPIBase *const parent) override |
void | merge (const SPIBase *const parent) override |
SPIString & | operator= (const SPIString &rhs) |
bool | equals (const SPIBase &rhs) const override |
char const * | value () const |
Get value if set, or inherited value, or default value (may be NULL) | |
![]() | |
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 | |
std::vector< SPShapeReference * > | hrefs |
![]() | |
bool | inherits: 1 |
bool | set: 1 |
bool | inherit: 1 |
bool | important: 1 |
SPStyleSrc | style_src |
Private Member Functions | |
void | hrefs_clear () |
Additional Inherited Members | |
![]() | |
char const * | important_str () const |
![]() | |
SPStyle * | style |
Shapes type internal to SPStyle.
Definition at line 658 of file style-internal.h.
|
override |
Definition at line 1361 of file style-internal.cpp.
References hrefs_clear().
SPIShapes::SPIShapes | ( | ) |
Definition at line 1365 of file style-internal.cpp.
|
delete |
|
overridevirtual |
Reimplemented from SPIBase.
Definition at line 1436 of file style-internal.cpp.
References SPIBase::clear(), and hrefs_clear().
bool SPIShapes::containsAnyShape | ( | Inkscape::ObjectSet * | set | ) |
Check if a Shape object exists in the selection Needed for when user selects multiple objects and.
the | ObjectSet to search |
Definition at line 1379 of file style-internal.cpp.
References hrefs, ref, and SPIBase::set.
|
private |
Definition at line 1443 of file style-internal.cpp.
References hrefs.
Referenced by clear(), and ~SPIShapes().
|
overridevirtual |
Implements SPIBase.
Definition at line 1393 of file style-internal.cpp.
References extract_uri(), hrefs, SPStyle::object, SPIString::read(), SPIBase::set, SPIBase::style, and Inkscape::URIReference::try_attach().
std::vector<SPShapeReference *> SPIShapes::hrefs |
Definition at line 670 of file style-internal.h.
Referenced by containsAnyShape(), find_references(), hrefs_clear(), and read().