11 references to InternalBitsPerPixel
PresentationCore (11)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (2)
1144int bitsPerPixel = format.InternalBitsPerPixel; 1986int rectRowSize = checked((rectWidth * pfStruct.InternalBitsPerPixel + 7) / 8);
Core\CSharp\System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
152long scanlineSize = (long)pixelWidth * pixelFormat.InternalBitsPerPixel / 8;
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (7)
818return pixelWidth * pixelHeight * pixelFormat.InternalBitsPerPixel / 8 * 2; 1059uint finalRowWidthInBits = (uint)((sourceRect.X + sourceRect.Width) * _format.InternalBitsPerPixel); 1074uint copyWidthInBits = (uint)(sourceRect.Width * _format.InternalBitsPerPixel); 1077uint sourceXbyteOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) / 8); 1078uint sourceBufferBitOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) % 8); 1080uint destXbyteOffset = (uint)((destinationX * _format.InternalBitsPerPixel) / 8); 1081uint destBufferBitOffset = (uint)((destinationX * _format.InternalBitsPerPixel) % 8);
Core\CSharp\System\Windows\Media\PixelFormat.cs (1)
523return InternalBitsPerPixel;