diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/asymptote-manual-zh-cn/src/linetype.asy |
Initial commit
Diffstat (limited to 'info/asymptote-manual-zh-cn/src/linetype.asy')
-rw-r--r-- | info/asymptote-manual-zh-cn/src/linetype.asy | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/info/asymptote-manual-zh-cn/src/linetype.asy b/info/asymptote-manual-zh-cn/src/linetype.asy new file mode 100644 index 0000000000..dc4762c247 --- /dev/null +++ b/info/asymptote-manual-zh-cn/src/linetype.asy @@ -0,0 +1,13 @@ +void testline(real y) { + draw((0,y)--(100,y),currentpen+solid); + draw((0,y-10)--(100,y-10),currentpen+dotted); + draw((0,y-20)--(100,y-20),currentpen+dashed); + draw((0,y-30)--(100,y-30),currentpen+longdashed); + draw((0,y-40)--(100,y-40),currentpen+dashdotted); + draw((0,y-50)--(100,y-50),currentpen+longdashdotted); + draw((0,y-60)--(100,y-60),currentpen+Dotted); +} + +currentpen=linewidth(0.5); +testline(100); + |