/inkscape/share/extensions/ |
H A D | rubberstretch.py | 48 sx=(1+b*(x/w+1)*(x/w-1))*2**(-a) 51 bpt[1]=y0+y/sx 56 dYdx=-y*2*b*x/w/w*2**(-a)/sx/sx 57 dYdy=1/sx
|
H A D | simpletransform.py | 43 sx=float(args[0]) 45 sy=sx 48 matrix=[[sx,0,0],[0,sy,0]]
|
/inkscape/src/ui/widget/ |
H A D | gimpcolorwheel.c | 486 gint *sx, 509 *sx = floor (center_x + cos (angle + 2.0 * G_PI / 3.0) * inner + 0.5); 553 gdouble hx, hy, sx, sy, vx, vy; local 566 sx = isx - center_x; 573 if (vx * (x - sx) + vy * (y - sy) < 0.0) 576 *v = (((x - sx) * (hx - sx) + (y - sy) * (hy-sy)) 577 / ((hx - sx) * (hx - sx) + (hy - sy) * (hy - sy))); 584 else if (hx * (x - sx) 483 compute_triangle(GimpColorWheel *wheel, gint *hx, gint *hy, gint *sx, gint *sy, gint *vx, gint *vy) argument 640 gint hx, hy, sx, sy, vx, vy; local 1016 gint hx, hy, sx, sy, vx, vy; /* HSV vertices */ local 1536 gint hx, hy, sx, sy, vx, vy; /* HSV vertices */ local [all...] |
/inkscape/src/livarot/ |
H A D | PathStroke.cpp | 273 const Geom::Point sx = pos + width * nor; local 275 leftNo = dest->AddPoint (sx); 278 RecRound (dest, rightNo, leftNo, ex, sx, -nor, nor, pos, width); 306 const Geom::Point sx = pos + width * pnor; local 308 stNo[LEFT] = enNo[RIGHT] = dest->AddPoint (sx); 311 RecRound (dest, enNo[LEFT], stNo[LEFT], ex, sx, -pnor, pnor, pos, width); 350 Geom::Point sx = pos - width * pnor; local 351 stNo[RIGHT] = dest->AddPoint(sx); 356 sx, ex, -pnor, -nnor, pos, width); 396 Geom::Point sx local 534 const Geom::Point sx = pos + width * pnor; local 645 const Geom::Point sx = pos - width * pnor; local [all...] |
/inkscape/src/display/ |
H A D | drawing-image.h | 32 void setScale(double sx, double sy);
|
H A D | drawing-context.h | 56 void scale(double sx, double sy) { cairo_scale(_ct, sx, sy); } argument
|
H A D | drawing-image.cpp | 43 DrawingImage::setScale(double sx, double sy) argument 45 _scale = Geom::Scale(sx, sy);
|
H A D | nr-filter-turbulence.cpp | 163 double sx = _scurve(rx0); local 171 double a = _lerp(sx, rx0 * qxa[0] + ry0 * qxa[1], 175 double b = _lerp(sx, rx0 * qya[0] + ry1 * qya[1],
|
/inkscape/src/ |
H A D | sp-image.h | 40 double sx, sy; member in class:SPImage
|
H A D | sp-image.cpp | 121 this->sx = this->sy = 1.0; 418 this->sx = c2p[0]; 422 // TODO: eliminate ox, oy, sx, sy 501 Geom::Scale s(this->sx, this->sy); 631 ai->setScale(image->sx, image->sy);
|
H A D | sp-offset.cpp | 882 Geom::Point sx = theRes->getPoint(theRes->getEdge(i).st).x; local 884 Geom::Point nx = ex - sx; 889 Geom::Point pxsx=px-sx;
|
/inkscape/src/extension/internal/ |
H A D | wmf-inout.h | 221 double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh, uint32_t iUsage); 223 double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh);
|
H A D | wmf-inout.cpp | 1299 \param sx (int) source x in src image pixels 1304 double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh, uint32_t iUsage){ 1347 sx,sy, // starting point in pixel array 1401 \param sx (int) source x in src image pixels 1406 double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh){ 1452 sx,sy, // starting point in pixel array 2304 int sx = Src.x; local 2308 if(sx<0)sx=0; 2310 common_bm16_to_image(d,Bm16,px,dx,dy,dw,dh,sx,s 1303 common_dib_to_image(PWMF_CALLBACK_DATA d, const char *dib, double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh, uint32_t iUsage) argument 1405 common_bm16_to_image(PWMF_CALLBACK_DATA d, U_BITMAP16 Bm16, const char *px, double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh) argument 2342 int sx = Src.x; local 2746 int sx = Src.x; local 2768 int sx = Src.x; local 2791 int sx = Src.x; //source position within the bitmap, in pixels local [all...] |
H A D | emf-inout.h | 234 double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh,
|
H A D | emf-inout.cpp | 1499 \param sx (int) source x in src image pixels 1508 double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh, 1553 sx,sy, // starting point in pixel array 2972 int sx = pEmr->Src.x + pEmr->xformSrc.eDx; local 2976 if(sx<0)sx=0; 2978 common_image_extraction(d,pEmr,dx,dy,dw,dh,sx,sy,sw,sh, 2994 int sx = pEmr->Src.x + pEmr->xformSrc.eDx; local 2998 common_image_extraction(d,pEmr,dx,dy,dw,dh,sx,sy,sw,sh, 3013 int sx local 1507 common_image_extraction(PEMF_CALLBACK_DATA d, void *pEmr, double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh, uint32_t iUsage, uint32_t offBits, uint32_t cbBits, uint32_t offBmi, uint32_t cbBmi) argument 3037 int sx = pEmr->Src.x; //source position within the bitmap, in pixels local [all...] |
/inkscape/src/2geom/ |
H A D | bezier-curve.h | 242 std::pair<Bezier, Bezier> sx = inner[X].subdivide(t), sy = inner[Y].subdivide(t); local 244 BezierCurveN(sx.first, sy.first), 245 BezierCurveN(sx.second, sy.second));
|
H A D | conicsec.cpp | 453 xAx xAx::scale(double sx, double sy) const { argument 454 return xAx(c[0]*sx*sx, c[1]*sx*sy, c[2]*sy*sy, 455 c[3]*sx, c[4]*sy, c[5]);
|
H A D | conicsec.h | 261 xAx scale(double sx, double sy) const;
|
/inkscape/share/extensions/ink2canvas/ |
H A D | svg.py | 279 sx = 1 if rx > ry else rx / ry 284 self.ctx.scale(sx, sy) 286 self.ctx.scale(1/sx, 1/sy)
|