ImageEn, unit iexVirtualBitmaps

TIEVirtualBitmapProvider.Render

TIEVirtualBitmapProvider.Render


Declaration

procedure Render(Container: TIEBitmap; DestBitmap: TIEBitmap; DestWidth: integer; DestHeight: integer; DestX1, DestY1, DestX2, DestY2: integer; SrcCols, SrcRows: PInteger; Transparency: integer; RenderOperation: TIERenderOperation; Opacity: double); virtual; abstract;


Description

Renders a set of pixels to the specified rectangle.
Parameter Description
Container TIEBitmap object that owns this object
DestBitmap Destination TIEBitmap
DestWidth Destination width
DestHeight Destination height
DestX1 Starting column of destination rectangle
DestY1 Starting row of destination rectangle
DestX2 Ending column of destination rectangle
DestY2 Ending row of destination rectangle
SrcCols Array of source columns (has DestX2-DestX1+1 items)
SrcRows Array of source rows (has DestY2-DestY1+1 items)
Transparency Rendering transparency (0=transparent, 255=opaque)
RenderOperation Rendering operation to perform
Opacity Rendering opacity (0=transparent, 1.0=opaque)

Note: Generally you are better to use DrawTo or simply assign the content to a new bitmap