[Lazarus] Fast drawing to canvas

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Feb 10 10:58:29 CET 2012


On Fri, Feb 10, 2012 at 10:44 AM, Sven Barth
<pascaldragon at googlemail.com> wrote:
> (maybe .Canvas.Pixel[...] access isn't that good for that
> purpose ^^)

One should basically almost never use Canvas.Pixels in LCL-Gtk2,
unless you want to draw some points, because the image is located in
the X server.

Draw first to a TLazIntfImage and then convert it to a TBitmap.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list