aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIFontTTF.h
diff options
context:
space:
mode:
authoranssih <anssih@svn>2010-07-10 22:37:29 +0000
committeranssih <anssih@svn>2010-07-10 22:37:29 +0000
commitb33a9614ab0bf28238ce0a98e18aba2f92d7e322 (patch)
tree8d8f0858d48c7cc78b393c8306bf49e7fef169be /guilib/GUIFontTTF.h
parent06fc8c10f87717201a3e7ad3e1667b690a7de6e4 (diff)
fixed: scale text outline to match text scaling
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31705 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIFontTTF.h')
-rw-r--r--guilib/GUIFontTTF.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/guilib/GUIFontTTF.h b/guilib/GUIFontTTF.h
index 277c1378c1..e39455946f 100644
--- a/guilib/GUIFontTTF.h
+++ b/guilib/GUIFontTTF.h
@@ -92,6 +92,7 @@ protected:
float GetCharWidthInternal(character_t ch);
float GetTextHeight(float lineSpacing, int numLines) const;
float GetLineHeight(float lineSpacing) const;
+ float GetFontHeight() const { return m_height; }
void DrawTextInternal(float x, float y, const vecColors &colors, const vecText &text,
uint32_t alignment, float maxPixelWidth, bool scrolling);