4 writes to _format
PresentationCore (4)
System\Windows\Media\Imaging\BitmapSource.cs (2)
610
_format
= PixelFormat.GetPixelFormat(_wicSource);
1482
_format
= sourceBitmap.Format;
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
63
_format
= pixelFormat;
96
_format
= sourceBitmap._format;
10 references to _format
PresentationCore (10)
System\Windows\Media\Imaging\BitmapSource.cs (2)
151
return
_format
;
236
if (
_format
.Palettized)
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
96
_format = sourceBitmap.
_format
;
243
_format
.Format,
System\Windows\Media\Imaging\WriteableBitmap.cs (6)
867
uint finalRowWidthInBits = (uint)((sourceRect.X + sourceRect.Width) *
_format
.InternalBitsPerPixel);
882
uint copyWidthInBits = (uint)(sourceRect.Width *
_format
.InternalBitsPerPixel);
885
uint sourceXbyteOffset = (uint)((sourceRect.X *
_format
.InternalBitsPerPixel) / 8);
886
uint sourceBufferBitOffset = (uint)((sourceRect.X *
_format
.InternalBitsPerPixel) % 8);
888
uint destXbyteOffset = (uint)((destinationX *
_format
.InternalBitsPerPixel) / 8);
889
uint destBufferBitOffset = (uint)((destinationX *
_format
.InternalBitsPerPixel) % 8);