How to create curved Text on a Bitmap?

Posted by TooFat on Stack Overflow See other posts from Stack Overflow or by TooFat
Published on 2010-05-10T15:22:18Z Indexed on 2010/05/10 15:24 UTC
Read the original article Hit count: 271

Filed under:
|

I am currently dynamically creating a bitmap and using the graphics object from the string from the bitmap to Draw a string on it like so.

System.Drawing.Graphics graph = System.Drawing.Graphics.FromImage(bmp);
graph.DrawString(text, font, brush, new System.Drawing.Point(0, 0));

This returns a rectangle shaped bitmap with the string written straight across from left to right. I would like to also be able to draw the string in the shape of a rainbow. How can I do this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET