From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37548 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: metafun's "smoothed" Date: Sun, 25 Nov 2007 15:41:22 +0100 Message-ID: <6faad9f00711250641r47622566n65bc081f709e14a9@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196001749 29369 80.91.229.12 (25 Nov 2007 14:42:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2007 14:42:29 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 25 15:42:36 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IwIgu-0002fW-2z for gctc-ntg-context-518@m.gmane.org; Sun, 25 Nov 2007 15:42:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 983881FDCC; Sun, 25 Nov 2007 15:42:17 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10644-02-6; Sun, 25 Nov 2007 15:42:08 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3FE0D1FBEB; Sun, 25 Nov 2007 15:42:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7840E1FDC8 for ; Sun, 25 Nov 2007 15:41:52 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10644-02-5 for ; Sun, 25 Nov 2007 15:41:40 +0100 (CET) Original-Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by ronja.ntg.nl (Postfix) with ESMTP id 8C61E1FBEB for ; Sun, 25 Nov 2007 15:41:29 +0100 (CET) Original-Received: by nz-out-0506.google.com with SMTP id m7so133230nzf for ; Sun, 25 Nov 2007 06:41:23 -0800 (PST) Original-Received: by 10.142.178.13 with SMTP id a13mr133349wff.1196001682695; Sun, 25 Nov 2007 06:41:22 -0800 (PST) Original-Received: by 10.143.40.7 with HTTP; Sun, 25 Nov 2007 06:41:22 -0800 (PST) Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37548 Archived-At: Hello Hans, What exactly is the intended function of "smooothed"? I thought that the following should work and make round corners, but it only takes the bounding box. (I didn't play with it yet, but I assume that "punked" behaves in a similar way to what I would expect - it modifies the whole curve.) \starttext \startMPcode path p; % return p := ((0,0)--(1,0)--(1,2)--(-0.5,2)--(-0.5,1)--(0,1)--cycle) scaled 1cm; draw p; draw p smoothed 1mm shifted (3cm,0); \stopMPcode \stoptext Thanks, Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________