Fast drawing on canvas

I am drawing lines and polylines etc.  to draw a picture. All works OK but it is too slow. If I want to draw a picture made of 3000 lines, that takes about 90 mSec, depends of length of lines. If I want to move or zoom the drawing I must redraw it again and again and then another problem appears - flickering. It is problem with all that inherited procs for repaint, invalidate etc. I don't understand all this jet. So does anybody know how to draw faster (maybe with some other functions)or how to get results as : soft movement, soft online zoom and manage that disturbing efects.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

take a look here at fastlib under the delphi stuff,it may be of help to speed things up:

Regards Barry

this site may also be of interest:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I think double buffer can improve the speed .For example, you create a  tbitmap .All lines first draw on it ,then use your main canvas.copyrect to copy the final image to show.
Because all lines are first drawed on the bitmap that not be shown on screen .
It greatly reduce the time to refresh the screen.

good luck

TomazBAuthor Commented:
Well it was not realy answer, but with your information I helped myself to solve my problem.
Thank you Barry!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.