From 250c5684b9ee44ac972db51f87289ef935182c53 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 10 Mar 2023 12:42:42 +0100 Subject: 2023-03-10 12:17:00 --- metapost/context/base/common/boxes.mp | 1 - metapost/context/base/common/hatching.mp | 10 ---------- metapost/context/base/common/mp-remapped-boxes.mp | 1 + metapost/context/base/common/mp-remapped-hatching.mp | 10 ++++++++++ 4 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 metapost/context/base/common/boxes.mp delete mode 100644 metapost/context/base/common/hatching.mp create mode 100644 metapost/context/base/common/mp-remapped-boxes.mp create mode 100644 metapost/context/base/common/mp-remapped-hatching.mp (limited to 'metapost') diff --git a/metapost/context/base/common/boxes.mp b/metapost/context/base/common/boxes.mp deleted file mode 100644 index f9cb4a5bb..000000000 --- a/metapost/context/base/common/boxes.mp +++ /dev/null @@ -1 +0,0 @@ -scantokens("input mp-xbox.mp" & (if metapostversion > 2 : "xl" else : "iv" fi)) ; diff --git a/metapost/context/base/common/hatching.mp b/metapost/context/base/common/hatching.mp deleted file mode 100644 index ae63b676e..000000000 --- a/metapost/context/base/common/hatching.mp +++ /dev/null @@ -1,10 +0,0 @@ -% This is placeholder for Bogluslaw Jackowski's hatching.mp file which can be found in -% the public domain and dates from 2000. It provides: -% -% draw hatched (fullcircle scaled 10cm) (45, 4, 1) withcolor "red" ; -% -% interim hatch_match := 1; -% -% This macro is not in mp-tool so this is a placeholder. The hatching macro doesn't fit -% into metafun because it assume withcolor to behave in a certain way. Also, we use more -% efficient path constructor. diff --git a/metapost/context/base/common/mp-remapped-boxes.mp b/metapost/context/base/common/mp-remapped-boxes.mp new file mode 100644 index 000000000..f9cb4a5bb --- /dev/null +++ b/metapost/context/base/common/mp-remapped-boxes.mp @@ -0,0 +1 @@ +scantokens("input mp-xbox.mp" & (if metapostversion > 2 : "xl" else : "iv" fi)) ; diff --git a/metapost/context/base/common/mp-remapped-hatching.mp b/metapost/context/base/common/mp-remapped-hatching.mp new file mode 100644 index 000000000..ae63b676e --- /dev/null +++ b/metapost/context/base/common/mp-remapped-hatching.mp @@ -0,0 +1,10 @@ +% This is placeholder for Bogluslaw Jackowski's hatching.mp file which can be found in +% the public domain and dates from 2000. It provides: +% +% draw hatched (fullcircle scaled 10cm) (45, 4, 1) withcolor "red" ; +% +% interim hatch_match := 1; +% +% This macro is not in mp-tool so this is a placeholder. The hatching macro doesn't fit +% into metafun because it assume withcolor to behave in a certain way. Also, we use more +% efficient path constructor. -- cgit v1.2.3