Am 06.10.2013 17:06, schrieb Hans Hagen:
On 10/6/2013 3:05 PM, Peter Rolf wrote:
Thanks for the explanation. I think I have understood the scheme (but I might be wrong, because this doesn't help me with my example).
Where is the starting point['20 20'] in the returned example path? Same is true for the first control point ['20 190.34']. Either I'm missing something, or the returned path data is incomplete.
you get just the value of the path variable in your mp code, not a ps or whatever representation and in mp a path has just points so the starting point is the x y of the first point
I tested several examples and the only time that the starting point was part of the returned path was, when the path only consists of one point. In all other cases it was missing. This is a bit contrary to my definition of a (complete) path. Anyhow, thanks for the pointer :-) Peter
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________