4.51.2.3.13. saveToFile() | Table of Contents | 4.51.2.4. ogSurface object |
function saveToOffset(const filename:string; offset:int32):boolean; virtual;Remarks:
Saves a sprite to an offset in a file.
This method is useful for saving multiple sprites into a file.
If the offset is -1 and the file exists the sprite will be appended to the file.
Restrictions:Can only seek into a file up to 2GB in size.
Return value:TRUE if successful, FALSE if failure.
See also:4.51.2.3.13. saveToFile() | Table of Contents | 4.51.2.4. ogSurface object |