Shear example for C++ Builder
This example shears the bitmap 5 degrees horizontally and redisplays the image. It uses blue as the fill color.
LEADRasterProcess* pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->Shear (LEADRasterView1->Raster, 500, True, RGB(0, 0, 255));
LEADRasterView1->ForceRepaint ();
pRasterProc-> Release( );