aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Font/je_font.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-23 13:07:57 +0800
committerchai <chaifix@163.com>2018-10-23 13:07:57 +0800
commit50be5c9746854adcdb5b45b75955b57f18f98fe5 (patch)
treeca854633b3901f6f052e757ca2a98ad0c597a508 /src/libjin/Graphics/Font/je_font.h
parent233856869a699c0139291e4f43a61bc5a056c189 (diff)
*draw->render
Diffstat (limited to 'src/libjin/Graphics/Font/je_font.h')
-rw-r--r--src/libjin/Graphics/Font/je_font.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libjin/Graphics/Font/je_font.h b/src/libjin/Graphics/Font/je_font.h
index 2e9206b..42f83b6 100644
--- a/src/libjin/Graphics/Font/je_font.h
+++ b/src/libjin/Graphics/Font/je_font.h
@@ -63,7 +63,7 @@ namespace JinEngine
/// @param x X value of the position.
/// @param y Y value of the position.
///
- virtual void print(const Page* page, int x, int y) = 0;
+ virtual void render(const Page* page, int x, int y) = 0;
///
/// Render unicode codepoints to given position.
@@ -74,7 +74,7 @@ namespace JinEngine
/// @param lineheight Line height of the content.
/// @param spacing Spacing between characters.
///
- virtual void print(const Content& content, int x, int y, int lineheight, int spacing = 0) = 0;
+ virtual void render(const Content& content, int x, int y, int lineheight, int spacing = 0) = 0;
///
/// Render text to given position.
@@ -85,7 +85,7 @@ namespace JinEngine
/// @param lineheight Line height of the text.
/// @param spacing Spacing between characters.
///
- virtual void print(const Text& text, int x, int y, int lineheight, int spacing = 0) = 0;
+ virtual void render(const Text& text, int x, int y, int lineheight, int spacing = 0) = 0;
///
/// Get font size.