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