How to Draw String
-
I want to draw string, but in specific way... I got a curved line, for example sinusoid, and i want to draw text on it exactly... How to do it?
-
I want to draw string, but in specific way... I got a curved line, for example sinusoid, and i want to draw text on it exactly... How to do it?
First, create a
System.Drawing.Graphics
object. Then draw your curve onto it usingGraphics.DrawCurve()
method, or if your curve is an image, use theGraphics.DrawImage()
method. After that, use theGraphics.DrawString()
method to write the text you want onto the curve.
> whoami The system is unable to identify you when you don't even know your name!
-
First, create a
System.Drawing.Graphics
object. Then draw your curve onto it usingGraphics.DrawCurve()
method, or if your curve is an image, use theGraphics.DrawImage()
method. After that, use theGraphics.DrawString()
method to write the text you want onto the curve.
> whoami The system is unable to identify you when you don't even know your name!
You didn't understand me... i want my text be curved on line...
-
You didn't understand me... i want my text be curved on line...
-
you did not understood him... thats what he is trying to teach you ... better rephrase your question if you have a point... its me =Þ grim zax
Ok, let me explaine.... For example if i got horizontal line, i draw the text horizontally on it... If i got a vertical line, i draw the text vertically... If i got curved line, i draw each letter exactly on line... So if i got sin function and word "Hello World!", i need the 'H' at the start, 'e', next step on line... and so on... Let words dancing on line....