4 writes to _format
PresentationCore (4)
System\Windows\Media\Imaging\BitmapSource.cs (2)
625
_format
= PixelFormat.GetPixelFormat(_wicSource);
1497
_format
= sourceBitmap.Format;
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
82
_format
= pixelFormat;
115
_format
= sourceBitmap._format;
10 references to _format
PresentationCore (10)
System\Windows\Media\Imaging\BitmapSource.cs (2)
166
return
_format
;
251
if (
_format
.Palettized)
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
115
_format = sourceBitmap.
_format
;
262
_format
.Format,
System\Windows\Media\Imaging\WriteableBitmap.cs (6)
884
uint finalRowWidthInBits = (uint)((sourceRect.X + sourceRect.Width) *
_format
.InternalBitsPerPixel);
899
uint copyWidthInBits = (uint)(sourceRect.Width *
_format
.InternalBitsPerPixel);
902
uint sourceXbyteOffset = (uint)((sourceRect.X *
_format
.InternalBitsPerPixel) / 8);
903
uint sourceBufferBitOffset = (uint)((sourceRect.X *
_format
.InternalBitsPerPixel) % 8);
905
uint destXbyteOffset = (uint)((destinationX *
_format
.InternalBitsPerPixel) / 8);
906
uint destBufferBitOffset = (uint)((destinationX *
_format
.InternalBitsPerPixel) % 8);