Bending example for C++ Builder

void __fastcall TForm1::Bending1Click(TObject *Sender)
{
   POINT ptCenter;

   ptCenter.x= (int)(LEADImage1->BitmapWidth/2);
   ptCenter.y= (int)(LEADImage1->BitmapHeight/2);
   LEADImage1->Bending( 100, ptCenter,  0, FILL_RPT | FILL_WOUTROT | BND_NORM );
}