32 instantiations of PixelFormat
PresentationCore (30)
Core\CSharp\System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
150
PixelFormat pixelFormat = new
PixelFormat
(guidFormat);
Core\CSharp\System\Windows\Media\PixelFormat.cs (1)
732
return new
PixelFormat
(guidPixelFormat);
Core\CSharp\System\Windows\Media\PixelFormatConverter.cs (2)
79
return new
PixelFormat
(value);
92
return new
PixelFormat
(o as string);
Core\CSharp\System\Windows\Media\PixelFormats.cs (26)
36
return new
PixelFormat
(PixelFormatEnum.Default);
47
return new
PixelFormat
(PixelFormatEnum.Indexed1);
58
return new
PixelFormat
(PixelFormatEnum.Indexed2);
69
return new
PixelFormat
(PixelFormatEnum.Indexed4);
80
return new
PixelFormat
(PixelFormatEnum.Indexed8);
91
return new
PixelFormat
(PixelFormatEnum.BlackWhite);
102
return new
PixelFormat
(PixelFormatEnum.Gray2);
113
return new
PixelFormat
(PixelFormatEnum.Gray4);
124
return new
PixelFormat
(PixelFormatEnum.Gray8);
135
return new
PixelFormat
(PixelFormatEnum.Bgr555);
146
return new
PixelFormat
(PixelFormatEnum.Bgr565);
157
return new
PixelFormat
(PixelFormatEnum.Rgb128Float);
168
return new
PixelFormat
(PixelFormatEnum.Bgr24);
179
return new
PixelFormat
(PixelFormatEnum.Rgb24);
190
return new
PixelFormat
(PixelFormatEnum.Bgr101010);
201
return new
PixelFormat
(PixelFormatEnum.Bgr32);
212
return new
PixelFormat
(PixelFormatEnum.Bgra32);
223
return new
PixelFormat
(PixelFormatEnum.Pbgra32);
234
return new
PixelFormat
(PixelFormatEnum.Rgb48);
245
return new
PixelFormat
(PixelFormatEnum.Rgba64);
256
return new
PixelFormat
(PixelFormatEnum.Prgba64);
267
return new
PixelFormat
(PixelFormatEnum.Gray16);
278
return new
PixelFormat
(PixelFormatEnum.Gray32Float);
289
return new
PixelFormat
(PixelFormatEnum.Rgba128Float);
300
return new
PixelFormat
(PixelFormatEnum.Prgba128Float);
311
return new
PixelFormat
(PixelFormatEnum.Cmyk32);
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7471
bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.
PixelFormat
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1450
case KnownElements.PixelFormat: o = new System.Windows.Media.
PixelFormat
(); break;
94 references to PixelFormat
PresentationCore (90)
Core\CSharp\System\Windows\Interop\Imaging.cs (1)
130
Media.
PixelFormat
format,
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
202
public ColorContext(
PixelFormat
pixelFormat)
Core\CSharp\System\Windows\Media\ColorTransform.cs (1)
80
internal ColorTransform(SafeMILHandle bitmapSource, ColorContext srcContext, ColorContext dstContext, System.Windows.Media.
PixelFormat
pixelFormat)
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (1)
540
PixelFormat
duceFormat = BitmapSource.GetClosestDUCEFormat(source.Format, source.Palette);
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (16)
60
PixelFormat
pixelFormat,
99
PixelFormat
pixelFormat,
177
public virtual System.Windows.Media.
PixelFormat
Format
679
_format =
PixelFormat
.GetPixelFormat(_wicSource);
905
PixelFormat
format = Format;
1135
internal static
PixelFormat
GetClosestDUCEFormat(
PixelFormat
format, BitmapPalette palette)
1202
PixelFormat
originalFmt = PixelFormats.Pbgra32;
1210
originalFmt =
PixelFormat
.GetPixelFormat(wicSource);
1211
PixelFormat
destFmt = originalFmt;
1228
PixelFormat
.GetPixelFormat(wicSource).Format != PixelFormatEnum.Extended
1710
internal
PixelFormat
_format = PixelFormats.Default;
1742
internal static bool IsCompatibleFormat(
PixelFormat
format)
1750
private readonly static
PixelFormat
[] s_supportedDUCEFormats =
1751
new
PixelFormat
[13]
1977
PixelFormat
pfStruct = bitmapSource.Format;
Core\CSharp\System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
150
PixelFormat
pixelFormat = new PixelFormat(guidFormat);
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (3)
76
PixelFormat
pixelFormat,
149
PixelFormat
pixelFormat,
474
PixelFormat
pixelFormat,
Core\CSharp\System\Windows\Media\Imaging\ColorConvertedBitmap.cs (3)
53
public ColorConvertedBitmap(BitmapSource source, ColorContext sourceColorContext, ColorContext destinationColorContext,
PixelFormat
format)
235
_destinationFormat = (
PixelFormat
)e.NewValue;
311
private
PixelFormat
_destinationFormat;
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (4)
54
public FormatConvertedBitmap(BitmapSource source,
PixelFormat
destinationFormat, BitmapPalette destinationPalette, double alphaThreshold)
241
_destinationFormat = (
PixelFormat
)e.NewValue;
301
if (((
PixelFormat
)value).Format == PixelFormatEnum.Default)
355
private
PixelFormat
_destinationFormat;
Core\CSharp\System\Windows\Media\Imaging\Generated\ColorConvertedBitmap.cs (4)
185
public
PixelFormat
DestinationFormat
189
return (
PixelFormat
) GetValue(DestinationFormatProperty);
361
internal static
PixelFormat
s_DestinationFormat = PixelFormats.Pbgra32;
417
typeof(
PixelFormat
),
Core\CSharp\System\Windows\Media\Imaging\Generated\FormatConvertedBitmap.cs (4)
155
public
PixelFormat
DestinationFormat
159
return (
PixelFormat
) GetValue(DestinationFormatProperty);
359
internal static
PixelFormat
s_DestinationFormat = PixelFormats.Pbgra32;
399
typeof(
PixelFormat
),
Core\CSharp\System\Windows\Media\Imaging\InteropBitmapSource.cs (1)
146
PixelFormat
format,
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
57
PixelFormat
pixelFormat
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (2)
88
PixelFormat
pixelFormat,
814
private long GetEstimatedSize(int pixelWidth, int pixelHeight,
PixelFormat
pixelFormat)
Core\CSharp\System\Windows\Media\PixelFormat.cs (15)
162
public struct PixelFormat : IEquatable<
PixelFormat
>
221
_guidFormat = new SecurityCriticalDataForSet<Guid> (
PixelFormat
.GetGuidFromFormat(format));
365
_guidFormat = new SecurityCriticalDataForSet<Guid> (
PixelFormat
.GetGuidFromFormat(format));
465
public static bool operator == (
PixelFormat
left,
PixelFormat
right)
473
public static bool operator != (
PixelFormat
left,
PixelFormat
right)
481
public static bool Equals(
PixelFormat
left,
PixelFormat
right)
489
public bool Equals(
PixelFormat
pixelFormat)
500
!(obj is
PixelFormat
))
505
return this == (
PixelFormat
)obj;
724
internal static
PixelFormat
GetPixelFormat (
740
internal static
PixelFormat
GetPixelFormat(Guid pixelFormatGuid)
751
internal static
PixelFormat
GetPixelFormat(PixelFormatEnum pixelFormatEnum)
Core\CSharp\System\Windows\Media\PixelFormatConverter.cs (6)
120
if (!(value is
PixelFormat
))
127
ConstructorInfo ci = typeof(
PixelFormat
).GetConstructor(new Type[]{typeof(string)});
128
PixelFormat
p = (
PixelFormat
)value;
133
PixelFormat
p = (
PixelFormat
)value;
Core\CSharp\System\Windows\Media\PixelFormats.cs (26)
32
public static
PixelFormat
Default
43
public static
PixelFormat
Indexed1
54
public static
PixelFormat
Indexed2
65
public static
PixelFormat
Indexed4
76
public static
PixelFormat
Indexed8
87
public static
PixelFormat
BlackWhite
98
public static
PixelFormat
Gray2
109
public static
PixelFormat
Gray4
120
public static
PixelFormat
Gray8
131
public static
PixelFormat
Bgr555
142
public static
PixelFormat
Bgr565
153
public static
PixelFormat
Rgb128Float
164
public static
PixelFormat
Bgr24
175
public static
PixelFormat
Rgb24
186
public static
PixelFormat
Bgr101010
197
public static
PixelFormat
Bgr32
208
public static
PixelFormat
Bgra32
219
public static
PixelFormat
Pbgra32
230
public static
PixelFormat
Rgb48
241
public static
PixelFormat
Rgba64
252
public static
PixelFormat
Prgba64
263
public static
PixelFormat
Gray16
274
public static
PixelFormat
Gray32Float
285
public static
PixelFormat
Rgba128Float
296
public static
PixelFormat
Prgba128Float
307
public static
PixelFormat
Cmyk32
PresentationFramework (3)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
544
case 452: t = () => typeof(
PixelFormat
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7469
typeof(System.Windows.Media.
PixelFormat
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5996
case KnownElements.PixelFormat: t = typeof(System.Windows.Media.
PixelFormat
); break;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
200
PixelFormat
format = PixelFormats.Bgra32;