S
srfpala
Guest
Working on converting Chand 2004 C# Book code to C++
Given
PointF^ pt1 = gcnew PointF(40.0,80.0);
PointF^ pt2 = gcnew PointF(200.0,80.0);
// Following statement works
e->Graphics->DrawLine(RedPen, PointF( 40.0, 80.0 ) , PointF(200.0,80.0) );
// But the statement below doesn’t
e->Graphics->DrawLine(RedPen, pt1 , pt2 );
// It seems both should work...... any ideas as to why not ????
Bob
Bob
Continue reading...
Given
PointF^ pt1 = gcnew PointF(40.0,80.0);
PointF^ pt2 = gcnew PointF(200.0,80.0);
// Following statement works
e->Graphics->DrawLine(RedPen, PointF( 40.0, 80.0 ) , PointF(200.0,80.0) );
// But the statement below doesn’t
e->Graphics->DrawLine(RedPen, pt1 , pt2 );
// It seems both should work...... any ideas as to why not ????
Bob
Bob
Continue reading...