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

Michael Barton michael.barton at asu.edu
Thu May 4 21:44:57 EDT 2006



> From: Glynn Clements <glynn at gclements.plus.com>
> Date: Fri, 5 May 2006 02:39:12 +0100
> To: Michael Barton <michael.barton at asu.edu>
> Cc: Cedric Shock <cedricgrass at shockfamily.net>, <grass5 at grass.itc.it>
> Subject: Re: [GRASS5] Improvements to gis.m map canvas
> 
> So you resize the image to match the aspect ratio?

Right. I rescale so that the longest dimension of the image completely fills
the corresponding dimension of the canvas.

> 
> 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.

It would  be nice if this could be speeded up.

Michael


__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-dev mailing list