diff --git a/data/skins/default/sheet.png b/data/skins/default/sheet.png
index 150ff3d51..3c6172891 100644
Binary files a/data/skins/default/sheet.png and b/data/skins/default/sheet.png differ
diff --git a/data/skins/default/skin.xml b/data/skins/default/skin.xml
index 5ab0a8869..bc81e3830 100644
--- a/data/skins/default/skin.xml
+++ b/data/skins/default/skin.xml
@@ -409,6 +409,7 @@
+
diff --git a/src/app/tools/controllers.h b/src/app/tools/controllers.h
index 4cbca8a75..28e1eabb4 100644
--- a/src/app/tools/controllers.h
+++ b/src/app/tools/controllers.h
@@ -201,12 +201,15 @@ public:
if (stroke.size() < 2)
return;
+ int w = ABS(stroke[1].x-stroke[0].x)+1;
+ int h = ABS(stroke[1].y-stroke[0].y)+1;
+
char buf[1024];
- sprintf(buf, ":start: %3d %3d :end: %3d %3d :size: %3d %3d :angle: %.1f",
+ sprintf(buf, ":start: %3d %3d :end: %3d %3d :size: %3d %3d :distance: %.1f :angle: %.1f",
stroke[0].x, stroke[0].y,
stroke[1].x, stroke[1].y,
- ABS(stroke[1].x-stroke[0].x)+1,
- ABS(stroke[1].y-stroke[0].y)+1,
+ w, h,
+ std::sqrt(w*w + h*h),
180.0 * std::atan2(static_cast(stroke[0].y-stroke[1].y),
static_cast(stroke[1].x-stroke[0].x)) / PI);
text = buf;