Eric

Eric

  • NA
  • 10
  • 0

drawing.grapics ResetTransform hangs locks up

Feb 21 2008 11:33 AM

I have an overload on the OnPaint event which is doing:

g.TranslateTransform(m_yAxisLabelLocation.X, m_yAxisLabelLocation.Y); // + g.MeasureString(m_yAxisLabel, m_yAxisLabelFont).Height);

g.RotateTransform(270);

g.DrawString(m_yAxisLabel, m_yAxisLabelFont, Brushes.Black, 0, 0);

g.ResetTransform();

 

After running for a while my application seems to hand / lockup and when I look at where it is stopped it is on the ResetTransform function.  I am completely stumped.  Has anyone seen this problem or have any suggestions?

 

Eric


Answers (1)