Searched refs:ret (Results 1 - 25 of 156) sorted by relevance

1234567

/inkscape/src/
H A Dsp-factory.cpp99 SPObject *ret = NULL; local
102 ret = new SPBox3D;
104 ret = new Box3DSide;
106 ret = new Inkscape::ColorProfile;
108 ret = new Persp3D;
110 ret = new SPAnchor;
112 ret = new SPClipPath;
114 ret = new SPDefs;
116 ret = new SPDesc;
120 ret
[all...]
H A Dmod360.cpp12 double const ret = ( isnan(m) local
17 g_return_val_if_fail(0.0 <= ret && ret < 360.0,
19 return ret;
H A Dhelper-fns.h37 double ret = g_ascii_strtod(value, &end); local
44 ret = 0;
46 return ret;
76 double ret = g_ascii_strtod(beg, &end); local
81 // ret = 0;
84 v.push_back(ret);
H A Dwinmain.cpp60 int ret; local
61 ret = main (__argc, __argv);
62 return ret;
H A Dround-test.h15 double ret; member in struct:RoundTest::Case
41 Case tmp = {-nonneg_round_cases[i].arg0, -nonneg_round_cases[i].ret};
63 TS_ASSERT_EQUALS( result, nonneg_round_cases[i].ret );
72 TS_ASSERT_EQUALS( result, nonpos_round_cases[i].ret );
H A Dsp-spiral.cpp443 Geom::Affine ret(Geom::Affine(xform).withoutTranslation());
444 gdouble const s = hypot(ret[0], ret[1]);
446 ret[0] /= s;
447 ret[1] /= s;
448 ret[2] /= s;
449 ret[3] /= s;
451 ret[0] = 1.0;
452 ret[1] = 0.0;
453 ret[
[all...]
/inkscape/src/libdepixelize/priv/
H A Dintegral.h39 T ret = 0; local
43 ret += width * f(begin + width * (i + .5));
45 return ret;
H A Dhomogeneoussplines.h315 CommonEdge ret; local
321 ret.ok = true;
323 ret.dst = &dst;
324 ret.dst_begin = dst_common_edge_begin;
325 ret.dst_end = dst_common_edge_end;
327 ret.src = &src;
328 ret.src_begin = src_common_edge_begin;
329 ret.src_end = src_common_edge_end;
331 return ret;
334 CommonEdge ret; local
343 SelfCommonEdge ret; local
[all...]
H A Doptimization-kopf2011.h193 Path ret = path; local
208 for ( typename Path::size_type j = 0 ; j != ret.size() ; ++j ) {
209 Point<T> prev = ( j == 0 ) ? ret.back() : ret[j-1];
210 Point<T> next = ( j + 1 == ret.size() ) ? ret.front() : ret[j+1] ;
212 if ( !ret[j].visible || !ret[j].smooth )
216 typename Path::iterator it = ret
[all...]
/inkscape/src/xml/
H A Drebase-hrefs.cpp22 bool ret = true; local
25 ret = false;
39 ret = false;
55 ret = false;
59 return ret;
65 std::string ret = Glib::build_filename(abs_base_dir, href); local
68 && !Inkscape::IO::file_test(ret.c_str(), G_FILE_TEST_EXISTS)
90 ret = sp_absref;
93 return ret;
114 /* First search attributes for xlink:href and sodipodi:absref, putting the rest in ret
120 List<AttributeRecord const> ret; local
181 std::string ret; local
[all...]
/inkscape/src/2geom/
H A Dpiecewise.h118 std::vector<output_type> ret, val = segs[n].valueAndDerivatives(segT(t, n), n_derivs); local
121 ret.push_back(val[i] * mult);
124 return ret;
292 typename FragmentConcept<T>::BoundsType ret(bounds_fast(f[0]));
294 ret.unionWith(bounds_fast(f[i]));
295 return ret;
308 typename FragmentConcept<T>::BoundsType ret(bounds_exact(f[0]));
310 ret.unionWith(bounds_exact(f[i]));
311 return ret;
332 typename FragmentConcept<T>::BoundsType ret(bounds_loca
[all...]
H A Dbezier.cpp93 std::pair<Bezier, Bezier> ret; local
94 subdivide(t, &ret.first, &ret.second);
95 return ret;
234 Bezier ret(a);
247 casteljau_subdivision<double>(to, &ret.c_[0], &ret.c_[0], NULL, ret.order());
250 casteljau_subdivision<double>(from, &ret.c_[0], NULL, &ret
289 OptInterval ret = Interval::from_array(&const_cast<Bezier&>(b).c_[0], b.size()); local
[all...]
H A Dcrossing.cpp33 CrossingGraph ret;
41 ret.push_back(CrossingNode());
44 ret[j].add_edge(Edge(crs[i].a, crs[i].ta, false));
45 ret[j].add_edge(Edge(crs[i].a, crs[i].ta, true));
46 ret[j].add_edge(Edge(crs[i].b, crs[i].tb, false));
47 ret[j].add_edge(Edge(crs[i].b, crs[i].tb, true));
50 for(unsigned i = 0; i < ret.size(); i++) {
51 for(unsigned j = 0; j < ret[i].edges.size(); j++) {
52 unsigned pth = ret[i].edges[j].path;
53 double t = ret[
144 Crossings ret; local
154 Crossings ret; local
164 CrossingSet ret; local
174 CrossingSet ret; local
[all...]
H A Dint-rect.h45 OptIntRect ret(a);
46 ret.intersectWith(b);
47 return ret;
H A Dtransforms.h86 Affine ret(*static_cast<T const*>(this)); ret *= t; return ret;
125 operator Affine() const { Affine ret(1, 0, 0, 1, vec[X], vec[Y]); return ret; }
135 static Translate identity() { Translate ret; return ret; }
161 inline operator Affine() const { Affine ret(vec[X], 0, 0, vec[Y], 0, 0); return ret; }
173 static Scale identity() { Scale ret; retur
[all...]
H A Dpathvector.cpp65 PathVector ret; local
67 ret.push_back(i->reversed());
70 std::reverse(ret.begin(), ret.end());
72 return ret;
297 PathVectorTime ret; local
299 ret.t = modf(t, &rest);
300 ret.curve_index = rest;
301 for (; ret.path_index < size(); ++ret
[all...]
H A Dsvg-path-parser.h158 PathVector ret; local
159 SubpathInserter iter(ret);
163 return ret;
169 PathVector ret; local
170 SubpathInserter iter(ret);
174 return ret;
H A Dpoint.cpp178 Point ret(a);
179 ret.normalize();
180 return ret;
195 Point ret; local
197 ret = -b;
199 ret = b[X] < 0.0 ? -b : b;
201 ret = b;
203 return ret;
/inkscape/src/svg/
H A Dtest-stubs.cpp33 long long int ret = it==int_prefs.end() ? def : it->second; local
34 return ret;
/inkscape/src/extension/internal/
H A Dcairo-renderer-pdf-out.cpp101 bool ret = ctx->setPdfTarget (filename); local
102 if(ret) {
104 ret = renderer->setupDocument(ctx, doc, pageBoundingBox, bleedmargin_px, base);
105 if (ret) {
107 ret = ctx->finish();
116 return ret;
133 unsigned int ret; local
210 ret = pdf_render_document_to_file(doc, final_name, level,
215 if (!ret)
221 ret
[all...]
H A Dcairo-png-out.cpp71 bool ret = renderer->setupDocument(ctx, doc, TRUE, 0., NULL); local
72 if (ret) {
75 ret = ctx->finish();
83 return ret;
H A Dcairo-ps-out.cpp104 bool ret = ctx->setPsTarget(filename); local
105 if(ret) {
107 ret = renderer->setupDocument(ctx, doc, pageBoundingBox, bleedmargin_px, base);
108 if (ret) {
110 ret = ctx->finish();
119 return ret;
133 unsigned int ret; local
191 ret = ps_print_document_to_file(doc, final_name, level, new_textToPath,
198 if (!ret)
204 ret
222 unsigned int ret; local
[all...]
H A Dgimpgrad.cpp78 Glib::ustring ret("<stop stop-color=\"");
82 ret += stop_color_css;
83 ret += '"';
86 ret += " stop-opacity=\"";
87 append_css_num(ret, in_color[3]);
88 ret += '"';
90 ret += " offset=\"";
91 append_css_num(ret, location);
92 ret += "\"/>\n";
93 return ret;
[all...]
/inkscape/src/ui/tools/
H A Dzoom-tool.cpp80 bool ret = false; local
98 ret = true;
105 ret = true;
118 ret = true;
155 ret = true;
179 ret = true;
188 ret = true;
200 ret = this->deleteSelectedDrag(MOD__CTRL_ONLY(event));
222 if (!ret) {
223 ret
[all...]
H A Dbox3d-tool.cpp162 gint ret = FALSE; local
168 //ret = TRUE;
177 // ret = ((ToolBaseClass *) sp_box3d_context_parent_class)->item_handler(event_context, item, event);
179 // CPPIFY: ret is always overwritten...
180 ret = ToolBase::item_handler(item, event);
182 return ret;
197 gint ret = FALSE; local
243 ret = TRUE;
305 ret = TRUE;
340 ret
[all...]

Completed in 76 milliseconds

1234567