recent changes
Russell Nelson
nelson at crynwr.com
Fri Jan 28 21:19:36 CET 2005
Jonathan Coles writes:
> Am Freitag, den 28.01.2005, 11:54 -0500 schrieb Russell Nelson:
> > Hmmm... The mask isn't always getting set correctly using
> > http://russnelson.com/potsdam-railroads.tar.gz . But sometimes it
> > is. If you move it around, sometimes it gets drawn correctly.
>
> i just recoded how the mask is packed into the bit array. my motivation
> was to make it a little faster, but it might have the side affect that
> it fixes the bug you are referring to. i haven't been able to find the
> conditions under which the mask isn't right on my machine, though.
Whoa, this is weird. First, I had the same error as before: vertical
stripes of white and black mostly but 10% of the time it was perfect.
Then, after moving it around a bunch of time, the vertical stripes
went away and it was perfect every time. But ... no, not perfect; the
mask was not properly bit-aligned with the map. It seemed to be
offset because there were two black bands on one corner of the map and
the map was masked by an equivalent amount at the other corner. The
black bands were sometimes half as big as the size of the map.
Jonathan Coles writes:
> print width, height
>
> at line 485 and send me the the dimensions when the mask isn't right? a
> small screen shot would also be very helpful.
The first is the vertical lines when seen initially (352 310). The
second is only seen if I make the window a lot bigger than the map
(589 599), and have moved it around a lot (e.g. twenty times).
http://russnelson.com/weirdraster.png
http://russnelson.com/offsetraster.png
--
--My blog is at angry-economist.russnelson.com | Freedom means allowing
Crynwr sells support for free software | PGPok | people to do things the
521 Pleasant Valley Rd. | +1 315-323-1241 cell | majority thinks are
Potsdam, NY 13676-3213 | +1 212-202-2318 VOIP | stupid, e.g. take drugs.
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)