15 references to BitsPerPixel
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
NavigateTo\AbstractNavigateToTests.cs (1)
217
var stride = PixelFormats.Bgr32.
BitsPerPixel
/ 8 * 16;
PresentationCore (3)
System\Windows\Media\Imaging\BitmapSource.cs (2)
727
int minStride = checked(((sourceRect.Width * Format.
BitsPerPixel
) + 7) / 8);
804
int bufferSize = (format.
BitsPerPixel
+ 7) / 8;
System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
187
else if ((1 << DestinationFormat.
BitsPerPixel
) < DestinationPalette.Colors.Count)
PresentationFramework (8)
MS\Internal\AppModel\IconHelper.cs (3)
178
int bpp = bitmapSource.Format.
BitsPerPixel
;
455
int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.
BitsPerPixel
: frames[i].Format.
BitsPerPixel
;
System\Windows\Documents\WpfPayload.cs (3)
634
if (imageSource1.Format.
BitsPerPixel
!= imageSource2.Format.
BitsPerPixel
||
644
int stride = ((imageSource1.PixelWidth * imageSource1.Format.
BitsPerPixel
) + 7) / 8;
System\Windows\Standard\Utilities.cs (2)
144
int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.
BitsPerPixel
: frames[i].Format.
BitsPerPixel
;
ReachFramework (1)
Serialization\ImageSourceTypeConverter.cs (1)
388
int stride = (width * bitmapSource.Format.
BitsPerPixel
+ 7) / 8;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (2)
112
int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.
BitsPerPixel
: frames[i].Format.
BitsPerPixel
;