summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b387f69)
raw | patch | inline | side by side (parent: b387f69)
author | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 15 Jul 2008 12:41:27 +0000 (12:41 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 15 Jul 2008 12:41:27 +0000 (12:41 +0000) |
src/live_effects/lpe-ruler.cpp | patch | blob | history |
index 5a3f8c28598613278b5d050e0e8fb7646d5f3b5f..85db5c1c7c77f3693f0b15f95c76292d5090695e 100644 (file)
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;