I search on web the exact factor to convert Point units to Pixel
and i found only confusion ...
on attachment is a html file thats display a
1000px and a 750pt and a 264.3mm floating layer
all layer having the same distance also
Firefox can display :-) , ( Imo forum dont allow html file as attachment xml make ok )
if you dont see the layer save xml and rename to html
can factor 1.3333333 work on all screen ?
Qt Code:
#define POINT_TO_PX(px) ((px)*1.3333333) #define PX_TO_POINT(px) ((px)/1.3333333)To copy to clipboard, switch view to plain text mode
Bookmarks