• Advertisement
Sign in to follow this  

win32 api pens?

This topic is 4721 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

I am experimenting with 2d fractals, and I want to have the program automatically "draw" the output (lines) to a blank screen at runtime. Is there something like a pen that I could use to draw a black line from one coordinate to another? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
what language/API's are you using? if you're working
with Windows you could just use SetPixel, and then
when you're done take a screen cap of your window.
or if you want to get fancier, create a bitmap,
select it into a memory DC, use SetPixel and when
you're done save it. lots of things you can do. i
have some complex number Newton's Method fractal code
lying around here somewhere that saves the fractal to
a bitmap if you want it, but i gotta dig for it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement