142 references to PixelFormatFlags
PresentationCore (142)
Core\CSharp\System\Windows\Media\PixelFormat.cs (142)
454private PixelFormatFlags FormatFlags 681return ((FormatFlags & PixelFormatFlags.ChannelOrderABGR) != 0 || 682(FormatFlags & PixelFormatFlags.ChannelOrderARGB) != 0 || 683(FormatFlags & PixelFormatFlags.NChannelAlpha) != 0); 691return ((FormatFlags & PixelFormatFlags.Palettized) != 0); 834static private PixelFormatFlags GetPixelFormatFlagsFromGuid(Guid pixelFormatGuid) 836PixelFormatFlags result = PixelFormatFlags.BitsPerPixelUndefined; 846result = PixelFormatFlags.ChannelOrderARGB | PixelFormatFlags.IsScRGB; 849result = PixelFormatFlags.ChannelOrderARGB | PixelFormatFlags.IsScRGB; 852result = PixelFormatFlags.IsCMYK; 855result = PixelFormatFlags.IsNChannel; 858result = PixelFormatFlags.IsNChannel; 861result = PixelFormatFlags.IsNChannel; 864result = PixelFormatFlags.IsNChannel; 867result = PixelFormatFlags.IsNChannel; 870result = PixelFormatFlags.IsNChannel; 873result = PixelFormatFlags.IsNChannel; 876result = PixelFormatFlags.IsNChannel; 879result = PixelFormatFlags.IsNChannel; 882result = PixelFormatFlags.IsNChannel; 885result = PixelFormatFlags.IsNChannel; 888result = PixelFormatFlags.IsNChannel; 891result = PixelFormatFlags.IsCMYK | PixelFormatFlags.NChannelAlpha; 894result = PixelFormatFlags.IsCMYK | PixelFormatFlags.NChannelAlpha; 897result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 900result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 903result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 906result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 909result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 912result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 915result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 918result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 921result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 924result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 927result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 930result = PixelFormatFlags.IsNChannel | PixelFormatFlags.NChannelAlpha; 933result = PixelFormatFlags.ChannelOrderARGB | PixelFormatFlags.IsScRGB; 936result = PixelFormatFlags.ChannelOrderRGB | PixelFormatFlags.IsScRGB; 939result = PixelFormatFlags.ChannelOrderRGB | PixelFormatFlags.IsScRGB; 942result = PixelFormatFlags.IsGray | PixelFormatFlags.IsScRGB; 945result = PixelFormatFlags.IsGray | PixelFormatFlags.IsScRGB; 948result = PixelFormatFlags.IsScRGB | PixelFormatFlags.ChannelOrderRGB; 951result = PixelFormatFlags.IsScRGB | PixelFormatFlags.ChannelOrderRGB; 954result = PixelFormatFlags.IsScRGB | PixelFormatFlags.ChannelOrderRGB; 962static private PixelFormatFlags GetPixelFormatFlagsFromEnum(PixelFormatEnum pixelFormatEnum) 967return PixelFormatFlags.BitsPerPixelUndefined; 970return PixelFormatFlags.BitsPerPixel1 | PixelFormatFlags.Palettized; 973return PixelFormatFlags.BitsPerPixel2 | PixelFormatFlags.Palettized; 976return PixelFormatFlags.BitsPerPixel4 | PixelFormatFlags.Palettized; 979return PixelFormatFlags.BitsPerPixel8 | PixelFormatFlags.Palettized; 982return PixelFormatFlags.BitsPerPixel1 | PixelFormatFlags.IsGray; 985return PixelFormatFlags.BitsPerPixel2 | PixelFormatFlags.IsGray; 988return PixelFormatFlags.BitsPerPixel4 | PixelFormatFlags.IsGray; 991return PixelFormatFlags.BitsPerPixel8 | PixelFormatFlags.IsGray; 994return PixelFormatFlags.BitsPerPixel16 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderBGR; 997return PixelFormatFlags.BitsPerPixel16 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderBGR; 1000return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderBGR; 1003return PixelFormatFlags.BitsPerPixel24 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderBGR; 1006return PixelFormatFlags.BitsPerPixel24 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderRGB; 1009return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderBGR; 1012return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderABGR; 1015return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsSRGB | PixelFormatFlags.Premultiplied | PixelFormatFlags.ChannelOrderABGR; 1018return PixelFormatFlags.BitsPerPixel48 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderRGB; 1021return PixelFormatFlags.BitsPerPixel64 | PixelFormatFlags.IsSRGB | PixelFormatFlags.ChannelOrderARGB; 1024return PixelFormatFlags.BitsPerPixel64 | PixelFormatFlags.IsSRGB | PixelFormatFlags.Premultiplied | PixelFormatFlags.ChannelOrderARGB; 1027return PixelFormatFlags.BitsPerPixel16 | PixelFormatFlags.IsSRGB | PixelFormatFlags.IsGray; 1030return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsScRGB | PixelFormatFlags.IsGray; 1033return PixelFormatFlags.BitsPerPixel128 | PixelFormatFlags.IsScRGB | PixelFormatFlags.ChannelOrderRGB; 1036return PixelFormatFlags.BitsPerPixel128 | PixelFormatFlags.IsScRGB | PixelFormatFlags.ChannelOrderARGB; 1039return PixelFormatFlags.BitsPerPixel128 | PixelFormatFlags.IsScRGB | PixelFormatFlags.Premultiplied | PixelFormatFlags.ChannelOrderARGB; 1042return PixelFormatFlags.BitsPerPixel32 | PixelFormatFlags.IsCMYK; 1046return PixelFormatFlags.BitsPerPixelUndefined; 1123private PixelFormatFlags _flags;