Re: [cp-patches] RFC: Custom composite support

2006-10-02 Thread Francis Kung
Thanks Roman and Tom, > - Try to limit the number of buffers needed and cache them. This certainly sounds like a good idea; one question though: how can the buffer be reset between operations? I've tried using clearRect(), fill(), even setSample() and setPixel(), and can't get it to work. Eit

Re: [cp-patches] RFC: Custom composite support

2006-09-28 Thread Thomas Fitzsimmons
Francis Kung wrote: Hi, The attached patch starts implementing support for custom Composite classes, starting with VolatileImageGraphics. I've also attached the simple test I've been using, MyComposite.java which wraps the AlphaComposite class (thus preventing Cairo from handling alpha composit

Re: [cp-patches] RFC: Custom composite support

2006-09-27 Thread Roman Kennke
Hi Francis, > The attached patch starts implementing support for custom Composite > classes, starting with VolatileImageGraphics. > > I've also attached the simple test I've been using, MyComposite.java > which wraps the AlphaComposite class (thus preventing Cairo from > handling alpha composite

[cp-patches] RFC: Custom composite support

2006-09-27 Thread Francis Kung
Hi, The attached patch starts implementing support for custom Composite classes, starting with VolatileImageGraphics. I've also attached the simple test I've been using, MyComposite.java which wraps the AlphaComposite class (thus preventing Cairo from handling alpha composite internally), and Cus