From 7ce445025e10bf4eb0c4066907e588039c09f1ad Mon Sep 17 00:00:00 2001 From: louis Date: Wed, 3 Dec 2014 18:12:37 +0100 Subject: drawing ellipses antialiased with Cairo --- libcore/imagecache.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcore/imagecache.h') 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 iconCache; map channelLogoCache; map skinPartsCache; + map cairoImageCache; bool LoadIcon(eImageType type, string name); bool LoadLogo(const cChannel *channel); bool LoadSeparatorLogo(string name); -- cgit v1.2.3