So my issue is that I have a picture 20*20 on the top left corner
I want to scroll a text from the top right corner to the picture, and if the text reach the picture, it goes behind it, not over it.
scrolling a text is look like this:
while True:
matrix.Clear() #Also Can I do partial clean? So the picture does not vibrate…
matrix.SetImage(img.convert(‘RGB’),)
len = graphic.DrawText(matrix, font_7x13B, pos, 9, red, str(“Some long text”))
pos -= 1
if (len+pos) < 0:
pos = 80 # the lenght of the screen
time.sleep(0.05)
canvas = matrix.SwapOnVSync(canvas)