RE: Drawing antialiased shapes with alpha transparency
- From: "Foster, Gareth" <gareth foster siemens com>
- To: gtkmm-list gnome org
- Subject: RE: Drawing antialiased shapes with alpha transparency
- Date: Wed, 05 Jan 2005 17:47:02 +0000
Could you try #freedesktop.org or #fd.o on freenode IRC? Maybe they can
help.
Gaz
-----Original Message-----
From: gtkmm-list-bounces gnome org [mailto:gtkmm-list-bounces gnome org] On
Behalf Of Samuel Abels
Sent: 05 January 2005 17:33
To: Daniel Serpell
Cc: gtkmm-list gnome org
Subject: Re: Drawing antialiased shapes with alpha transparency
On Wed, 2005-01-05 at 11:40 -0300, Daniel Serpell wrote:
> You could try cairo: www.cairographics.org
Now I am probably going completely off topic, but I can't think of a
better place right now...
It seems that libart does not support rendering into RGBA buffers, but
only renders into RGB buffers using a given alpha value, which is not an
option if I want to cache an item in a buffer and then copy it to the
final surface.
Unfortunately libcairo is poorly documented. The examples look fairly
simple, but are also incomplete (where is the pixmap created, what is
cr, etc.); most of the documentation links on the cairo homepage are
broken either.
Do you know whether this supports rendering into an RGBA buffer, thus
preserving the alpha? I haven't found any information on this.
I like the general idea of cairo and though I would probably have to
rewrite some parts of the canvas I would like to use it if it supports
this.
Also, I don't know which of
cairo_t* cr;
cairo_surface_t* surface;
is the buffer. And is it a standard RGBA buffer that can be drawn using
Gdk::Pixbuf::create_from_data()?
Thanks,
-Samuel
--
------------------------------------------------------
| Samuel Abels | http://www.debain.org |
| spam ad debain dod org | knipknap ad jabber dod org |
------------------------------------------------------
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]