diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-05-28 22:23:15 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-05-28 22:23:15 +0800 |
commit | 12ac4db50e8c2b131d992733bb93b554e2cbd7d0 (patch) | |
tree | e1f6072c53f34e449ffb0b836cf5b5b4ec58664d /include | |
parent | 2c5a0391c3299ccbb866a0dd33204dbeccfa2b95 (diff) | |
download | SMELT-12ac4db50e8c2b131d992733bb93b554e2cbd7d0.tar.xz |
Fix right-aligned ttf rendering.
Diffstat (limited to 'include')
-rw-r--r-- | include/smttfont.hpp | 2 |
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 |