32 instantiations of PixelFormat
PresentationCore (30)
System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
116
PixelFormat pixelFormat = new
PixelFormat
(guidFormat);
System\Windows\Media\PixelFormat.cs (1)
677
return new
PixelFormat
(guidPixelFormat);
System\Windows\Media\PixelFormatConverter.cs (2)
63
return new
PixelFormat
(value);
76
return new
PixelFormat
(o as string);
System\Windows\Media\PixelFormats.cs (26)
26
return new
PixelFormat
(PixelFormatEnum.Default);
37
return new
PixelFormat
(PixelFormatEnum.Indexed1);
48
return new
PixelFormat
(PixelFormatEnum.Indexed2);
59
return new
PixelFormat
(PixelFormatEnum.Indexed4);
70
return new
PixelFormat
(PixelFormatEnum.Indexed8);
81
return new
PixelFormat
(PixelFormatEnum.BlackWhite);
92
return new
PixelFormat
(PixelFormatEnum.Gray2);
103
return new
PixelFormat
(PixelFormatEnum.Gray4);
114
return new
PixelFormat
(PixelFormatEnum.Gray8);
125
return new
PixelFormat
(PixelFormatEnum.Bgr555);
136
return new
PixelFormat
(PixelFormatEnum.Bgr565);
147
return new
PixelFormat
(PixelFormatEnum.Rgb128Float);
158
return new
PixelFormat
(PixelFormatEnum.Bgr24);
169
return new
PixelFormat
(PixelFormatEnum.Rgb24);
180
return new
PixelFormat
(PixelFormatEnum.Bgr101010);
191
return new
PixelFormat
(PixelFormatEnum.Bgr32);
202
return new
PixelFormat
(PixelFormatEnum.Bgra32);
213
return new
PixelFormat
(PixelFormatEnum.Pbgra32);
224
return new
PixelFormat
(PixelFormatEnum.Rgb48);
235
return new
PixelFormat
(PixelFormatEnum.Rgba64);
246
return new
PixelFormat
(PixelFormatEnum.Prgba64);
257
return new
PixelFormat
(PixelFormatEnum.Gray16);
268
return new
PixelFormat
(PixelFormatEnum.Gray32Float);
279
return new
PixelFormat
(PixelFormatEnum.Rgba128Float);
290
return new
PixelFormat
(PixelFormatEnum.Prgba128Float);
301
return new
PixelFormat
(PixelFormatEnum.Cmyk32);
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7473
bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.
PixelFormat
(); };
System\Windows\Markup\KnownTypes.cs (1)
1449
case KnownElements.PixelFormat: o = new System.Windows.Media.
PixelFormat
(); break;
93 references to PixelFormat
PresentationCore (90)
System\Windows\InterOp\Imaging.cs (1)
100
Media.
PixelFormat
format,
System\Windows\Media\ColorContext.cs (1)
167
public ColorContext(
PixelFormat
pixelFormat)
System\Windows\Media\ColorTransform.cs (1)
41
internal ColorTransform(SafeMILHandle bitmapSource, ColorContext srcContext, ColorContext dstContext, System.Windows.Media.
PixelFormat
pixelFormat)
System\Windows\Media\Imaging\BitmapImage.cs (1)
510
PixelFormat
duceFormat = BitmapSource.GetClosestDUCEFormat(source.Format, source.Palette);
System\Windows\Media\Imaging\BitmapSource.cs (16)
41
PixelFormat
pixelFormat,
75
PixelFormat
pixelFormat,
142
public virtual System.Windows.Media.
PixelFormat
Format
610
_format =
PixelFormat
.GetPixelFormat(_wicSource);
803
PixelFormat
format = Format;
1023
internal static
PixelFormat
GetClosestDUCEFormat(
PixelFormat
format, BitmapPalette palette)
1086
PixelFormat
originalFmt = PixelFormats.Pbgra32;
1094
originalFmt =
PixelFormat
.GetPixelFormat(wicSource);
1095
PixelFormat
destFmt = originalFmt;
1112
PixelFormat
.GetPixelFormat(wicSource).Format != PixelFormatEnum.Extended
1580
internal
PixelFormat
_format = PixelFormats.Default;
1612
internal static bool IsCompatibleFormat(
PixelFormat
format)
1620
private readonly static
PixelFormat
[] s_supportedDUCEFormats =
1621
new
PixelFormat
[13]
1836
PixelFormat
pfStruct = bitmapSource.Format;
System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
116
PixelFormat
pixelFormat = new PixelFormat(guidFormat);
System\Windows\Media\Imaging\CachedBitmap.cs (3)
45
PixelFormat
pixelFormat,
106
PixelFormat
pixelFormat,
383
PixelFormat
pixelFormat,
System\Windows\Media\Imaging\ColorConvertedBitmap.cs (3)
31
public ColorConvertedBitmap(BitmapSource source, ColorContext sourceColorContext, ColorContext destinationColorContext,
PixelFormat
format)
194
_destinationFormat = (
PixelFormat
)e.NewValue;
270
private
PixelFormat
_destinationFormat;
System\Windows\Media\Imaging\FormatConvertedBitmap.cs (4)
32
public FormatConvertedBitmap(BitmapSource source,
PixelFormat
destinationFormat, BitmapPalette destinationPalette, double alphaThreshold)
207
_destinationFormat = (
PixelFormat
)e.NewValue;
267
if (((
PixelFormat
)value).Format == PixelFormatEnum.Default)
321
private
PixelFormat
_destinationFormat;
System\Windows\Media\Imaging\Generated\ColorConvertedBitmap.cs (4)
161
public
PixelFormat
DestinationFormat
165
return (
PixelFormat
) GetValue(DestinationFormatProperty);
337
internal static
PixelFormat
s_DestinationFormat = PixelFormats.Pbgra32;
392
typeof(
PixelFormat
),
System\Windows\Media\Imaging\Generated\FormatConvertedBitmap.cs (4)
131
public
PixelFormat
DestinationFormat
135
return (
PixelFormat
) GetValue(DestinationFormatProperty);
335
internal static
PixelFormat
s_DestinationFormat = PixelFormats.Pbgra32;
375
typeof(
PixelFormat
),
System\Windows\Media\Imaging\InteropBitmapSource.cs (1)
108
PixelFormat
format,
System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
30
PixelFormat
pixelFormat
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
59
PixelFormat
pixelFormat,
703
private long GetEstimatedSize(int pixelWidth, int pixelHeight,
PixelFormat
pixelFormat)
System\Windows\Media\PixelFormat.cs (15)
146
public struct PixelFormat : IEquatable<
PixelFormat
>
195
_guidFormat =
PixelFormat
.GetGuidFromFormat(format);
331
_guidFormat =
PixelFormat
.GetGuidFromFormat(format);
431
public static bool operator == (
PixelFormat
left,
PixelFormat
right)
439
public static bool operator != (
PixelFormat
left,
PixelFormat
right)
447
public static bool Equals(
PixelFormat
left,
PixelFormat
right)
455
public bool Equals(
PixelFormat
pixelFormat)
466
!(obj is
PixelFormat
))
471
return this == (
PixelFormat
)obj;
669
internal static
PixelFormat
GetPixelFormat (
685
internal static
PixelFormat
GetPixelFormat(Guid pixelFormatGuid)
696
internal static
PixelFormat
GetPixelFormat(PixelFormatEnum pixelFormatEnum)
System\Windows\Media\PixelFormatConverter.cs (6)
93
if (!(value is
PixelFormat
))
100
ConstructorInfo ci = typeof(
PixelFormat
).GetConstructor(new Type[]{typeof(string)});
101
PixelFormat
p = (
PixelFormat
)value;
106
PixelFormat
p = (
PixelFormat
)value;
System\Windows\Media\PixelFormats.cs (26)
22
public static
PixelFormat
Default
33
public static
PixelFormat
Indexed1
44
public static
PixelFormat
Indexed2
55
public static
PixelFormat
Indexed4
66
public static
PixelFormat
Indexed8
77
public static
PixelFormat
BlackWhite
88
public static
PixelFormat
Gray2
99
public static
PixelFormat
Gray4
110
public static
PixelFormat
Gray8
121
public static
PixelFormat
Bgr555
132
public static
PixelFormat
Bgr565
143
public static
PixelFormat
Rgb128Float
154
public static
PixelFormat
Bgr24
165
public static
PixelFormat
Rgb24
176
public static
PixelFormat
Bgr101010
187
public static
PixelFormat
Bgr32
198
public static
PixelFormat
Bgra32
209
public static
PixelFormat
Pbgra32
220
public static
PixelFormat
Rgb48
231
public static
PixelFormat
Rgba64
242
public static
PixelFormat
Prgba64
253
public static
PixelFormat
Gray16
264
public static
PixelFormat
Gray32Float
275
public static
PixelFormat
Rgba128Float
286
public static
PixelFormat
Prgba128Float
297
public static
PixelFormat
Cmyk32
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
546
case 452: t = () => typeof(
PixelFormat
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7471
typeof(System.Windows.Media.
PixelFormat
),
System\Windows\Markup\KnownTypes.cs (1)
6006
case KnownElements.PixelFormat: t = typeof(System.Windows.Media.
PixelFormat
); break;