[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 491

`type TFontHandleCache = class(TResourceCache)`
`protected`
`procedure RemoveItem(); override;` |  | Removes the specified resource item from the cache.
`public`
`constructor Create;` |  | Constructor for the class instance.
`function CompareDescriptors(); override;` |  | Compares the specified logical font names and font details.
`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`