Sign in Join
FPDoc Onlineexperiment

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

TFreeTypeStreamclass

Procedures and functions

TT_Close_Streamprocedure
TT_Open_Streamfunction
TTFile_Doneprocedure
TTFile_Initfunction

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.