Previous: 4.51.2.3.10. loadFromOffset() To the Table of Contents Next: 4.51.2.3.12. save()
4.51.2.3.10. loadFromOffset() Table of Contents 4.51.2.3.12. save()

- 4.51.2.3.11. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.3. ogSprite object
4.51.2.3.11. put()


4.51.2.3.11. put()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Copies the sprite to an ogSurface.

Declaration:
  procedure put(var srcObject:ogSurface; x, y:int32); virtual;
Remarks:

Copies the sprite to an ogSurface. If necessary, this method will clip the sprite to the destination surface.

Pixel conversion will occur if the sprite's pixel format is different from the destination surface.

If both the sprite and the destination surface are 8BPP, a direct copy will occur instead of doing colour matching.

See also:







Previous: 4.51.2.3.10. loadFromOffset() To the Table of Contents Next: 4.51.2.3.12. save()
4.51.2.3.10. loadFromOffset() Table of Contents 4.51.2.3.12. save()

- 4.51.2.3.11. -