ColorMatrixFlags 列挙 (gdipluscolormatrix.h)

ColorMatrixFlags 列挙体は、ImageAttributes オブジェクトの色とグレースケールの調整設定の影響を受ける画像と色の種類を指定します。

構文

typedef enum ColorMatrixFlags {
  ColorMatrixFlagsDefault = 0,
  ColorMatrixFlagsSkipGrays = 1,
  ColorMatrixFlagsAltGray = 2
} ;

定数

 
ColorMatrixFlagsDefault
値: 0
すべての色の値 (灰色を含む) を同じ色調整マトリックスで調整することを指定します。
ColorMatrixFlagsSkipGrays
値: 1
色を調整するが、灰色の濃淡は調整しないことを指定します。 灰色の網かけは、赤、緑、青の各要素の値が同じである色です。
ColorMatrixFlagsAltGray
値: 2
1 つのマトリックスで色を調整し、灰色の濃淡を別のマトリックスで調整することを指定します。

要件

要件
サポートされている最小のクライアント Windows XP、Windows 2000 Professional [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows 2000 Server [デスクトップ アプリのみ]
Header gdipluscolormatrix.h (Gdiplus.h を含む)

こちらもご覧ください

ImageAttributes::ClearColorMatrices

ImageAttributes::ClearColorMatrix

ImageAttributes::SetColorMatrices

ImageAttributes::SetColorMatrix