summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.hpp
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-03-24 06:50:31 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-03-24 06:50:31 +0000
commit06b7fc5990194d2924b0cf172c9313bfb395feed (patch)
tree2e49565cad084288fa4cf7acdbe61acf94a3069e /Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.hpp
parentde73f5fe8765d13a7e5ed73137e955dd85d0d62c (diff)
dvisvgm-2.3.5
git-svn-id: svn://tug.org/texlive/trunk@47098 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.hpp')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.hpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.hpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.hpp
index 503c45dac65..ae75152899e 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.hpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.hpp
@@ -30,16 +30,14 @@
#include "MessageException.hpp"
-struct PSException : public MessageException
-{
+struct PSException : public MessageException {
PSException (const std::string &msg) : MessageException(msg) {}
};
/** This interface provides the template methods called by PSInterpreter when executing a PS snippet.
* Each method corresponds to a PostScript operator of the same name. */
-struct PSActions
-{
+struct PSActions {
virtual ~PSActions () =default;
virtual void applyscalevals (std::vector<double> &p) =0;
virtual void clip (std::vector<double> &p) =0;
@@ -72,6 +70,7 @@ struct PSActions
virtual void setmatrix (std::vector<double> &p) =0;
virtual void setmiterlimit (std::vector<double> &p) =0;
virtual void setopacityalpha (std::vector<double> &p) =0;
+ virtual void setpagedevice (std::vector<double> &p) =0;
virtual void setpattern (std::vector<double> &p) =0;
virtual void setrgbcolor (std::vector<double> &rgb) =0;
virtual void shfill (std::vector<double> &rgb) =0;
@@ -84,8 +83,7 @@ class PSFilter;
/** This class provides methods to execute chunks of PostScript code and calls
* several template methods on invocation of selected PS operators (see PSActions). */
-class PSInterpreter
-{
+class PSInterpreter {
enum Mode {PS_NONE, PS_RUNNING, PS_QUIT};
public: