2021-05-06 03:24 AM
Hi
I want to draw 100 lines and use it as background. They will not change often so I can save it in line_buffer and use blitCopy to paste it to framebuffer below my graph.
Is there any way to redirect line drawing to line_buffer or any other clever way to do it?
Best regards Matjaz
2021-05-07 04:38 AM
Hi,
Why do you want to draw 100 lines :grinning_face_with_sweat: ? Seems a bit complicated for not much. It might not be a great idea but would it be relevant to use an image instead and to add a few lines (box widgets or line widgets ?) on top of it when the background needs modifications ? If you are planning to only use Line widgets this alternative would "greatly" improve the performances, as line widgets rely heavily on the mcu.
/Romain
2021-05-07 05:57 AM
I have XY graph and those thick lines in background are limit area for XY graph. I cant use picture, because limit area is not fixed.