ShowPolarDlg example for Delphi
procedure TForm1.ShowPolarDlg1Click(Sender: TObject);
var
nRet: L_INT;
begin
LEADDlgImgEffect1.PolarFlags:= FILL_CLR Or CART_TO_POL;
LEADDlgImgEffect1.FillColor:= RGB ( 0, 0, 220 );
LEADDlgImgEffect1.DlgFlags:= DLG_POLAR_SHOW_PREVIEW Or
DLG_POLAR_SHOW_TOOL_ZOOMLEVEL;
LEADDlgImgEffect1.LEADImage:= LEADImage1;
nRet:= LEADDlgImgEffect1.ShowPolarDlg ( Self );
if ( nRet = SUCCESS_DLG_OK ) then
begin
LEADImage1.Polar ( LEADDlgImgEffect1.FillColor,
LEADDlgImgEffect1.PolarFlags );
end;
end;