Quantcast
Channel: WriteableBitmapEx
Viewing all articles
Browse latest Browse all 360

New Post: Win8.1 Blit Transparent Ink

$
0
0
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?
     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;
 }

Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>