Commit 2959ab8b authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

dash pen & integer grid

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58410 954022d7-b5bf-4e40-9824-e11837661b57
parent 50abb28c
......@@ -633,6 +633,9 @@ namespace Aggplus
if (m_dDpiX > 1)
dKoef = 25.4 / m_dDpiX;
if (m_bIntegerGrid)
dKoef = 1.0;
for (LONG i = 0; i < lCount2; ++i)
{
if (0 == i)
......
......@@ -255,6 +255,10 @@ public:
PathCommandLineTo(x, y + h);
PathCommandClose();
}
inline Aggplus::CMatrix* GetCoordTransform()
{
return m_pRenderer->GetCoordTransform();
}
inline void Fill()
{
DrawPath(c_nWindingFillMode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment