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