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:
@@ -361,6 +361,12 @@ namespace agg
|
|||||||
m_prev_glyph = m_last_glyph = 0;
|
m_prev_glyph = m_last_glyph = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------
|
||||||
|
void reset()
|
||||||
|
{
|
||||||
|
m_prev_glyph = m_last_glyph = 0;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
font_cache_manager(const self_type&);
|
font_cache_manager(const self_type&);
|
||||||
|
|||||||
Reference in New Issue
Block a user