ShowRadialWaveDlg Example for C++ 5.0 and later
void CDialogs::OnShowRadialWaveDlg()
{
int nRet;
m_pRasterImageEfxDlg->UIFlags = RADIALWAVE_SHOW_PREVIEW |
RADIALWAVE_SHOW_TOOL_ZOOMLEVEL;
m_pRasterImageEfxDlg->Bitmap = m_LeadRasterView.GetRaster ().GetBitmap ();
nRet= m_pRasterImageEfxDlg->ShowRadialWaveDlg((long)this->m_hWnd);
if (nRet == 0 && m_pRasterImageEfxDlg->DialogStatus == DLG_OK)
{
m_pRasterProc->RadWave (m_LeadRasterView.GetRaster (),
m_pRasterImageEfxDlg->Amplitude,
m_pRasterImageEfxDlg->WaveLength,
m_pRasterImageEfxDlg->Phase,
m_pRasterImageEfxDlg->CenterX,
m_pRasterImageEfxDlg->CenterY,
m_pRasterImageEfxDlg->FillColor,
m_pRasterImageEfxDlg->ImageEffectFlags
);
}
}