다음을 통해 공유


IDirectManipulationPrimaryContent::GetCenterPoint 메서드(directmanipulation.h)

콘텐츠 좌표에서 조작의 중심점을 검색합니다. 진행 중인 조작이 없으면 뷰포트의 중심점을 검색합니다.

구문

HRESULT GetCenterPoint(
  [out] float *centerX,
  [out] float *centerY
);

매개 변수

[out] centerX

가로 축의 가운데입니다.

[out] centerY

세로 축의 가운데입니다.

반환 값

메서드가 성공하면 S_OK 반환합니다. 성공하지 않으면 HRESULT 오류 코드를 반환합니다.

요구 사항

   
지원되는 최소 클라이언트 Windows 8 [데스크톱 앱만 해당]
지원되는 최소 서버 Windows Server 2012 [데스크톱 앱만 해당]
대상 플랫폼 Windows
헤더 directmanipulation.h

추가 정보

IDirectManipulationPrimaryContent