diff options
Diffstat (limited to 'info/asymptote-manual-zh-cn/src/join.asy')
-rw-r--r-- | info/asymptote-manual-zh-cn/src/join.asy | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/info/asymptote-manual-zh-cn/src/join.asy b/info/asymptote-manual-zh-cn/src/join.asy new file mode 100644 index 0000000000..75fa14f36c --- /dev/null +++ b/info/asymptote-manual-zh-cn/src/join.asy @@ -0,0 +1,15 @@ +size(300,0); +pair[] z=new pair[10]; + +z[0]=(0,100); z[1]=(50,0); z[2]=(180,0); + +for(int n=3; n <= 9; ++n) + z[n]=z[n-3]+(200,0); + +path p=z[0]..z[1]---z[2]::{up}z[3] +&z[3]..z[4]--z[5]::{up}z[6] +&z[6]::z[7]---z[8]..{up}z[9]; + +draw(p,grey+linewidth(4mm)); + +dot(z); |