Page 2 of 2

Re: canvas

Posted: Sun Jul 07, 2024 6:06 am
by Rigachupe
Problem solved by using a workaround kind of. First make imageData of the rectangle you need. Then fill it how needed. Then replacePixels from this imagedata into a small image. Then paint the image over canvas. It is faster than directly updating the whole canvas through all pixels in imagedata.