TBlit

Syntax

Image:TBlit(x, y, source, destination)

Description

Draws an image buffer handled by source (with transparency) to destination.

Note

Screen should have been set to visible using Screen:Show() before using TBlit function.

Example

function main() {
  //declare the variable to become the buffer
  Var:Number myheart;
 
  //be sure to create the heart.bmp first
  Image:Load("heart.bmp", myheart)
 
  //draw the heart to screen (the primary image buffer)
  Image:TBlit(10, 20, myheart, screen)
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net