Windows with Delphi Windows API (94) Windows Filesystem (41) Windows Forms (69) Windows Graphics (38)
Exchange Links About this site Links to us 
|
Complicated drawing in background
This article has not been rated yet. After reading, feel free to leave comments and rate it.
If you have a complicated drawing to create (e.g. a fractal) you may want to
make sure that you do the drawing only one time
though make sure that your picture is refreshed when needed
Solution:
Draw on a bitmap in memory and draw this bitmap on the form's canvas in the OnPaint.
With D3 you could use the scanline-property for this which is very fast compared to
drawing on a canvas.
Comments:
|