Previous: 4.51.2.4.15. ogCurve() To the Table of Contents Next: 4.51.2.4.17. ogFillCircle()
4.51.2.4.15. ogCurve() Table of Contents 4.51.2.4.17. ogFillCircle()

- 4.51.2.4.16. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.4. ogSurface object
4.51.2.4.16. ogDone()


4.51.2.4.16. ogDone()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Calls the object's destructor

Declaration:
  destructor ogDone; virtual;
Remarks:

Deallocates memory used by the graphics surface, including the buffer, line offset array, palette, et al.

See also:

Sample code:
{ogDone.pas}

uses
 ObjGfx40;

var 
  buf:^ogSurface;

begin
  new(buf, ogInit);
  dispose(buf, ogDone);
end.



Previous: 4.51.2.4.15. ogCurve() To the Table of Contents Next: 4.51.2.4.17. ogFillCircle()
4.51.2.4.15. ogCurve() Table of Contents 4.51.2.4.17. ogFillCircle()

- 4.51.2.4.16. -