recent changes

Jonathan Coles jonathan at jpcoles.com
Sun Jan 30 05:21:12 CET 2005


Am Samstag, den 29.01.2005, 20:56 -0500 schrieb Russell Nelson:
> Your code does what I was trying, and .... seems to always be right.
> At least, I see no vertical banding anymore.  I see just the vector
> layer drawn on a white background (the mask).

that's what you should see. ok, so at least we know that the bitmap is
good by the time it is passed to the wxMask constructor. unfortunately,
i can't think of any good test after that point. you can't ask for the
bitmap back once it's become a mask, and a mask isn't a drawable object.

perhaps you can try running the mask demo that comes with wxpython. you
can download the examples here:

http://prdownloads.sourceforge.net/wxpython/wxPythonDemo-2.4.2.4.tar.gz?download

just extract this anywhere, and then in wxPython-2.4.2.4/demo/ type

./run.py wxMask

to see the sample app. does that work properly?

--jonathan

-- 
=====================================================================
 Jonathan Coles                               http://www.jpcoles.com
 jonathan at jpcoles.com                    GnuPG Key: /gpg_pub_key.asc
=====================================================================




More information about the Thuban-devel mailing list

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