comp.lang.ada
 help / color / mirror / Atom feed
From: beckwb@ois.com (R. William Beckwith)
Subject: Re: Ada and graphics
Date: 29 Nov 1994 00:14:29 -0500
Date: 1994-11-29T00:14:29-05:00	[thread overview]
Message-ID: <3bedbl$6cb@gamma.ois.com> (raw)
In-Reply-To: JGOODSEN.94Nov28211857@trinidad.ny

John Goodsen (jgoodsen@trinidad.ny) wrote:

: Bindings to Xlib/Xt are not often the solution you need, but many 
: inexperienced developers take off down this path and waste a lot
: of time and money rebuilding something they would have been better
: off buying to get the graphics implemented.

Agreed.

: You should take a serious look at a *real* structured graphics engine,
: rather than hitting the low level Xlib intrinsics for your graphics.
: Unless you are doing anything but the most trivial graphics application,
: you will quickly have a need for a structured graphics toolkit...
: Ask yourself the following questions:

These are nice questions.  I thought I would answer the questions with
regard to X11R6/Fresco/Ada9X for those who've been following Fresco.

:    1.  Will I require pointer hit detection on graphical objects?
:        (e.g. click on a graphical object and detect which object
:         was clicked upon)

Fresco: can do

:    2.  Will you ever have to redraw the screen?  
:        (using raw xlib, graphics are not redrawn.  You have to remember
:         what you drew and always be prepared to redraw it whenever a user
:         moves a window over your graphics)

Fresco: appl programmer doesn't ever do redraws, Fresco double-buffers
	all graphics and uses an advanced damage-based, deferred redisplay
	for high-performance

:    4.  Do you have the need to scale, rotate or otherwise deform your
:        graphical objects?

Fresco: can do, in 3D

:    3.  Do you have a need for hierarchical graphical objects?
:        (e.g. do you want composite graphical objects which allow you to
:         scale, move, rotate a set of graphical objects independently from
:         other graphical objects)

Fresco: can do, actually Fresco allows full DAGs (Directed Acyclic Graphs)
	of graphical objects and is not limited to hierarchies

:    5.  Will you ever need to run your application on a non X-window platform?
:        (e.g. Windows, NT, etc...)  too often this is the case, but is ignored
:        until it becomes a problem at which point it can't be handled well.

Fresco: can do

... Bill



  parent reply	other threads:[~1994-11-29  5:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-07 22:00 Ada and graphics Boullier Marc
1994-11-21 16:48 ` J.C. ANDRE (Progfou)
1994-11-23 15:36   ` John Cosby
1994-11-29  2:18     ` John Goodsen
1994-11-29  4:12       ` Michael Feldman
1994-11-30  7:37         ` Jean-Pierre Rosen
1994-11-30 17:19           ` Andrew Ormsby
1994-11-30 18:06             ` Jean-Pierre Rosen
1994-11-30 22:50           ` Michael Feldman
1994-11-30 20:26         ` Richard Riehle
1994-11-30 23:19           ` Michael Feldman
1994-12-02  2:13         ` John Goodsen
1994-12-02 18:14           ` David Weller
1994-12-02 23:04             ` Curtis
1994-11-29  5:14       ` R. William Beckwith [this message]
1994-12-03 16:24         ` lvirden
1994-12-03 17:12           ` R. William Beckwith
  -- strict thread matches above, loose matches on Subject: below --
1996-07-26  0:00 The Quelisher
1996-07-31  0:00 The Quelisher
1996-08-03  0:00 ` Robert Dewar
1996-08-03  0:00 tmoran
replies disabled

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