|
surface_save_part(id,fname,x,y,w,h) |
|
id = name of the variable which holds the ID of the surface (see surface_create). fname = Name of the file you wish to save too. x = Left position of surface to be saved. y = Top position of surface to be saved. w = Width of surface to be saved. h = Height of surface to be saved.
Example
This function saves a part of the surface with the given ID to the file fname. the image is saved in the BMP format. The image begins from the point (x,y) and has the width of w and height of h.
esh_corp11 - Revision #1 |