Searched refs:pv (Results 1 - 25 of 36) sorted by relevance

12

/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-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 Ddrawing-context.cpp117 void DrawingContext::path(Geom::PathVector const &pv) { argument
118 feed_pathvector_to_cairo(_ct, pv);
/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-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-hatch-path.cpp92 Geom::PathVector pv; local
93 _readHatchPathVector(value, pv, _continuous);
94 SPCurve *curve = 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.
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 Dsp-spiral.cpp321 Geom::PathVector pv = sp_svg_read_pathv(this->getRepr()->attribute("d")); local
322 SPCurve *cold = new SPCurve(pv);
/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 Dsvg-path-writer.h108 std::string write_svg_path(PathVector const &pv, int prec = -1, bool optimize = false, bool shorthands = true);
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);
H A Dpath-sink.h225 PathBuilder(PathVector &pv) : PathIteratorSink<SubpathInserter>(SubpathInserter(pv)) {} argument
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.cpp315 std::ostream &operator<<(std::ostream &out, PathVector const &pv) argument
318 wr.feed(pv);
/inkscape/src/helper/
H A Dgeom.h21 Geom::OptRect bounds_fast_transformed(Geom::PathVector const & pv, Geom::Affine const & t);
22 Geom::OptRect bounds_exact_transformed(Geom::PathVector const & pv, Geom::Affine const & t);
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/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 DLivarotDefs.h136 typedef void (*InitColorFunc) (int ph, int pv, void *); // init for position ph,pv; the last parameter is a pointer
142 typedef void (*GotoLigneColorFunc) (int pv, void *); // move to v-coordinate pv (the h-coordinate must be the ph passed
163 typedef void (*RasterInRunFunc) (raster_info &dest,void *data,int nst,float vst,int nen,float ven); // init for position ph,pv; the last parameter is a pointer
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/extension/internal/
H A Dcairo-render-context.h128 void addPathVector(Geom::PathVector const &pv);
129 void setPathVector(Geom::PathVector const &pv);
147 void addClipPath(Geom::PathVector const &pv, SPIEnum const *fill_rule);
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...]
H A Demf-print.cpp808 Geom::PathVector pv = pathv_to_linear_and_cubic_beziers(pathv); local
809 Geom::PathVector::const_iterator pit = pv.begin();
810 Geom::PathVector::const_iterator pit2 = pv.begin();
815 if(pit2 != pv.end())return(bad); // there may only be one path
1500 Geom::PathVector pv = pathv_to_linear_and_cubic_beziers(pathv * transform); local
1508 for (Geom::PathVector::iterator pit = pv.begin(); pit != pv.end(); ++pit) {
1533 for (Geom::PathVector::iterator pit = pv.begin(); pit != pv.end(); ++pit) {
1812 Geom::PathVector pv local
[all...]
/inkscape/src/ui/tool/
H A Dpath-manipulator.cpp1437 Geom::PathVector pv = _spcurve->get_pathvector(); local
1438 pv *= (_edit_transform * _i2d_transform);
1447 for (Geom::PathVector::iterator i = pv.begin(); i != pv.end(); ++i) {
1462 pv.insert(pv.end(), arrows.begin(), arrows.end());
1464 _hc->set_pathvector(pv);
1672 Geom::PathVector pv = _spcurve->get_pathvector(); local
1675 pv.nearestTime(_desktop->w2d(evp) * to_desktop.inverse());
1677 Geom::Point nearest_pt = _desktop->d2w(pv
[all...]
/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);

Completed in 197 milliseconds

12