summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/linejoin.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-07-22 23:05:44 +0000
committerKarl Berry <karl@freefriends.org>2009-07-22 23:05:44 +0000
commit695746b77c138fed69f386e310a14dd724eba850 (patch)
tree37c841e106517702424a7ddc3a3399c094978389 /Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/linejoin.asy
parent11352d180cd2e149fbd69c6389f24bd32d175622 (diff)
asymptote-manual-zh-cn renamed from asymptote-manual-zh
git-svn-id: svn://tug.org/texlive/trunk@14382 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/linejoin.asy')
-rw-r--r--Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/linejoin.asy11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/linejoin.asy b/Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/linejoin.asy
new file mode 100644
index 00000000000..ff61faadc2e
--- /dev/null
+++ b/Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/linejoin.asy
@@ -0,0 +1,11 @@
+// 线连接(line join)测试
+// milksea
+
+string[] capname = {"miterjoin", "roundjoin", "beveljoin"};
+for (int i = 0; i < 3; ++i) {
+ path p = shift(i*3cm,0) * ((0,0) -- (-1cm,.5cm) -- (0,1cm));
+ draw(p, linewidth(3mm)+linejoin(i)+mediumgray);
+ draw(p, linewidth(0.6pt)+squarecap);
+ label(Label(capname[i], MidPoint), p, 4W,
+ fontsize(7.5bp/pt)+fontcommand("\ttfamily")); // 六号字
+}