summaryrefslogtreecommitdiff
path: root/libcore/imagemagickwrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcore/imagemagickwrapper.h')
-rw-r--r--libcore/imagemagickwrapper.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/libcore/imagemagickwrapper.h b/libcore/imagemagickwrapper.h
index 5f9901e..b0c19e8 100644
--- a/libcore/imagemagickwrapper.h
+++ b/libcore/imagemagickwrapper.h
@@ -3,26 +3,20 @@
#define X_DISPLAY_MISSING
-#include <Magick++.h>
+#include <cairo.h>
#include <vdr/osd.h>
-using namespace Magick;
class cImageMagickWrapper {
private:
- void CreateGradient(tColor back, tColor blend, int width, int height, double wfactor, double hfactor);
public:
cImageMagickWrapper();
~cImageMagickWrapper();
protected:
- Image buffer;
- Color Argb2Color(tColor col);
+ cairo_surface_t *image = NULL;
cImage *CreateImage(int width, int height, bool preserveAspect = true);
- cImage CreateImageCopy(void);
bool LoadImage(std::string FileName, std::string Path, std::string Extension);
bool LoadImage(const char *fullpath);
- void CreateBackground(tColor back, tColor blend, int width, int height, bool mirror = false);
- void CreateBackgroundReverse(tColor back, tColor blend, int width, int height);
};
#endif //__NOPACITY_IMAGEMAGICKWRAPPER_H