Re: drawing a very long line on the screen and how much of the lifting I have to do
Nathan smith <[email protected]> Sat, 29 May 2021 11:30:28 +0100
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
Hi Tim, thanks for that will bare it in mind. Nathan On 28/05/2021 22:45, Tim Roberts wrote: > Nathan smith wrote: >> >> Regarding the pixel v.s. CM rule, I just did a google on the matter >> which told me a probably inaccurate figure, though it worked for >> rough testing purposes. >> >> I ended up going with around 12.5 pixels to the half CM. > > As long as you're just using it for relative placement, that's > perfectly OK. But if you're doing something where real-world > measurements matter, it's not that easy. 12.5 pixels per 0.5cm comes > out to 64 pixels per inch. Most Windows displays run 96 ppi, many run > 120, but these days the variation is quite large. > > It's quite possible your app doesn't care -- most don't -- but it's > something to tuck away for later. > -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/00d7a6b8-806d-e218-b28f-38f86d941e81%40gmail.com.