4 writes to _format
PresentationCore (4)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (2)
679
_format
= PixelFormat.GetPixelFormat(_wicSource);
1604
_format
= sourceBitmap.Format;
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
97
_format
= pixelFormat;
135
_format
= sourceBitmap._format;
10 references to _format
PresentationCore (10)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (2)
186
return
_format
;
271
if (
_format
.Palettized)
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
135
_format = sourceBitmap.
_format
;
300
_format
.Format,
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (6)
1059
uint finalRowWidthInBits = (uint)((sourceRect.X + sourceRect.Width) *
_format
.InternalBitsPerPixel);
1074
uint copyWidthInBits = (uint)(sourceRect.Width *
_format
.InternalBitsPerPixel);
1077
uint sourceXbyteOffset = (uint)((sourceRect.X *
_format
.InternalBitsPerPixel) / 8);
1078
uint sourceBufferBitOffset = (uint)((sourceRect.X *
_format
.InternalBitsPerPixel) % 8);
1080
uint destXbyteOffset = (uint)((destinationX *
_format
.InternalBitsPerPixel) / 8);
1081
uint destBufferBitOffset = (uint)((destinationX *
_format
.InternalBitsPerPixel) % 8);