diff options
| author | louis <louis.braun@gmx.de> | 2014-12-03 18:12:37 +0100 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2014-12-03 18:12:37 +0100 |
| commit | 7ce445025e10bf4eb0c4066907e588039c09f1ad (patch) | |
| tree | 0a554b47d2db26909eb4628b70427cb40b8493b1 /libcore/imagecache.h | |
| parent | def1b3cc301398875b43fc52e50ed936302f56c6 (diff) | |
| download | vdr-plugin-skindesigner-7ce445025e10bf4eb0c4066907e588039c09f1ad.tar.gz vdr-plugin-skindesigner-7ce445025e10bf4eb0c4066907e588039c09f1ad.tar.bz2 | |
drawing ellipses antialiased with Cairo
Diffstat (limited to 'libcore/imagecache.h')
| -rw-r--r-- | libcore/imagecache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcore/imagecache.h b/libcore/imagecache.h index 95148b2..4a26710 100644 --- a/libcore/imagecache.h +++ b/libcore/imagecache.h @@ -30,6 +30,9 @@ public: //skinparts void CacheSkinpart(string path, int width, int height); cImage *GetSkinpart(string name, int width, int height); + //Cairo Images + void CacheEllipse(int id, int width, int height, tColor color, int quadrant); + cImage *GetEllipse(int id, int width, int height, tColor color, int quadrant); //helpers void Clear(void); void Debug(bool full); @@ -46,6 +49,7 @@ private: map<string, cImage*> iconCache; map<string, cImage*> channelLogoCache; map<string, cImage*> skinPartsCache; + map<int, cImage*> cairoImageCache; bool LoadIcon(eImageType type, string name); bool LoadLogo(const cChannel *channel); bool LoadSeparatorLogo(string name); |
