Render

Syntax

Image:Render(source, destination)

Description

Renders an image buffer using its own values for location, scale, rotation, and alpha.

Note

Set the source's location via, Image:SetX and Image:SetY

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:Render(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