ImageEn, unit ieanimation

TIEAnimation.drawImage

TIEAnimation.drawImage


Declaration

function drawImage(dest: TIEBitmap; imageIndex: integer): boolean; virtual;


Description

Draws the specified image. This method reads the timers to draw the image correctly (at calculated position, rotation, etc...).
Returns true when the image doesn't need to be drawn again (the animation is finished).

Parameter Description
dest The destination bitmap. Must be at least ViewWidth and ViewHeight pixels
imageIndex The image index to draw