Ive been able to create my pixelator just fine because of your help. It runs perfect. But if I have a large array of colors, want to build a canvas of many shapes, a sort of grid, checker board or sorts.. each element has a color.. Its a fake LED board or sorts.
so, I loop through my array, and put my shapes on my canvas one by one. Works great, but slow if I have to loop for a couple thousand elements.. Just wondering if there is faster way than looping and calling
TheBitMap.Canvas.Brush.Style := bsClear;
TheBitMap.Canvas.Brush.Color := LEDArray[FrameNumber, x].Color;
TheBitMap.Canvas.Pen.Color := LEDArray[FrameNumber, x].Color;
if Shape = 0 then
TheBitMap.Canvas.Ellipse(Rect)
else
TheBitMap.Canvas.Rectangle(Rect);
}
Using BGRA doesnt seem to be any faster than the standard TBitmap.. Is there something I could use thats better?