2024-12-24 02:31 AM
Hi there. I have an image that I want to draw in a certain location and in as many as I need. I found the function HAL::lcd().drawPartialBitmap. I tried to call it from the view class in my function, like HAL::lcd().drawPartialBitmap(myBitmapId, point.x, point.y, bitmapRect). But it seems that it only works from the MyViewClass::draw() function. Just a picture widget won't work for me because I need to draw the same picture many times in different places. Places and quantities are dynamic. How can I do this?