开发者

Writing text on circled image near the edges using C#

开发者 https://www.devze.com 2023-01-05 02:21 出处:网络
I am trying to write text on the circled image near the edges开发者_运维技巧 using .net libraries.Please refer to the following url for image to see what I am trying to achieve (Even I can\'t do perfe

I am trying to write text on the circled image near the edges开发者_运维技巧 using .net libraries. Please refer to the following url for image to see what I am trying to achieve (Even I can't do perfectly in paint :( ).

Image Url

I tried Graphics, Bitmap and other relevant classes of .net but they don't have any feature to do it. I am open for any 3rd party components as well.

Thanks in advance and look forward to your thoughts!


I thought that you could just use GraphicsPath.AddString(), and draw that path using the Graphics object using graphics.DrawPath().

However, I tried it and it didn't work.

Here's a blog post about a chap much cleverer than me who's done it properly (GraphicsPath is still the key, but there's more to it): http://www.planetclegg.com/projects/WarpingTextToSplines.html

0

精彩评论

暂无评论...
验证码 换一张
取 消