StretchBlt

API Reference 2007. 10. 17. 10:55

BOOL StretchBlt( HDC hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest, HDC hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc, DWORD dwRop );


DC 간에 비트맵을 전송하며 확대 및 축소가 가능하다.



hdcDest

복사 대상 DC


nXOriginDest, nYOriginDest, nWidthDest, nHeightDest

복사 대상의 XYWH


hdcSrc

복사원의 DC


nXOriginSrc, nYOriginSrc, nWidthSrc, nHeightSrc

복사원의 XYWH


dwRop

래스터 연산 방법을 지정



복사 대상과 복사원이 모두 폭과 높이를 가지고 있다.

복사원의 지정한 영역이 복사 대상의 지정한 영역의 크기만큼 확대되어 출력되며 복사대상의 영역이 복사원보다 더 좁다면 축소가 발생한다.

Posted by 명혀니
,