45 references to WICPaletteType
PresentationCore (45)
Core\CSharp\System\Windows\Media\Imaging\BitmapPalette.cs (15)
133
internal BitmapPalette(
WICPaletteType
paletteType,
138
case
WICPaletteType
.WICPaletteTypeFixedBW:
139
case
WICPaletteType
.WICPaletteTypeFixedHalftone8:
140
case
WICPaletteType
.WICPaletteTypeFixedHalftone27:
141
case
WICPaletteType
.WICPaletteTypeFixedHalftone64:
142
case
WICPaletteType
.WICPaletteTypeFixedHalftone125:
143
case
WICPaletteType
.WICPaletteTypeFixedHalftone216:
144
case
WICPaletteType
.WICPaletteTypeFixedHalftone252:
145
case
WICPaletteType
.WICPaletteTypeFixedHalftone256:
146
case
WICPaletteType
.WICPaletteTypeFixedGray4:
147
case
WICPaletteType
.WICPaletteTypeFixedGray16:
148
case
WICPaletteType
.WICPaletteTypeFixedGray256:
213
WICPaletteType
paletteType;
219
if (paletteType ==
WICPaletteType
.WICPaletteTypeCustom ||
220
paletteType ==
WICPaletteType
.WICPaletteTypeOptimal)
Core\CSharp\System\Windows\Media\Imaging\BitmapPalettes.cs (25)
35
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedBW, false);
46
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedBW, true);
57
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone8, false);
68
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone8, true);
79
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone27, false);
90
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone27, true);
102
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone64, false);
113
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone64, true);
124
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone125, false);
135
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone125, true);
146
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone216, false);
157
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone216, true);
168
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone252, false);
179
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone252, true);
190
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone256, false);
201
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone256, true);
212
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedGray4, false);
223
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedGray4, true);
234
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedGray16, false);
245
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedGray16, true);
256
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedGray256, false);
267
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedGray256, true);
278
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone216, false);
289
return BitmapPalettes.FromMILPaletteType(
WICPaletteType
.WICPaletteTypeFixedHalftone216, true);
293
static internal Imaging.BitmapPalette FromMILPaletteType(
WICPaletteType
type, bool hasAlpha)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
968
WICPaletteType
.WICPaletteTypeCustom));
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
154
WICPaletteType
.WICPaletteTypeOptimal
Core\CSharp\System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (3)
968
WICPaletteType
ePaletteType,
993
out
WICPaletteType
pePaletteType);
1351
WICPaletteType
paletteTranslate