Searched refs:sp (Results 1 - 25 of 44) sorted by relevance

12

/inkscape/share/extensions/
H A Dcspsubdiv.py16 for sp in csp:
17 subdiv(sp,flat)
19 def subdiv(sp,flat,i=1):
20 while i < len(sp):
21 p0 = sp[i-1][1]
22 p1 = sp[i-1][2]
23 p2 = sp[i][0]
24 p3 = sp[i][1]
32 sp[i-1][2] = one[1]
33 sp[
[all...]
H A Dmeasure.py97 for sp in csp:
99 for i in xrange(1,len(sp)):
100 l = cspseglength(sp[i-1],sp[i])
106 for sp in csp:
107 if len(sp) < 2: continue
108 for i in range(len(sp)): # calculate polygon area
109 area += 0.5*sp[i-1][1][0]*(sp[i][1][1] - sp[
[all...]
H A Dflatten.py35 for sp in p:
37 for csp in sp:
H A Dinterp.py51 for sp in csp:
53 for i in xrange(1,len(sp)):
54 l = cspseglength(sp[i-1],sp[i])
60 sp = float(start[property])
62 return str(sp + (time * (ep - sp)))
112 sp = self.unittouu(start[property])
114 return str(sp + (time * (ep - sp)))
[all...]
H A Daddnodes.py50 for sp in csp:
52 for i in xrange(1,len(sp)):
53 l = cspseglength(sp[i-1],sp[i])
59 for sp in csplen:
60 for l in sp:
H A Dperspective.py90 sp = array([[q['x'], q['y']+q['height']],[q['x'], q['y']],[q['x']+q['width'], q['y']],[q['x']+q['width'], q['y']+q['height']]], dtype=float64)
104 solmatrix[i][0] = sp[i][0]
105 solmatrix[i][1] = sp[i][1]
107 solmatrix[i][6] = -dp[i][0]*sp[i][0]
108 solmatrix[i][7] = -dp[i][0]*sp[i][1]
109 solmatrix[i+4][3] = sp[i][0]
110 solmatrix[i+4][4] = sp[i][1]
112 solmatrix[i+4][6] = -dp[i][1]*sp[i][0]
113 solmatrix[i+4][7] = -dp[i][1]*sp[i][1]
H A Drender_alphabetsoup.py86 def reversePath(sp):
89 for p in sp:
99 def flipLeftRight( sp, width ):
100 for cmd,params in sp:
106 def flipTopBottom( sp, height ):
107 for cmd,params in sp:
153 def getPathBoundingBox( sp ):
159 for cmd,params in sp:
H A Dgcodetools.py334 for sp in subpath :
335 for p in sp:
785 for sp in csp:
786 for i in xrange(1,len(sp)):
787 l = cspseglength(sp[i-1],sp[i])
795 for sp in csp:
796 for i in xrange(1,len(sp)):
797 l += cspseglength(sp[i-1],sp[
[all...]
/inkscape/src/
H A Dsp-item-notify-moveto.cpp5 #include <sp-item.h>
7 #include <sp-guide.h>
8 #include <sp-item-rm-unsatisfied-cns.h>
9 #include <sp-item-notify-moveto.h>
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 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 Dcolor-profile.h5 #include <sp-object.h>
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();
/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/ui/tool/
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...]
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();
/inkscape/src/extension/internal/
H A Djavafx-out.h21 #include <sp-gradient.h>
H A Dpov-out.h21 #include <sp-path.h>
H A Djavafx-out.cpp28 #include <sp-path.h>
29 #include <sp-linear-gradient.h>
30 #include <sp-radial-gradient.h>
42 #include "sp-root.h"
/inkscape/src/trace/
H A Dtrace.h27 #include <sp-shape.h>
/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/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++;

Completed in 254 milliseconds

12