[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-graphics-devel
Subject:    [Kde-graphics-devel] Kruler, measurement in inches, Bug 36100
From:       Eike Krumbacher <eike.krumbacher () x-eike ! de>
Date:       2010-04-16 19:49:48
Message-ID: 4BC8BF5C.2090604 () x-eike ! de
[Download RAW message or body]

Hi!

(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.

Eike


["kruler_36100_ek1.diff.gz" (application/x-gzip)]

_______________________________________________
Kde-graphics-devel mailing list
Kde-graphics-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-graphics-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic