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



On Mon, 31 Mar 2003, Tim Janik wrote:

> On Mon, 31 Mar 2003, Alexander Larsson wrote:
> 
> > On Sun, 30 Mar 2003, Tim Janik wrote:
> 
> > > 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.
> 
> yep, i know that. there's no docu on how to implement rendering sources though
> (and i couldn't figure too much from the gradient code). and there's also no
> art_rgba_rgba_affine() function that could be used for a rendering source into
> an rgba buffer. so the tasks doesn't seem to be at all trivial.

Good, fast affine transformation of images like that is hard, yes.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a Nobel prize-winning overambitious dog-catcher who dotes on his loving 
old ma. She's a cosmopolitan French-Canadian archaeologist looking for love in 
all the wrong places. They fight crime! 




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