/inkscape/src/svg/ |
H A D | css-ostringstream.h | 52 std::streamsize precision() const { function in class:Inkscape::CSSOStringStream 53 return ostr.precision(); 56 std::streamsize precision(std::streamsize p) { function in class:Inkscape::CSSOStringStream 57 return ostr.precision(p);
|
H A D | stringstream.h | 55 std::streamsize precision() const { function in class:Inkscape::SVGOStringStream 56 return ostr.precision(); 59 std::streamsize precision(std::streamsize p) { function in class:Inkscape::SVGOStringStream 60 return ostr.precision(p);
|
H A D | path-string.cpp | 115 // to represent the difference exceeds the precision of a double. This is not very likely though, and if 132 // This assumes the input numbers are already rounded to 'precision' digits 149 void Inkscape::SVG::PathString::State::appendNumber(double v, int precision, int minexp) { argument 150 size_t const reserve = precision+1+1+1+1+3; // Just large enough to hold the maximum number of digits plus a sign, a period, the letter 'e', another sign and three digits for the exponent 154 size_t added = sp_svg_number_write_de(begin_of_num, reserve, v, precision, minexp); 158 void Inkscape::SVG::PathString::State::appendNumber(double v, double &rv, int precision, int minexp) { argument 160 appendNumber(v, precision, minexp);
|
/inkscape/src/extension/param/ |
H A D | float.h | 50 float precision (void) { return _precision; } function in class:Inkscape::Extension::ParamFloat
|
H A D | float.cpp | 61 const char * precision = xml->attribute("precision"); local 62 if (precision != NULL) { 63 _precision = atoi(precision);
|
/inkscape/share/extensions/ |
H A D | ffgeom.py | 30 precision = 5 variable in class:Point 38 return '(%s, %s)' % (round(self['x'],self.precision),round(self['y'],self.precision))
|
/inkscape/src/2geom/ |
H A D | pathvector.cpp | 130 void PathVector::snapEnds(Coord precision) argument 133 (*this)[i].snapEnds(precision); 158 PathVector const &a, PathVector const &b, Coord precision) 160 , _precision(precision) 217 std::vector<PVIntersection> PathVector::intersect(PathVector const &other, Coord precision) const 221 PathIntersectionSweepSet pisset(result, *this, other, precision); 157 PathIntersectionSweepSet(std::vector<PVIntersection> &result, PathVector const &a, PathVector const &b, Coord precision) argument
|
H A D | basic-intersection.cpp | 64 // double precision){ 65 // find_intersections_bezier_recursive(xs, A, B, precision); 78 double precision) 80 find_intersections_bezier_clipping(xs, bezier_points(A), bezier_points(B), precision); 86 double precision) 92 find_intersections_bezier_clipping(xs, BezA, BezB, precision); 98 double precision) 100 find_intersections_bezier_clipping(xs, A, B, precision); 141 double precision) 172 find_intersections(section, pieces[i], pieces[j], precision); 75 find_intersections(std::vector<std::pair<double, double> > &xs, D2<Bezier> const & A, D2<Bezier> const & B, double precision) argument 83 find_intersections(std::vector<std::pair<double, double> > &xs, D2<SBasis> const & A, D2<SBasis> const & B, double precision) argument 95 find_intersections(std::vector< std::pair<double, double> > & xs, std::vector<Point> const& A, std::vector<Point> const& B, double precision) argument 139 find_self_intersections(std::vector<std::pair<double, double> > &xs, D2<Bezier> const &A, double precision) argument 192 find_self_intersections(std::vector<std::pair<double, double> > &xs, D2<SBasis> const &A, double precision) argument [all...] |
H A D | intersection-graph.cpp | 59 PathIntersectionGraph::PathIntersectionGraph(PathVector const &a, PathVector const &b, Coord precision) argument 68 bool has_intersections = _prepareIntersectionLists(precision); 71 _assignEdgeWindingParities(precision); 102 bool PathIntersectionGraph::_prepareIntersectionLists(Coord precision) argument 104 std::vector<PVIntersection> pxs = _pv[0].intersect(_pv[1], precision); 146 void PathIntersectionGraph::_assignEdgeWindingParities(Coord precision) argument 159 PathTime mid = ival.inside(precision);
|
H A D | ellipse.cpp | 610 bool are_near(Ellipse const &a, Ellipse const &b, Coord precision) argument 612 // We want to know whether no point on ellipse a is further than precision 637 precision))
|
H A D | bezier-clipping.cpp | 167 // Bezier.isConstant(precision) 168 bool is_constant(std::vector<Point> const& A, double precision) argument 172 if(!are_near(A[i], A[0], precision)) 273 double precision); 281 double precision ); 311 Line pick_orientation_line (std::vector<Point> const &c, double precision) argument 314 while (--i > 0 && are_near(c[0], c[i], precision)) 319 // however this requires that the precision used in the is_constant 336 double precision) 339 assert(!is_constant(c, precision)); 334 orthogonal_orientation_line(std::vector<Point> const &c, Point const &p, double precision) argument 489 clip(std::vector<Point> const& A, std::vector<Point> const& B, double precision) argument 895 iterate(std::vector<Interval>& domsA, std::vector<Interval>& domsB, std::vector<Point> const& A, std::vector<Point> const& B, Interval const& domA, Interval const& domB, double precision) argument 1073 get_solutions(std::vector< std::pair<double, double> >& xs, std::vector<Point> const& A, std::vector<Point> const& B, double precision) argument 1117 find_collinear_normal(std::vector< std::pair<double, double> >& xs, std::vector<Point> const& A, std::vector<Point> const& B, double precision) argument 1139 find_intersections_bezier_clipping(std::vector< std::pair<double, double> >& xs, std::vector<Point> const& A, std::vector<Point> const& B, double precision) argument [all...] |
/inkscape/src/extension/internal/filter/ |
H A D | bumps.h | 84 "<param name=\"simplifyImage\" gui-text=\"" N_("Image simplification") "\" type=\"float\" appearance=\"full\" precision=\"2\" min=\"0.01\" max=\"10.00\">0.01</param>\n" 85 "<param name=\"simplifyBump\" gui-text=\"" N_("Bump simplification") "\" type=\"float\" appearance=\"full\" precision=\"2\" min=\"0.01\" max=\"10.00\">0.01</param>\n" 86 "<param name=\"crop\" gui-text=\"" N_("Crop") "\" type=\"float\" appearance=\"full\" precision=\"2\" min=\"-50.\" max=\"50.\">0</param>\n" 88 "<param name=\"red\" gui-text=\"" N_("Red") "\" type=\"float\" indent=\"1\" appearance=\"full\" precision=\"2\" min=\"-50.\" max=\"50.\">0</param>\n" 89 "<param name=\"green\" gui-text=\"" N_("Green") "\" type=\"float\" indent=\"1\" appearance=\"full\" precision=\"2\" min=\"-50.\" max=\"50.\">0</param>\n" 90 "<param name=\"blue\" gui-text=\"" N_("Blue") "\" type=\"float\" indent=\"1\" appearance=\"full\" precision=\"2\" min=\"-50.\" max=\"50.\">0</param>\n" 98 "<param name=\"height\" gui-text=\"" N_("Height") "\" type=\"float\" appearance=\"full\" precision=\"2\" min=\"0\" max=\"50.\">5</param>\n" 99 "<param name=\"lightness\" gui-text=\"" N_("Lightness") "\" type=\"float\" appearance=\"full\" precision=\"2\" min=\"0\" max=\"5.\">1</param>\n" 100 "<param name=\"precision\" gui-text=\"" N_("Precision") "\" type=\"int\" appearance=\"full\" min=\"1\" max=\"128\">15</param>\n" 200 << "\" specularExponent=\"" << ext->get_param_int("precision") << "\" resul 390 std::ostringstream precision; local [all...] |
/inkscape/src/ui/tools/ |
H A D | measure-tool.cpp | 109 //precision is for give the number of decimal positions 111 void repositionOverlappingLabels(std::vector<LabelPlacement> &placements, SPDesktop *desktop, Geom::Point const &normal, double fontsize, int precision) argument 118 Geom::Point tmp(fontsize * (6 + precision) + (border * 2), fontsize + (border * 2)); 827 int precision = prefs->getInt("/tools/measure/precision", 2); local 830 precision_str << "%." << precision << "f %s"; local 1038 void MeasureTool::setMeasureCanvasText(bool is_angle, double precision, double amount, double fontsize, Glib::ustring unit_name, Geom::Point position, guint32 background, CanvasTextAnchorPositionEnum text_anchor, bool to_item, bool to_phantom, Inkscape::XML::Node *measure_repr) argument 1044 precision_str << "%." << precision << "f °"; local 1046 precision_str << "%." << precision << "f %s"; local 1250 int precision local [all...] |