sdl.blitsurface(3kaya) debian man page | unix.com

Man Page: sdl.blitsurface

Operating Environment: debian

Section: 3kaya

SDL.blitSurface(3kaya)					       Kaya module reference					    SDL.blitSurface(3kaya)

NAME
SDL::blitSurface - Copy from one surface to another
SYNOPSIS
Void blitSurface( SDLSurface src, Rect srcrect, SDLSurface dest, Rect destrect )
ARGUMENTS
src The source surface srcrect The portion of the source surface to copy dest The destination surface destrect The location on the destination surface to copy to (the width and height of this rectangle are ignored)
DESCRIPTION
Copy a rectangle of pixels from one surface to another, for example from a loaded image to the screen. screen = newSurface(640,480,BPP24,false); pic = loadSurface("mypic.bmp"); blitSurface(pic,Rect(0,0,40,40),screen,Rect(200,200,px,py)); updateScreen(screen); If you are copying to the screen surface, remember that these updates will not be displayed until you call SDL.updateScreen(3kaya)
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/
LICENSE
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
RELATED
SDL.Rect(3kaya) SDL.loadSurface(3kaya) SDL.newSurface(3kaya) SDL.updateScreen(3kaya) Kaya October 2012 SDL.blitSurface(3kaya)
Related Man Pages
binary.array(3kaya) - debian
net.sendbytes(3kaya) - debian
prelude.isalnum(3kaya) - debian
prelude.islower(3kaya) - debian
cursesw.ungetchar(3kaya) - debian
Similar Topics in the Unix Linux Community
Copy code to vi
Navit 0.0.3 (Default branch)
Copying & moving en masse
Shoot Out: Linux source demo released
Navit 0.1.0 (Default branch)