I improved the code of the function AquaSalBitmap::CreateWithMask. The code is now cleaner.

I also wrote doc about this function on my wiki page: i explain how the CreateWithMask function works, i talk about the bug(s) which still exist in AquaSalBitmap::CreateMask (which is, i think, not used now). I also explain how image masks works, and how to use them with the Quartz API.

So here's the updated patch