[GRASS-dev] Text rotations aren't maintained throughout redraws

Michael Barton michael.barton at asu.edu
Sat Nov 25 12:52:37 EST 2006

Thanks for finding this Eric. It had to do with making sure that the
rotation was initialized at 0. I've fixed it can can commit the change after
the holidays. Here is a diff of the changes.

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

> From: "Patton, Eric" <epatton at nrcan.gc.ca>
> Date: Thu, 23 Nov 2006 15:34:57 -0500
> To: <grass-dev at grass.itc.it>
> Cc: <grassuser at grass.itc.it>
> Subject: [GRASS-dev] Text rotations aren't maintained throughout redraws
> In gis.m, the new text tool places arbitrary text in mouse-defined locations,
> at arbitrary angles. Using yesterday's cvs, the text angles aren't maintained
> throughout multiple redraws.
> The error occurs when a text layer is added, an angle of rotation set, then
> click on a different layer in the gis manager, redraw, then click again on the
> text layer, and redraw. The final redraw should show the text rotation set
> back to the default of 0. Only by never clicking on a text layer in the gis
> manager once the rotation is set can you have your text angle maintained.
> ~ Eric.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtext.diff
Type: application/octet-stream
Size: 109 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061125/d9284543/dtext.obj

More information about the grass-dev mailing list