diff options
Diffstat (limited to 'Build/source/utils/asymptote/base/pstoedit.asy')
-rw-r--r-- | Build/source/utils/asymptote/base/pstoedit.asy | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/base/pstoedit.asy b/Build/source/utils/asymptote/base/pstoedit.asy new file mode 100644 index 00000000000..7baccd3ed69 --- /dev/null +++ b/Build/source/utils/asymptote/base/pstoedit.asy @@ -0,0 +1,18 @@ +pen textpen=basealign; +pair align=Align; + +// Compatibility routines for the pstoedit (version 3.43 or later) backend. +void gsave(picture pic=currentpicture) +{ + pic.add(new void (frame f, transform) { + gsave(f); + },true); +} + +void grestore(picture pic=currentpicture) +{ + pic.add(new void (frame f, transform) { + grestore(f); + },true); +} + |