Previous: 4.51.2. ObjGfx40 Unit Object Types To the Table of Contents Next: 4.51.2.1.1. copy()
4.51.2. ObjGfx40 Unit Object Types Table of Contents 4.51.2.1.1. copy()

- 4.51.2.1. -
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. ogBlit object

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

ogBlit is an extension of the ogSprite object. New methods and virtual methods are listed here. All other parent methods are available.
type
  ogBlit = object (ogSprite)
   public
    constructor copy(var srcBlit:ogBlit);
    constructor copyBlitMask(var srcBlit:ogBlit);
    destructor  done; virtual;
    procedure   get(var srcObject:ogSurface; x1, y1, x2, y2:int32); virtual;
    procedure   getBlitMask(var srcObject:ogSurface; x1, y1, x2, y2:int32);    
    function    getBlitMaskSize:uInt32;
    procedure   getBlitWithMask(var srcObject:ogSurface; x, y:int32);
    function    getSize:uInt32; virtual;
    constructor init;
    function    loadFromFile(var inFile:file):boolean; virtual;
    function    loadFromOffset(const filename:string; offset:uInt32):boolean; virtual;
    procedure   put(var destObject:ogSurface; x, y:int32); virtual;
    function    saveToFile(var outFile:file):boolean; virtual;
    function    saveToOffset(const filename:string; offset:int32):boolean; virtual;
end;



Previous: 4.51.2. ObjGfx40 Unit Object Types To the Table of Contents Next: 4.51.2.1.1. copy()
4.51.2. ObjGfx40 Unit Object Types Table of Contents 4.51.2.1.1. copy()

- 4.51.2.1. -