11 references to InternalBitsPerPixel
PresentationCore (11)
System\Windows\Media\Imaging\BitmapSource.cs (2)
1031int bitsPerPixel = format.InternalBitsPerPixel; 1844int 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)
696return pixelWidth * pixelHeight * pixelFormat.InternalBitsPerPixel / 8 * 2; 856uint finalRowWidthInBits = (uint)((sourceRect.X + sourceRect.Width) * _format.InternalBitsPerPixel); 871uint copyWidthInBits = (uint)(sourceRect.Width * _format.InternalBitsPerPixel); 874uint sourceXbyteOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) / 8); 875uint sourceBufferBitOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) % 8); 877uint destXbyteOffset = (uint)((destinationX * _format.InternalBitsPerPixel) / 8); 878uint destBufferBitOffset = (uint)((destinationX * _format.InternalBitsPerPixel) % 8);
System\Windows\Media\PixelFormat.cs (1)
326return InternalBitsPerPixel;