RE: clipping

"Bruce Q. Hammond" <[email protected]> Wed, 4 Feb 2004 16:45:45 -0800
Newsgroups gmane.comp.gnome.lib.libart.general
Message-ID <[email protected]>
John,
 Raph may correct me, but I don't think the Libart code has any direct
support for clipping beyond rectangles.

For my code that uses Libart and needs to clip, I wrote my own low-level
component for the Libart rasterizer as a call-back for Libart at the lowest
level.  My code processes the span lists that libart provides in the
call-back and clips when needed to an arbitrary bit-mask.

I usually generate the bit-masks by drawing a shape with libart and a
mono-chrome rasterizer callback into my code.

Granted that is a lot of work.

BQ





> -----Original Message-----
> From: [email protected] [mailto:[email protected]]On Behalf Of
> John Hunter
> Sent: Wednesday, February 04, 2004 12:54 PM
> To: [email protected]
> Subject: [LIBART] clipping
>
>
>
> Does libart have anything like postscript or SVG clipping paths, eg,
> drawing outside the clipping path will be ignored?
>
> grepping through the sources and docs, I don't see anything...
>
> JDH
>
> libart_lgpl-2.3.10
> _______________________________________________
> Libart mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/libart
>