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



On Sun, 30 Mar 2003, Tim Janik wrote:

> 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.

Indeed it seem to. That is not a fundamental problem of the model though, 
just some code that needs to be written. :)

You can even write your own sources outside libart and use them.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a scrappy ninja romance novelist with a secret. She's a time-travelling 
paranoid bodyguard with her own daytime radio talk show. They fight crime! 




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