Dear,
i have the same problem when i Blit for scrolling purpose the bitmap and the new bitmap lost the trasparency (it's painted white on background)
I'm using the wrong calling method?
i have the same problem when i Blit for scrolling purpose the bitmap and the new bitmap lost the trasparency (it's painted white on background)
I'm using the wrong calling method?
public void Blit(int pixelToBlit)
{
Rect s = new Rect(pixelToBlit, 0, wBitmap.Width, wBitmap.Height);
Rect d = new Rect(0, 0, wBitmap.Width - pixelToBlit, wBitmap.Height);
wBitmap.Blit(d, wBitmap, s, System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode.None);
this.Source = wBitmap;
}