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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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: Cairo Bindings now added to Gnoga Date: Tue, 28 Oct 2014 17:18:22 +0100 Organization: cbb software GmbH Message-ID: References: Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: kY8ce/EaDhBBDBrOS7FbFg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:22857 Date: 2014-10-28T17:18:22+01:00 List-Id: On Thu, 23 Oct 2014 23:07:31 -0700 (PDT), David Botton wrote: > I've adopted the Cairo bindings from GtkAda for Gnoga. > > This adds in a quick instant tons of functionality for vector graphics. > This of course is a great fit since Cairo will produce SVG in addition to > PNG and PDFs so a really great fit. > > I'll be adding a thicker layer to it for easier use in general and for Gnoga. > > Cairo libs are usually installed already on Linux, for Mac I use home brew > - brew install cairo and brew install libsvg-cairo for Windows install > GtkAda even though not dependant on it, it installs all the needed libs > for cairo. This looks very interesting, though I don't understand the architecture of it, as Cairo uses the native rendering backend. Presently it is Windows GDI or else X11. I had a, possibly wrong, impression that Gnoda rather uses browser for rendering. Making it a bit more concrete, can you use this: http://www.dmitry-kazakov.de/ada/aicwl.htm from Gnoda? All widgets there are Cairo-based. [Actually all GTK is Cairo-based since the version 3.0.] -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de