summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/epsincl/testincl.mp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/metapost/epsincl/testincl.mp')
-rw-r--r--Master/texmf-dist/doc/metapost/epsincl/testincl.mp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/metapost/epsincl/testincl.mp b/Master/texmf-dist/doc/metapost/epsincl/testincl.mp
new file mode 100644
index 00000000000..0db25cca4a9
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/epsincl/testincl.mp
@@ -0,0 +1,10 @@
+input epsincl;
+
+tertiarydef p scaledto x = p scaled (x/xpart(urcorner(p)-llcorner(p))) enddef;
+
+beginfig(100);
+ label(use_eps("testinc0.eps") rotated 30 scaledto 100mm, origin);
+ label(image(fill unitsquare scaled 2mm rotated 45), origin) withcolor .7white;
+endfig;
+
+end