Searched refs:yc (Results 1 - 3 of 3) sorted by relevance
/inkscape/share/extensions/ |
H A D | dxf_input.py | 133 # mandatory group codes : (10, 11, 20, 21, 40, 41, 42) (xc, xm, yc, ym, width ratio, angle1, angle2) 203 yc = vals[groups['20']][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) 219 yc = vals[groups['20']][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+x1, yc [all...] |
H A D | measure.py | 118 yc = 0.0 125 yc += sp[i-1][1][0]*(sp[i][1][1] - sp[i-2][1][1])*(sp[i-2][1][1] + sp[i-1][1][1] + sp[i][1][1])/6 131 yc += (vec_y*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 D | measure-tool.cpp | 299 double yc = center[Geom::Y]; local 301 double ay = p1[Geom::Y] - yc; 303 double by = p4[Geom::Y] - yc; 310 yc + ay + (k2 * ax)); 312 yc + by - (k2 * bx));
|
Completed in 22 milliseconds