AnsweredAssumed Answered

GDI+ Smooth Edge Draw Issue

Question asked by geonetadmin on Jul 11, 2010
Latest reply on Jul 20, 2010 by dberry911
Original User: dberry911

I am using VS2005 VB.NET with ArcObjects V9.3.1.

I am using GDI+ to DrawImage, DrawString, DrawEllipse as part of an AVL Tracking Layer(non-dynamic map).

Resulting images, text, and ellipsis are not drawn smooth, they appear as having rough edges.

Using the same code in a test application results in all images & text with smooth edges.

The GDI+ MeasureString method calculates inaccurate values, but in the test application calculations are correct.

When DrawText is used with a background the text has smooth edges, but if drawn directly on the MapControl the text has rough edges.

I am setting the SmoothingMode of the graphics to Antialias and have tried every other combination without success.

Attached are examples of rough & smooth edges of an ellipse.



Anyone else see this same issue?

Suggestions & insights appreciated.

Regards,
Dennis

Outcomes