Searched refs:cx (Results 1 - 25 of 72) sorted by relevance

123

/inkscape/src/
H A Dsp-radial-gradient.cpp14 this->cx.unset(SVGLength::PERCENT, 0.5, 0.5);
31 this->readAttr( "cx" );
45 if (!this->cx.read(value)) {
46 this->cx.unset(SVGLength::PERCENT, 0.5, 0.5);
50 this->fx.value = this->cx.value;
51 this->fx.computed = this->cx.computed;
80 this->fx.unset(this->cx.unit, this->cx.value, this->cx.computed);
115 if ((flags & SP_OBJECT_WRITE_ALL) || this->cx
[all...]
H A Dsp-spiral.cpp33 , cx(0)
49 this->readAttr("sodipodi:cx");
65 * sodipodi:spiral="cx cy exp revo rad arg t0"
68 sp_repr_set_svg_double(repr, "sodipodi:cx", this->cx);
99 if (!sp_svg_length_read_computed_absolute (value, &this->cx)) {
100 this->cx = 0.0;
338 g_print ("cx=%g, cy=%g, exp=%g, revo=%g, rad=%g, arg=%g, t0=%g\n",
339 this->cx,
390 void SPSpiral::setPosition(gdouble cx, gdoubl argument
[all...]
H A Dsp-radial-gradient.h23 SVGLength cx; member in class:SPRadialGradient
H A Dsp-spiral.h35 x(t) = rad * t^exp cos(2 * Pi * revo*t + arg) + cx
47 float cx, cy; member in class:SPSpiral
55 void setPosition(double cx, double cy, double exp, double revo, double rad, double arg, double t0);
H A Dsp-ellipse.cpp73 this->readAttr("sodipodi:cx");
83 this->readAttr("cx");
89 this->readAttr("cx");
99 // std::cout << " cx: " << cx.write() << std::endl;
108 // There are multiple ways to set internal cx, cy, rx, and ry (via SVG attributes or Sodipodi
123 if( t.read(value) ) cx = t;
124 cx.update( em, ex, w );
199 this->cx.update(em, ex, dx);
268 // std::cout << " cx
547 double cx = this->cx.computed; local
[all...]
H A Dsp-ellipse.h40 SVGLength cx; member in class:SPGenericEllipse
/inkscape/share/extensions/
H A Dbezmisc.py62 cx=3*(bx1-x0)
63 bx=3*(bx2-bx1)-cx
64 ax=bx3-x0-cx-bx
69 return ax,ay,bx,by,cx,cy,x0,y0
70 #ax,ay,bx,by,cx,cy,x0,y0=bezierparameterize(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)))
86 ax,ay,bx,by,cx,cy,x0,y0=bezierparameterize(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)))
90 c=coef1*cy-coef2*cx
103 ax,ay,bx,by,cx,cy,x0,y0=bezierparameterize(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)))
104 x=ax*(t**3)+bx*(t**2)+cx*t+x0
109 ax,ay,bx,by,cx,c
[all...]
H A Drestack.py150 cx = x
152 cx = x + w
154 cx = x + w / 2
169 objlist.append([cx,id])
171 objlist.append([-cx,id])
173 distance = math.hypot(cx,cy)*(math.cos(math.radians(-self.options.angle)-math.atan2(cy, cx)))
176 distance = math.hypot(midx - cx, midy - cy)
179 distance = -math.hypot(midx - cx, midy - cy)
H A Dprinting_marks.py115 def draw_reg_circles(self, cx, cy, r, name, colours, parent):
121 'cx':str(cx), 'cy':str(cy),
126 def draw_reg_marks(self, cx, cy, rotate, name, parent):
145 'transform': 'translate('+str(cx)+','+str(cy)+ \
149 def draw_star_target(self, cx, cy, name, parent):
161 'transform':'translate('+str(cx)+','+str(cy)+')',
166 def draw_coluor_bars(self, cx, cy, rotate, name, parent):
169 'transform':'translate('+str(cx)+','+str(cy)+\
377 cx
[all...]
H A Dtext_extract.py122 cx = x
124 cx = x + w
126 cx = x + w / 2
141 objlist.append([cx,id])
143 objlist.append([-cx,id])
H A Dwireframe_sphere.py67 def draw_SVG_ellipse((rx, ry), (cx, cy), width, parent, start_end=(0,2*pi),transform='' ):
73 inkex.addNS('cx','sodipodi') :str(cx),
202 cx=0 #The x position is just the center of the sphere
207 draw_SVG_ellipse((majorRad, minorRad), (cx,cy), stroke_width, grp_lat)
211 draw_SVG_ellipse((majorRad, minorRad), (cx,cy), stroke_width, grp_lat, start_end)
214 draw_SVG_ellipse((majorRad, minorRad), (cx,cy), stroke_width, grp_lat)
H A Dtext_merge.py130 cx = x
132 cx = x + w
134 cx = x + w / 2
149 objlist.append([cx,id])
151 objlist.append([-cx,id])
H A Dsimpletransform.py54 cx,cy=(0.0,0.0)
56 cx,cy=map(float,args[1:])
57 matrix=[[math.cos(a),-math.sin(a),cx],[math.sin(a),math.cos(a),cy]]
58 matrix=composeTransform(matrix,[[1,0,-cx],[0,1,-cy]])
232 cx = float(node.get('cx', '0'))
234 x1 = cx - float(rx)
235 x2 = cx + float(rx)
H A Dsimplepath.py195 def rotatePath(p, a, cx = 0, cy = 0):
202 x = params[i] - cx
207 params[i] = (r * math.cos(theta)) + cx
H A Dsimplepath.rb193 def rotatePath(p, a, cx = 0, cy = 0)
197 x = params[i] - cx
202 params[i] = (r * Math.cos(theta)) + cx
/inkscape/share/extensions/ink2canvas/
H A Dsvg.py55 cx = self.attr("cx")
58 #self.createRadialGradient(href, cx, cy, r, cx, cy, r)
170 cx = self.attr("cx")
173 return cx, cy, r, 0, math.pi * 2, True
178 cx = self.attr("cx")
182 return cx, c
[all...]
/inkscape/cxxtest/cxxtest/
H A DTestSuite.cpp92 const char *cx = (const char *)x; local
95 if ( *cx++ != *cy++ )
/inkscape/src/extension/internal/
H A Dodf.h174 cx = other.cx;
190 cx = 0.0;
211 cx != other.cx ||
238 double cx; member in class:Inkscape::Extension::Internal::GradientInfo
H A Dtext_reassemble.c453 last = cxi->cx[src].kids.used - 1;
454 switch (cxi->cx[src].type){
456 trec = cxi->cx[src].kids.members[0]; /* for this complex type there is only ever one member */
471 trec = cxi->cx[src].kids.members[i];
499 trec = cxi->cx[src].kids.members[last];
547 trec = cxi->cx[dst].kids.members[0]; /* complex whose first text record holds vadvance for this complex */
548 trec = cxi->cx[trec].kids.members[0]; /* text record that halds vadvance for this complex */
1023 tmp = (CX_SPECS *) realloc(cxi->cx, cxi->space * sizeof(CX_SPECS) );
1025 cxi->cx = tmp;
1026 memset(&cxi->cx[cx
[all...]
/inkscape/src/2geom/
H A Dellipse.h79 Ellipse(Coord cx, Coord cy, Coord rx, Coord ry, Coord angle) argument
80 : _center(cx, cy)
97 void set(Coord cx, Coord cy, Coord rx, Coord ry, Coord a) { argument
98 _center[X] = cx;
109 void setCenter(Coord cx, Coord cy) { _center[X] = cx; _center[Y] = cy; } argument
H A Dcircle.h61 Circle(Coord cx, Coord cy, Coord r) argument
62 : _center(cx, cy), _radius(r)
/inkscape/src/livarot/
H A DPathConversion.cpp123 Geom::Point cx = 2 * bx - dx; local
129 bx = cx;
130 cx = dx;
137 stx = (bx + cx) / 2;
144 mx = (cx + dx) / 2;
145 RecBezierTo(cx, stx, mx, treshhold, 8, 0.0, 1.0, curP + k);
149 bx = cx;
150 cx = dx;
153 dx = 2 * dx - cx;
156 stx = (bx + cx) /
324 Geom::Point cx = 2 * bx - dx; local
563 Geom::Point cx = 2 * bx - dx; local
683 Geom::Point const cx = iS; member in class:Geom
693 Geom::Point const cx = isD; member in class:Geom
[all...]
H A DPathOutline.cpp716 Geom::Point cx=curX; local
741 cx = 2 * bx - dx;
744 bx = cx;
745 cx = dx;
750 Geom::Point stx = (bx + cx) / 2;
753 PathDescrBezierTo tempb((cx + dx) / 2, 1);
754 PathDescrIntermBezierTo tempi(cx);
766 callsData.x2 = (cx[0] + dx[0]) / 2;
767 callsData.y2 = (cx[1] + dx[1]) / 2;
768 callsData.d.b.mx = cx[
[all...]
/inkscape/src/ui/dialog/
H A Dpolar-arrange-tab.cpp213 static Geom::Point calcPoint(float cx, float cy, float rx, float ry, float angle) argument
215 return Geom::Point(cx + cos(angle) * rx, cy + sin(angle) * ry);
327 float cx, cy; // Center of the ellipse local
340 cx = referenceEllipse->cx.value;
356 cx = centerX.getValue("px");
373 Geom::Point realCenter = Geom::Point(cx, cy) * transformation;
384 Geom::Point newLocation = calcPoint(cx, cy, rx, ry, angle) * transformation;
/inkscape/src/ui/widget/
H A Dcolor-slider.cpp206 gint cx, cw; local
208 cx = get_style_context()->get_padding(get_state_flags()).get_left();
210 cx = get_style()->get_xthickness();
212 cw = allocation.get_width() - 2 * cx;
216 ColorScales::setScaled(_adjustment->gobj(), CLAMP((gfloat)(event->x - cx) / cw, 0.0, 1.0));
257 gint cx, cw; local
260 cx = get_style_context()->get_padding(get_state_flags()).get_left();
262 cx = get_style()->get_xthickness();
264 cw = allocation.get_width() - 2 * cx;
265 ColorScales::setScaled(_adjustment->gobj(), CLAMP((gfloat)(event->x - cx) / c
317 gint cx, cy, cw, ch; local
[all...]

Completed in 82 milliseconds

123