32 instantiations of PixelFormat
PresentationCore (30)
Core\CSharp\System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
150PixelFormat pixelFormat = new PixelFormat(guidFormat);
Core\CSharp\System\Windows\Media\PixelFormat.cs (1)
732return new PixelFormat(guidPixelFormat);
Core\CSharp\System\Windows\Media\PixelFormatConverter.cs (2)
79return new PixelFormat (value); 92return new PixelFormat(o as string);
Core\CSharp\System\Windows\Media\PixelFormats.cs (26)
36return new PixelFormat(PixelFormatEnum.Default); 47return new PixelFormat(PixelFormatEnum.Indexed1); 58return new PixelFormat(PixelFormatEnum.Indexed2); 69return new PixelFormat(PixelFormatEnum.Indexed4); 80return new PixelFormat(PixelFormatEnum.Indexed8); 91return new PixelFormat(PixelFormatEnum.BlackWhite); 102return new PixelFormat(PixelFormatEnum.Gray2); 113return new PixelFormat(PixelFormatEnum.Gray4); 124return new PixelFormat(PixelFormatEnum.Gray8); 135return new PixelFormat(PixelFormatEnum.Bgr555); 146return new PixelFormat(PixelFormatEnum.Bgr565); 157return new PixelFormat(PixelFormatEnum.Rgb128Float); 168return new PixelFormat(PixelFormatEnum.Bgr24); 179return new PixelFormat(PixelFormatEnum.Rgb24); 190return new PixelFormat(PixelFormatEnum.Bgr101010); 201return new PixelFormat(PixelFormatEnum.Bgr32); 212return new PixelFormat(PixelFormatEnum.Bgra32); 223return new PixelFormat(PixelFormatEnum.Pbgra32); 234return new PixelFormat(PixelFormatEnum.Rgb48); 245return new PixelFormat(PixelFormatEnum.Rgba64); 256return new PixelFormat(PixelFormatEnum.Prgba64); 267return new PixelFormat(PixelFormatEnum.Gray16); 278return new PixelFormat(PixelFormatEnum.Gray32Float); 289return new PixelFormat(PixelFormatEnum.Rgba128Float); 300return new PixelFormat(PixelFormatEnum.Prgba128Float); 311return new PixelFormat(PixelFormatEnum.Cmyk32);
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7471bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.PixelFormat(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1450case KnownElements.PixelFormat: o = new System.Windows.Media.PixelFormat(); break;
94 references to PixelFormat
PresentationCore (90)
Core\CSharp\System\Windows\Interop\Imaging.cs (1)
130Media.PixelFormat format,
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
202public ColorContext(PixelFormat pixelFormat)
Core\CSharp\System\Windows\Media\ColorTransform.cs (1)
80internal ColorTransform(SafeMILHandle bitmapSource, ColorContext srcContext, ColorContext dstContext, System.Windows.Media.PixelFormat pixelFormat)
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (1)
540PixelFormat duceFormat = BitmapSource.GetClosestDUCEFormat(source.Format, source.Palette);
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (16)
60PixelFormat pixelFormat, 99PixelFormat pixelFormat, 177public virtual System.Windows.Media.PixelFormat Format 679_format = PixelFormat.GetPixelFormat(_wicSource); 905PixelFormat format = Format; 1135internal static PixelFormat GetClosestDUCEFormat(PixelFormat format, BitmapPalette palette) 1202PixelFormat originalFmt = PixelFormats.Pbgra32; 1210originalFmt = PixelFormat.GetPixelFormat(wicSource); 1211PixelFormat destFmt = originalFmt; 1228PixelFormat.GetPixelFormat(wicSource).Format != PixelFormatEnum.Extended 1710internal PixelFormat _format = PixelFormats.Default; 1742internal static bool IsCompatibleFormat(PixelFormat format) 1750private readonly static PixelFormat[] s_supportedDUCEFormats = 1751new PixelFormat[13] 1977PixelFormat pfStruct = bitmapSource.Format;
Core\CSharp\System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
150PixelFormat pixelFormat = new PixelFormat(guidFormat);
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (3)
76PixelFormat pixelFormat, 149PixelFormat pixelFormat, 474PixelFormat pixelFormat,
Core\CSharp\System\Windows\Media\Imaging\ColorConvertedBitmap.cs (3)
53public ColorConvertedBitmap(BitmapSource source, ColorContext sourceColorContext, ColorContext destinationColorContext, PixelFormat format) 235_destinationFormat = (PixelFormat)e.NewValue; 311private PixelFormat _destinationFormat;
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (4)
54public FormatConvertedBitmap(BitmapSource source, PixelFormat destinationFormat, BitmapPalette destinationPalette, double alphaThreshold) 241_destinationFormat = (PixelFormat)e.NewValue; 301if (((PixelFormat)value).Format == PixelFormatEnum.Default) 355private PixelFormat _destinationFormat;
Core\CSharp\System\Windows\Media\Imaging\Generated\ColorConvertedBitmap.cs (4)
185public PixelFormat DestinationFormat 189return (PixelFormat) GetValue(DestinationFormatProperty); 361internal static PixelFormat s_DestinationFormat = PixelFormats.Pbgra32; 417typeof(PixelFormat),
Core\CSharp\System\Windows\Media\Imaging\Generated\FormatConvertedBitmap.cs (4)
155public PixelFormat DestinationFormat 159return (PixelFormat) GetValue(DestinationFormatProperty); 359internal static PixelFormat s_DestinationFormat = PixelFormats.Pbgra32; 399typeof(PixelFormat),
Core\CSharp\System\Windows\Media\Imaging\InteropBitmapSource.cs (1)
146PixelFormat format,
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
57PixelFormat pixelFormat
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (2)
88PixelFormat pixelFormat, 814private long GetEstimatedSize(int pixelWidth, int pixelHeight, PixelFormat pixelFormat)
Core\CSharp\System\Windows\Media\PixelFormat.cs (15)
162public struct PixelFormat : IEquatable<PixelFormat> 221_guidFormat = new SecurityCriticalDataForSet<Guid> (PixelFormat.GetGuidFromFormat(format)); 365_guidFormat = new SecurityCriticalDataForSet<Guid> (PixelFormat.GetGuidFromFormat(format)); 465public static bool operator == (PixelFormat left, PixelFormat right) 473public static bool operator != (PixelFormat left, PixelFormat right) 481public static bool Equals(PixelFormat left, PixelFormat right) 489public bool Equals(PixelFormat pixelFormat) 500!(obj is PixelFormat)) 505return this == (PixelFormat)obj; 724internal static PixelFormat GetPixelFormat ( 740internal static PixelFormat GetPixelFormat(Guid pixelFormatGuid) 751internal static PixelFormat GetPixelFormat(PixelFormatEnum pixelFormatEnum)
Core\CSharp\System\Windows\Media\PixelFormatConverter.cs (6)
120if (!(value is PixelFormat)) 127ConstructorInfo ci = typeof(PixelFormat).GetConstructor(new Type[]{typeof(string)}); 128PixelFormat p = (PixelFormat)value; 133PixelFormat p = (PixelFormat)value;
Core\CSharp\System\Windows\Media\PixelFormats.cs (26)
32public static PixelFormat Default 43public static PixelFormat Indexed1 54public static PixelFormat Indexed2 65public static PixelFormat Indexed4 76public static PixelFormat Indexed8 87public static PixelFormat BlackWhite 98public static PixelFormat Gray2 109public static PixelFormat Gray4 120public static PixelFormat Gray8 131public static PixelFormat Bgr555 142public static PixelFormat Bgr565 153public static PixelFormat Rgb128Float 164public static PixelFormat Bgr24 175public static PixelFormat Rgb24 186public static PixelFormat Bgr101010 197public static PixelFormat Bgr32 208public static PixelFormat Bgra32 219public static PixelFormat Pbgra32 230public static PixelFormat Rgb48 241public static PixelFormat Rgba64 252public static PixelFormat Prgba64 263public static PixelFormat Gray16 274public static PixelFormat Gray32Float 285public static PixelFormat Rgba128Float 296public static PixelFormat Prgba128Float 307public static PixelFormat Cmyk32
PresentationFramework (3)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
544case 452: t = () => typeof(PixelFormat); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7469typeof(System.Windows.Media.PixelFormat),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5996case KnownElements.PixelFormat: t = typeof(System.Windows.Media.PixelFormat); break;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
200PixelFormat format = PixelFormats.Bgra32;