Moved anisotropic filtering to Image:setFilter(min, mag, anisotropy), added anisotropic filtering support to canvases and fonts

This commit is contained in:
Alex Szpakowski
2013-03-20 23:23:26 -03:00
parent 8c406b7a4b
commit 25d6700361
14 changed files with 187 additions and 71 deletions
+5
View File
@@ -129,6 +129,9 @@ public:
void setFilter(const Image::Filter &f);
const Image::Filter &getFilter();
void setAnisotropy(float anisotropy);
float getAnisotropy() const;
// Implements Volatile.
bool loadVolatile();
void unloadVolatile();
@@ -183,6 +186,8 @@ private:
float lineHeight;
float mSpacing; // modifies the spacing by multiplying it with this value
float anisotropy;
int texture_size_index;
int texture_width;
int texture_height;