From 2a1eae1406f0f6d86af90856de1b498f7df6b2f5 Mon Sep 17 00:00:00 2001 From: cilix42 Date: Tue, 15 Jul 2008 12:41:27 +0000 Subject: [PATCH] Print distance info in console for LPERuler until new CanvasText item works --- src/live_effects/lpe-ruler.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2