[Tkinter-discuss] one pixel=how many mm?

Martin B spooky.ln at tbs-software.com
Sun Aug 28 08:37:15 CEST 2011

V Sun, 28 Aug 2011 10:10:30 +0800
"守株待兔" <1248283536 at qq.com> napsáno:

> in tkinter ,you can express  width in cm ,mm,inch,,pixel
> i want to know:
>  one pixel=how many mm?
pixels per mm   = root.winfo_fpixels('1m')
pixels per point = root.winfo_fpixels('1p')
pixels per inch   = root.winfo_fpixels('1i')
pixels per cm     = root.winfo_fpixels('1c')

More information about the Tkinter-discuss mailing list