Searched refs:s1 (Results 1 - 22 of 22) sorted by relevance

/inkscape/cxxtest/cxxtest/
H A DValueTraits.cpp39 bool stringsEqual( const char *s1, const char *s2 ) argument
42 while ( (c = *s1++) == *s2++ )
H A DValueTraits.h56 bool stringsEqual( const char *s1, const char *s2 );
/inkscape/src/extension/
H A Ddb.h38 bool operator()(const char* s1, const char* s2) const { argument
39 if ( (s1 == NULL) && (s2 != NULL) ) {
41 } else if (s1 == NULL || s2 == NULL) {
44 return strcmp(s1, s2) < 0;
/inkscape/src/xml/
H A Dquote-test.h50 char const * s1; member in struct:XmlQuoteTest::__anon561
63 char* str = xml_quote_strdup(cases[i].s1);
/inkscape/share/extensions/
H A Dcspsubdiv.py11 s1 = Segment(p0,p3)
12 return max(s1.distanceToPoint(p1),s1.distanceToPoint(p2))
H A Dffgeom.py114 def intersectSegments(s1, s2):
115 x1 = s1[0]['x']
116 x2 = s1[1]['x']
120 y1 = s1[0]['y']
121 y2 = s1[1]['y']
137 def dot(s1, s2):
138 return s1.delta_x() * s2.delta_x() + s1.delta_y() * s2.delta_y()
H A Dvoronoi.py143 def outTriple(self,s1,s2,s3):
144 self.triangles.append((s1.sitenum, s2.sitenum, s3.sitenum))
146 print "circle through left=%d right=%d bottom=%d" % (s1.sitenum, s2.sitenum, s3.sitenum)
148 print "%d %d %d" % (s1.sitenum, s2.sitenum, s3.sitenum)
374 def bisect(s1,s2):
376 newedge.reg[0] = s1 # store the sites that this edge is bisecting
383 dx = float(s2.x - s1.x)
384 dy = float(s2.y - s1.y)
389 newedge.c = float(s1.x * dx + s1
[all...]
H A Dgcodetools.py1207 def concat(s1,s2) :
1208 if s1 == [] : return s2
1209 if s2 == [] : return s1
1210 if (s1[-1][1][0]-s2[0][1][0])**2 + (s1[-1][1][1]-s2[0][1][1])**2 > 0.00001 :
1211 return s1[:-1]+[ [s1[-1][0],s1[-1][1],s1[-1][1]], [s2[0][1],s2[0][1],s2[0][2]] ] + s2[1:]
1213 return s1[
[all...]
H A Dvoronoi2svg.py94 s1 = self.dot(line,v1) - line[2]
96 if s1*s2 > 0:
/inkscape/src/live_effects/
H A Dlpe-sketch.cpp159 //This returns a random perturbation. Notice the domain is [s0,s0+first multiple of period>s1]...
161 LPESketch::computePerturbation (double s0, double s1){ argument
176 unsigned count = unsigned((s1-s0)/strokelength*tremble_frequency)+1;
177 //unsigned count = unsigned((s1-s0)/tremble_frequency)+1;
186 if ( s1-s0 > 1e-2)
187 dB[dim] = -(2*tremble_size-tremble_size.get_value())/(s0-s1)-B[dim]+A[dim];
243 //- Choose a rdm seg [s0,s1], find corresponding [t0,t1],
247 double s1=0.,s0 = ends_tolerance*strokelength+0.0001;//the root finder might miss 0. local
254 if (!closed && s1>piece_total_length - ends_tolerance.get_value()*strokelength) break;
261 // pick a new end point (s1
[all...]
H A Dlpe-sketch.h63 Geom::Piecewise<Geom::D2<Geom::SBasis> > computePerturbation (double s0, double s1);
/inkscape/src/libavoid/
H A Dgeometry.cpp117 // segment s1-s2, blocking visibility.
119 bool segmentShapeIntersect(const Point& e1, const Point& e2, const Point& s1, argument
122 if (segmentIntersect(e1, e2, s1, s2))
127 else if ( (((s2 == e1) || pointOnLine(s1, s2, e1)) &&
128 (vecDir(s1, s2, e2) != 0))
130 (((s2 == e2) || pointOnLine(s1, s2, e2)) &&
131 (vecDir(s1, s2, e1) != 0)) )
212 // |s1 s3/ |s1
H A Dgeometry.h52 const Point& s1, const Point& s2, bool& seenIntersectionAtEndpoint);
/inkscape/src/
H A Dverbs.h401 bool operator()(const char* s1, const char* s2) const { argument
402 if ( (s1 == NULL) && (s2 != NULL) ) {
404 } else if (s1 == NULL || s2 == NULL) {
407 return strcmp(s1, s2) < 0;
H A Dsp-filter.h38 bool operator()(const char* s1, const char* s2) const;
H A Dsp-filter.cpp539 bool ltstr::operator()(const char* s1, const char* s2) const argument
541 return strcmp(s1, s2) < 0;
/inkscape/po/
H A Dcheck-markup236 my ($s1, $s2, $rest) = ($1, $2, $3);
237 my @strs = ($s1, $s2);
/inkscape/src/helper/
H A Dgeom-pathstroke.cpp314 double s1 = 0; local
320 s1 = -C/B;
321 s2 = -s1;
324 s1 = (-B + sqrt(B*B - 4*A*C))/(2*A);
328 double dr = (fabs(s1)<=fabs(s2)?s1:s2);
333 // std::cout << " s1: " << s1 << " s2: " << s2 << " dr: " << dr << std::endl;
/inkscape/src/extension/internal/pdfinput/
H A Dsvg-builder.cpp926 Count for how many characters s1 matches sp taking into account
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]) {
940 if (s1[is] == '_') { // Valid matches to spaces in sp.
/inkscape/src/util/
H A Dziptool.cpp79 unsigned long s1 = value & 0xffff; local
81 s1 += b & 0xff;
82 s2 += s1;
83 value = ((s2 % ADLER32_BASE) << 16) | (s1 % ADLER32_BASE);
/inkscape/src/extension/internal/
H A Dodf.cpp1000 double s1 = svd.getS(1); local
1002 yscale = s1;
/inkscape/
H A Dbuildtool.cpp5351 String s1, s2, s3;
5356 s1 = version;
5360 s1 = version.substr(pos, pos2-pos);
5381 majorVersion = getint(s1);

Completed in 118 milliseconds