From: Gerben Wierda <gerben.wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Is this a MetaFun bug or intended behaviour?
Date: Thu, 30 Apr 2020 12:29:54 +0200 [thread overview]
Message-ID: <B4E2AC64-779C-4D75-A72F-B09AB11653CE@rna.nl> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 834 bytes --]
I wanted to use the macro simplified to remove duplicate points from a path, but it removes more than that:
metapost log > (127,-107)..controls (117,-107) and (107,-107)
metapost log > ..(97,-107)..controls (97,-130.33333333333334) and (97,-153.66666666666666)
metapost log > ..(97,-177)..controls (117,-177) and (137,-177)
metapost log > ..(157,-177)..controls (157,-170.33333333333334) and (157,-163.66666666666666)
metapost log > ..(157,-157)
metapost log >
metapost log > >> Path at line 0:
metapost log > (97,-177)..controls (117,-177) and (137,-177)
metapost log > ..(157,-177)..controls (157,-170.33333333333334) and (157,-163.66666666666666)
metapost log > ..(157,-157)
First is path, second is simplified path.
Is simplified maybe only supposed to work with cycles?
G
[-- Attachment #1.2: Type: text/html, Size: 3793 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2020-04-30 10:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B4E2AC64-779C-4D75-A72F-B09AB11653CE@rna.nl \
--to=gerben.wierda@rna.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).