public void Flush() { cords = ImageStream.getCoor(this); source = BitmapSource.Create(width, height, img.DpiX, img.DpiY, pf, null, pixelData, rawStride); UIAssembler.updateTab(source); Sync(); }
public void FlushBitmap(Bitmap b) { cords = ImageStream.getCoor(this); setBitmap(Globals.Bitmap2BitmapImage(b), b); Sync(); }