17 instantiations of ColorContext
PresentationCore (13)
System\Windows\Media\Color.cs (5)
40
c1.context = new
ColorContext
(profileUri);
423
c2.context = new
ColorContext
(PixelFormats.Bgra32);
542
c2.context = new
ColorContext
(PixelFormats.Bgra32);
1089
c2.context = new
ColorContext
(PixelFormats.Bgra32);
1109
ColorTransform colorTransform = new ColorTransform(this.context, new
ColorContext
(PixelFormats.Bgra32));
System\Windows\Media\ColorContext.cs (1)
383
colorContextsList.Add(new
ColorContext
(colorContextHandles[i]));
System\Windows\Media\ColorTransform.cs (4)
27
srcContext = new
ColorContext
(PixelFormats.Bgra32);
32
dstContext = new
ColorContext
(PixelFormats.Bgra32);
47
srcContext = new
ColorContext
(pixelFormat);
51
dstContext = new
ColorContext
(pixelFormat);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
640
ColorContext colorContext = new
ColorContext
(frame.Format);
System\Windows\Media\Imaging\BitmapImage.cs (1)
519
destinationColorContext= new
ColorContext
(duceFormat);
System\Windows\Media\Imaging\BitmapSource.cs (1)
1122
destinationColorContext = new
ColorContext
(destFmt);
PresentationFramework (3)
System\Windows\ColorConvertedBitmapExtension.cs (3)
102
ColorContext sourceContext = new
ColorContext
(sourceProfileUri);
104
new
ColorContext
(destinationProfileUri) :
105
new
ColorContext
(PixelFormats.Default);
ReachFramework (1)
Serialization\VisualSerializer.cs (1)
658
if (new
ColorContext
(PixelFormats.Default) != colorConvertedBitmap.DestinationColorContext)
76 references to ColorContext
PresentationCore (65)
System\Windows\Media\Color.cs (14)
789
public
ColorContext
ColorContext
826
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
850
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
874
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
928
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
953
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
978
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
1135
ColorContext
context;
System\Windows\Media\ColorContext.cs (11)
108
_colorProfileResources, Assembly.GetAssembly(typeof(
ColorContext
))
343
internal static IList<
ColorContext
> GetColorContextsHelper(GetColorContextsDelegate getColorContexts)
346
List<
ColorContext
> colorContextsList = null;
380
colorContextsList = new List<
ColorContext
>((int)numContexts);
406
ColorContext
context = obj as
ColorContext
;
426
public static bool operator==(
ColorContext
context1,
ColorContext
context2)
472
public static bool operator!=(
ColorContext
context1,
ColorContext
context2)
522
ResourceManager resourceManager = new ResourceManager(_colorProfileResources, Assembly.GetAssembly(typeof(
ColorContext
)));
System\Windows\Media\ColorTransform.cs (4)
21
internal ColorTransform(
ColorContext
srcContext,
ColorContext
dstContext)
41
internal ColorTransform(SafeMILHandle bitmapSource,
ColorContext
srcContext,
ColorContext
dstContext, System.Windows.Media.PixelFormat pixelFormat)
System\Windows\Media\Imaging\BitmapDecoder.cs (6)
549
public virtual ReadOnlyCollection<
ColorContext
> ColorContexts
952
internal ReadOnlyCollection<
ColorContext
> InternalColorContexts
962
IList<
ColorContext
> colorContextList =
ColorContext
.GetColorContextsHelper(GetColorContexts);
966
_readOnlycolorContexts = new ReadOnlyCollection<
ColorContext
>(colorContextList);
1609
internal ReadOnlyCollection<
ColorContext
> _readOnlycolorContexts;
System\Windows\Media\Imaging\BitmapEncoder.cs (4)
120
public virtual ReadOnlyCollection<
ColorContext
> ColorContexts
640
ColorContext
colorContext = new ColorContext(frame.Format);
659
IList<
ColorContext
> colorContexts = frame.ColorContexts;
813
private ReadOnlyCollection<
ColorContext
> _readOnlycolorContexts;
System\Windows\Media\Imaging\BitmapFrame.cs (3)
287
ReadOnlyCollection<
ColorContext
> colorContexts
321
public abstract ReadOnlyCollection<
ColorContext
> ColorContexts { get; }
359
internal ReadOnlyCollection<
ColorContext
> _readOnlycolorContexts;
System\Windows\Media\Imaging\BitmapFrameDecode.cs (4)
234
public override ReadOnlyCollection<
ColorContext
> ColorContexts
245
IList<
ColorContext
> colorContextList =
ColorContext
.GetColorContextsHelper(GetColorContexts);
249
_readOnlycolorContexts = new ReadOnlyCollection<
ColorContext
>(colorContextList);
System\Windows\Media\Imaging\BitmapFrameEncode.cs (2)
28
ReadOnlyCollection<
ColorContext
> colorContexts
119
public override ReadOnlyCollection<
ColorContext
> ColorContexts
System\Windows\Media\Imaging\BitmapImage.cs (1)
512
ColorContext
destinationColorContext;
System\Windows\Media\Imaging\BitmapSource.cs (1)
1115
ColorContext
destinationColorContext;
System\Windows\Media\Imaging\ColorConvertedBitmap.cs (6)
31
public ColorConvertedBitmap(BitmapSource source,
ColorContext
sourceColorContext,
ColorContext
destinationColorContext, PixelFormat format)
172
_sourceColorContext = e.NewValue as
ColorContext
;
183
_destinationColorContext = e.NewValue as
ColorContext
;
266
private
ColorContext
_sourceColorContext;
268
private
ColorContext
_destinationColorContext;
System\Windows\Media\Imaging\Generated\ColorConvertedBitmap.cs (8)
131
public
ColorContext
SourceColorContext
135
return (
ColorContext
) GetValue(SourceColorContextProperty);
146
public
ColorContext
DestinationColorContext
150
return (
ColorContext
) GetValue(DestinationColorContextProperty);
335
internal static
ColorContext
s_SourceColorContext = null;
336
internal static
ColorContext
s_DestinationColorContext = null;
374
typeof(
ColorContext
),
383
typeof(
ColorContext
),
System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
96
public override ReadOnlyCollection<
ColorContext
> ColorContexts
PresentationFramework (2)
System\Windows\ColorConvertedBitmapExtension.cs (2)
102
ColorContext
sourceContext = new ColorContext(sourceProfileUri);
103
ColorContext
destinationContext = destinationProfileUri != null ?
ReachFramework (9)
Serialization\ColorTypeConverter.cs (3)
274
ColorContext
colorContext
325
XpsResourceStream resourceStream = manager.AcquireResourceStream(typeof(
ColorContext
), colorContextMimeType.ToString());
343
manager.ReleaseResourceStream(typeof(
ColorContext
));
Serialization\Manager\XpsOMSerializationManager.cs (2)
424
else if (resourceType == typeof(
ColorContext
))
458
else if (resourceType == typeof(
ColorContext
))
Serialization\Manager\XpsSerializationManager.cs (4)
608
else if (resourceType == typeof(
ColorContext
))
645
else if (resourceType == typeof(
ColorContext
))
679
else if (resourceType == typeof(
ColorContext
))
712
else if (resourceType == typeof(
ColorContext
))