Available in the LEADTOOLS Imaging toolkit. |
ResizeRgn example for C++ 5.0 and later
m_Lead1.SetRgnFrameType(RGNFRAME_ANIMATED);
m_Lead1.SetRgnRect(40, 60, 280, 200, L_RGN_SET);
AfxMessageBox("About to resize");
m_Lead1.ResizeRgn(20, RGN_CONTRACT, FALSE);