ImageEn, unit iexVirtualBitmaps

TIEEquirectangularRenderer.Create

TIEEquirectangularRenderer.Create


Declaration

constructor Create(Source: TIEBitmap; IOParams: TObject; OwnSource: boolean); overload;
constructor Create(SourceView: TObject); overload;


Description

Creates a new instance of the TIEEquirectangularRenderer class.

Parameter Description
Source The source equirectangular TIEBitmap or TImageEnView
IOParams I/O parameters where to get XMP tags. Must be a TIOParams objects
OwnSource If True, the Source bitmap is freed on destroy


Example

// ImageEnView1 contains the equirectangular image, while ImageEnView2 will display it
ImageEnView2.IEBitmap.VirtualBitmapProvider := TIEEquirectangularRenderer.Create(ImageEnView1.IEBitmap, ImageEnView1.IO.Params, false);
ImageEnView2.Update();

// Same as above
ImageEnView2.IEBitmap.VirtualBitmapProvider := TIEEquirectangularRenderer.Create(ImageEnView1);
ImageEnView2.Update();