Lines Matching defs:speed
393 // (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;
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_MIN) // stuck; most likely reached end of traced stroke
620 if (speed > SPEED_NORMAL) {
624 // looks like we're starting to lose speed,
626 target = (this->hatch_spacing * speed + hatch_dist * (SPEED_NORMAL - speed))/SPEED_NORMAL;
642 if (speed >= SPEED_NORMAL) {