From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d49675b42a64d45a,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-26 13:34:20 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!newsfeed.icl.net!dispose.news.demon.net!demon!btnet-peer0!btnet!news5-gui.server.ntli.net!ntli.net!news2-win.server.ntlworld.com.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada Subject: Graphics and JEWL X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Mon, 26 Feb 2001 21:28:23 -0000 NNTP-Posting-Host: 213.104.125.133 X-Complaints-To: abuse@ntlworld.com X-Trace: news2-win.server.ntlworld.com 983222929 213.104.125.133 (Mon, 26 Feb 2001 21:28:49 GMT) NNTP-Posting-Date: Mon, 26 Feb 2001 21:28:49 GMT Organization: ntlworld News Service Xref: supernews.google.com comp.lang.ada:5545 Date: 2001-02-26T21:28:23+00:00 List-Id: I'm having a little trouble with a graphics application i'm writing. The application uses JEWL 1.4 and it is to display 'bugs', the insect kind, on the screen. The problem is to do with the aspect ratio of graphics. A textual description of the bugs is found in a file and read into the system and drawn. The problem will be that when the bug is rotated from say north to say west it will be drawn out of shape. I know how to fix this in general, simply ask for the aspect ratio and multiply by it to get the correct display size. The problem is i don't know how to do it for JEWL. Is there a good estimate for most displays? Can i work it out? I plan to have a square grid with each bug occupying 1 square pointing in one of the 4 main compass directions. Thanks, Chris Campbell