Added "AccurateText" option [Rainmeter] section of a skin.

When AccurateText=0 (default) and UseD2D=0, inaccurate GDI+ measuring of text is used
When AccurateText=1 and UseD2D=0, Accurate measuring occurs similar to D2D
When AccurateText=0 and UseD2D=1, D2D adds padding to the text similar to GDI+
When AccurateText=1 and UseD2D=1, Accurate measuring occurs using D2D
This commit is contained in:
Brian Ferguson
2013-07-25 14:53:02 -06:00
parent 3bf2bd3902
commit b27bf1ee63
6 changed files with 77 additions and 9 deletions

View File

@ -22,7 +22,8 @@ namespace Gfx {
Canvas::Canvas() :
m_W(),
m_H()
m_H(),
m_AccurateText(false)
{
}