sp-polyline.cpp revision 544f621be9be523852514d3f0924ceb6240c5807
6741N/A#include "attributes.h"
6741N/A#include "sp-polyline.h"
6741N/A#include "document.h"
6741N/A if (!polyline_type) {
6741N/A sizeof (SPPolyLineClass),
6741N/A sizeof (SPPolyLine),
6741N/A polyline_type = g_type_register_static (SP_TYPE_SHAPE, "SPPolyLine", &polyline_info, (GTypeFlags)0);
6741N/A return polyline_type;
switch (key) {
case SP_ATTR_POINTS: {
char * eptr;
if (!value) break;
while (TRUE) {
gdouble x, y;
while (*cptr != '\0' && (*cptr == ',' || *cptr == '\x20' || *cptr == '\x9' || *cptr == '\xD' || *cptr == '\xA')) {
cptr++;
if (!*cptr) break;
while (*cptr != '\0' && (*cptr == ',' || *cptr == '\x20' || *cptr == '\x9' || *cptr == '\xD' || *cptr == '\xA')) {
cptr++;
if (!*cptr) break;
if (hascpt) {
Inkscape::XML::Node* CPolyLine::onWrite(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
return repr;