summaryrefslogtreecommitdiff
path: root/Build/source/libs/xpdf/xpdf-src/xpdf/PSOutputDev.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/xpdf/PSOutputDev.h')
-rw-r--r--Build/source/libs/xpdf/xpdf-src/xpdf/PSOutputDev.h25
1 files changed, 9 insertions, 16 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/xpdf/PSOutputDev.h b/Build/source/libs/xpdf/xpdf-src/xpdf/PSOutputDev.h
index 95908dbe675..b7223c6cdd8 100644
--- a/Build/source/libs/xpdf/xpdf-src/xpdf/PSOutputDev.h
+++ b/Build/source/libs/xpdf/xpdf-src/xpdf/PSOutputDev.h
@@ -11,6 +11,10 @@
#include <aconf.h>
+#ifdef USE_GCC_PRAGMAS
+#pragma interface
+#endif
+
#include <stddef.h>
#include "config.h"
#include "Object.h"
@@ -195,6 +199,8 @@ public:
virtual void updateHorizScaling(GfxState *state);
virtual void updateTextPos(GfxState *state);
virtual void updateTextShift(GfxState *state, double shift);
+ virtual void saveTextPos(GfxState *state);
+ virtual void restoreTextPos(GfxState *state);
//----- path painting
virtual void stroke(GfxState *state);
@@ -213,15 +219,7 @@ public:
virtual void clipToStrokePath(GfxState *state);
//----- text drawing
- virtual void drawString(GfxState *state, GString *s,
- GBool fill, GBool stroke, GBool makePath);
- virtual void fillTextPath(GfxState *state);
- virtual void strokeTextPath(GfxState *state);
- virtual void clipToTextPath(GfxState *state);
- virtual void clipToTextStrokePath(GfxState *state);
- virtual void clearTextPath(GfxState *state);
- virtual void addTextPathToSavedClipPath(GfxState *state);
- virtual void clipToSavedClipPath(GfxState *state);
+ virtual void drawString(GfxState *state, GString *s);
virtual void endTextObject(GfxState *state);
//----- image drawing
@@ -297,8 +295,6 @@ private:
PSFontFileInfo *setupExternalType1Font(GfxFont *font, GString *fileName);
PSFontFileInfo *setupEmbeddedType1CFont(GfxFont *font, Ref *id);
PSFontFileInfo *setupEmbeddedOpenTypeT1CFont(GfxFont *font, Ref *id);
- PSFontFileInfo *setupExternalOpenTypeT1CFont(GfxFont *font,
- GString *fileName);
PSFontFileInfo *setupEmbeddedTrueTypeFont(GfxFont *font, Ref *id);
PSFontFileInfo *setupExternalTrueTypeFont(GfxFont *font, GString *fileName,
int fontNum);
@@ -493,11 +489,8 @@ private:
PSOutCustomColor // used custom colors
*customColors;
- GBool haveSavedTextPath; // set if text has been drawn with the
- // 'makePath' argument
- GBool haveSavedClipPath; // set if the text path has been added
- // to the saved clipping path (with
- // addTextPathToSavedClipPath)
+ GBool haveTextClip; // set if text has been drawn with a
+ // clipping render mode
GBool inType3Char; // inside a Type 3 CharProc
GString *t3String; // Type 3 content string