본문 바로가기
Programming

알파채널 관련 함수

by leanu 2023. 5. 16.

TransparentBlt(화면DC, 출력좌표x, 출력좌표y, 넓이, 높이, 메모리DC, 원본좌표x, 원본좌표y, 넓이, 높이, 칼라키);

 

BOOL TransparentBlt(
  HDC hdcDest,        // handle to destination DC
  int nXOriginDest,   // x-coord of destination upper-left corner
  int nYOriginDest,   // y-coord of destination upper-left corner
  int nWidthDest,     // width of destination rectangle
  int hHeightDest,    // height of destination rectangle
  HDC hdcSrc,         // handle to source DC
  int nXOriginSrc,    // x-coord of source upper-left corner
  int nYOriginSrc,    // y-coord of source upper-left corner
  int

nWidthSrc,      // width of source rectangle                       <=    1
  int
nHeightSrc,     // height of source rectangle                       <=    2

  UINT crTransparent  // color to make transparent
);

댓글