/inkscape/src/display/ |
H A D | nr-filter-image.cpp | 201 double ax, ay; // Align side local 205 ay = 0.0; 209 ay = 0.0; 213 ay = 0.0; 217 ay = 0.5; 221 ay = 0.5; 225 ay = 0.5; 229 ay = 1.0; 233 ay = 1.0; 237 ay [all...] |
/inkscape/share/extensions/ |
H A D | bezmisc.py | 67 ay=by3-y0-cy-by 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))) 105 y=ay*(t**3)+by*(t**2)+cy*t+y0 109 ax,ay,bx,by,cx,cy,x0,y0=bezierparameterize(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3))) 111 dy=3*ay*(t**2)+2*by*t+cy 115 ax,ay,b [all...] |
H A D | gcodetools.py | 99 ax,ay,bx,by,cx,cy,x0,y0=bezmisc.bezierparameterize(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3))) 101 dy=3*ay*(t**2)+2*by*t+cy 104 dy = 6*ay*t+2*by 107 dy = 6*ay 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) 374 ax,ay,bx,by,cx,cy,dx,dy = csp_parameterize(sp1,sp2) 383 f = (ax*t3+bx*t2+cx*t+dx)*(3*ax*t2+2*bx*t+cx) + (ay*t3+by*t2+cy*t+dy)*(3*ay*t2+2*by*t+cy) 384 df = (6*ax*t+2*bx)*(ax*t3+bx*t2+cx*t+dx) + (3*ax*t2+2*bx*t+cx)**2 + (6*ay* [all...] |
/inkscape/src/libcola/ |
H A D | straightener.h | 69 double ax=route->xs[i-1], bx=route->xs[i], ay=route->ys[i-1], by=route->ys[i]; local 70 double r=(y-ay)/(by-ay); 71 // as long as y is between ay and by then r>0 80 double ax=route->xs[i-1], bx=route->xs[i], ay=route->ys[i-1], by=route->ys[i]; local 84 ys.push_back(ay+(by-ay)*r);
|
H A D | straightener.cpp | 36 static bool pointOnLine(double px,double py, double ax, double ay, double bx, double by, double& tx) { argument 38 double dy=by-ay; 43 ty=py-ay; 48 tx=(py-ay)/dy; 55 if(fabs(py-ay)<0.01) { 59 ty=(py-ay)/dy; 81 double ay=route->ys[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,b [all...] |
/inkscape/src/2geom/ |
H A D | sbasis-2d.cpp | 129 double ay = -reste[0]/fact_k*nA[Y]; local 134 result[Y][k] = Linear(ay,by);
|
/inkscape/src/ui/widget/ |
H A D | color-slider.cpp | 333 gint ax, ay; local 338 ay = cy; 339 queue_draw_area(ax, ay, ARROW_SIZE + 4, ch); 341 ay = cy; 342 queue_draw_area(ax, ay, ARROW_SIZE + 4, ch);
|
/inkscape/src/ui/tools/ |
H A D | measure-tool.cpp | 301 double ay = p1[Geom::Y] - yc; 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 D | sp-namedview.cpp | 759 gint ay = MIN(gdk_screen_height() - minOnscreen, y); local 763 ay = MAX(minOnscreen - h, ay); 765 return Geom::Point(ax, ay);
|