comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <chris.danx@ntlworld.com>
Subject: Graphics and JEWL
Date: Mon, 26 Feb 2001 21:28:23 -0000
Date: 2001-02-26T21:28:23+00:00	[thread overview]
Message-ID: <lUzm6.29485$MN.775754@news2-win.server.ntlworld.com> (raw)


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





             reply	other threads:[~2001-02-26 21:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-26 21:28 chris.danx [this message]
2001-02-26 21:35 ` Graphics and JEWL chris.danx
2001-02-27  1:11   ` tmoran
2001-02-27 10:08     ` chris.danx
2001-02-28 12:02   ` John English
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox