Class tfontcache

Unit

Declaration

type tfontcache = class(thashdatalist)

Description

No description available, ancestor thashdatalist description follows

Hierarchy

Overview

Methods

Protected function hashkey(const akey): hashvaluety; override;
Protected function checkkey(const akey; const aitem: phashdataty): boolean; override;
Protected procedure finalizeitem(const aitem: phashdataty); override;
Protected function find(const afont: fontdataty): pfontcachehashdataty;
Protected procedure internalfreefont(const afont: ptruint); virtual;
Protected function internalgetfont(const ainfo: getfontinfoty; out aheight: integer): boolean; virtual; abstract;
Protected procedure updatefontinfo(const adataoffset: hashoffsetty; var adata: fontcachedataty); virtual; abstract;
Protected function getdataoffsfont(const afont: fontty): hashoffsetty; virtual; abstract;
Protected function getrecordsize(): int32 override;
Public constructor create(var ainstance: tfontcache);
Public procedure getfont(var drawinfo: drawinfoty);
Public procedure freefontdata(var drawinfo: drawinfoty);
Public procedure gettext16width(var drawinfo: drawinfoty); virtual; abstract;
Public procedure getchar16widths(var drawinfo: drawinfoty); virtual; abstract;
Public procedure getfontmetrics(var drawinfo: drawinfoty); virtual; abstract;
Public procedure drawstring16(var drawinfo: drawinfoty; const afont: fontty); virtual; abstract;

Description

Methods

Protected function hashkey(const akey): hashvaluety; override;
 
Protected function checkkey(const akey; const aitem: phashdataty): boolean; override;
 
Protected procedure finalizeitem(const aitem: phashdataty); override;
 
Protected function find(const afont: fontdataty): pfontcachehashdataty;
 
Protected procedure internalfreefont(const afont: ptruint); virtual;
 
Protected function internalgetfont(const ainfo: getfontinfoty; out aheight: integer): boolean; virtual; abstract;
 
Protected procedure updatefontinfo(const adataoffset: hashoffsetty; var adata: fontcachedataty); virtual; abstract;
 
Protected function getdataoffsfont(const afont: fontty): hashoffsetty; virtual; abstract;
 
Protected function getrecordsize(): int32 override;
 
Public constructor create(var ainstance: tfontcache);
 
Public procedure getfont(var drawinfo: drawinfoty);
 
Public procedure freefontdata(var drawinfo: drawinfoty);
 
Public procedure gettext16width(var drawinfo: drawinfoty); virtual; abstract;
 
Public procedure getchar16widths(var drawinfo: drawinfoty); virtual; abstract;
 
Public procedure getfontmetrics(var drawinfo: drawinfoty); virtual; abstract;
 
Public procedure drawstring16(var drawinfo: drawinfoty; const afont: fontty); virtual; abstract;
 

Generated by PasDoc 0.16.0.