Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/ftfont/intern/FTF_Api.cpp')
-rw-r--r--source/blender/ftfont/intern/FTF_Api.cpp19
1 files changed, 15 insertions, 4 deletions
diff --git a/source/blender/ftfont/intern/FTF_Api.cpp b/source/blender/ftfont/intern/FTF_Api.cpp
index 46638d9f4eb..036e13a7e6e 100644
--- a/source/blender/ftfont/intern/FTF_Api.cpp
+++ b/source/blender/ftfont/intern/FTF_Api.cpp
@@ -155,11 +155,22 @@ FTF_EXPORT void FTF_SetLanguage(char* str)
_FTF_GetFont()->SetLanguage(str);
}
-/**
- * added by phase
- *
- */
FTF_EXPORT void FTF_SetEncoding(char* str)
{
_FTF_GetFont()->SetEncoding(str);
}
+
+FTF_EXPORT void FTF_SetPosition(float x, float y)
+{
+ _FTF_GetFont()->SetPosition(x, y);
+}
+
+FTF_EXPORT void FTF_SetMode(int mode)
+{
+ _FTF_GetFont()->SetMode(mode);
+}
+
+FTF_EXPORT void FTF_SetScale(float fsize)
+{
+ _FTF_GetFont()->SetScale(fsize);
+}