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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3503a5e0b88377c2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-28 23:47:41 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!news1.digex.net!ois.com!ois.com!not-for-mail From: beckwb@ois.com (R. William Beckwith) Newsgroups: comp.lang.ada Subject: Re: Ada and graphics Date: 29 Nov 1994 00:14:29 -0500 Organization: Objective Interface Systems, Inc. Distribution: world Message-ID: <3bedbl$6cb@gamma.ois.com> References: <1994Nov7.165001@mines.u-nancy.fr> <3aqj1c$mkk@cenerg.emn.fr> NNTP-Posting-Host: gamma.ois.com X-Newsreader: TIN [version 1.2 PL2] Date: 1994-11-29T00:14:29-05:00 List-Id: 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