Spherize example for C++ Builder
void __fastcall TForm1::SpherizeClick(TObject *Sender)
{
TPoint ptCenter;
ptCenter.x= (int)(LEADImage1->BitmapWidth /2);
ptCenter.y= (int)(LEADImage1->BitmapHeight /2);
LEADImage1->Spherize( 100, ptCenter, 0, FILL_RPT | FILL_WOUTROT );
}