17 instantiations of ColorContext
PresentationCore (13)
System\Windows\Media\Color.cs (5)
48
c1.context = new
ColorContext
(profileUri);
431
c2.context = new
ColorContext
(PixelFormats.Bgra32);
550
c2.context = new
ColorContext
(PixelFormats.Bgra32);
1097
c2.context = new
ColorContext
(PixelFormats.Bgra32);
1117
ColorTransform colorTransform = new ColorTransform(this.context, new
ColorContext
(PixelFormats.Bgra32));
System\Windows\Media\ColorContext.cs (1)
397
colorContextsList.Add(new
ColorContext
(colorContextHandles[i]));
System\Windows\Media\ColorTransform.cs (4)
49
srcContext = new
ColorContext
(PixelFormats.Bgra32);
54
dstContext = new
ColorContext
(PixelFormats.Bgra32);
69
srcContext = new
ColorContext
(pixelFormat);
73
dstContext = new
ColorContext
(pixelFormat);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
656
ColorContext colorContext = new
ColorContext
(frame.Format);
System\Windows\Media\Imaging\BitmapImage.cs (1)
537
destinationColorContext= new
ColorContext
(duceFormat);
System\Windows\Media\Imaging\BitmapSource.cs (1)
1137
destinationColorContext = new
ColorContext
(destFmt);
PresentationFramework (3)
System\Windows\ColorConvertedBitmapExtension.cs (3)
109
ColorContext sourceContext = new
ColorContext
(sourceProfileUri);
111
new
ColorContext
(destinationProfileUri) :
112
new
ColorContext
(PixelFormats.Default);
ReachFramework (1)
Serialization\VisualSerializer.cs (1)
666
if (new
ColorContext
(PixelFormats.Default) != colorConvertedBitmap.DestinationColorContext)
76 references to ColorContext
PresentationCore (65)
System\Windows\Media\Color.cs (14)
797
public
ColorContext
ColorContext
834
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
858
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
882
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
936
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
961
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
986
if (context == null || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.Srgb) || (context.ColorSpaceFamily ==
ColorContext
.StandardColorSpace.ScRgb))
1143
ColorContext
context;
System\Windows\Media\ColorContext.cs (11)
122
_colorProfileResources, Assembly.GetAssembly(typeof(
ColorContext
))
357
internal static IList<
ColorContext
> GetColorContextsHelper(GetColorContextsDelegate getColorContexts)
360
List<
ColorContext
> colorContextsList = null;
394
colorContextsList = new List<
ColorContext
>((int)numContexts);
420
ColorContext
context = obj as
ColorContext
;
440
public static bool operator==(
ColorContext
context1,
ColorContext
context2)
486
public static bool operator!=(
ColorContext
context1,
ColorContext
context2)
536
ResourceManager resourceManager = new ResourceManager(_colorProfileResources, Assembly.GetAssembly(typeof(
ColorContext
)));
System\Windows\Media\ColorTransform.cs (4)
43
internal ColorTransform(
ColorContext
srcContext,
ColorContext
dstContext)
63
internal ColorTransform(SafeMILHandle bitmapSource,
ColorContext
srcContext,
ColorContext
dstContext, System.Windows.Media.PixelFormat pixelFormat)
System\Windows\Media\Imaging\BitmapDecoder.cs (6)
567
public virtual ReadOnlyCollection<
ColorContext
> ColorContexts
970
internal ReadOnlyCollection<
ColorContext
> InternalColorContexts
980
IList<
ColorContext
> colorContextList =
ColorContext
.GetColorContextsHelper(GetColorContexts);
984
_readOnlycolorContexts = new ReadOnlyCollection<
ColorContext
>(colorContextList);
1627
internal ReadOnlyCollection<
ColorContext
> _readOnlycolorContexts;
System\Windows\Media\Imaging\BitmapEncoder.cs (4)
136
public virtual ReadOnlyCollection<
ColorContext
> ColorContexts
656
ColorContext
colorContext = new ColorContext(frame.Format);
675
IList<
ColorContext
> colorContexts = frame.ColorContexts;
829
private ReadOnlyCollection<
ColorContext
> _readOnlycolorContexts;
System\Windows\Media\Imaging\BitmapFrame.cs (3)
308
ReadOnlyCollection<
ColorContext
> colorContexts
342
public abstract ReadOnlyCollection<
ColorContext
> ColorContexts { get; }
380
internal ReadOnlyCollection<
ColorContext
> _readOnlycolorContexts;
System\Windows\Media\Imaging\BitmapFrameDecode.cs (4)
249
public override ReadOnlyCollection<
ColorContext
> ColorContexts
260
IList<
ColorContext
> colorContextList =
ColorContext
.GetColorContextsHelper(GetColorContexts);
264
_readOnlycolorContexts = new ReadOnlyCollection<
ColorContext
>(colorContextList);
System\Windows\Media\Imaging\BitmapFrameEncode.cs (2)
43
ReadOnlyCollection<
ColorContext
> colorContexts
134
public override ReadOnlyCollection<
ColorContext
> ColorContexts
System\Windows\Media\Imaging\BitmapImage.cs (1)
530
ColorContext
destinationColorContext;
System\Windows\Media\Imaging\BitmapSource.cs (1)
1130
ColorContext
destinationColorContext;
System\Windows\Media\Imaging\ColorConvertedBitmap.cs (6)
50
public ColorConvertedBitmap(BitmapSource source,
ColorContext
sourceColorContext,
ColorContext
destinationColorContext, PixelFormat format)
191
_sourceColorContext = e.NewValue as
ColorContext
;
202
_destinationColorContext = e.NewValue as
ColorContext
;
285
private
ColorContext
_sourceColorContext;
287
private
ColorContext
_destinationColorContext;
System\Windows\Media\Imaging\Generated\ColorConvertedBitmap.cs (8)
150
public
ColorContext
SourceColorContext
154
return (
ColorContext
) GetValue(SourceColorContextProperty);
165
public
ColorContext
DestinationColorContext
169
return (
ColorContext
) GetValue(DestinationColorContextProperty);
354
internal static
ColorContext
s_SourceColorContext = null;
355
internal static
ColorContext
s_DestinationColorContext = null;
393
typeof(
ColorContext
),
402
typeof(
ColorContext
),
System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
116
public override ReadOnlyCollection<
ColorContext
> ColorContexts
PresentationFramework (2)
System\Windows\ColorConvertedBitmapExtension.cs (2)
109
ColorContext
sourceContext = new ColorContext(sourceProfileUri);
110
ColorContext
destinationContext = destinationProfileUri != null ?
ReachFramework (9)
Serialization\ColorTypeConverter.cs (3)
279
ColorContext
colorContext
330
XpsResourceStream resourceStream = manager.AcquireResourceStream(typeof(
ColorContext
), colorContextMimeType.ToString());
348
manager.ReleaseResourceStream(typeof(
ColorContext
));
Serialization\Manager\XpsOMSerializationManager.cs (2)
429
else if (resourceType == typeof(
ColorContext
))
463
else if (resourceType == typeof(
ColorContext
))
Serialization\Manager\XpsSerializationManager.cs (4)
618
else if (resourceType == typeof(
ColorContext
))
655
else if (resourceType == typeof(
ColorContext
))
689
else if (resourceType == typeof(
ColorContext
))
722
else if (resourceType == typeof(
ColorContext
))