Previous: 4.51.2.1.6. getBlitMaskSize() To the Table of Contents Next: 4.51.2.1.8. getSize()
4.51.2.1.6. getBlitMaskSize() Table of Contents 4.51.2.1.8. getSize()

- 4.51.2.1.7. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.1. ogBlit object
4.51.2.1.7. getBlitWithMask()


4.51.2.1.7. getBlitWithMask()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Copies a region of an ogSurface into a blit using a pre-defined blit mask.

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

Makes a copy of the region defined by the existing blit mask. Since the blit mask only defines the geometry, this may be used on surfaces with a different pixel format from the original.

Restrictions:

The blit must have a valid blit mask.

See also:







Previous: 4.51.2.1.6. getBlitMaskSize() To the Table of Contents Next: 4.51.2.1.8. getSize()
4.51.2.1.6. getBlitMaskSize() Table of Contents 4.51.2.1.8. getSize()

- 4.51.2.1.7. -