Hello Forum Gurus:
Does someone have an example of how to implement an OnDraw() function that will draw a series of polygons in a view such that regardless of how many polygons there are they will all be drawn in the current view size?
Assume that:
1) I can predetermine what the maximum and minimum X and Y values are for all the points within the polygons.
2) The values of the polygon coordinates are in a planimetric system such as State Plane (i.e. they are not device coordinates).
Whatever the current view size is I want all the polygons to be drawn and to occupy as much of the view as possible.
Thank you for any tips or links to similar problems.
David G.
Does someone have an example of how to implement an OnDraw() function that will draw a series of polygons in a view such that regardless of how many polygons there are they will all be drawn in the current view size?
Assume that:
1) I can predetermine what the maximum and minimum X and Y values are for all the points within the polygons.
2) The values of the polygon coordinates are in a planimetric system such as State Plane (i.e. they are not device coordinates).
Whatever the current view size is I want all the polygons to be drawn and to occupy as much of the view as possible.
Thank you for any tips or links to similar problems.
David G.