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