how does accelerate drawing operation?
-
i'm creating a software that paint and draw on a picturebox, but it is very slow. How can i accelerate it?
-
i'm creating a software that paint and draw on a picturebox, but it is very slow. How can i accelerate it?
-
i'm creating a software that paint and draw on a picturebox, but it is very slow. How can i accelerate it?
I don't know how are you doing the painting, but in my experience using double-buffer painting (by calling SetStyle(...)) has great effect on painting. Trying to do "ngen" will show you a very fast code execution resulting a good paint also. AISAC - An Intelligent Sense of A Computer http://aisac.wordpress.com
-
I don't know how are you doing the painting, but in my experience using double-buffer painting (by calling SetStyle(...)) has great effect on painting. Trying to do "ngen" will show you a very fast code execution resulting a good paint also. AISAC - An Intelligent Sense of A Computer http://aisac.wordpress.com
-
You may better draw on a panel not a picturebox.
------------------------------
"The Soapbox has been so ..." -
Are you using the paint event to draw on top of the picturebox, or are you drawing on the image in the picturebox? --- b { font-weight: normal; }
-
NGen is the tool that ships with .net framework. IF you've installed Visual Studio or .net framework sdk, go to sdk or vs commnad prompt (to have the path to ngen.exe) and try to run ngen.exe, it's a command line tool. AISAC - An Intelligent Sense of A Computer http://aisac.wordpress.com