2012/2/8  <[email protected]>:
> I'm drawing a bitmap to the canvas by using LoadFromRawImage in combination
> with a TImage. The OnPaint code below works just fine. When I move the
> scrollbar, the images are drawn to the canvas, however there is still a bit
> of flicker.

I don't recommend using TImage for fast changing graphics. The really
fast and reliable way to draw motion graphics is to implement a
TCustomControl descendent like explained in the wiki:

http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Create_a_custom_control_which_draws_itself

-- 
Felipe Monteiro de Carvalho

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to