다음을 통해 공유


Graphics::FillPath 메서드(gdiplusgraphics.h)

Graphics::FillPath 메서드는 브러시를 사용하여 경로의 내부를 채웁니다. 경로의 그림이 닫혀 있지 않으면 이 메서드는 닫혀 있지 않은 그림을 그림의 시작점과 끝점을 연결하는 직선으로 닫힌 것처럼 처리합니다.

구문

Status FillPath(
  [in] const Brush        *brush,
  [in] const GraphicsPath *path
);

매개 변수

[in] brush

형식: const Brush*

경로의 내부를 그리는 데 사용되는 Brush 개체에 대한 포인터입니다.

[in] path

형식: const GraphicsPath*

경로를 지정하는 GraphicsPath 개체에 대한 포인터입니다.

반환 값

형식: 상태

메서드가 성공하면 Status 열거형의 요소인 Ok를 반환합니다.

메서드가 실패하면 Status 열거형의 다른 요소 중 하나를 반환합니다.

요구 사항

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

참고 항목

경로 구성 및 그리기

그래픽

Graphicspath

경로