I've developed a vector-based navigation app using the GDI.
I draw multiple vectors while using the app and I have code that assigns text to the lines I create. Presently, I'm using the Graphics.Drawstring command to create the text and before I issue the command, I hit it with Graphics.Transform to rotate properly.
The problem that I'm having is that the text (in this case Arial font) rotates fine, but the Graphics.SmoothingMode.AntiAlias doesn't seem to work on text. So I get these pretty AA rendered lines matched up with blotchy non-AA text.
Here's a picture of what I'm talking about:
Notice above that the degrees on my compass are kinda blotchy and the horizontal vector displaying "3121 yd" looks OK, but as I move the nodes in my app, you can see how the "3121" text gets blotchy on the next vector.
Are there any other methods for text rotation that don't look so bad?
I draw multiple vectors while using the app and I have code that assigns text to the lines I create. Presently, I'm using the Graphics.Drawstring command to create the text and before I issue the command, I hit it with Graphics.Transform to rotate properly.
The problem that I'm having is that the text (in this case Arial font) rotates fine, but the Graphics.SmoothingMode.AntiAlias doesn't seem to work on text. So I get these pretty AA rendered lines matched up with blotchy non-AA text.
Here's a picture of what I'm talking about:
Notice above that the degrees on my compass are kinda blotchy and the horizontal vector displaying "3121 yd" looks OK, but as I move the nodes in my app, you can see how the "3121" text gets blotchy on the next vector.
Are there any other methods for text rotation that don't look so bad?