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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Simple XY line plot using GtkAda Date: Tue, 1 Mar 2016 14:26:50 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <69099a69-befa-43b8-bdce-d5201bab64c9@googlegroups.com> NNTP-Posting-Host: bqgfK7NL3xTHnr0WRaLl4g.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:29629 Date: 2016-03-01T14:26:50+01:00 List-Id: On 01/03/2016 13:18, Nasser M. Abbasi wrote: > On 3/1/2016 4:30 AM, ahlan@marriott.org wrote: >> Can anyone advise me what I should use to draw a simple line >> plot using GtkAda (primarily under windows). >> Gtk.Extra.Plot seems to have been abandoned and apparently >> doesn't work on Gtk3 so what should I use? Gtkdatabox also seems to be >> a relic of history. >> > That is why we need a graphics package as part of Ada standard. Well, GTK is notorious for killing features. Ada is much less so, in that sense, yes. > C++ seems to have got the idea of how important this to have > as part of the language, so it is there all the time: > > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0267r0.pdf > > "A Proposal to Add 2D Graphics Rendering and Display to C++" Vector graphics especially as limited as described in the document is of minor interest compared to proper 2D graphics: UI windows, widgets, controls. So if you want to start begin with the latter. (:-)) P.S. Many embedded platforms would rather use raster graphics instead of the vector one, for obvious reasons. ARM rendering performance is just horrific, literally. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de