7 #ifndef SCIMGDATALOADER_WPG_H
8 #define SCIMGDATALOADER_WPG_H
10 #include "scimgdataloader.h"
15 #include <QLinearGradient>
21 #include <QPainterPath>
22 #include "third_party/wpg/libwpg.h"
30 void startGraphics(
double imageWidth,
double imageHeight);
32 void startLayer(
unsigned int id);
33 void endLayer(
unsigned int id);
36 void setFillRule(FillRule rule);
45 QPainter imagePainter;
53 QLinearGradient currentGradient;
61 void initSupportedFormatList();
66 virtual bool preloadAlphaChannel(
const QString& fn,
int page,
int res,
bool& hasAlpha);
67 virtual void loadEmbeddedProfile(
const QString& fn,
int page = 0);
68 virtual bool loadPicture(
const QString& fn,
int page,
int res,
bool thumbnail);
Definition: scimgdataloader.h:19
Definition: WPGBitmap.h:37
Definition: WPGPoint.h:34
Definition: WPGBinaryData.h:39
Definition: WPGPaintInterface.h:41
Definition: scimgdataloader_wpg.h:57
Definition: WPGBrush.h:35
Definition: WPGPoint.h:51
Definition: scimgdataloader_wpg.h:25