TextureBrush::TextureBrush(Image*,constRectF&,constImageAttributes*) 메서드(gdiplusbrush.h)

이미지, 정의 사각형 및 이미지 속성 집합을 기반으로 TextureBrush 개체를 만듭니다.

구문

void TextureBrush(
  [in]      Image                 *image,
  [in, ref] const RectF &         dstRect,
  [in]      const ImageAttributes *imageAttributes
);

매개 변수

[in] image

형식: 이미지*

사용할 이미지의 비트맵을 포함하는 Image 개체에 대한 포인터입니다.

[in, ref] dstRect

형식: RectF

이 텍스처 브러시의 크기와 이 텍스처 브러시에서 사용할 이미지 부분을 정의하는 사각형에 대한 참조입니다. Image 개체가 메타파일에서 만들어진 경우 브러시는 브러시 크기에 맞게 크기가 조정되는 전체 이미지를 사용합니다.

[in] imageAttributes

형식: ImageAttributes*

선택 사항입니다. 이미지의 속성을 포함하는 ImageAttributes 개체에 대한 포인터입니다. 기본값은 NULL입니다.

반환 값

없음

요구 사항

   
지원되는 최소 클라이언트 Windows XP, Windows 2000 Professional [데스크톱 앱만 해당]
지원되는 최소 서버 Windows 2000 Server[데스크톱 앱만]
대상 플랫폼 Windows
헤더 gdiplusbrush.h(Gdiplus.h 포함)
라이브러리 Gdiplus.lib
DLL Gdiplus.dll

추가 정보

브러시 및 채워진 도형

이미지 텍스처로 도형 채우기

이미지

ImageAttributes

Rect

TextureBrush