As I am new here, I am struggling how to layout my code:
I have to draw a figure with a path (polygon), add optional lines within the figure, add optional text, add optional arcs. This figure I need differently drawn but with the same basics.
I drew it once for testing purpose into an imageview and it works well, but I need it in different situations.
So my imagination is something like: draw that stuff in a sub with the requested features and return this stuff (as bmp? as canvas) for further use (scaling, rotating, placing in a view).
What would you do, to accomplish this?
Thank you in advance!
Thomas
I have to draw a figure with a path (polygon), add optional lines within the figure, add optional text, add optional arcs. This figure I need differently drawn but with the same basics.
I drew it once for testing purpose into an imageview and it works well, but I need it in different situations.
So my imagination is something like: draw that stuff in a sub with the requested features and return this stuff (as bmp? as canvas) for further use (scaling, rotating, placing in a view).
What would you do, to accomplish this?
Thank you in advance!
Thomas