Searched defs:sp (Results 1 - 22 of 22) sorted by relevance

/inkscape/src/ui/tool/
H A Dcurve-drag-point.cpp18 #include "sp-namedview.h"
87 Inkscape::SnappedPoint sp = m.freeSnap(scp, Geom::OptRect(), false); local
88 new_pos = sp.getPoint();
H A Dmulti-path-manipulator.cpp23 #include "sp-path.h"
219 SubpathList &sp = i->second->subpathList(); local
220 for (SubpathList::iterator j = sp.begin(); j != sp.end(); ++j) {
H A Dnode.cpp16 #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 Dpath-manipulator.cpp28 #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 Dconic_section_clipper_impl.h136 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 Dconic_section_clipper_impl.cpp493 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 Dsnapped-curve.cpp196 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 Dsnapped-line.cpp198 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 Dsyseq.h221 double sp = 0; local
224 sp += B[c][j] * x[j];
231 val_proj = sp*val/mu;
H A Dsnap.cpp21 #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 Dseltrans.cpp27 #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 Dgradient-drag.cpp32 #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 Dnr-filter-specularlighting.cpp57 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 Dlpe-mirror_symmetry.cpp20 #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 Dnode-tool.cpp17 #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 Dfreehand-base.cpp44 #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 Dmeasure-tool.cpp23 #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 DPathSimplify.cpp122 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 Dcolor-slider.cpp611 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 Dscript.cpp39 #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 Dodf.cpp66 #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 Dsvg-builder.cpp926 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.

Completed in 8122 milliseconds