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