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