ShowZoomWaveDlg example for C++ Builder
void __fastcall TForm1::ShowZoomWaveDlg1Click(TObject *Sender)
{
L_INT nRet;
LEADDlgImgEffect1->DlgFlags = DLG_ZOOMWAVE_SHOW_PREVIEW |
DLG_ZOOMWAVE_SHOW_TOOL_ZOOMLEVEL;
LEADDlgImgEffect1->LEADImage = LEADImage1;
nRet= LEADDlgImgEffect1->ShowZoomWaveDlg ( this );
if ( nRet == SUCCESS_DLG_OK )
{
LEADImage1->ZoomWave ( LEADDlgImgEffect1->Amplitude,
LEADDlgImgEffect1->Frequency,
LEADDlgImgEffect1->Phase,
LEADDlgImgEffect1->ZoomFactor,
LEADDlgImgEffect1->CenterPoint,
LEADDlgImgEffect1->FillColor,
LEADDlgImgEffect1->ZoomWaveFlags );
}
}