다음을 통해 공유


ColorAdjustType 열거형(gdipluscolormatrix.h)

ColorAdjustType 열거형은 색 조정 정보를 사용하는 GDI+ 개체를 지정합니다. ImageAttributes 개체의 주소를 Graphics::D rawImage 메서드에 전달하여 렌더링된 이미지의 색을 조정할 수 있습니다. ImageAttributes 개체는 기본, 비트맵, 브러시, 펜 및 텍스트의 다섯 가지 조정 범주에 대한 색 및 회색조 설정을 유지 관리합니다. ImageAttributes 클래스의 여러 메서드는 ColorAdjustType 열거형의 요소를 수신하여 조정 범주를 지정합니다.

Syntax

typedef enum ColorAdjustType {
  ColorAdjustTypeDefault,
  ColorAdjustTypeBitmap,
  ColorAdjustTypeBrush,
  ColorAdjustTypePen,
  ColorAdjustTypeText,
  ColorAdjustTypeCount,
  ColorAdjustTypeAny
} ;

상수

 
ColorAdjustTypeDefault
색 또는 회색조 조정이 자체 조정 설정이 없는 모든 범주에 적용되도록 지정합니다.
ColorAdjustTypeBitmap
비트맵 이미지에 색 또는 회색조 조정이 적용되도록 지정합니다.
ColorAdjustTypeBrush
메타파일의 브러시 작업에 색 또는 회색조 조정이 적용되도록 지정합니다.
ColorAdjustTypePen
메타파일의 펜 작업에 색 또는 회색조 조정이 적용되도록 지정합니다.
ColorAdjustTypeText
메타파일에서 그린 텍스트에 색 또는 회색조 조정이 적용되도록 지정합니다.
ColorAdjustTypeCount
내부적으로 색 조정 유형 수를 기록하는 데 사용됩니다.
ColorAdjustTypeAny
예약됨

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows XP, Windows 2000 Professional [데스크톱 앱만 해당]
지원되는 최소 서버 Windows 2000 Server[데스크톱 앱만]
머리글 gdipluscolormatrix.h(Gdiplus.h 포함)