Searched defs:pv (Results 1 - 25 of 29) sorted by relevance

12

/inkscape/src/2geom/
H A Dpath-sink.cpp59 void PathSink::feed(PathVector const &pv) { argument
60 for (PathVector::const_iterator i = pv.begin(); i != pv.end(); ++i) {
H A Dpath-sink.h225 PathBuilder(PathVector &pv) : PathIteratorSink<SubpathInserter>(SubpathInserter(pv)) {} argument
H A Dpathvector.cpp315 std::ostream &operator<<(std::ostream &out, PathVector const &pv) argument
318 wr.feed(pv);
H A Dsvg-path-writer.cpp274 std::string write_svg_path(PathVector const &pv, int prec, bool optimize, bool shorthands) argument
281 writer.feed(pv);
H A Dpathvector.h283 inline OptRect bounds_fast(PathVector const &pv) { return pv.boundsFast(); } argument
284 inline OptRect bounds_exact(PathVector const &pv) { return pv.boundsExact(); } argument
286 std::ostream &operator<<(std::ostream &out, PathVector const &pv);
/inkscape/src/display/
H A Dcurve-test.h42 Geom::PathVector pv; local
43 SPCurve curve(pv);
47 Geom::PathVector pv; local
48 pv.push_back(Geom::Path());
49 SPCurve curve(pv);
53 Geom::PathVector pv((Geom::Path()));
54 pv[0] = path1;
55 TS_ASSERT_EQUALS(SPCurve(pv).get_segment_count() , 3u);
56 pv[0] = path2;
57 TS_ASSERT_EQUALS(SPCurve(pv)
66 Geom::PathVector pv; local
79 Geom::PathVector pv; local
84 Geom::PathVector pv; local
103 Geom::PathVector pv; local
170 Geom::PathVector pv; local
193 Geom::PathVector pv; local
209 Geom::PathVector pv; local
225 Geom::PathVector pv; local
240 Geom::PathVector pv; local
[all...]
H A Ddrawing-context.cpp117 void DrawingContext::path(Geom::PathVector const &pv) { argument
118 feed_pathvector_to_cairo(_ct, pv);
H A Ddrawing-text.cpp309 Geom::Point pv = ps; local
311 Geom::Point pvlast = pv;
313 if(pv[Geom::X] > pf[Geom::X]) break;
315 pv += Geom::Point(step * (double)dots[i], 0.0);
317 if(pv[Geom::X]>= pf[Geom::X]){
322 dc.rectangle( Geom::Rect(pvlast + poff, pv - poff));
325 pv += Geom::Point(step * 4.0, 0.0);
328 pv += Geom::Point(step * -(double)dots[i], 0.0);
334 Geom::Point pv = ps; local
336 Geom::Point pvlast = pv;
[all...]
H A Dcairo-utils.cpp110 void CairoContext::append_path(Geom::PathVector const &pv) argument
112 feed_pathvector_to_cairo(cobj(), pv); local
/inkscape/src/livarot/
H A DShapeDraw.cpp56 double pv=(getPoint(i).x[1]-iy)*ir+my; local
57 fprintf(outFile," <svg:circle cx=\"%f\" cy=\"%f\" r=\"5\" fill=\"none\" stroke=\"red\" stroke-width=\"0.25\" />\n",ph,pv); // localizing ok
63 double pv=(getPoint(i).x[1]-iy)*ir+my; local
64 fprintf(outFile," <svg:text x=\"%f\" y=\"%f\" font-family=\"Monaco\" font-size=\"5\" fill=\"blue\" >\n",ph-2,pv+1); // localizing ok
H A DPathCutting.cpp275 Geom::PathVector *pv = new Geom::PathVector(); local
300 pv->push_back(Geom::Path());
301 currentpath = &pv->back();
383 return pv;
446 void Path::LoadPathVector(Geom::PathVector const &pv) argument
448 LoadPathVector(pv, Geom::Affine(), false);
451 void Path::LoadPathVector(Geom::PathVector const &pv, Geom::Affine const &tr, bool doTransformation) argument
460 Geom::PathVector pvbezier = pathv_to_linear_and_cubic_beziers(pv);
465 for(Geom::PathVector::const_iterator it = pv.begin(); it != pv
[all...]
/inkscape/src/svg/
H A Dsvg-path-geom-test.h75 Geom::PathVector pv = sp_svg_read_pathv(rectanglesAbsoluteClosed[i].c_str()); local
76 TSM_ASSERT(rectanglesAbsoluteClosed[i].c_str(), bpathEqual(pv,rectanglepvclosed));
83 Geom::PathVector pv = sp_svg_read_pathv(rectanglesRelativeClosed[i].c_str()); local
84 TSM_ASSERT(rectanglesRelativeClosed[i].c_str(), bpathEqual(pv,rectanglepvclosed));
91 Geom::PathVector pv = sp_svg_read_pathv(rectanglesAbsoluteOpen[i].c_str()); local
92 TSM_ASSERT(rectanglesAbsoluteOpen[i].c_str(), bpathEqual(pv,rectanglepvopen));
99 Geom::PathVector pv = sp_svg_read_pathv(rectanglesRelativeOpen[i].c_str()); local
100 TSM_ASSERT(rectanglesRelativeOpen[i].c_str(), bpathEqual(pv,rectanglepvopen));
107 Geom::PathVector pv = sp_svg_read_pathv(rectanglesAbsoluteClosed2[i].c_str()); local
108 TSM_ASSERT(rectanglesAbsoluteClosed2[i].c_str(), bpathEqual(pv,rectanglepvclosed
115 Geom::PathVector pv = sp_svg_read_pathv(rectanglesRelativeClosed2[i].c_str()); local
133 Geom::PathVector pv = sp_svg_read_pathv(path_str.c_str()); local
151 Geom::PathVector pv = sp_svg_read_pathv(path_str); local
156 Geom::PathVector pv = sp_svg_read_pathv(path_str); local
172 Geom::PathVector pv = sp_svg_read_pathv(path_str); local
177 Geom::PathVector pv = sp_svg_read_pathv(path_str); local
192 Geom::PathVector pv = sp_svg_read_pathv(path_str); local
203 Geom::PathVector pv = sp_svg_read_pathv(path_str); local
218 Geom::PathVector pv = sp_svg_read_pathv(path_str); local
223 Geom::PathVector pv = sp_svg_read_pathv(path_str); local
230 Geom::PathVector pv; local
259 Geom::PathVector pv; local
272 Geom::PathVector pv; local
286 Geom::PathVector pv; local
319 Geom::PathVector pv; local
328 Geom::PathVector pv; local
350 Geom::PathVector pv; local
392 Geom::PathVector pv; local
[all...]
/inkscape/src/
H A Dsp-hatch-path.cpp92 Geom::PathVector pv; local
93 _readHatchPathVector(value, pv, _continuous);
94 SPCurve *curve = new SPCurve(pv);
H A Dsp-path.cpp100 Geom::PathVector const & pv = this->_curve->get_pathvector(); member in class:Geom
102 for(Geom::PathVector::const_iterator pit = pv.begin(); pit != pv.end(); ++pit) {
155 Geom::PathVector pv = sp_svg_read_pathv(s); local
156 SPCurve *curve = new SPCurve(pv);
193 Geom::PathVector pv = sp_svg_read_pathv(value); local
194 SPCurve *curve = new SPCurve(pv);
209 Geom::PathVector pv = sp_svg_read_pathv(value); local
210 SPCurve *curve = new SPCurve(pv);
357 Geom::PathVector pv local
[all...]
H A Dsp-spiral.cpp321 Geom::PathVector pv = sp_svg_read_pathv(this->getRepr()->attribute("d")); local
322 SPCurve *cold = new SPCurve(pv);
H A Dsp-ellipse.cpp391 Geom::PathVector pv = sp_svg_read_pathv(this->getRepr()->attribute("d")); local
392 SPCurve *cold = new SPCurve(pv);
H A Dsp-star.cpp377 Geom::PathVector pv = sp_svg_read_pathv(this->getRepr()->attribute("d")); local
378 SPCurve *cold = new SPCurve(pv);
H A Dsp-lpe-item.cpp717 Geom::PathVector pv = sp_svg_read_pathv(value); local
718 SPCurve *oldcurve = new SPCurve(pv);
H A Dsp-offset.cpp247 Geom::PathVector pv = sp_svg_read_pathv(this->original); local
250 reinterpret_cast<Path *>(this->originalPath)->LoadPathVector(pv);
362 Geom::PathVector pv = sp_svg_read_pathv(res_d); local
363 SPCurve *c = new SPCurve(pv);
670 Geom::PathVector pv = sp_svg_read_pathv(res_d); local
671 SPCurve *c = new SPCurve(pv);
H A Dobject-snapper.cpp409 Geom::PathVector *pv = new Geom::PathVector(); local
410 pv->push_back(layout->baseline() * root_item->i2dt_affine() * (*i).additional_affine * _snapmanager->getDesktop()->doc2dt());
411 _paths_to_snap_to->push_back(SnapCandidatePath(pv, SNAPTARGET_TEXT_BASELINE, Geom::OptRect()));
435 // Geom::PathVector *pv = pathvector_for_curve(root_item, curve, true, true, Geom::identity(), (*i).additional_affine);
437 Geom::PathVector *pv = new Geom::PathVector(curve->get_pathvector()); local
438 (*pv) *= root_item->i2dt_affine() * (*i).additional_affine * _snapmanager->getDesktop()->doc2dt(); // (_edit_transform * _i2d_transform);
440 _paths_to_snap_to->push_back(SnapCandidatePath(pv, SNAPTARGET_PATH, Geom::OptRect())); // Perhaps for speed, get a reference to the Geom::pathvector, and store the transformation besides it.
/inkscape/src/libnrtype/
H A DFontInstance.cpp503 Geom::PathVector pv = path_builder.peek(); local
505 for (Geom::PathVector::iterator i = pv.begin(); i != pv.end(); ++i) {
508 if ( !pv.empty() ) {
509 n_g.pathvector = new Geom::PathVector(pv);
H A DLayout-TNG-Output.cpp267 Geom::PathVector const * pv = span.font->PathVector(_glyphs[glyph_index].glyph); member in class:Inkscape::Text::Geom
269 if (pv) {
271 Geom::PathVector temp_pv = (*pv) * glyph_matrix;
/inkscape/src/live_effects/
H A Dlpe-fillet-chamfer.cpp481 PathVector const pv = pathv_to_linear_and_cubic_beziers(c->get_pathvector()); local
482 for (Geom::PathVector::const_iterator path_it = pv.begin();
483 path_it != pv.end(); ++path_it) {
/inkscape/src/helper/
H A Dgeom.cpp148 bounds_fast_transformed(Geom::PathVector const & pv, Geom::Affine const & t) argument
150 return bounds_exact_transformed(pv, t); //use this as it is faster for now! :)
151 // return Geom::bounds_fast(pv * t);
155 bounds_exact_transformed(Geom::PathVector const & pv, Geom::Affine const & t) argument
157 if (pv.empty())
160 Geom::Point initial = pv.front().initialPoint() * t;
163 for (Geom::PathVector::const_iterator it = pv.begin(); it != pv.end(); ++it) {
196 //return Geom::bounds_exact(pv * t);
/inkscape/src/extension/internal/
H A Dwmf-print.cpp917 Geom::PathVector pv = pathv_to_linear(pathv * transform, MAXDISP); local
925 for (Geom::PathVector::const_iterator pit = pv.begin(); pit != pv.end(); ++pit) {
949 for (Geom::PathVector::const_iterator pit = pv.begin(); pit != pv.end(); ++pit) {
1180 Geom::PathVector pv = pathv_to_linear(pathv * transform, MAXDISP); local
1196 for (Geom::PathVector::const_iterator pit = pv.begin(); pit != pv.end(); ++pit) {
1218 for (Geom::PathVector::const_iterator pit = pv.begin(); pit != pv
[all...]

Completed in 1851 milliseconds

12