recent changes

Russell Nelson nelson at crynwr.com
Fri Jan 28 17:54:32 CET 2005


Jonathan Coles writes:
 > here's a summary of the changes i just checked in:
 > 
 > 	o Assume that a mask should always be applied to a layer
 > 	  unless the user explicitly turns it off. The flag is
 > 	  *not* saved, however.

I don't see much of a speed difference, but I have a reasonable fast
machine.  Might be more visible on slower machines.

 > 	o Instead of returning the mask as RGB triples, it suffices
 > 	  to create a bit array that can be used to create a bitmap
 > 	  using wxBitmapFromBits(). This reduces the amount of 
 > 	  memory and also eliminates the need to first convert the
 > 	  mask to a wxImage and then to a wxBitmap.

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.

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