/inkscape/src/ui/tool/ |
H A D | curve-drag-point.cpp | 18 #include "sp-namedview.h" 87 Inkscape::SnappedPoint sp = m.freeSnap(scp, Geom::OptRect(), false); local 88 new_pos = sp.getPoint();
|
H A D | multi-path-manipulator.cpp | 23 #include "sp-path.h" 219 SubpathList &sp = i->second->subpathList(); local 220 for (SubpathList::iterator j = sp.begin(); j != sp.end(); ++j) {
|
H A D | node.cpp | 16 #include "display/sp-ctrlline.h" 17 #include "display/sp-canvas.h" 18 #include "display/sp-canvas-util.h" 24 #include "sp-namedview.h" 1221 Inkscape::SnappedPoint sp; local 1321 sp = sm.multipleConstrainedSnaps(Inkscape::SnapCandidatePoint(new_pos, _snapSourceType()), constraints, held_shift(*event)); 1326 sp = sm.multipleConstrainedSnaps(Inkscape::SnapCandidatePoint(new_pos, _snapSourceType()), constraints, held_shift(*event)); 1328 new_pos = sp.getPoint(); 1330 Inkscape::SnappedPoint sp = sm.freeSnap(scp_free); local 1331 new_pos = sp [all...] |
H A D | path-manipulator.cpp | 28 #include "display/sp-canvas.h" 29 #include "display/sp-canvas-util.h" 37 #include "sp-path.h" 411 SubpathPtr sp = *i; local 413 for (NodeList::iterator j = sp->begin(); j != sp->end(); ++j) { 425 NodeList::iterator sel_beg = sp->begin(), sel_end; 426 if (sp->closed()) { 469 sp->erase(sel_beg); 486 SubpathPtr sp local 544 SubpathPtr sp = *i; local 594 SubpathPtr sp = *i; local 717 SubpathPtr sp = *i; local [all...] |
/inkscape/src/2geom/ |
H A D | conic_section_clipper_impl.h | 136 std::list<Point>::iterator sp, 139 std::list<Point>::iterator sp, 144 std::list<Point>::iterator sp, 260 std::list<Point>::iterator sp, 263 Point new_point = find_inner_point (*sp, *fp); 265 //std::cerr << "CLIP: split: [" << *sp << ", " << *ip << ", " 282 std::list<Point>::iterator sp, 292 std::list<Point>::iterator ip = split (points, sp, fp); 294 rsplit (points, sp, ip, k); 311 std::list<Point>::iterator sp, 259 split(std::list<Point> & points, std::list<Point>::iterator sp, std::list<Point>::iterator fp) const argument 281 rsplit(std::list<Point> & points, std::list<Point>::iterator sp, std::list<Point>::iterator fp, size_t k) const argument 310 rsplit(std::list<Point> & points, std::list<Point>::iterator sp, std::list<Point>::iterator fp, double length) const argument [all...] |
H A D | conic_section_clipper_impl.cpp | 493 std::list<Point>::iterator sp, ip, fp; local 517 sp = points.begin(); 518 ip = sp; ++ip; 520 rsplit (points, sp, ip, size_t(1u)); 524 sp = points.begin(); 525 fp = sp; ++fp; 528 rsplit (points, sp, fp, 100.0); 529 sp = fp; 533 sp = points.begin(); 534 ip = sp; [all...] |
/inkscape/src/ |
H A D | snapped-curve.cpp | 196 Inkscape::SnappedPoint sp = (*i).intersect(*j, p, dt2doc); local 197 if (sp.getAtIntersection()) { 201 bool const c2 = sp.getSnapDistance() < result.getSnapDistance(); 204 bool const c3 = (sp.getSnapDistance() == result.getSnapDistance()) && (sp.getSecondSnapDistance() < result.getSecondSnapDistance()); 207 result = sp; 229 Inkscape::SnappedPoint sp = (*i).intersect(*j, p, dt2doc); 230 if (sp.getAtIntersection()) { 234 bool const c2 = sp.getSnapDistance() < result.getSnapDistance(); 237 bool const c3 = (sp [all...] |
H A D | snapped-line.cpp | 198 Inkscape::SnappedPoint sp = (*i).intersect(*j); local 199 if (sp.getAtIntersection()) { 203 bool const c2 = sp.getSnapDistance() < result.getSnapDistance(); 206 bool const c3 = (sp.getSnapDistance() == result.getSnapDistance()) && (sp.getSecondSnapDistance() < result.getSecondSnapDistance()); 209 result = sp; 243 Inkscape::SnappedPoint sp = (*i).intersect(*j); 244 if (sp.getAtIntersection()) { 248 bool const c2 = sp.getSnapDistance() < result.getSnapDistance(); 251 bool const c3 = (sp [all...] |
H A D | syseq.h | 221 double sp = 0; local 224 sp += B[c][j] * x[j]; 231 val_proj = sp*val/mu;
|
H A D | snap.cpp | 21 #include "sp-namedview.h" 34 #include "sp-guide.h" 357 Inkscape::SnappedPoint sp; local 378 sp = multipleConstrainedSnaps(p, constraints); // Constraints will always be applied, even if we didn't snap 379 if (!sp.getSnapped()) { // If we haven't snapped then we only had the constraint applied; 380 sp.setTarget(Inkscape::SNAPTARGET_CONSTRAINED_ANGLE); 383 sp = freeSnap(p); 385 return sp; 628 // std::cout << "sp = " << (*i).getPoint() << " | source = " << (*i).getSource() << " | target = " << (*i).getTarget();
|
H A D | seltrans.cpp | 27 #include "sp-namedview.h" 37 #include "sp-item.h" 38 #include "sp-item-transform.h" 39 #include "sp-root.h" 45 #include "display/sp-ctrlline.h" 1299 Inkscape::SnappedPoint sp = m.multipleConstrainedSnaps(Inkscape::SnapCandidatePoint(pt, Inkscape::SNAPSOURCE_ROTATION_CENTER), constraints, state & GDK_SHIFT_MASK); local 1300 pt = sp.getPoint();
|
H A D | gradient-drag.cpp | 32 #include "display/sp-ctrlline.h" 33 #include "display/sp-ctrlcurve.h" 34 #include "display/sp-canvas-util.h" 36 #include "xml/sp-css-attr.h" 41 #include "sp-item.h" 44 #include "sp-linear-gradient.h" 45 #include "sp-radial-gradient.h" 46 #include "sp-mesh.h" 47 #include "sp-mesh-row.h" 48 #include "sp 865 Inkscape::SnappedPoint sp; local [all...] |
/inkscape/src/display/ |
H A D | nr-filter-specularlighting.cpp | 57 double sp = NR::scalar_product(normal, halfway); local 58 double k = sp <= 0.0 ? 0.0 : _ks * pow(sp, _exp);
|
/inkscape/src/live_effects/ |
H A D | lpe-mirror_symmetry.cpp | 20 #include <sp-path.h> 129 Geom::Point sp = Geom::Point(view_box_rect.width()/2.0, 0); local 130 sp *= i2anc_affine(SP_OBJECT(lpeitem), SP_OBJECT(SP_ACTIVE_DESKTOP->currentLayer()->parent)) .inverse(); 131 start_point.param_setValue(sp); 142 Geom::Point sp = Geom::Point(0, view_box_rect.height()/2.0); local 143 sp *= i2anc_affine(SP_OBJECT(lpeitem), SP_OBJECT(SP_ACTIVE_DESKTOP->currentLayer()->parent)) .inverse(); 144 start_point.param_setValue(sp);
|
/inkscape/src/ui/tools/ |
H A D | node-tool.cpp | 17 #include "display/sp-canvas-group.h" 20 #include "display/sp-canvas.h" 30 #include "sp-namedview.h" 31 #include "sp-clippath.h" 32 #include "sp-item-group.h" 33 #include "sp-mask.h" 34 #include "sp-object-group.h" 35 #include "sp-path.h" 36 #include "sp-text.h" 615 Inkscape::SnappedPoint sp local [all...] |
H A D | freehand-base.cpp | 44 #include "sp-path.h" 45 #include "sp-use.h" 46 #include "sp-item-group.h" 47 #include "sp-namedview.h" 632 Inkscape::SnappedPoint sp = m.freeSnap(scp); local 633 p = sp.getPoint();
|
H A D | measure-tool.cpp | 23 #include "display/sp-ctrlline.h" 24 #include "display/sp-ctrlcurve.h" 25 #include "display/sp-canvas.h" 26 #include "display/sp-canvas-item.h" 27 #include "display/sp-canvas-util.h" 39 #include "sp-namedview.h" 40 #include "sp-shape.h" 41 #include "sp-text.h" 42 #include "sp-flowtext.h" 43 #include "sp 477 Inkscape::SnappedPoint sp = snap_manager.freeSnap(scp); local 498 Inkscape::SnappedPoint sp = snap_manager.freeSnap(scp); local 636 Inkscape::SnappedPoint sp = snap_manager.freeSnap(scp); local 659 Inkscape::SnappedPoint sp = snap_manager.freeSnap(scp); local [all...] |
/inkscape/src/livarot/ |
H A D | PathSimplify.cpp | 122 Geom::Point const sp = pt - start; member in class:Geom 124 double nle = Geom::dot(sp, sp); 131 nnle = Geom::cross(sp, seg); 135 if ( Geom::dot(sp,seg) >= 0 ) {
|
/inkscape/src/ui/widget/ |
H A D | color-slider.cpp | 611 guchar *sp = map + 4 * (start >> 16); local 612 cr = *sp++; 613 cg = *sp++; 614 cb = *sp++; 615 ca = *sp++;
|
/inkscape/src/extension/implementation/ |
H A D | script.cpp | 39 #include "sp-namedview.h" 717 int sp = 0; local 719 for(Inkscape::UI::SubpathList::iterator i = node->nodeList().subpathList().begin(); i != node->nodeList().subpathList().end(); ++i,++sp){ 734 ss<< "--selected-nodes=" << id << ":" << sp << ":" << nl;
|
/inkscape/src/extension/internal/ |
H A D | odf.cpp | 66 #include "sp-image.h" 67 #include "sp-gradient.h" 68 #include "sp-stop.h" 70 #include "sp-linear-gradient.h" 71 #include "sp-radial-gradient.h" 72 #include "sp-path.h" 73 #include "sp-text.h" 74 #include "sp-flowtext.h" 697 double sp = s[p-1]/scale; local 702 double b = ((spm1 + sp)*(spm [all...] |
/inkscape/src/extension/internal/pdfinput/ |
H A D | svg-builder.cpp | 926 Count for how many characters s1 matches sp taking into account 927 that a space in sp may be removed or replaced by some other tokens 930 static size_t MatchingChars(std::string s1, std::string sp) argument 935 while(is < s1.length() && ip < sp.length()) { 936 if (s1[is] == sp[ip]) { 938 } else if (sp[ip] == ' ') { 940 if (s1[is] == '_') { // Valid matches to spaces in sp.
|