Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62503 > unrolled thread
| Started by | jonas.thornvall@gmail.com |
|---|---|
| First post | 2013-12-21 10:30 -0800 |
| Last post | 2013-12-21 12:57 -0800 |
| Articles | 5 — 2 participants |
Back to article view | Back to comp.lang.python
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
| From | jonas.thornvall@gmail.com |
|---|---|
| Date | 2013-12-21 10:30 -0800 |
| Subject | Line based graphic in canvas (vectorgraphic?) scale incorrectly on HDMI monitor. |
| Message-ID | <5d549db4-439c-4441-afe8-601a86cd0388@googlegroups.com> |
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.
[toc] | [next] | [standalone]
| From | Ned Batchelder <ned@nedbatchelder.com> |
|---|---|
| Date | 2013-12-21 14:03 -0500 |
| Message-ID | <mailman.4478.1387652628.18130.python-list@python.org> |
| In reply to | #62503 |
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
[toc] | [prev] | [next] | [standalone]
| From | jonas.thornvall@gmail.com |
|---|---|
| Date | 2013-12-21 11:12 -0800 |
| Message-ID | <dc9d78cb-ea5a-4801-bb38-56c6de1bea18@googlegroups.com> |
| In reply to | #62505 |
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
__________
|
|
|
|
|
|
[toc] | [prev] | [next] | [standalone]
| From | Ned Batchelder <ned@nedbatchelder.com> |
|---|---|
| Date | 2013-12-21 14:56 -0500 |
| Message-ID | <mailman.4483.1387655823.18130.python-list@python.org> |
| In reply to | #62508 |
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
[toc] | [prev] | [next] | [standalone]
| From | jonas.thornvall@gmail.com |
|---|---|
| Date | 2013-12-21 12:57 -0800 |
| Message-ID | <29a0ad01-8cbf-45c1-8475-998be8709696@googlegroups.com> |
| In reply to | #62511 |
Den lördagen den 21:e december 2013 kl. 20:56:54 UTC+1 skrev Ned Batchelder: > 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 It is weird because it seem to be compensated writing out rectangles, but not for linegraphics.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web