Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62511
| From | Ned Batchelder <ned@nedbatchelder.com> |
|---|---|
| Subject | Re: Line based graphic in canvas (vectorgraphic?) scale incorrectly on HDMI monitor. |
| Date | 2013-12-21 14:56 -0500 |
| References | <5d549db4-439c-4441-afe8-601a86cd0388@googlegroups.com> <mailman.4478.1387652628.18130.python-list@python.org> <dc9d78cb-ea5a-4801-bb38-56c6de1bea18@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4483.1387655823.18130.python-list@python.org> (permalink) |
On 12/21/13 2:12 PM, jonas.thornvall@gmail.com wrote: > Den lördagen den 21:e december 2013 kl. 20:03:17 UTC+1 skrev Ned Batchelder: >> On 12/21/13 1:30 PM, jonas.thornvall@gmail.com wrote: >> >>> Is there a way to make linebased graphic used in canvas scale correct on any monitor? >> >>> >> >>> I run in 1920*1080 on a Philips TV used as monitor does it matter, lines tend to get longer vertical then horizontal? >> >>> >> >>> Strange is i really do not see it writing out recangles. >> >> >> >> I'm not sure how we can help without seeing any code. There's no >> >> information here that we can use to make a concrete suggestion. >> >> >> >> -- >> >> Ned Batchelder, http://nedbatchelder.com > A vertical and horisontal line of same length will be plottet out like this. > There is really no code to show yet, i just write out some lines and noted that writing out a verital line of length 400 is longer then a horisontal line of same length e.g. > > line(100,100,500,100); is shorter > line(300,100,300,500); is longer > > __________ > | > | > | > | > | > | > Sounds like you don't have square pixels. Either use a monitor which does, or adjust your coordinates to take the shape of the pixel into account, or try different resolution settings to see if one of them does have square pixels. Also, the settings on the monitor matter also, you may be able to adjust them to correct the shape of the pixel. -- Ned Batchelder, http://nedbatchelder.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Line based graphic in canvas (vectorgraphic?) scale incorrectly on HDMI monitor. jonas.thornvall@gmail.com - 2013-12-21 10:30 -0800
Re: Line based graphic in canvas (vectorgraphic?) scale incorrectly on HDMI monitor. Ned Batchelder <ned@nedbatchelder.com> - 2013-12-21 14:03 -0500
Re: Line based graphic in canvas (vectorgraphic?) scale incorrectly on HDMI monitor. jonas.thornvall@gmail.com - 2013-12-21 11:12 -0800
Re: Line based graphic in canvas (vectorgraphic?) scale incorrectly on HDMI monitor. Ned Batchelder <ned@nedbatchelder.com> - 2013-12-21 14:56 -0500
Re: Line based graphic in canvas (vectorgraphic?) scale incorrectly on HDMI monitor. jonas.thornvall@gmail.com - 2013-12-21 12:57 -0800
csiph-web