[wx-dev] mysterious wxImage::Paste() logic
Vadim Zeitlin
vadim at wxwidgets.org
Tue Sep 4 01:33:23 PDT 2007
On Tue, 04 Sep 2007 01:01:53 +0200 Tim Kosse <tim.kosse at gmx.de> wrote:
TK> One way to simplify this would be to add new variables target_x and source_x
TK>
TK> Replace xx+x with target_x and xx with source_x
Yes, I was going to do this... The "only" problem is that all I wanted to
do was to apply a patch adding alpha handling to Paste() and I didn't plan
at all to spend more than 5 minutes on this... But after seeing this code I
simply have to do something about it. And ideally I'd also write the unit
tests to check that it works as expected but I'm really not sure if I have
time for this.
Regards,
VZ
More information about the wx-dev
mailing list