6 instantiations of BitmapPalette
PresentationCore (6)
System\Windows\Media\Imaging\BitmapDecoder.cs (3)
528
_palette = new
BitmapPalette
(paletteHandle);
593
palette = new
BitmapPalette
(unmanagedPalette);
747
palette = new
BitmapPalette
(unmanagedPalette);
System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
595
palette = new
BitmapPalette
(unmanagedPalette);
System\Windows\Media\Imaging\BitmapPalette.cs (1)
180
palette = new
BitmapPalette
(unmanagedPalette);
System\Windows\Media\Imaging\BitmapPalettes.cs (1)
312
palette = new Imaging.
BitmapPalette
(type, hasAlpha);
72 references to BitmapPalette
PresentationCore (68)
System\Windows\Media\Imaging\BitmapDecoder.cs (7)
508
public virtual
BitmapPalette
Palette
517
SafeMILHandle /* IWICBitmapPalette */ paletteHandle =
BitmapPalette
.CreateInternalPalette();
584
SafeMILHandle unmanagedPalette =
BitmapPalette
.CreateInternalPalette();
585
BitmapPalette
palette = null;
738
SafeMILHandle unmanagedPalette =
BitmapPalette
.CreateInternalPalette();
739
BitmapPalette
palette = null;
1592
private
BitmapPalette
_palette = null;
System\Windows\Media\Imaging\BitmapEncoder.cs (2)
260
public virtual
BitmapPalette
Palette
822
private
BitmapPalette
_palette;
System\Windows\Media\Imaging\BitmapFrameDecode.cs (2)
586
SafeMILHandle unmanagedPalette =
BitmapPalette
.CreateInternalPalette();
587
BitmapPalette
palette = null;
System\Windows\Media\Imaging\BitmapPalette.cs (3)
146
internal static
BitmapPalette
CreateFromBitmapSource(BitmapSource source)
155
BitmapPalette
palette;
228
internal static bool DoesPaletteHaveAlpha(
BitmapPalette
palette)
System\Windows\Media\Imaging\BitmapPalettes.cs (33)
20
public static Imaging.
BitmapPalette
BlackAndWhite
31
public static Imaging.
BitmapPalette
BlackAndWhiteTransparent
42
public static Imaging.
BitmapPalette
Halftone8
53
public static Imaging.
BitmapPalette
Halftone8Transparent
64
public static Imaging.
BitmapPalette
Halftone27
75
public static Imaging.
BitmapPalette
Halftone27Transparent
87
public static Imaging.
BitmapPalette
Halftone64
98
public static Imaging.
BitmapPalette
Halftone64Transparent
109
public static Imaging.
BitmapPalette
Halftone125
120
public static Imaging.
BitmapPalette
Halftone125Transparent
131
public static Imaging.
BitmapPalette
Halftone216
142
public static Imaging.
BitmapPalette
Halftone216Transparent
153
public static Imaging.
BitmapPalette
Halftone252
164
public static Imaging.
BitmapPalette
Halftone252Transparent
175
public static Imaging.
BitmapPalette
Halftone256
186
public static Imaging.
BitmapPalette
Halftone256Transparent
197
public static Imaging.
BitmapPalette
Gray4
208
public static Imaging.
BitmapPalette
Gray4Transparent
219
public static Imaging.
BitmapPalette
Gray16
230
public static Imaging.
BitmapPalette
Gray16Transparent
241
public static Imaging.
BitmapPalette
Gray256
252
public static Imaging.
BitmapPalette
Gray256Transparent
263
public static Imaging.
BitmapPalette
WebPalette
274
public static Imaging.
BitmapPalette
WebPaletteTransparent
282
internal static Imaging.
BitmapPalette
FromMILPaletteType(WICPaletteType type, bool hasAlpha)
288
Imaging.
BitmapPalette
palette;
289
Imaging.
BitmapPalette
[] palettes;
321
private static Imaging.
BitmapPalette
[] transparentPalettes
327
s_transparentPalettes = new Imaging.
BitmapPalette
[c_maxPalettes];
334
private static Imaging.
BitmapPalette
[] opaquePalettes
340
s_opaquePalettes = new Imaging.
BitmapPalette
[c_maxPalettes];
347
private static Imaging.
BitmapPalette
[] s_transparentPalettes;
348
private static Imaging.
BitmapPalette
[] s_opaquePalettes;
System\Windows\Media\Imaging\BitmapSource.cs (9)
42
Imaging.
BitmapPalette
palette,
76
Imaging.
BitmapPalette
palette,
224
public virtual Imaging.
BitmapPalette
Palette
238
_palette = Imaging.
BitmapPalette
.CreateFromBitmapSource(this);
992
internal static PixelFormat GetClosestDUCEFormat(PixelFormat format,
BitmapPalette
palette)
1023
else if (format.HasAlpha ||
BitmapPalette
.DoesPaletteHaveAlpha(palette))
1039
BitmapPalette
palette
1554
internal
BitmapPalette
_palette = null;
1753
BitmapPalette
palette = bitmapSource.Palette;
System\Windows\Media\Imaging\CachedBitmap.cs (3)
46
BitmapPalette
palette,
107
BitmapPalette
palette,
337
BitmapPalette
palette,
System\Windows\Media\Imaging\FormatConvertedBitmap.cs (3)
31
public FormatConvertedBitmap(BitmapSource source, PixelFormat destinationFormat,
BitmapPalette
destinationPalette, double alphaThreshold)
214
_destinationPalette = e.NewValue as
BitmapPalette
;
319
private
BitmapPalette
_destinationPalette;
System\Windows\Media\Imaging\Generated\FormatConvertedBitmap.cs (4)
148
public
BitmapPalette
DestinationPalette
152
return (
BitmapPalette
) GetValue(DestinationPaletteProperty);
338
internal static
BitmapPalette
s_DestinationPalette = null;
385
typeof(
BitmapPalette
),
System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
71
public override
BitmapPalette
Palette
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
59
BitmapPalette
palette
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
127
case 34: t = () => typeof(
BitmapPalette
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2067
typeof(System.Windows.Media.Imaging.
BitmapPalette
),
System\Windows\Markup\KnownTypes.cs (1)
5581
case KnownElements.BitmapPalette: t = typeof(System.Windows.Media.Imaging.
BitmapPalette
); break;
ReachFramework (1)
AlphaFlattener\ImageProxy.cs (1)
326
BitmapPalette
palette = bitmap.Palette;