TTFile unit
File I/O specification.
Copyright 1996 David Turner, Robert Wilhelm and Werner Lemberg.
ttfile.pas is part of the FreeType project, and may only be used
modified and distributed under the terms of the FreeType project license,
LICENSE.TXT. By continuing to use, modify or distribute this file you indicate
that you have read the license and understand and accept it fully.
Notes:
Changes from 1.2 to 1.3:
- Moved stream into TFreeTypeStream object
Changes from 1.1 to 1.2:
- Changes the stream operations semantics. See changes.txt
- Stream records are now allocated on demand in the heap
- Introduced the 'frame cache' to avoid Allocating/Freeing each frame, even tiny ones.
- Support for thread-safety and re-entrancy (for information only)
Changes from 1.0 to 1.1:
- Defined the type TT_Stream for file handles
- Renamed (and cleaned) the API
- Caching and memory-mapped files use the same API as TT_Access_Frame to notify
- Only the interface was really rewritten. This component still only supports one opened file at a time.
Classes and records
TFreeTypeStream | class |
Procedures and functions
TT_Close_Stream | procedure | |
TT_Open_Stream | function | |
TTFile_Done | procedure | |
TTFile_Init | function |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
