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