joejoe Posted April 8, 2007 Share Posted April 8, 2007 hello all, i'm trying to create asciiArt effect plugin and i don't understand how to draw any text into image. Function Fonts.DrawText putting into image text with some kind of strange alias or overlay. string wholeText = "hello world"; textFont = new Font("Arial", 10); // from FontDialog int characterIndex = 0; string selectedChar = wholeText.Substring(characterIndex,1); Fonts.DrawText( dstArgs.Graphics, textFont, selectedChar, new Point(x - textFont.Height / 3, y - textFont.Height / 2), true, FontSmoothing.Smooth); Example of image created with this plugin: http://www.stud.fit.vutbr.cz/~xmlich02/foto/showDetail.php?id=79 Binnary of this plugin: http://www.stud.fit.vutbr.cz/~xmlich02/AsciiArt_dll.rar Source codes of plugin: [private message, email, <spam>] Can anybody help with this problem? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.