Partager via


CDrawingManager::DrawAlpha

Displays bitmaps that have transparent or semitransparent pixels.

void DrawAlpha(
   CDC* pDstDC,
   const CRect& rectDst,
   CDC* pSrcDC,
   const CRect& rectSrc
);

Parameters

  • [in] pDstDC
    A pointer to the device context for the destination.

  • [in] rectDst
    The destination rectangle.

  • [in] pSrcDC
    A pointer to the device context for the source.

  • [in] rectSrc
    The source rectangle.

Remarks

This method performs alpha-blending for two bitmaps. For more information about alpha-blending, see AlphaBlend in the Windows SDK.

Requirements

Header: afxdrawmanager.h

See Also

Reference

CDrawingManager Class

Hierarchy Chart