Swirl example for C++ Builder

void __fastcall TForm1::SwirlClick(TObject *Sender)
{
   TPoint ptCenter;

   ptCenter.x= (int)(LEADImage1->BitmapWidth /2);
   ptCenter.y= (int)(LEADImage1->BitmapHeight /2);

   LEADImage1->Swirl( 180, ptCenter );
}