Quantcast
Viewing all articles
Browse latest Browse all 1448

Freehand drawing with GDI+

Illustrates how to perform freehand drawing within a GDI+ path. I needed this capability in an application some time ago but was only able to find one example which used GDI+, but it was done there by continuously updating an array of path points and so it was slow and produced ragged edges.

So I wrote this and it worked fine for me. It is very simple and fast. One caveat - using more transparency i.e. less opacity may cause line caps to become more visible.
Attached Files

Viewing all articles
Browse latest Browse all 1448

Trending Articles