Lazarus

Programming => Widgetset => Win32/64 => Topic started by: AlexTP on August 12, 2020, 03:15:43 pm

Title: [SOLVED] Canvas.Pixels seems very slow
Post by: AlexTP on August 12, 2020, 03:15:43 pm
Del (I see my mistake in post)
Title: Re: Canvas.Pixels[] setting seems very slow
Post by: furious programming on August 14, 2020, 12:31:02 am
Even if you made a mistake, the Canvas.Pixels property is still very slow.

For quick access to pixels, it is much better to use ScanLine. Of course, in the case of image classes, because, for example, for a component canvas, this is not possible. Although nothing prevents you from using the back buffer as well.

After all, context is needed to say anything.
TinyPortal © 2005-2018