CDrawingManager::DrawRotated

Rotates a source DC content inside the given rectangle by 90 degrees.

void DrawRotated(
   CRect rectDest,
   CDC& dcSrc,
   BOOL bClockWise
);

Parameters

  • rectDest
    Destination rectangle.

  • dcSrc
    The source device context.

  • bClockWise
    TRUE indicates rotate +90 degrees; FALSE indicates rotate -90 degrees.

Requirements

Header: afxdrawmanager.h

See Also

Reference

CDrawingManager Class