Hue example for Delphi

This example rotates the hue 180 degrees and repaints the image.

Var
   sRet: Smallint;
   RasterProc: LEADRasterProcess;
begin
   RasterProc:= CreateComObject (CLASS_LEADRasterProcess ) as LEADRasterProcess;

   RasterProc.Hue (LEADRasterView1.Raster, 180);
   LEADRasterView1.ForceRepaint (sRet);
end;