Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'canvas': 0.07; 'pixel': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'coordinates': 0.16; 'does,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'subject:Line': 0.16; 'subject:based': 0.16; 'suggestion.': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'shape': 0.19; 'settings': 0.22; '>>>': 0.22; 'header:User-Agent:1': 0.23; '__________': 0.24; 'received:comcast.net': 0.24; 'tend': 0.24; 'header:X-Complaints- To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'resolution': 0.29; 'scale': 0.29; "i'm": 0.30; 'code': 0.31; 'lines': 0.31; 'noted': 0.31; 'vertical': 0.31; 'this.': 0.32; 'run': 0.32; 'subject: (': 0.35; 'december': 0.35; 'there': 0.35; 'really': 0.36; 'adjust': 0.36; 'shorter': 0.36; 'e.g.': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'how': 0.40; 'length': 0.61; 'matter': 0.61; 'email addr:gmail.com': 0.63; 'show': 0.63; 'information': 0.63; 'different': 0.65; 'here': 0.66; 'square': 0.74; 'philips': 0.91; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Batchelder Subject: Re: Line based graphic in canvas (vectorgraphic?) scale incorrectly on HDMI monitor. Date: Sat, 21 Dec 2013 14:56:54 -0500 References: <5d549db4-439c-4441-afe8-601a86cd0388@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: c-50-133-228-126.hsd1.ma.comcast.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387655823 news.xs4all.nl 2866 [2001:888:2000:d::a6]:42016 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62511 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