git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved libarts stuff to gfxpoly
[swftools.git]
/
lib
/
pdf
/
BitmapOutputDev.h
diff --git
a/lib/pdf/BitmapOutputDev.h
b/lib/pdf/BitmapOutputDev.h
index
62bca6d
..
67c1c59
100644
(file)
--- a/
lib/pdf/BitmapOutputDev.h
+++ b/
lib/pdf/BitmapOutputDev.h
@@
-38,6
+38,10
@@
struct ClipState
ClipState();
};
ClipState();
};
+#define STATE_PARALLEL 0
+#define STATE_TEXT_IS_ABOVE 1
+#define STATE_BITMAP_IS_ABOVE 2
+
class BitmapOutputDev: public CommonOutputDev {
public:
BitmapOutputDev(InfoOutputDev*info, PDFDoc*doc);
class BitmapOutputDev: public CommonOutputDev {
public:
BitmapOutputDev(InfoOutputDev*info, PDFDoc*doc);
@@
-123,7
+127,6
@@
public:
virtual GBool axialShadedFill(GfxState *state, GfxAxialShading *shading);
virtual GBool radialShadedFill(GfxState *state, GfxRadialShading *shading);
virtual GBool axialShadedFill(GfxState *state, GfxAxialShading *shading);
virtual GBool radialShadedFill(GfxState *state, GfxRadialShading *shading);
- void doClip(GfxState *state, GBool eo);
virtual void clip(GfxState *state);
virtual void eoClip(GfxState *state);
virtual void clipToStrokePath(GfxState *state);
virtual void clip(GfxState *state);
virtual void eoClip(GfxState *state);
virtual void clipToStrokePath(GfxState *state);
@@
-178,13
+181,25
@@
public:
virtual void processLink(Link *link, Catalog *catalog);
virtual void setVectorAntialias(GBool vaa);
virtual void processLink(Link *link, Catalog *catalog);
virtual void setVectorAntialias(GBool vaa);
+ virtual GBool getVectorAntialias();
+
private:
private:
- void flush();
+ void clearClips();
+ void clearBoolPolyDev();
+ void clearBoolTextDev();
+ void flushText();
+ void flushBitmap();
+ void checkNewText();
+ void checkNewBitmap();
+ GBool clip0and1differ();
+ GBool intersection();
- char config_bitmapfonts;
char config_extrafontdata;
char config_extrafontdata;
+ int layerstate;
+ GBool emptypage;
+
SplashPath*bboxpath;
PDFDoc*doc;
SplashPath*bboxpath;
PDFDoc*doc;
@@
-192,6
+207,16
@@
private:
SplashOutputDev*rgbdev;
SplashOutputDev*clip0dev;
SplashOutputDev*clip1dev;
SplashOutputDev*rgbdev;
SplashOutputDev*clip0dev;
SplashOutputDev*clip1dev;
+ SplashOutputDev*boolpolydev;
+ SplashOutputDev*booltextdev;
+
+ SplashBitmap*rgbbitmap;
+ SplashBitmap*clip0bitmap;
+ SplashBitmap*clip1bitmap;
+ SplashBitmap*boolpolybitmap;
+ SplashBitmap*booltextbitmap;
+
+ gfxdevice_t* gfxoutput;
GFXOutputDev*gfxdev;
InfoOutputDev*info;
gfxdevice_t*dev;
GFXOutputDev*gfxdev;
InfoOutputDev*info;
gfxdevice_t*dev;