76 references to PixelFormats
PresentationCore (61)
Core\CSharp\System\Windows\Media\Color.cs (4)
439c2.context = new ColorContext(PixelFormats.Bgra32); 558c2.context = new ColorContext(PixelFormats.Bgra32); 1105c2.context = new ColorContext(PixelFormats.Bgra32); 1129ColorTransform colorTransform = new ColorTransform(this.context, new ColorContext(PixelFormats.Bgra32));
Core\CSharp\System\Windows\Media\ColorTransform.cs (2)
58srcContext = new ColorContext(PixelFormats.Bgra32); 63dstContext = new ColorContext(PixelFormats.Bgra32);
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
151PixelFormats.Pbgra32,
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (23)
1097WicSourceHandle = Create(1, 1, 96, 96, PixelFormats.Pbgra32, null, pixels, 4).WicSourceHandle; 1148return PixelFormats.Indexed1; 1152return PixelFormats.Indexed2; 1156return PixelFormats.Indexed4; 1160return PixelFormats.Indexed8; 1164return PixelFormats.Bgr555; 1168return PixelFormats.Pbgra32; 1172return PixelFormats.Bgr32; 1202PixelFormat originalFmt = PixelFormats.Pbgra32; 1710internal PixelFormat _format = PixelFormats.Default; 1753PixelFormats.Indexed1, 1754PixelFormats.BlackWhite, 1755PixelFormats.Indexed2, 1756PixelFormats.Gray2, 1757PixelFormats.Indexed4, 1758PixelFormats.Gray4, 1759PixelFormats.Indexed8, 1760PixelFormats.Gray8, 1761PixelFormats.Bgr555, 1762PixelFormats.Bgr565, 1763PixelFormats.Bgr32, 1764PixelFormats.Bgra32, 1765PixelFormats.Pbgra32
Core\CSharp\System\Windows\Media\Imaging\Generated\ColorConvertedBitmap.cs (2)
361internal static PixelFormat s_DestinationFormat = PixelFormats.Pbgra32; 419PixelFormats.Pbgra32,
Core\CSharp\System\Windows\Media\Imaging\Generated\FormatConvertedBitmap.cs (2)
359internal static PixelFormat s_DestinationFormat = PixelFormats.Pbgra32; 401PixelFormats.Pbgra32,
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
62pixelFormat = PixelFormats.Pbgra32;
Core\CSharp\System\Windows\Media\PixelFormat.cs (26)
756return PixelFormats.Indexed1; 759return PixelFormats.Indexed2; 762return PixelFormats.Indexed4; 765return PixelFormats.Indexed8; 768return PixelFormats.BlackWhite; 771return PixelFormats.Gray2; 774return PixelFormats.Gray4; 777return PixelFormats.Gray8; 780return PixelFormats.Bgr555; 783return PixelFormats.Bgr565; 786return PixelFormats.Bgr101010; 789return PixelFormats.Bgr24; 792return PixelFormats.Rgb24; 795return PixelFormats.Bgr32; 798return PixelFormats.Bgra32; 801return PixelFormats.Pbgra32; 804return PixelFormats.Rgb48; 807return PixelFormats.Rgba64; 810return PixelFormats.Prgba64; 813return PixelFormats.Gray16; 816return PixelFormats.Gray32Float; 819return PixelFormats.Rgb128Float; 822return PixelFormats.Rgba128Float; 825return PixelFormats.Prgba128Float; 828return PixelFormats.Cmyk32; 831return PixelFormats.Default;
PresentationFramework (12)
src\Framework\MS\Internal\AppModel\IconHelper.cs (4)
188var bmp = new RenderTargetBitmap((int)renderSize.Width, (int)renderSize.Height, 96, 96, PixelFormats.Pbgra32); 209if (bitmapSource.Format != PixelFormats.Bgra32 && bitmapSource.Format != PixelFormats.Pbgra32) 211bitmapSource = new FormatConvertedBitmap(bitmapSource, PixelFormats.Bgra32, null, 0.0);
src\Framework\MS\Internal\Ink\PenCursorManager.cs (2)
313PixelFormats.Pbgra32); 337converter.DestinationFormat = PixelFormats.Bgra32;
src\Framework\System\Windows\ColorConvertedBitmapExtension.cs (3)
113new ColorContext(PixelFormats.Default); 122FormatConvertedBitmap formatConverted = new FormatConvertedBitmap(bitmap, PixelFormats.Bgra32, null, 0.0); 128ColorConvertedBitmap colorConverted = new ColorConvertedBitmap(formatConverted, sourceContext, destinationContext, PixelFormats.Bgra32);
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
980RenderTargetBitmap renderTargetBitmap = new RenderTargetBitmap((int)pageVisualRect.Width, (int)pageVisualRect.Height, 96.0, 96.0, PixelFormats.Pbgra32);
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
301RenderTargetBitmap data = new RenderTargetBitmap((int)(scale * _selectionRect.Width), (int)(scale * _selectionRect.Height),dpi,dpi, PixelFormats.Pbgra32);
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
44496.0, 96.0, PixelFormats.Default);
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
263var renderTargetBitmap = new RenderTargetBitmap(pixelWidth, pixelHeight, dpiX, dpiY, PixelFormats.Pbgra32);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1180RenderTargetBitmap renderBitmap = new RenderTargetBitmap(imageWidth, imageHeight, DPI, DPI, PixelFormats.Pbgra32);
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
200PixelFormat format = PixelFormats.Bgra32;