* Is this a MetaFun bug or intended behaviour?
@ 2020-04-30 10:29 Gerben Wierda
0 siblings, 0 replies; only message in thread
From: Gerben Wierda @ 2020-04-30 10:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-30 10:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30 10:29 Is this a MetaFun bug or intended behaviour? Gerben Wierda
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).