4.51.2.3.2. done() | Table of Contents | 4.51.2.3.4. getHeight() |
procedure get(var srcObject:ogSurface; x1, y1, x2, y2:int32); virtual;Remarks:
Retrieves a rectangular region out of an ogSurface and copies it to the sprite. This method will allocate space in the sprite to hold the region. If the sprite already has image data, the old data will be discarded and the new data will overwrite it.
When calling get() on an 8BPP ogSurface, the palette of the surface is copied along with the image data.
See also:4.51.2.3.2. done() | Table of Contents | 4.51.2.3.4. getHeight() |