[solved] wxproj.cpp and wx2.5

Jonathan Coles jonathan at jpcoles.com
Wed Feb 16 14:39:22 CET 2005


[NOTE: the email i'm responding to here was blocked because of the size
of the attachment. this email will make sense once that other one has
been accepted and those patches applied.]

Am Mittwoch, den 16.02.2005, 08:28 -0500 schrieb Jonathan Coles:
> now that i have this working, there is a little problem with the raster
> code that i can now fix. this is not fatal, the mask is just applied
> incorrectly.

i've attached a patch. the mask was inverted (1's should have been 0's
and vice versa). i believe that wx2.4 had it wrong (the behavior didn't
match the documentation) and i had written the inverse so that it would
work. wx2.5 corrects the problem so i had to invert my code.

be aware that this patch will only work for wx2.5.

--jonathan

-- 
=====================================================================
 Jonathan Coles                               http://www.jpcoles.com
 jonathan at jpcoles.com                    GnuPG Key: /gpg_pub_key.asc
=====================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdalwarp.cpp.wx2.5-jpc.patch
Type: text/x-patch
Size: 899 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20050216/8946ce5f/gdalwarp.cpp.wx2.5-jpc.patch


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)