diff options
Diffstat (limited to 'src/libjin/Graphics/Font/je_texture_font.cpp')
-rw-r--r-- | src/libjin/Graphics/Font/je_texture_font.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libjin/Graphics/Font/je_texture_font.cpp b/src/libjin/Graphics/Font/je_texture_font.cpp index 9651c1a..30a927c 100644 --- a/src/libjin/Graphics/Font/je_texture_font.cpp +++ b/src/libjin/Graphics/Font/je_texture_font.cpp @@ -212,7 +212,7 @@ namespace JinEngine return typeset(*text, lineheight, spacing); } - void TextureFont::print(const Page* page, int x, int y) + void TextureFont::render(const Page* page, int x, int y) { Shader* shader = Shader::getCurrentShader(); const vector<GlyphArrayDrawInfo>& glyphinfolist = page->glyphinfolist; @@ -231,17 +231,17 @@ namespace JinEngine } } - void TextureFont::print(const Content& text, int x, int y, int lineheight, int spacing) + void TextureFont::render(const Content& text, int x, int y, int lineheight, int spacing) { Page* page = typeset(text, lineheight, spacing); - print(page, x, y); + render(page, x, y); delete page; } - void TextureFont::print(const Text& text, int x, int y, int lineheight, int spacing) + void TextureFont::render(const Text& text, int x, int y, int lineheight, int spacing) { Page* page = typeset(text, lineheight, spacing); - print(page, x, y); + render(page, x, y); delete page; } |