How about invoking BitmapDC:: swapAlpha to implement this function?