Re: polygon objects are clipped to the plot area if specified with graph coordinates
- From: Péter Juhász <peter.juhasz83@xxxxxxxxx>
- Date: Sun, 26 Jul 2009 23:20:45 -0700 (PDT)
On Jul 26, 8:38 pm, sfeam <sf...@xxxxxxxxxxxxxxxxxxxxx> wrote:
You are correct that the clipping rules for rectangles and for
polygons are inconsistent.
Rectangles:
Clip only if all vertices are given in plot coordinates
Polygons:
Clip unless all vertices are given in screen coordinates
Neither rule is perfect, but I agree that the rectangle rule makes
more sense for the use that you describe. I'll see about changing
the polygon rule to match.
Maybe it would be best if all objects (rectangles, polygons, etc.) had
an option to set the clipping rule.
E.g. "set object 1 rect from x1,y1 to x2, y2 clip" or "... noclip"
If "clip" is given, the object would clip to the plot area. Default
would be "noclip".
I don't know if that's too much to ask...
(I'm anticipating a "feel free to implement it yourself" answer :))
.
- References:
- Prev by Date: Re: polygon objects are clipped to the plot area if specified with graph coordinates
- Next by Date: Re: eps to pdf: cropped pdf
- Previous by thread: Re: polygon objects are clipped to the plot area if specified with graph coordinates
- Index(es):
Relevant Pages
|
Loading