cancel
Showing results for 
Search instead for 
Did you mean: 

How can I draw bitmap?

Wiser1201
Associate

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?

0 REPLIES 0