ShowRadialBlurDlg Example for C++ 5.0 and later
void CDialogs::OnShowRadialBlurDlg()
{
int nRet = 0;
m_pRasterImageEfxDlg->Bitmap= m_LeadRasterView.GetRaster ().GetBitmap ();
m_pRasterImageEfxDlg->UIFlags= RADIALBLUR_SHOW_PREVIEW |
RADIALBLUR_SHOW_TOOL_ZOOMLEVEL;
nRet = m_pRasterImageEfxDlg->ShowMotionBlurDlg((long)this->m_hWnd);
if (nRet == 0 && m_pRasterImageEfxDlg->DialogStatus== DLG_OK)
{
nRet = m_pRasterProc->RadialBlur(m_LeadRasterView.GetRaster (),
m_pRasterImageEfxDlg->Dimension,
m_pRasterImageEfxDlg->Stress,
m_pRasterImageEfxDlg->CenterX,
m_pRasterImageEfxDlg->CenterY
);
}
}