diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/smttfont.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/smttfont.hpp b/include/smttfont.hpp index 0d90179..608907c 100644 --- a/include/smttfont.hpp +++ b/include/smttfont.hpp @@ -33,7 +33,7 @@ public: float h(){return (float)_h;} void free(); bool setChar(wchar_t c,FT_Face ttface); - void render(float x,float y,float z,DWORD col); + void render(float x,float y,float z,DWORD col,float scalex,float scaley); }; class smTTFont @@ -52,7 +52,7 @@ public: float getWidth(){return w;} float getHeight(){return h;} void updateString(const wchar_t *format,...); - void render(float x,float y,float z,DWORD col,int align); + void render(float x,float y,float z,DWORD col,int align,float scalex=1,float scaley=1); DWORD getCacheSize(); void clearCache(); }; |