Searched defs:speed (Results 1 - 4 of 4) sorted by relevance

/inkscape/src/live_effects/
H A Dlpe-ruler.cpp128 Piecewise<D2<SBasis> >speed = derivative(pwd2_in); local
154 Point n = rot90(unit_vector(speed(t_cuts[i])))*sign;
164 Point n = rot90(unit_vector(speed.firstValue()))*sign;
170 Point n = rot90(unit_vector(speed.lastValue()))*sign;
171 //speed.lastValue() is somtimes wrong when the path is closed: a tiny line seg might added at the end to fix rounding errors...
174 speed.segs.size() > 1 &&
175 speed.segs.back()[X].size() <= 1 &&
176 speed.segs.back()[Y].size() <= 1 &&
177 speed.segs.back()[X].tailError(0) <= 1e-10 &&
178 speed
[all...]
/inkscape/src/ui/tools/
H A Dcalligraphic-tool.cpp393 // (3) deflection somewhat depends on speed, to prevent fast strokes looking
543 // speed is the movement of the nearest point along the guide path, divided by
545 // SPEED_ELEMENTS motion events. Normally, as you track the guide path, speed
547 // distance as the pointer. If the speed starts to decrease, we are losing
555 double speed = 1; local
574 // and divide to get the speed
575 speed = nearest_sum/pointer_sum;
576 //g_print ("nearest sum %g pointer_sum %g speed %g\n", nearest_sum, pointer_sum, speed);
581 || (speed < SPEED_MI
[all...]
H A Dtool-base.cpp1230 * Analyses the current event, calculates the mouse speed, turns snapping off (temporarily) if the
1231 * mouse speed is above a threshold, and stores the current event such that it can be re-triggered when needed
1267 // Snap when speed drops below e.g. 0.02 px/msec, or when no motion events have occurred for some period.
1268 // i.e. snap when we're at stand still. A speed threshold enforces snapping for tablets, which might never
1278 gdouble speed = delta_t > 0 ? dist / delta_t : 1000; local
1279 //std::cout << "Mouse speed = " << speed << " px/msec " << std::endl;
1280 if (speed > 0.02) { // Jitter threshold, might be needed for tablets
1282 // will keep on postponing the snapping as long as the speed is high.
1284 // now, just in case there's no future motion event that drops under the speed limi
[all...]
/inkscape/src/ui/dialog/
H A Dfilter-effects-dialog.cpp2435 const int speed = 10; local
2449 // When autoscrolling during a connection drag, set the speed based on
2452 _autoscroll_y = -(int)(speed + (vis_y - e->y) / 5);
2454 _autoscroll_y = -speed;
2456 _autoscroll_y = (int)(speed + (e->y - top) / 5);
2458 _autoscroll_y = speed;
2465 _autoscroll_x = -(int)(speed + (vis_x - e2) / 5);
2467 _autoscroll_x = -speed;
2469 _autoscroll_x = (int)(speed + (e2 - right_edge) / 5);
2471 _autoscroll_x = speed;
[all...]

Completed in 35 milliseconds