Lines Matching defs:by
85 // angle from each item's center to the other's, unsqueezed by its w/h, normalized to 0..pi/2
282 Moves \a what away from \a from by \a dist
289 Geom::Point by = dist * Geom::unit_vector (- (p - it));
291 Geom::Affine move = Geom::Translate (by);
298 //g_print ("push %s at %g,%g from %g,%g by %g,%g, dist %g\n", what->getId(), it[Geom::X],it[Geom::Y], p[Geom::X],p[Geom::Y], by[Geom::X],by[Geom::Y], dist);
305 Moves \a what towards \a to by \a dist
312 Geom::Point by = dist * Geom::unit_vector (p - it);
314 Geom::Affine move = Geom::Translate (by);
321 //g_print ("pull %s at %g,%g to %g,%g by %g,%g, dist %g\n", what->getId(), it[Geom::X],it[Geom::Y], p[Geom::X],p[Geom::Y], by[Geom::X],by[Geom::Y], dist);
330 similar to "engraver dots". The only distribution which is unchanged by unclumping is a hexagonal