11 references to InternalBitsPerPixel
PresentationCore (11)
System\Windows\Media\Imaging\BitmapSource.cs (2)
1032int bitsPerPixel = format.InternalBitsPerPixel; 1845int rectRowSize = checked((rectWidth * pfStruct.InternalBitsPerPixel + 7) / 8);
System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
118long scanlineSize = (long)pixelWidth * pixelFormat.InternalBitsPerPixel / 8;
System\Windows\Media\Imaging\WriteableBitmap.cs (7)
707return pixelWidth * pixelHeight * pixelFormat.InternalBitsPerPixel / 8 * 2; 867uint finalRowWidthInBits = (uint)((sourceRect.X + sourceRect.Width) * _format.InternalBitsPerPixel); 882uint copyWidthInBits = (uint)(sourceRect.Width * _format.InternalBitsPerPixel); 885uint sourceXbyteOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) / 8); 886uint sourceBufferBitOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) % 8); 888uint destXbyteOffset = (uint)((destinationX * _format.InternalBitsPerPixel) / 8); 889uint destBufferBitOffset = (uint)((destinationX * _format.InternalBitsPerPixel) % 8);
System\Windows\Media\PixelFormat.cs (1)
489return InternalBitsPerPixel;