6 instantiations of BitmapPalette
PresentationCore (6)
System\Windows\Media\Imaging\BitmapDecoder.cs (3)
529
_palette = new
BitmapPalette
(paletteHandle);
594
palette = new
BitmapPalette
(unmanagedPalette);
748
palette = new
BitmapPalette
(unmanagedPalette);
System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
596
palette = new
BitmapPalette
(unmanagedPalette);
System\Windows\Media\Imaging\BitmapPalette.cs (1)
180
palette = new
BitmapPalette
(unmanagedPalette);
System\Windows\Media\Imaging\BitmapPalettes.cs (1)
313
palette = new Imaging.
BitmapPalette
(type, hasAlpha);
72 references to BitmapPalette
PresentationCore (68)
System\Windows\Media\Imaging\BitmapDecoder.cs (7)
509
public virtual
BitmapPalette
Palette
518
SafeMILHandle /* IWICBitmapPalette */ paletteHandle =
BitmapPalette
.CreateInternalPalette();
585
SafeMILHandle unmanagedPalette =
BitmapPalette
.CreateInternalPalette();
586
BitmapPalette
palette = null;
739
SafeMILHandle unmanagedPalette =
BitmapPalette
.CreateInternalPalette();
740
BitmapPalette
palette = null;
1593
private
BitmapPalette
_palette = null;
System\Windows\Media\Imaging\BitmapEncoder.cs (2)
261
public virtual
BitmapPalette
Palette
823
private
BitmapPalette
_palette;
System\Windows\Media\Imaging\BitmapFrameDecode.cs (2)
587
SafeMILHandle unmanagedPalette =
BitmapPalette
.CreateInternalPalette();
588
BitmapPalette
palette = null;
System\Windows\Media\Imaging\BitmapPalette.cs (3)
146
static internal
BitmapPalette
CreateFromBitmapSource(BitmapSource source)
155
BitmapPalette
palette;
228
internal static bool DoesPaletteHaveAlpha(
BitmapPalette
palette)
System\Windows\Media\Imaging\BitmapPalettes.cs (33)
21
static public Imaging.
BitmapPalette
BlackAndWhite
32
static public Imaging.
BitmapPalette
BlackAndWhiteTransparent
43
static public Imaging.
BitmapPalette
Halftone8
54
static public Imaging.
BitmapPalette
Halftone8Transparent
65
static public Imaging.
BitmapPalette
Halftone27
76
static public Imaging.
BitmapPalette
Halftone27Transparent
88
static public Imaging.
BitmapPalette
Halftone64
99
static public Imaging.
BitmapPalette
Halftone64Transparent
110
static public Imaging.
BitmapPalette
Halftone125
121
static public Imaging.
BitmapPalette
Halftone125Transparent
132
static public Imaging.
BitmapPalette
Halftone216
143
static public Imaging.
BitmapPalette
Halftone216Transparent
154
static public Imaging.
BitmapPalette
Halftone252
165
static public Imaging.
BitmapPalette
Halftone252Transparent
176
static public Imaging.
BitmapPalette
Halftone256
187
static public Imaging.
BitmapPalette
Halftone256Transparent
198
static public Imaging.
BitmapPalette
Gray4
209
static public Imaging.
BitmapPalette
Gray4Transparent
220
static public Imaging.
BitmapPalette
Gray16
231
static public Imaging.
BitmapPalette
Gray16Transparent
242
static public Imaging.
BitmapPalette
Gray256
253
static public Imaging.
BitmapPalette
Gray256Transparent
264
static public Imaging.
BitmapPalette
WebPalette
275
static public Imaging.
BitmapPalette
WebPaletteTransparent
283
static internal Imaging.
BitmapPalette
FromMILPaletteType(WICPaletteType type, bool hasAlpha)
289
Imaging.
BitmapPalette
palette;
290
Imaging.
BitmapPalette
[] palettes;
322
static private Imaging.
BitmapPalette
[] transparentPalettes
328
s_transparentPalettes = new Imaging.
BitmapPalette
[c_maxPalettes];
335
static private Imaging.
BitmapPalette
[] opaquePalettes
341
s_opaquePalettes = new Imaging.
BitmapPalette
[c_maxPalettes];
348
static private Imaging.
BitmapPalette
[] s_transparentPalettes;
349
static private 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);
1022
internal static PixelFormat GetClosestDUCEFormat(PixelFormat format,
BitmapPalette
palette)
1053
else if (format.HasAlpha ||
BitmapPalette
.DoesPaletteHaveAlpha(palette))
1069
BitmapPalette
palette
1584
internal
BitmapPalette
_palette = null;
1783
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)
32
public FormatConvertedBitmap(BitmapSource source, PixelFormat destinationFormat,
BitmapPalette
destinationPalette, double alphaThreshold)
215
_destinationPalette = e.NewValue as
BitmapPalette
;
320
private
BitmapPalette
_destinationPalette;
System\Windows\Media\Imaging\Generated\FormatConvertedBitmap.cs (4)
146
public
BitmapPalette
DestinationPalette
150
return (
BitmapPalette
) GetValue(DestinationPaletteProperty);
336
internal static
BitmapPalette
s_DestinationPalette = null;
384
typeof(
BitmapPalette
),
System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
72
public override
BitmapPalette
Palette
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
60
BitmapPalette
palette
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
128
case 34: t = () => typeof(
BitmapPalette
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2068
typeof(System.Windows.Media.Imaging.
BitmapPalette
),
System\Windows\Markup\KnownTypes.cs (1)
5582
case KnownElements.BitmapPalette: t = typeof(System.Windows.Media.Imaging.
BitmapPalette
); break;
ReachFramework (1)
AlphaFlattener\ImageProxy.cs (1)
327
BitmapPalette
palette = bitmap.Palette;