Re: [Fwd: [gnome-love] GnomeCanvas-2.0.0 and clipgroups]
- From: Federico Mena Quintero <federico ximian com>
- To: Chema Celorio <chema ximian com>
- Cc: gnome-love gnome org
- Subject: Re: [Fwd: [gnome-love] GnomeCanvas-2.0.0 and clipgroups]
- Date: 17 Jun 2002 18:59:39 -0500
I've been primarily working with the Canvas for the last few days, and
have a handle on most of the basic primitives (after digging through the
canvas-demo code). The problem now lies with trying to clip a group of
GnomeCanvasItems in a rectangular bounding box.
I've grepped for gnome_canvas_clipgroup_get_type through all the Gnome2-based
code I can lay my hands on, but the only place its used is in gnome-print-preview.c
... and I can't seem to track the codepath that uses the code in question.
Clipping only works with a few item types, namely children of
GnomeCanvasShape (e.g. rectangles, ellipses, polygons, Bézier paths).
Also, from a cursory glance at the code it looks like clipping will only
work if the canvas is being used in antialiased mode.
Clipping is highly experimental and is definitely not finalized :(
I think you are better off asking Lauris, who wrote the clipping code.
Federico
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]