[commit] r1358 - trunk/SDK/DecoratorLib
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Tue Jun 14 17:40:26 CDT 2011
Author: ksmyth
Date: Tue Jun 14 17:40:26 2011
New Revision: 1358
Log:
dont CalcRelPositions here, as our size is already set, and DrawEx from DumpWindowsMetaFile calculates different positions than in InitializeEx
Modified:
trunk/SDK/DecoratorLib/ClassComplexPart.cpp
Modified: trunk/SDK/DecoratorLib/ClassComplexPart.cpp
==============================================================================
--- trunk/SDK/DecoratorLib/ClassComplexPart.cpp Tue Jun 14 16:25:36 2011 (r1357)
+++ trunk/SDK/DecoratorLib/ClassComplexPart.cpp Tue Jun 14 17:40:26 2011 (r1358)
@@ -193,7 +193,9 @@
void ClassComplexPart::Draw(CDC* pDC, Gdiplus::Graphics* gdip)
{
- CalcRelPositions(pDC, gdip);
+ // KMS: we don't CalcRelPositions here, as our size is already set, and Draw from DumpWindowsMetaFile calculates
+ // different positions than in InitializeEx
+ //CalcRelPositions(pDC, gdip);
VectorPart::Draw(pDC, gdip);
if (m_LabelPart != NULL)
m_LabelPart->Draw(pDC, gdip);
More information about the gme-commit
mailing list