Rendering multiple lines/boxes
Hi!
I am using TouchGFX in my application. In one of the pages I need to render unknown amount (depends on backend) of lines as well as boxes. What is best approach to this? Should I use TouchGFX MVP and send from backend information about width/color/position or maybe create my own function that will use DMA2D and render lines/boxes. If the first option is way to go, in TouchGFXDesigner I guess I would need to create one line and one box. How to change this line/box parameters (like position) without deleting previous rendered line/box? Since TouchGFX treats objects as rectangles it will overlay as rectangle. Is it even possible with TouchGFX engine?
TL:DR: How to use TouchGFX engine to render unlimited number of custom objects (linex/boxes)?
Thank you