aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Font/je_ttf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Graphics/Font/je_ttf.cpp')
-rw-r--r--src/libjin/Graphics/Font/je_ttf.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libjin/Graphics/Font/je_ttf.cpp b/src/libjin/Graphics/Font/je_ttf.cpp
index a11efb0..72e5da9 100644
--- a/src/libjin/Graphics/Font/je_ttf.cpp
+++ b/src/libjin/Graphics/Font/je_ttf.cpp
@@ -224,10 +224,10 @@ namespace JinEngine
return t;
}
- void TTF::print(const Content& t, int x, int y, int lineheight, int spacing)
+ void TTF::render(const Content& t, int x, int y, int lineheight, int spacing)
{
Page* page = typeset(t, lineheight, spacing);
- print(page, x, y);
+ render(page, x, y);
delete page;
}
@@ -299,7 +299,7 @@ namespace JinEngine
return typeset(*text, lineheight, spacing);
}
- void TTF::print(const Page* page, int x, int y)
+ void TTF::render(const Page* page, int x, int y)
{
Shader* shader = Shader::getCurrentShader();
const vector<GlyphArrayDrawInfo>& glyphinfolist = page->glyphinfolist;
@@ -318,9 +318,9 @@ namespace JinEngine
}
}
- void TTF::print(const Text& text, int x, int y, int lineheight, int spacing /* = 0 */)
+ void TTF::render(const Text& text, int x, int y, int lineheight, int spacing /* = 0 */)
{
- print(*text, x, y, lineheight, spacing);
+ render(*text, x, y, lineheight, spacing);
}
int TTF::getCharWidth(int c)