/inkscape/src/debug/ |
H A D | gdk-event-latency-tracker.cpp | 44 double delta = current_seconds - timestamp_seconds; local 45 if (delta < 0.0) { 46 start_seconds += -delta; 47 delta = 0.0; 48 } else if (delta > max_latency) { 49 max_latency = delta; 51 return boost::optional<double>(delta);
|
/inkscape/src/ui/ |
H A D | draw-anchor.cpp | 32 SPDrawAnchor *sp_draw_anchor_new(Inkscape::UI::Tools::FreehandBase *dc, SPCurve *curve, bool start, Geom::Point delta) argument 46 a->dp = delta; 49 SP_CTRL(a->ctrl)->moveto(delta);
|
H A D | previewholder.cpp | 310 gint delta = allocation.get_width() - req.width; local 312 if ( (delta > 4) && req.height < allocation.get_height() ) {
|
/inkscape/src/livarot/ |
H A D | AlphaLigne.h | 17 * adding a delta given by a step. the goal is to have only a limited number of positions where the delta != 0, so that 24 float delta; // increase or decrease in pixel coverage with respect to the coverage of the previous pixel member in struct:alpha_step 36 // before is the step containing the delta relative to a pixel infinitely far on the left of the line 37 // thus the initial pixel coverage is before.delta
|
H A D | PathSimplify.cpp | 489 // calcul du delta= pondere par les longueurs des segments 490 double delta = 0; local 542 delta += 0.3333 * (curDist + prevDist + midDist) * data.lk[i]; 554 delta /= data.totLen; 578 delta += curDist; 596 if (delta < treshhold * treshhold) { 722 if (ndelta < delta + 0.00001) { 883 // calcul du delta= pondere par les longueurs des segments 884 double delta = 0; local 921 delta [all...] |
H A D | ShapeMisc.cpp | 1072 double delta = eang - sang; local 1073 double ndelta = delta * (te - ts); 1082 /* if ( delta < 0 ) delta=-delta; 1084 if ( ( delta < M_PI && ndelta < M_PI ) || ( delta >= M_PI && ndelta >= M_PI ) ) {
|
/inkscape/src/display/ |
H A D | canvas-arena.h | 55 double delta; member in struct:_SPCanvasArena 66 void sp_canvas_arena_set_pick_delta (SPCanvasArena *ca, gdouble delta);
|
H A D | drawing-group.cpp | 126 DrawingGroup::_pickItem(Geom::Point const &p, double delta, unsigned flags) argument 129 DrawingItem *picked = i->pick(p, delta, flags);
|
H A D | drawing.h | 72 DrawingItem *pick(Geom::Point const &p, double delta, unsigned flags); 89 double delta; member in class:Inkscape::Drawing
|
H A D | canvas-arena.cpp | 156 DrawingItem *new_arena = arena->drawing.pick(arena->c, arena->drawing.delta, arena->sticky); 208 DrawingItem *picked = arena->drawing.pick(p, arena->drawing.delta, arena->sticky); 255 arena->active = arena->drawing.pick(arena->c, arena->drawing.delta, arena->sticky); 275 new_arena = arena->drawing.pick(arena->c, arena->drawing.delta, arena->sticky); 343 sp_canvas_arena_set_pick_delta (SPCanvasArena *ca, gdouble delta) argument 349 ca->delta = delta;
|
H A D | drawing-image.cpp | 180 DrawingImage::_pickItem(Geom::Point const &p, double delta, unsigned /*sticky*/) argument 190 // find whether any side or diagonal is within delta 194 if (distance_to_segment(pick, r.corner(i), r.corner(j)) < delta) {
|
H A D | drawing-shape.cpp | 299 DrawingShape::_pickItem(Geom::Point const &p, double delta, unsigned flags) argument 374 // close to the edge, as defined by strokewidth and delta? 377 if ((dist - width) < delta) { 385 DrawingItem *ret = i->pick(p, delta, flags & ~PICK_STICKY);
|
H A D | drawing.cpp | 36 , delta(0) 192 Drawing::pick(Geom::Point const &p, double delta, unsigned flags) argument 195 return _root->pick(p, delta, flags);
|
H A D | drawing-item.cpp | 930 * @a delta to the given point. The pick should be visual - for example 933 * @param delta Maximum allowed distance from the point 939 DrawingItem::pick(Geom::Point const &p, double delta, unsigned flags) argument 957 DrawingItem *cpick = _clip->pick(p, delta, flags | PICK_AS_CLIP); 962 DrawingItem *mpick = _mask->pick(p, delta, flags); 973 expanded.expandBy(delta); 976 return _pickItem(p, delta, flags);
|
/inkscape/src/ |
H A D | context-fns.cpp | 93 Geom::Point delta = pt - center; local 96 if (fabs(delta[Geom::X]) > fabs(delta[Geom::Y]) && (delta[Geom::Y] != 0.0)) { 97 double ratio = delta[Geom::X] / delta[Geom::Y]; 101 delta[Geom::X] = sign * goldenratio * delta[Geom::Y]; 103 delta[Geom::X] = floor(ratio + 0.5) * delta[Geo [all...] |
H A D | color.cpp | 258 float max, min, delta; local 262 delta = max - min; 267 hsv[1] = delta / max; 274 hsv[0] = (g - b) / delta; 276 hsv[0] = 2.0 + (b - r) / delta; 278 hsv[0] = 4.0 + (r - g) / delta; 338 float delta = max - min; local 342 if (delta == 0) { 347 hsl[1] = delta / (max + min); 349 hsl[1] = delta / ( [all...] |
H A D | knot-holder-entity.cpp | 196 Geom::Point delta = Geom::Point(x,y); local 199 delta = delta * Geom::Affine(Geom::Scale(scale))*Geom::Affine(Geom::Rotate(theta)); 200 delta = delta + sp_pattern_extract_trans(pat); 201 return delta; 213 Geom::Point delta = p - sp_pattern_extract_trans(pat); local 214 gdouble theta = atan2(delta); 272 Geom::Point delta = Geom::Point(x,y); local 276 delta [all...] |
/inkscape/src/ui/tool/ |
H A D | curve-drag-point.cpp | 56 // delta is a vector equal 1/3 of distance from first to second 57 Geom::Point delta = (second->position() - first->position()) / 3.0; local 60 first->front()->move(first->front()->position() + delta); 61 second->back()->move(second->back()->position() - delta); 101 Geom::Point delta = new_pos - position(); local 102 Geom::Point offset0 = ((1-weight)/(3*t*(1-t)*(1-t))) * delta; 103 Geom::Point offset1 = (weight/(3*t*t*(1-t))) * delta; 113 second->move(second->position() + delta); 119 first->move(first->position() + delta); 122 first->move(first->position() + delta); [all...] |
/inkscape/src/2geom/ |
H A D | circle.cpp | 116 Coord delta = (d == X ? std::cos(t) : std::sin(t)); local 117 return _center[d] + delta * _radius; 150 Coord delta = r*r * dr*dr - D*D; local 151 if (delta >= 0) return true; 170 Coord delta = _radius*_radius * dr*dr - D*D; local 173 if (delta < 0) return result; 174 if (delta == 0) { 182 Coord sqrt_delta = std::sqrt(delta);
|
H A D | polynomial.cpp | 235 Coord delta = b*b - 4*a*c; local 237 if (delta == 0) { 240 } else if (delta > 0) { 242 Coord delta_sqrt = sqrt(delta);
|
H A D | ellipse.cpp | 523 Coord delta = ee*ee - 4*aa*bb; local 524 if (delta < 0) continue;
|
/inkscape/src/ui/tools/ |
H A D | spiral-tool.cpp | 370 Geom::Point const delta = p1 - p0; member in class:Inkscape::UI::Tools::Geom 371 gdouble const rad = Geom::L2(delta); 373 gdouble arg = Geom::atan2(delta) - 2.0*M_PI*this->spiral->revo;
|
/inkscape/src/ui/dialog/ |
H A D | polar-arrange-tab.cpp | 198 float delta = std::abs(std::abs(arcLength) - 2*M_PI); local 199 if(delta > 0.01) count--; // If not a complete circle, put an object also at the extremes of the arc;
|
/inkscape/src/widgets/ |
H A D | dash-selector.cpp | 164 double delta = 0.0; local 166 delta += dash[i]; 167 delta /= 1000.0; 178 if (!Geom::are_near(dash[j], pattern[j], delta))
|
/inkscape/src/trace/potrace/ |
H A D | inkscape-potrace.cpp | 480 double delta = (high - low ) / ((double)multiScanNrColors); local 488 brightnessThreshold += delta) {
|