17#include <glibmm/i18n.h>
53 if ((flags & SP_OBJECT_WRITE_BUILD) && !
repr) {
71 return g_strdup(_(
"<b>Polyline</b>"));
Lookup dictionary for attributes/properties.
Sequence of contiguous curves, aka spline.
Interface for refcounted XML nodes.
virtual void mergeFrom(Node const *src, char const *key, bool extension=false, bool clean=false)=0
Merge all children of another node with the current.
Typed SVG document implementation.
Inkscape::XML::Node * repr
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.
char * description() const override
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
void set(SPAttr key, char const *value) override
Inkscape::XML::Node * write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags) override
const char * typeName() const override
The item's type name, not node tag name.
Base class for shapes, including <path> element.
void setCurve(Geom::PathVector const *)
void set(SPAttr key, char const *value) override
void build(SPDocument *document, Inkscape::XML::Node *repr) override
Inkscape::XML::Node * write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags) override
static cairo_user_data_key_t key
std::optional< Geom::Path > sp_poly_parse_curve(char const *points)
Parse a 'points' attribute, printing a warning when an error occurs.
TODO: insert short description here.
Interface for XML documents.
virtual Node * createElement(char const *name)=0
Interface for XML documents.