Re: [ART_HACK] Re: rendering svps on a pixel buffer that has an alpha channel



On Tue, 14 Jan 2003, Alexander Larsson wrote:

> On 14 Jan 2003, Amaury Jacquot wrote:
>
> > These files (a modified version of art_rgb_svp) allow libart to render
> > on an rgba buffer (such as the buffer in an alpha-enabled gdk-pixbuf) so
> > as to allow to pre-render several drawing layers .in an application
> > where the gnome-canvas would be too slow (zillions of points, see
> > http://sxpert.esitcom.org/projects/mapeditor)
>
> You can already do this with the art_render.h interface. This is the
> prefered interface since its extensible instead of having to duplicode
> code all over like you just had to.

ArtRender fails to provide pixbuf image source renderers as far as i
can see though, i.e. art_render_rgb[a]_affine() functions compositing
the results of art_rgb_[rgba_]affine() with the masks added to ArtRender.

> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Alexander Larsson                                            Red Hat, Inc
>                    alexl redhat com    alla lysator liu se

---
ciaoTJ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]