Searched defs:cx (Results 1 - 25 of 31) sorted by relevance

12

/inkscape/src/
H A Dsp-radial-gradient.h23 SVGLength cx; member in class:SPRadialGradient
H A Dsp-ellipse.h40 SVGLength cx; member in class:SPGenericEllipse
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-namedview.h55 double cx; member in class:SPNamedView
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-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-rect.cpp407 Geom::Point cx = c + Geom::Point(1, 0); local
412 cx *= this->transform;
416 gdouble eX = SPRect::vectorStretch(cx, c, xform);
H A Ddesktop.cpp795 double const cx = 0.5 * (x0 + x1); local
823 x0 = cx - 0.5 * viewbox.dimensions()[Geom::X] / newscale;
960 SPDesktop::zoom_absolute_keep_point (double cx, double cy, double px, double py, double zoom) argument
975 set_display_area(cx - px * width2,
977 cx + (1 - px) * width2,
1006 SPDesktop::zoom_absolute (double cx, double cy, double zoom) argument
1008 zoom_absolute_keep_point (cx, cy, 0.5, 0.5, zoom);
1015 SPDesktop::zoom_relative_keep_point (double cx, double cy, double zoom) argument
1019 if (cx < area.min()[Geom::X]) {
1020 cx
1043 zoom_relative(double cx, double cy, double zoom) argument
[all...]
/inkscape/src/2geom/
H A Dcircle.h61 Circle(Coord cx, Coord cy, Coord r) argument
62 : _center(cx, cy), _radius(r)
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 Dgeneric-rect.h206 C cx = f[X].nearestEnd(p[X]); local
208 if (std::abs(cx - p[X]) <= std::abs(cy - p[Y])) {
209 result[X] = cx;
H A Dconicsec.cpp612 double cx = -b*0.5/a; local
614 if(ivl.contains(cx))
615 bnds.expandTo((a*cx+b)*cx+c);
/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.h255 CX_SPECS *cx; /**< complexes */ member in struct:__anon76
/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/svg/
H A Dpath-string.h100 PathString &quadTo(Geom::Coord cx, Geom::Coord cy, Geom::Coord x, Geom::Coord y) { argument
101 return quadTo(Geom::Point(cx, cy), Geom::Point(x, y));
/inkscape/src/libavoid/
H A Dvisibility.cpp611 Sint16 cx = (int) currPt.x; local
667 cx + canx, cy + cany, 255, 0, 0, 75);
/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 DShapeMisc.cpp731 Shape::MakeOffset (Shape * a, double dec, JoinType join, double miter, bool do_profile, double cx, double cy, double radius, Geom::Affine *i2doc) argument
809 double x = (Geom::L2(ptP * (*i2doc) - Geom::Point(cx,cy))/radius);
1441 Geom::Point cx; local
1443 Path::QuadraticPoint ((ts + te) / 2, cx, bstx, mx, benx);
1445 cx = 2 * cx - (px + nx) / 2;
1448 dest->IntermBezierTo (cx);
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/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...]
/inkscape/src/extension/internal/filter/
H A Dcolor.h1382 "<param name=\"cx\" gui-text=\"" N_("X") "\" type=\"float\" indent=\"1\" appearance=\"full\" precision=\"2\" min=\"-100.\" max=\"100.\">-6</param>\n"
1413 std::ostringstream cx; local
1425 cx << ext->get_param_float("cx");
1451 cx.str().c_str(), cy.str().c_str(),
/inkscape/src/display/
H A Dsp-canvas.cpp1968 void SPCanvas::scrollTo(double cx, double cy, unsigned int clear, bool is_scrolling) argument
1972 int ix = (int) round(cx); // ix and iy are the new canvas coordinates (integer screen pixels)
1973 int iy = (int) round(cy); // cx might be negative, so (int)(cx + 0.5) will not do!
2001 _dx0 = cx; // here the 'd' stands for double, not delta!
/inkscape/src/extension/dbus/
H A Ddocument-interface.cpp391 document_interface_ellipse_center (DocumentInterface *doc_interface, int cx, int cy, argument
396 sp_repr_set_int(newNode, "sodipodi:cx", cx);
404 document_interface_polygon (DocumentInterface *doc_interface, int cx, int cy, argument
412 sp_repr_set_int(newNode, "sodipodi:cx", cx);
426 document_interface_star (DocumentInterface *doc_interface, int cx, int cy, argument
433 sp_repr_set_int(newNode, "sodipodi:cx", cx);
468 document_interface_spiral (DocumentInterface *doc_interface, int cx, in argument
[all...]

Completed in 1057 milliseconds

12