142 references to PixelFormatFlags
PresentationCore (142)
System\Windows\Media\PixelFormat.cs (142)
420private PixelFormatFlags FormatFlags 630return ((FormatFlags & PixelFormatFlags.ChannelOrderABGR) != 0 || 631(FormatFlags & PixelFormatFlags.ChannelOrderARGB) != 0 || 632(FormatFlags & PixelFormatFlags.NChannelAlpha) != 0); 640return ((FormatFlags & PixelFormatFlags.Palettized) != 0); 779static private PixelFormatFlags GetPixelFormatFlagsFromGuid(Guid pixelFormatGuid) 781PixelFormatFlags result = PixelFormatFlags.BitsPerPixelUndefined; 791result = PixelFormatFlags.ChannelOrderARGB | PixelFormatFlags.IsScRGB; 794result = PixelFormatFlags.ChannelOrderARGB | PixelFormatFlags.IsScRGB; 797result = PixelFormatFlags.IsCMYK; 800result = PixelFormatFlags.IsNChannel; 803result = PixelFormatFlags.IsNChannel; 806result = PixelFormatFlags.IsNChannel; 809result = PixelFormatFlags.IsNChannel; 812result = PixelFormatFlags.IsNChannel; 815result = PixelFormatFlags.IsNChannel; 818result = PixelFormatFlags.IsNChannel; 821result = PixelFormatFlags.IsNChannel; 824result = PixelFormatFlags.IsNChannel; 827result = PixelFormatFlags.IsNChannel; 830result = PixelFormatFlags.IsNChannel; 833result = PixelFormatFlags.IsNChannel; 836result = PixelFormatFlags.IsCMYK | PixelFormatFlags.NChannelAlpha; 839result = PixelFormatFlags.IsCMYK | PixelFormatFlags.NChannelAlpha; 842result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 845result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 848result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 851result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 854result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 857result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 860result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 863result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 866result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 869result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 872result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 875result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 878result = PixelFormatFlags.ChannelOrderARGB | PixelFormatFlags.IsScRGB; 881result = PixelFormatFlags.ChannelOrderRGB | PixelFormatFlags.IsScRGB; 884result = PixelFormatFlags.ChannelOrderRGB | PixelFormatFlags.IsScRGB; 887result = PixelFormatFlags.IsGray | PixelFormatFlags.IsScRGB; 890result = PixelFormatFlags.IsGray | PixelFormatFlags.IsScRGB; 893result = PixelFormatFlags.IsScRGB | PixelFormatFlags.ChannelOrderRGB; 896result = PixelFormatFlags.IsScRGB | PixelFormatFlags.ChannelOrderRGB; 899result = PixelFormatFlags.IsScRGB | PixelFormatFlags.ChannelOrderRGB; 907static private PixelFormatFlags GetPixelFormatFlagsFromEnum(PixelFormatEnum pixelFormatEnum) 912return PixelFormatFlags.BitsPerPixelUndefined; 915return PixelFormatFlags.BitsPerPixel1 | PixelFormatFlags.Palettized; 918return PixelFormatFlags.BitsPerPixel2 | PixelFormatFlags.Palettized; 921return PixelFormatFlags.BitsPerPixel4 | PixelFormatFlags.Palettized; 924return PixelFormatFlags.BitsPerPixel8 | PixelFormatFlags.Palettized; 927return PixelFormatFlags.BitsPerPixel1 | PixelFormatFlags.IsGray; 930return PixelFormatFlags.BitsPerPixel2 | PixelFormatFlags.IsGray; 933return PixelFormatFlags.BitsPerPixel4 | PixelFormatFlags.IsGray; 936return PixelFormatFlags.BitsPerPixel8 | PixelFormatFlags.IsGray; 939return PixelFormatFlags.BitsPerPixel16 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderBGR; 942return PixelFormatFlags.BitsPerPixel16 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderBGR; 945return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderBGR; 948return PixelFormatFlags.BitsPerPixel24 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderBGR; 951return PixelFormatFlags.BitsPerPixel24 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderRGB; 954return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderBGR; 957return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderABGR; 960return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsSRGB | PixelFormatFlags.Premultiplied | PixelFormatFlags.ChannelOrderABGR; 963return PixelFormatFlags.BitsPerPixel48 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderRGB; 966return PixelFormatFlags.BitsPerPixel64 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderARGB; 969return PixelFormatFlags.BitsPerPixel64 | PixelFormatFlags.IsSRGB | PixelFormatFlags.Premultiplied | PixelFormatFlags.ChannelOrderARGB; 972return PixelFormatFlags.BitsPerPixel16 | PixelFormatFlags.IsSRGB | PixelFormatFlags.IsGray; 975return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsScRGB | PixelFormatFlags.IsGray; 978return PixelFormatFlags.BitsPerPixel128 | PixelFormatFlags.IsScRGB | PixelFormatFlags.ChannelOrderRGB; 981return PixelFormatFlags.BitsPerPixel128 | PixelFormatFlags.IsScRGB | PixelFormatFlags.ChannelOrderARGB; 984return PixelFormatFlags.BitsPerPixel128 | PixelFormatFlags.IsScRGB | PixelFormatFlags.Premultiplied | PixelFormatFlags.ChannelOrderARGB; 987return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsCMYK; 991return PixelFormatFlags.BitsPerPixelUndefined; 1068private PixelFormatFlags _flags;