Sign in to follow this  

win32 api pens?

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
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

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