• Advertisement

Archived

This topic is now archived and is closed to further replies.

Win32 GDI paintbrush

This topic is 6317 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know how to increase the size of the paintbrush, for example, if i move the mouse on the screen it paints single pixels, but what if i want a thicker pixel(a bunch of pixels together) thanks,SaiSoft

Share this post


Link to post
Share on other sites
Advertisement
Take a look at CreateSolidBrush() in the GDI

-------------------------------
"Shunji is a nutcase" - Voice

..-=gLaDiAtOr=-..

Share this post


Link to post
Share on other sites
I tried using CreateSolidBrush() and then SelectObject, but that did not work. I also tried CreatePen(). That did not work either. I don''t know if I am putting it in the correct place, are these functions supposed to go in below WM_MOUSEMOVE handler or above somewhere else.

thanks

Share this post


Link to post
Share on other sites

  • Advertisement