12 references to BitsPerPixel
PresentationCore (3)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (2)
812int minStride = checked(((sourceRect.Width * Format.BitsPerPixel) + 7) / 8); 906int bufferSize = (format.BitsPerPixel + 7) / 8;
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
221else if ((1 << DestinationFormat.BitsPerPixel) < DestinationPalette.Colors.Count)
PresentationFramework (8)
src\Framework\MS\Internal\AppModel\IconHelper.cs (3)
217int bpp = bitmapSource.Format.BitsPerPixel; 498int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel;
src\Framework\System\Windows\Documents\WpfPayload.cs (3)
676if (imageSource1.Format.BitsPerPixel != imageSource2.Format.BitsPerPixel || 686int stride = ((imageSource1.PixelWidth * imageSource1.Format.BitsPerPixel) + 7) / 8;
src\Framework\System\Windows\Standard\Utilities.cs (2)
156int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
203int stride = ((width * format.BitsPerPixel) + 7) / 8;