added a "reset()" function so that kerning can start clean

and has no left overs from a previous text run


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17216 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2006-04-23 21:45:20 +00:00
parent 399b0e8ab8
commit 9d35303f63

View File

@ -361,6 +361,12 @@ namespace agg
m_prev_glyph = m_last_glyph = 0;
}
//--------------------------------------------------------------------
void reset()
{
m_prev_glyph = m_last_glyph = 0;
}
private:
//--------------------------------------------------------------------
font_cache_manager(const self_type&);