So, i’ve created an Image, and doing the following steps -
on new wave data received -
- draw vertical line at the right side of the image (line length is received wave amplitide) . I’m using Image::setPixelAt for this
- move image to the left by one pixel : Image::moveImageSection
repaint() is called on timer (30 times per second),
image is drawn in paint(). ( Image::g.drawImageAt(m_image, 0, 0, false); is used )
I’ve tried setBufferedToImage(true); - no changes.
I’ve tried to use critical section to divide image content update and image drawing in time.
Image size is somethig about 300 x 150
Could you please propose something.