Searched refs:ax (Results 1 - 13 of 13) sorted by relevance

/inkscape/src/display/
H A Dnr-filter-image.cpp201 double ax, ay; // Align side local
204 ax = 0.0;
208 ax = 0.5;
212 ax = 1.0;
216 ax = 0.0;
220 ax = 0.5;
224 ax = 1.0;
228 ax = 0.0;
232 ax = 0.5;
236 ax
[all...]
/inkscape/share/extensions/
H A Dbezmisc.py64 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)))
88 a=coef1*ay-coef2*ax
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,cy,x0,y0=bezierparameterize(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)))
110 dx=3*ax*(t**2)+2*bx*t+cx
115 ax,a
[all...]
H A Dgcodetools.py99 ax,ay,bx,by,cx,cy,x0,y0=bezmisc.bezierparameterize(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)))
100 dx=3*ax*(t**2)+2*bx*t+cx
103 dx = 6*ax*t+2*bx
106 dx = 6*ax
109 print_("Slope error x = %s*t^3+%s*t^2+%s*t+%s, y = %s*t^3+%s*t^2+%s*t+%s, t = %s, dx==dy==0" % (ax,bx,cx,dx,ay,by,cy,dy,t))
277 ax,ay,bx,by,cx,cy,dx,dy = csp_parameterize(sp1,sp2)
278 if ax==0 and bx==0 and cx==0 and dx==x :
317 if y1>y and 3*ax*t**2 + 2*bx*t + cx !=0 : # if it's 0 the path only touches the ray
374 ax,ay,bx,by,cx,cy,dx,dy = csp_parameterize(sp1,sp2)
383 f = (ax*t
[all...]
/inkscape/src/libcola/
H A Dstraightener.h69 double ax=route->xs[i-1], bx=route->xs[i], ay=route->ys[i-1], by=route->ys[i]; local
73 xs.push_back(ax+(bx-ax)*r);
80 double ax=route->xs[i-1], bx=route->xs[i], ay=route->ys[i-1], by=route->ys[i]; local
81 double r=(x-ax)/(bx-ax);
82 // as long as y is between ax and bx then r>0
H A Dstraightener.cpp36 static bool pointOnLine(double px,double py, double ax, double ay, double bx, double by, double& tx) { argument
37 double dx=bx-ax;
42 tx=px-ax;
47 if(fabs(px-ax)<0.01) {
51 tx=(px-ax)/dx;
80 double ax=route->xs[i-1]; local
86 //printf(" px=%f, py=%f, ax=%f, ay=%f, bx=%f, by=%f\n",px,py,ax,ay,bx,by);
87 if(pointOnLine(px,py,ax,ay,bx,by,t)) {
/inkscape/src/2geom/
H A Dpolynomial.h188 static Poly linear(double ax, double b) { argument
191 p.push_back(ax);
222 * The equation is given in the standard form: ax^2 + bx + c = 0.
227 * The equation is given in the standard form: ax^3 + bx^2 + cx + d = 0.
H A Dsbasis-2d.cpp128 double ax = -reste[0]/fact_k*nA[X]; local
133 result[X][k] = Linear(ax,bx);
/inkscape/src/ui/widget/
H A Dcolor-slider.cpp333 gint ax, ay; local
337 ax = (int)(cx + value * cw - ARROW_SIZE / 2 - 2);
339 queue_draw_area(ax, ay, ARROW_SIZE + 4, ch);
340 ax = (int)(cx + _value * cw - ARROW_SIZE / 2 - 2);
342 queue_draw_area(ax, ay, ARROW_SIZE + 4, ch);
/inkscape/src/ui/tools/
H A Dmeasure-tool.cpp300 double ax = p1[Geom::X] - xc; local
304 double q1 = (ax * ax) + (ay * ay);
305 double q2 = q1 + (ax * bx) + (ay * by);
307 double k2 = (4.0 / 3.0) * (std::sqrt(2 * q1 * q2) - q2) / ((ax * by) - (ay * bx));
309 Geom::Point p2(xc + ax - (k2 * ay),
310 yc + ay + (k2 * ax));
/inkscape/src/
H A Dsp-namedview.cpp758 gint ax = MIN(gdk_screen_width() - minOnscreen, x); local
762 ax = MAX(minOnscreen - w, ax);
765 return Geom::Point(ax, ay);
/inkscape/src/livarot/
H A DShape.cpp1564 Shape::CmpToVert (Geom::Point ax, Geom::Point bx,bool as,bool bs) argument
1570 if (ax[0] > 0)
1572 if (ax[0] < 0)
1574 if (ax[1] > 0)
1576 if (ax[1] < 0)
1684 av = ax;
H A DPathConversion.cpp681 Geom::Point const ax = iE - 2 * iM + iS; member in class:Geom
685 oPt = t * t * ax + t * bx + cx;
691 Geom::Point const ax = ieD - 2 * iE + 2 * iS + isD; member in class:Geom
695 oPt = 3 * t * t * ax + 2 * t * bx + cx;
H A DShape.h567 static int CmpToVert(const Geom::Point ax, const Geom::Point bx, bool as, bool bs);

Completed in 1905 milliseconds