summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/doc/tile.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/doc/tile.asy')
-rw-r--r--Build/source/utils/asymptote/doc/tile.asy13
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/doc/tile.asy b/Build/source/utils/asymptote/doc/tile.asy
new file mode 100644
index 00000000000..fe9cbc523c7
--- /dev/null
+++ b/Build/source/utils/asymptote/doc/tile.asy
@@ -0,0 +1,13 @@
+size(0,90);
+import patterns;
+
+add("tile",tile());
+add("filledtilewithmargin",tile(6mm,4mm,red,Fill),(1mm,1mm),(1mm,1mm));
+add("checker",checker());
+add("brick",brick());
+
+real s=2.5;
+filldraw(unitcircle,pattern("tile"));
+filldraw(shift(s,0)*unitcircle,pattern("filledtilewithmargin"));
+filldraw(shift(2s,0)*unitcircle,pattern("checker"));
+filldraw(shift(3s,0)*unitcircle,pattern("brick"));