Please try this at home; and send me any and all corrections. - http://docs.codehaus.org/display/GEOTDOC/08+ImageLab
I tried a couple of ways to figure out bounding box selection (really I want to use point and scale). RenderingUtilities with world to screen transformations did not work out for me, eventually I locked down the aspect ratio and used a percentage offset from the lower corner to determine where mouse clicks are. The example is in three parts: - loading a grid coverage - drawing a grid coverage - changing the bounds using a glass pane Code review would be great; and questions are welcome. Jody ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
