Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hello here i want to know some about pixel drawing in c#
I had already drawn single pixel on the form but it look so tiny that cannot be seen so my requirement is that i want to make that pixel big so that it can be viewed clearly

ok i had understand this can u give me any small example for that which we will demonstrate me as i am beginner
Posted
Updated 19-Feb-10 6:37am
v2

You should probably buy a basic book and read it, but the Graphics object has methods on it to draw all sorts of things.
 
Share this answer
 
If you want bigger pixels, draw 4 for each, instead of one. By nature, pixels are one size.
You could draw to a bitmap, and then draw the bitmap to the form, stretching it so they appear bigger. If the the drawing is complex, it could be faster to just redraw to the bitmap when you need to, and update the form from the bitmap on paint. Bitblt is pretty fast.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900