From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3137 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: shading question Date: Wed, 01 Nov 2000 09:12:06 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001101091206.01cca5d0@pop.wxs.nl> References: <200010312129.WAA23455@bar.loria.fr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035393893 14552 80.91.224.250 (23 Oct 2002 17:24:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:24:53 +0000 (UTC) Cc: ntg-context@ntg.nl, roegel@lorraine.loria.fr Original-To: "Denis B. Roegel" In-Reply-To: <200010312129.WAA23455@bar.loria.fr> Xref: main.gmane.org gmane.comp.tex.context:3137 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3137 At 10:29 PM 10/31/00 +0100, Denis B. Roegel wrote: > >In the following example, the top parts of the circles are >slightly trimmed, at least when I view them with acroread. >Is this normal? This has to do with the fact that graphics that need resources [like shading] are put in an xform object and such an object always clips. And, clipping it kind of inaccurate, I have spend many days experimenting with this and the current implementation is about the best we can get out of it; think of making sure that only the positive quadrant is used and so. The best way out is to slightly enlarge the bbox, so at the end of the picture say: setbounds currentpicture to boundingbox currentpicture enlarged 1bp ; or use a value 50% of the linewidth. Because overlays are centered, a larger than normal one will still be okay from the perspective of context, Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------