11 references to InternalBitsPerPixel
PresentationCore (11)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (2)
1144
int bitsPerPixel = format.
InternalBitsPerPixel
;
1986
int rectRowSize = checked((rectWidth * pfStruct.
InternalBitsPerPixel
+ 7) / 8);
Core\CSharp\System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
152
long scanlineSize = (long)pixelWidth * pixelFormat.
InternalBitsPerPixel
/ 8;
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (7)
818
return pixelWidth * pixelHeight * pixelFormat.
InternalBitsPerPixel
/ 8 * 2;
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);
Core\CSharp\System\Windows\Media\PixelFormat.cs (1)
523
return
InternalBitsPerPixel
;