1
#define INKSCAPE_LIVEPATHEFFECT_PARAMETER_ARRAY_CPP
4
* Copyright (C) Johan Engelen 2008 <j.b.c.engelen@utwente.nl>
6
* Released under GNU GPL, read the file 'COPYING' for more information
9
#include "live_effects/parameter/array.h"
12
#include "svg/stringstream.h"
14
#include <2geom/coord.h>
18
namespace LivePathEffect {
22
ArrayParam<double>::readsvg(const gchar * str)
24
double newx = Geom::infinity();
25
sp_svg_number_read_d(str, &newx);
31
ArrayParam<float>::readsvg(const gchar * str)
33
float newx = Geom::infinity();
34
sp_svg_number_read_f(str, &newx);
38
} /* namespace LivePathEffect */
40
} /* namespace Inkscape */
45
c-file-style:"stroustrup"
46
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
51
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :