fixed a raw string
[PyX/mjg.git] / examples / path / arclen.txt
blob96114b12acc11816168bcf5570cdee98aa0041cf
1 Arc length of a path
3 In this example we use the `arclen` method of the path instance `p1` to get the
4 arc length and create a straight line `p2` with the same arc length. ...
6 ! While here we use the return value of the arc length as a parameter to a path
7 constructor, you might be interested in what kind of object the return value of
8 the `arclen` method call really is: It is a PyX length in true coordinates,
9 since the path already analyses the PyX units and the return value thus needs
10 to be fixed and can not be scaled anymore. Printing the result of the `arclen`
11 method call of path `p1` would show you:
13   (0.023110 t + 0.000000 u + 0.000000 v + 0.000000 w + 0.000000 x) m