plugin/FT_fontsys, plugin/DroidFonts

git-svn-id: svn://ultimatepp.org/upp/trunk@6356 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-09-16 09:42:23 +00:00
parent d79c64e5e2
commit 395afe4e52
428 changed files with 170526 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#ifndef _plugin_FT_fontsys_FT_fontsys_h_
#define _plugin_FT_fontsys_FT_fontsys_h_
#include <Draw/Draw.h>
NAMESPACE_UPP
enum FtStyle {
FtBOLD = 1,
FtITALIC = 2
};
void SetFileFont(int face, const char *path, dword style = 0);
void SetMemoryFont(int face, const byte *data, int size, dword style = 0);
END_UPP_NAMESPACE
#endif