[GRASS-dev] Re: [GRASS5] Improvements to gis.m map canvas

Glynn Clements glynn at gclements.plus.com
Thu May 4 21:39:12 EDT 2006


Michael Barton wrote:

> >>> Also, it should only be necessary to restart the driver if the image
> >>> dimensions are changed; changing the region shouldn't require a
> >>> restart.
> >> 
> >> True. 
> >> 
> >> But for people changing the region interactively with the zoom tools, they
> >> will also be changing the display geometry.
> > 
> > Why?
> 
> Because it is likely that drawing a box by hand with a mouse will not
> exactly come up with the exact same x:y ratio of the current canvas.

So you resize the image to match the aspect ratio?

Okay, that makes sense from an efficiency perspective. Drawing
probably won't be noticably affected, but composition and reading the
image into Tk should be faster.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list