diff options
Diffstat (limited to 'Master/texmf-dist/doc/support/asymptote-manual-zh/src/subpictures.asy')
-rw-r--r-- | Master/texmf-dist/doc/support/asymptote-manual-zh/src/subpictures.asy | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/asymptote-manual-zh/src/subpictures.asy b/Master/texmf-dist/doc/support/asymptote-manual-zh/src/subpictures.asy new file mode 100644 index 00000000000..1ace23f5678 --- /dev/null +++ b/Master/texmf-dist/doc/support/asymptote-manual-zh/src/subpictures.asy @@ -0,0 +1,20 @@ +picture pic1; +real size=50; +size(pic1,size); +fill(pic1,(0,0)--(50,100)--(100,0)--cycle,red); + +picture pic2; +size(pic2,size); +fill(pic2,unitcircle,green); + +picture pic3; +size(pic3,size); +fill(pic3,unitsquare,blue); + +picture pic; +add(pic,pic1.fit(),(0,0),N); +add(pic,pic2.fit(),(0,0),10S); + +add(pic.fit(),(0,0),N); +add(pic3.fit(),(0,0),10S); + |