From: cilix42 Date: Tue, 15 Jul 2008 12:41:27 +0000 (+0000) Subject: Print distance info in console for LPERuler until new CanvasText item works X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2a1eae1406f0f6d86af90856de1b498f7df6b2f5;p=inkscape.git Print distance info in console for LPERuler until new CanvasText item works --- diff --git a/src/live_effects/lpe-ruler.cpp b/src/live_effects/lpe-ruler.cpp index 5a3f8c285..85db5c1c7 100644 --- a/src/live_effects/lpe-ruler.cpp +++ b/src/live_effects/lpe-ruler.cpp @@ -51,6 +51,8 @@ LPERuler::doEffect_pwd2 (Geom::Piecewise > const & pwd2_i Point n(-rot90(dir) * mark_length); double length = L2(B - A); + g_print ("Distance: %8.2f\n", length); + Point C, D; for (int i = 0; i < length; i+=mark_distance) { C = A + dir * i;