Sign in to follow this  
Followers 0
tomaskir

GDI+ DrawString Stroked

3 posts in this topic

Hey guys,

What would be the best way to draw a 1px stroke around a text created using _GDIPlus_GraphicsDrawString()

I looked around and what was suggested was drawing another string below is which is a few points bigger in a different color, therefore achieving a stroke, but that has positioning problems for me, not to mention I need to draw every string twice.

Is there an easier way?

Thanks,

tom

Share this post


Link to post
Share on other sites



Looked for a few more solutions myself, but wasnt able to find anything that would be easy to implement and work correctly.

Any input at all is well appreciated.

Share this post


Link to post
Share on other sites

Maybe this topic will help you:

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0