aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-28 22:23:15 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-28 22:23:15 +0800
commit12ac4db50e8c2b131d992733bb93b554e2cbd7d0 (patch)
treee1f6072c53f34e449ffb0b836cf5b5b4ec58664d /include
parent2c5a0391c3299ccbb866a0dd33204dbeccfa2b95 (diff)
downloadSMELT-12ac4db50e8c2b131d992733bb93b554e2cbd7d0.tar.xz
Fix right-aligned ttf rendering.
Diffstat (limited to 'include')
-rw-r--r--include/smttfont.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/smttfont.hpp b/include/smttfont.hpp
index 608907c..08860ce 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,float scalex,float scaley);
+ void render(float x,float y,float z,DWORD col,float scalex,float scaley,bool rtl);
};
class smTTFont