[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TFontHandleCache

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TFontHandleCache - a resource cache for font handles

Declaration

Source position: graphics.pp line 461

type TFontHandleCache = class(TResourceCache)

protected

  procedure RemoveItem(); override;

  

RemoveItem from CacheItem list

public

  constructor Create;

  

  function CompareDescriptors(); override;

  

CompareDescriptors - returns 0 if descriptors are equal, -1 if Desc1 is less, 1 if Desc1 is greater

  function FindFont();

  

FindFont - returns the Font specified by its handle as a cache item from the FontHandleCache

  function FindFontDesc();

  

FindFontDesc - returns the descriptor for the FontHandle using its LogName and its LongFontName

  function Add();

  

Add the Font specified by its handle, LogFont and LongFontName, and returns a descriptor

end;

Inheritance

TFontHandleCache

  

TFontHandleCache - a resource cache for font handles

|

TResourceCache

  

TResourceCache - a cache (linked list) for storing Resources

|

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.