Hello there,
I've got a bitmap which have a grid (horizontal and vertical lines).
In this grid I'm plotting values from left to right.
If I'm on the right end I will scroll the bitmap one pixel to the left.
To do that I have a loop that counts on bitmap.width.
Within that loop there is another loop (bitmap.height) reading the pixel color of the right neightbor and plots them to the actual position.
On the desktop application it's fast enough to have a "scrolling effect". But on my mobile device it's extremly slow and totally unusable.
The bitmap have a size of 100x80 - so there are 8000 get / setpixel-commands. Too much for my mobile
Does anyone have an idea to scroll bitmaps ? :sign0085:
I've got a bitmap which have a grid (horizontal and vertical lines).
In this grid I'm plotting values from left to right.
If I'm on the right end I will scroll the bitmap one pixel to the left.
To do that I have a loop that counts on bitmap.width.
Within that loop there is another loop (bitmap.height) reading the pixel color of the right neightbor and plots them to the actual position.
On the desktop application it's fast enough to have a "scrolling effect". But on my mobile device it's extremly slow and totally unusable.
The bitmap have a size of 100x80 - so there are 8000 get / setpixel-commands. Too much for my mobile
Does anyone have an idea to scroll bitmaps ? :sign0085: