RE: clipping
"Bruce Q. Hammond" <[email protected]> Wed, 4 Feb 2004 20:35:21 -0800
| Newsgroups | gmane.comp.gnome.lib.libart.general |
|---|---|
| Message-ID | <[email protected]> |
John, > http://www.gnome.org/~mathieu/libart/. This is a nice document. I wish it had existed when I started with Libart. :-) The SVP intersect code might be exactly what you want. I had forgotten about that until I looked at the overview. I didn't use that in the general case for my app, since I wanted to be able to do weird compositing and masking of bitmaps and also I wanted any imaginable bit depth and byte ordering for the pixel buffer that libart was rendering into. I have a bunch of C++ code that does this stuff. If you want I can give it to you. It won't compile stand-alone, but it is something to look at that does interesting thing with the libart library. BQ > -----Original Message----- > From: John Hunter [mailto:[email protected]] > Sent: Wednesday, February 04, 2004 7:34 PM > To: [email protected] > Cc: [email protected] > Subject: Re: [LIBART] clipping > > > >>>>> "Bruce" == Bruce Q Hammond <[email protected]> writes: > > Bruce> John, Raph may correct me, but I don't think the Libart > Bruce> code has any direct support for clipping beyond rectangles. > > I found a nice libart overview that has been very helpful to me - > http://www.gnome.org/~mathieu/libart/. > > Is it not possible to use art_svp_intersect for clipping to arbitrary > sorted vector paths? > > JDH >