Click here to Skip to main content
16,004,587 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello
i want to use c# Drawstring()outflow on the screen with free flicker
using a timer to draw every 2 ms
thanks
Posted

Draw to a buffer before updating to the screen. Doing so every 2ms would give you a framerate of 500fps. Humans can't recognize over 60fps, and most monitors won't go over around 120 fps. Try drawing every 30ms.
 
Share this answer
 
Assuming you are working with Windows Forms...

Override OnPaint. Create a Graphics object from a Bitmap then call the DrawString method on it. Then, draw that graphics object to the control's Graphics object.
 
Share this answer
 
how can i draw the stirng do a buffer & after it to the screen
 
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