Searched refs:xc (Results 1 - 3 of 3) sorted by relevance

/inkscape/share/extensions/
H A Ddxf_input.py133 # mandatory group codes : (10, 11, 20, 21, 40, 41, 42) (xc, xm, yc, ym, width ratio, angle1, angle2)
202 xc = vals[groups['10']][i10]
207 path += 'M %f,%f ' % (xc + rm*math.cos(a1*math.pi/180.0), yc + rm*math.sin(a1*math.pi/180.0))
210 path += 'M %f,%f ' % (xc, yc)
218 xc = vals[groups['10']][i10]
226 path += 'A %f,%f 0.0 %d %d %f,%f ' % (rm, rm, large, sweep, xc + rm*math.cos(a2*math.pi/180.0), yc + rm*math.sin(a2*math.pi/180.0))
228 path += 'A %f,%f 0.0 %d %d %f,%f ' % (rm, rm, large, sweep, xc + rm*math.cos((a1+180.0)*math.pi/180.0), yc + rm*math.sin((a1+180.0)*math.pi/180.0))
229 path += 'A %f,%f 0.0 %d %d %f,%f ' % (rm, rm, large, sweep, xc + rm*math.cos(a1*math.pi/180.0), yc + rm*math.sin(a1*math.pi/180.0))
305 def generate_ellipse(xc, yc, xm, ym, w, a1, a2):
321 path = 'M %f,%f A %f,%f %f %d 0 %f,%f' % (xc
[all...]
H A Dmeasure.py117 xc = 0.0
124 xc += sp[i-1][1][1]*(sp[i-2][1][0] - sp[i][1][0])*(sp[i-2][1][0] + sp[i-1][1][0] + sp[i][1][0])/6
130 xc += (vec_x*vec_t.T)[0,0]/280
132 return -xc/area, -yc/area
235 xc, yc = cspcofm(p)
238 self.addCross(self.group, xc, yc, scale)
/inkscape/src/ui/tools/
H A Dmeasure-tool.cpp298 double xc = center[Geom::X]; local
300 double ax = p1[Geom::X] - xc;
302 double bx = p4[Geom::X] - xc;
309 Geom::Point p2(xc + ax - (k2 * ay),
311 Geom::Point p3(xc + bx + (k2 * by),

Completed in 20 milliseconds