summaryrefslogtreecommitdiff
path: root/graphics/epix/doc/scaling.xp
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-06-13 03:02:55 +0000
committerNorbert Preining <norbert@preining.info>2020-06-13 03:02:55 +0000
commit2d0067edb74f15b431d7a1e3a42b4f525986cef0 (patch)
tree06198722777ad0af165eb45b12960c56b226b0cf /graphics/epix/doc/scaling.xp
parentc2fde990c352049f8aa6bc9629fee95bad518cde (diff)
CTAN sync 202006130302
Diffstat (limited to 'graphics/epix/doc/scaling.xp')
-rw-r--r--graphics/epix/doc/scaling.xp37
1 files changed, 0 insertions, 37 deletions
diff --git a/graphics/epix/doc/scaling.xp b/graphics/epix/doc/scaling.xp
deleted file mode 100644
index 7d243caabc..0000000000
--- a/graphics/epix/doc/scaling.xp
+++ /dev/null
@@ -1,37 +0,0 @@
-/* -*-ePiX-*- */
-#include "epix.h"
-using namespace ePiX;
-
-int main()
-{
- picture(P(0,0), P(4,1), "4x0.75in");
-
- begin();
-
- font_size("scriptsize");
-
- screen canv(P(0,0), P(1,1));
- activate(canv);
-
- border();
- ddot(canv.bl(), P(2,2), "$(x_\\mathrm{min},y_\\mathrm{min})$", tr);
- ddot(canv.tr(), P(-2,-2), "$(x_\\mathrm{max},y_\\mathrm{max})$", bl);
- label(canv.b(), P(0,-4), "Canvas (virtual)", b);
- deactivate(canv);
-
- screen pg(P(0,0), P(1,1));
- activate(pg);
-
- border();
- ddot(pg.bl(), P(2,2), "$(0,0)$", tr);
- ddot(pg.tr(), P(-2,-2), "$(h_\\mathrm{size}, v_\\mathrm{size})$", bl);
- label(pg.b(), P(0,-4), "Page (actual)", b);
- deactivate(pg);
-
- arrow(P(1.75, 0.5), P(2.75,0.5));
-
- inset(canv, P(0,0.125), P(1.5, 1));
- inset(pg, P(3,0.125), P(4,0.875));
-
- end();
-}