/inkscape/src/display/ |
H A D | nr-filter-offset.h | 37 double dx, dy; member in class:Inkscape::Filters::FilterOffset
|
H A D | nr-filter-convolve-matrix.h | 55 int dx, dy, kernelUnitLength; member in class:Inkscape::Filters::FilterConvolveMatrix
|
H A D | nr-filter-flood.cpp | 90 double dy = fp_cairo.min()[Geom::Y] - sa.min()[Geom::Y]; local 92 if( dy < 0.0 ) dy = 0.0; 97 cairo_rectangle(ct, dx, dy, overlap.width(), overlap.height() );
|
H A D | drawing-context.h | 54 void translate(double dx, double dy) { cairo_translate(_ct, dx, dy); } argument
|
H A D | nr-filter-gaussian.cpp | 573 double dy = _deviation_y; local 578 dy *= (*bbox).height(); 585 double deviation_y_orig = dy * trans.expansionY();
|
/inkscape/src/filters/ |
H A D | offset.h | 25 double dx, dy; member in class:SPFeOffset
|
/inkscape/src/ |
H A D | sp-radial-gradient.cpp | 181 double dx = d_user.x(), dy = d_user.y(); local 182 cairo_user_to_device_distance(ct, &dx, &dy); 187 double dl = hypot(dx, dy); 188 double tx = tolerance * dx / dl, ty = tolerance * dy / dl;
|
H A D | sp-ellipse.cpp | 194 double const dy = viewbox.height(); local 195 double const dr = hypot(dx, dy) / sqrt(2); 200 this->cy.update(em, ex, dy);
|
/inkscape/src/2geom/ |
H A D | rect.cpp | 132 double dx = 0, dy = 0; local 139 dy = rect.top() - p[Y]; 141 dy = p[Y] - rect.bottom(); 143 return dx*dx+dy*dy; 151 double dx = 0, dy = 0; local 158 dy = rect.top() - p[Y]; 160 dy = p[Y] - rect.bottom(); 162 return hypot(dx, dy);
|
H A D | circle.cpp | 168 Coord dy = l.vector().y(); local 175 Coord ix = (D*dy) / (dr*dr); 183 Coord signmod = dy < 0 ? -1 : 1; 185 Coord i1x = (D*dy + signmod * dx * sqrt_delta) / (dr*dr); 186 Coord i1y = (-D*dx + fabs(dy) * sqrt_delta) / (dr*dr); 189 Coord i2x = (D*dy - signmod * dx * sqrt_delta) / (dr*dr); 190 Coord i2y = (-D*dx - fabs(dy) * sqrt_delta) / (dr*dr);
|
H A D | bezier-curve.cpp | 276 double dx = inner[X][1] - inner[X][0], dy = inner[Y][1] - inner[Y][0]; local 277 return new BezierCurveN<1>(Point(dx,dy),Point(dx,dy));
|
H A D | path-intersection.cpp | 419 bool dy = p[i].initialPoint()[Y] > (spl.empty()? p[i].finalPoint()[Y] : local 422 if(dx != pdx || dy != pdy) { 424 pdx = dx; pdy = dy;
|
H A D | bezier-clipping.cpp | 378 double dy = (p2[Y] - p1[Y]); local 379 double s = (y - p1[Y]) / dy;
|
/inkscape/src/libdepixelize/priv/ |
H A D | optimization-kopf2011.h | 55 T dy[2]; variable 59 dy[0] = points[1].y - points[0].y; 60 dy[1] = points[3].y - points[2].y; 65 m[0] = dy[0] / dx[0]; 66 m[1] = dy[1] / dx[1]; 68 // It's easier to have a unified logic, then we'll fake dx and dy 69 dy[0] = points[1].x - points[0].x; 70 dy[1] = points[3].x - points[2].x; 75 m[0] = dy[0] / dx[0]; 76 m[1] = dy[ [all...] |
H A D | simplifiedvoronoi.h | 125 typedef void (*PointTransform)(Point<T> &p, T dx, T dy); 158 static void _complexTopLeftTransform(Point<T> &p, T dx, T dy); 159 static void _complexTopRightTransform(Point<T> &p, T dx, T dy); 160 static void _complexBottomRightTransform(Point<T> &p, T dx, T dy); 161 static void _complexBottomLeftTransform(Point<T> &p, T dx, T dy); 621 ::_complexTopLeftTransform(Point<T> &p, T dx, T dy) argument 624 p.y -= dy; 629 ::_complexTopRightTransform(Point<T> &p, T dx, T dy) argument 631 p.x += dy; 637 ::_complexBottomRightTransform(Point<T> &p, T dx, T dy) argument 645 _complexBottomLeftTransform(Point<T> &p, T dx, T dy) argument [all...] |
/inkscape/src/trace/potrace/ |
H A D | bitmap.h | 32 #define bm_scanline(bm, y) ((bm)->map + (ptrdiff_t)(y)*(ptrdiff_t)(bm)->dy) 60 int dy = w == 0 ? 0 : (w - 1) / BM_WORDBITS + 1; local 61 ptrdiff_t size = (ptrdiff_t)dy * (ptrdiff_t)h * (ptrdiff_t)BM_WORDSIZE; 64 if (size < 0 || (h != 0 && dy != 0 && size / h / dy != BM_WORDSIZE)) { 75 bm->dy = dy; 88 ptrdiff_t size = (ptrdiff_t)bm->dy * (ptrdiff_t)bm->h * (ptrdiff_t)BM_WORDSIZE; 95 ptrdiff_t size = (ptrdiff_t)bm->dy * (ptrdiff_t)bm->h * (ptrdiff_t)BM_WORDSIZE; 106 ptrdiff_t size = (ptrdiff_t)bm->dy * (ptrdiff_ [all...] |
/inkscape/src/ui/cache/ |
H A D | svg_preview_cache.cpp | 49 int dy = psize; local 51 dy = (dy - height)/2; 54 ibox.min() - Geom::IntPoint(dx, dy), Geom::IntPoint(psize, psize));
|
/inkscape/src/extension/internal/pdfinput/ |
H A D | svg-builder.h | 76 double dy; // Y advance value member in struct:Inkscape::Extension::Internal::SvgGlyph 142 double dx, double dy,
|
/inkscape/src/libcola/ |
H A D | cola.cpp | 16 dy = gpy->dummy_vars[i]->place_r - gpy->dummy_vars[i]->place_l; local 17 return sqrt(dx*dx + dy*dy);
|
H A D | straightener.cpp | 38 double dy=by-ay; local 40 if(fabs(dx)<0.0001&&fabs(dy)<0.0001) { 48 tx=(py-ay)/dy; 53 if(fabs(dy)<0.0001) { 59 ty=(py-ay)/dy;
|
/inkscape/src/trace/ |
H A D | quantize.cpp | 445 int dx = x2 - x1, dy = y2 - y1; local 446 int xm = x1 + dx/2, ym = y1 + dy/2; 449 if (dx == 1 && dy == 1) 451 else if (dx > dy)
|
/inkscape/src/libnrtype/ |
H A D | TextWrapper.cpp | 133 // remember where the text ended, before we recompute it, for the dx/dy we'll add after that (if any) 177 // if needed, fill the dx/dy arrays with 0 for the newly created part 558 void text_wrapper::AddLetterSpacing(double dx, double dy, int g_st, int g_en) argument 572 glyph_text[i].y += dy * nbLetter; 576 glyph_text[g_en].y += dy * nbLetter;
|
H A D | Layout-TNG-OutIter.cpp | 69 dy adjustments such that text does not belong to the line it appears to. In 572 result->dy.clear(); 577 result->dy.reserve(to._char_index - from._char_index); 622 double dy = _characters[char_index].span(this).baseline_shift - _characters[prev_cluster_char_index].span(this).baseline_shift; local 623 if (fabs(dy) > 0.0001) { 624 result->dy.resize(char_index - from._char_index + 1, zero_length); 625 result->dy.back() = dy;
|
/inkscape/src/helper/ |
H A D | geom.cpp | 672 double dy = y4-y1; local 674 double d2 = fabs(((x2 - x4) * dy - (y2 - y4) * dx)); 675 double d3 = fabs(((x3 - x4) * dy - (y3 - y4) * dx)); 684 k = dx*dx + dy*dy; 695 d2 = k * (da1*dx + da2*dy); 698 d3 = k * (da1*dx + da2*dy); 707 else d2 = calc_sq_distance(x2, y2, x1 + d2*dx, y1 + d2*dy); 711 else d3 = calc_sq_distance(x3, y3, x1 + d3*dx, y1 + d3*dy); 734 if(d3 * d3 <= m_distance_tolerance_square * (dx*dx + dy*d [all...] |
/inkscape/src/live_effects/ |
H A D | spiro.cpp | 540 double dy = r[i + 1].y - r[i].y; local 541 r[i].seg_ch = hypot(dx, dy); 542 r[i].seg_th = atan2(dy, dx);
|