67 if (strncmp(value,
"initial", 7) == 0) {
71 if (strncmp(value,
"isolated", 8) == 0) {
76 if (strncmp(value,
"medial", 6) == 0) {
81 if (strncmp(value,
"terminal", 8) == 0) {
140 this->
d = g_strdup(value);
170 this->
lang = g_strdup(value);
176 double number = value ? g_ascii_strtod(value,
nullptr) : 0;
186 double number = value ? g_ascii_strtod(value,
nullptr) : 0;
196 double number = value ? g_ascii_strtod(value,
nullptr) : 0;
206 double number = value ? g_ascii_strtod(value,
nullptr) : 0;
227 if (flags & SP_OBJECT_MODIFIED_FLAG) {
244#define COPY_ATTR(rd,rs,key) (rd)->setAttribute((key), rs->attribute(key));
248 if ((flags & SP_OBJECT_WRITE_BUILD) && !
repr) {
Lookup dictionary for attributes/properties.
Interface for refcounted XML nodes.
Typed SVG document implementation.
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned int flags) override
void set(SPAttr key, const char *value) override
void update(SPCtx *ctx, unsigned int flags) override
Receives update notifications.
glyphArabicForm arabic_form
glyphOrientation orientation
SPObject is an abstract base class of all of the document nodes at the SVG document level.
Inkscape::XML::Node * repr
void requestModified(unsigned int flags)
Requests that a modification notification signal be emitted later (e.g.
virtual void set(SPAttr key, const char *value)
virtual Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned int flags)
virtual void update(SPCtx *ctx, unsigned int flags)
void readAttr(char const *key)
Read value of key attribute from XML node into object.
Inkscape::XML::Node * getRepr()
Returns the XML representation of tree.
virtual void build(SPDocument *doc, Inkscape::XML::Node *repr)
static cairo_user_data_key_t key
static glyphOrientation sp_glyph_read_orientation(gchar const *value)
static glyphArabicForm sp_glyph_read_arabic_form(gchar const *value)
@ GLYPH_ARABIC_FORM_ISOLATED
@ GLYPH_ARABIC_FORM_INITIAL
@ GLYPH_ARABIC_FORM_TERMINAL
@ GLYPH_ARABIC_FORM_MEDIAL
@ GLYPH_ORIENTATION_VERTICAL
@ GLYPH_ORIENTATION_HORIZONTAL
Interface for XML documents.
virtual Node * createElement(char const *name)=0
Interface for XML documents.