summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/asymptote-manual-zh/src/hatch.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/asymptote-manual-zh/src/hatch.asy')
-rw-r--r--Master/texmf-dist/doc/support/asymptote-manual-zh/src/hatch.asy11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/asymptote-manual-zh/src/hatch.asy b/Master/texmf-dist/doc/support/asymptote-manual-zh/src/hatch.asy
new file mode 100644
index 00000000000..126b5bec13a
--- /dev/null
+++ b/Master/texmf-dist/doc/support/asymptote-manual-zh/src/hatch.asy
@@ -0,0 +1,11 @@
+size(0,100);
+import patterns;
+
+add("hatch",hatch());
+add("hatchback",hatch(NW));
+add("crosshatch",crosshatch(3mm));
+
+real s=1.25;
+filldraw(unitsquare,pattern("hatch"));
+filldraw(shift(s,0)*unitsquare,pattern("hatchback"));
+filldraw(shift(2s,0)*unitsquare,pattern("crosshatch"));