Warning: This site is under construction, most links will be broken.

LightX API -> lxgfx -> grabsurface

Last modified on Thu, 29th Mar 2007 at 17:03 UTC by zipplet

lxgfx.grabsurface


function grabsurface(
    source: tlxhandle;
    x, y, w, h: tlxposition
  ): tlxhandle;


Create a new surface from a rectangle of pixels from an existing surface.

source: tlxhandle
The surface to copy from.

x, y, w, h: tlxposition
The rectangle to copy pixels from.

Class: lxgfx