[Kde-graphics-devel] Kruler, measurement in inches, Bug 36100
eike.krumbacher at x-eike.de
Fri Apr 16 21:49:48 CEST 2010
(Hope, this is the right mailing list for this)
In bug 36100 is pointed out, that there is a need for a ruler with
measurement in inches or millimeters.
The attached patch gets the real size of the screen by reading out the
DPI value and calculating
inches = cursorpos / DPIx or DPIy
This patch is not yet finished, but it displays a label with the given
distance in inches. Missing are
* #ifdef X11
* units (mm or inch)
* correct position of label
* hiding on percentage
* and some more
If you like this, I would investigate some more time in this patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1290 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-graphics-devel/attachments/20100416/970a69a8/attachment.gz
More information about the Kde-graphics-devel