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