Jump to content
  • Advertisement
Sign in to follow this  
silverphyre673

win32 api pens?

This topic is 4902 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!