ShowPolarDlg example for C++ Builder
void __fastcall TForm1::ShowPolarDlg1Click(TObject *Sender)
{
L_INT nRet;
LEADDlgImgEffect1->PolarFlags = FILL_CLR | CART_TO_POL;
LEADDlgImgEffect1->FillColor = RGB ( 0, 0, 220 );
LEADDlgImgEffect1->DlgFlags = DLG_POLAR_SHOW_PREVIEW |
DLG_POLAR_SHOW_TOOL_ZOOMLEVEL;
LEADDlgImgEffect1->LEADImage = LEADImage1;
nRet= LEADDlgImgEffect1->ShowPolarDlg ( this );
if ( nRet == SUCCESS_DLG_OK )
{
LEADImage1->Polar (LEADDlgImgEffect1->FillColor,
LEADDlgImgEffect1->PolarFlags );
}
}