diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-07-15 12:41:27 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-07-15 12:41:27 +0000 |
| commit | c5cb711493f47039406b309a2056397b54151092 (patch) | |
| tree | 3bffd099822a7bc8774c0bf431814787d98dc2f4 /src | |
| parent | Cherry-pick of 2geom update (re. 1488); prevent crash during Path->Piecewise ... (diff) | |
| download | inkscape-c5cb711493f47039406b309a2056397b54151092.tar.gz inkscape-c5cb711493f47039406b309a2056397b54151092.zip | |
Print distance info in console for LPERuler until new CanvasText item works
(bzr r6321)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-ruler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<Geom::D2<Geom::SBasis> > 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; |
