Searched refs:prec (Results 1 - 6 of 6) sorted by relevance

/inkscape/src/svg/
H A Dsvg-affine.cpp162 int prec = prefs->getInt("/options/svgoutput/numericprecision", 8); local
186 p += sp_svg_number_write_de( c + p, sizeof(c) - p, transform[0], prec, min_exp );
192 p += sp_svg_number_write_de( c + p, sizeof(c) - p, transform[3], prec, min_exp );
200 p += sp_svg_number_write_de( c + p, sizeof(c) - p, transform[4], prec, min_exp );
206 p += sp_svg_number_write_de( c + p, sizeof(c) - p, transform[5], prec, min_exp );
216 p += sp_svg_number_write_de(c + p, sizeof(c) - p, angle, prec, min_exp);
229 p += sp_svg_number_write_de(c + p, sizeof(c) - p, angle, prec, min_exp);
234 p += sp_svg_number_write_de(c + p, sizeof(c) - p, tx, prec, min_exp);
239 p += sp_svg_number_write_de(c + p, sizeof(c) - p, ty, prec, min_exp);
249 p += sp_svg_number_write_de(c + p, sizeof(c) - p, angle, prec, min_ex
[all...]
H A Dcss-ostringstream.cpp21 write_num(Inkscape::CSSOStringStream &os, unsigned const prec, double const d) argument
24 switch (prec) {
H A Dsvg-length-test.h17 char const* str; double val; int prec; int minexp; member in struct:SvgLengthTest::testd_t
151 unsigned int retval = sp_svg_number_write_de( buf, sizeof(buf), precTests[i].val, precTests[i].prec, precTests[i].minexp );
/inkscape/src/2geom/
H A Dsvg-path-writer.h67 void setPrecision(int prec);
108 std::string write_svg_path(PathVector const &pv, int prec = -1, bool optimize = false, bool shorthands = true);
H A Dsvg-path-writer.cpp240 void SVGPathWriter::setPrecision(int prec) argument
242 _precision = prec;
243 if (prec < 0) {
246 _epsilon = std::pow(10., -prec);
274 std::string write_svg_path(PathVector const &pv, int prec, bool optimize, bool shorthands) argument
277 writer.setPrecision(prec);
/inkscape/share/extensions/
H A Dmeasure.py209 prec = int(self.options.precision)
241 lenstr = locale.format("%(len)25."+str(prec)+"f",{'len':round(stotal*factor*self.options.scale,prec)}).strip()

Completed in 45 milliseconds