Unit msefont
Uses
Classes, Interfaces, Objects and Records
Types
Description
Overview
Functions and Procedures
function getfontnum(const fontinfo: fontinfoty; var drawinfo: drawinfoty; getfont: getfontfuncty; var atemplate: tfontcomp): fontnumty; |
procedure addreffont(font: fontnumty); |
procedure releasefont(font: fontnumty); |
procedure checkhighresfont(const afont: pfontdataty; var drawinfo: drawinfoty); |
procedure getchar16widths(var drawinfo: drawinfoty); |
procedure getfontmetrics(var drawinfo: drawinfoty); |
function getfontdata(font: fontnumty): pfontdataty; |
function findfontdata(const afont: fontty): pfontdataty; |
function registerfontalias(const alias,name: string; mode: fontaliasmodety = fam_nooverwrite; const height: integer = 0; const width: integer = 0; const options: fontoptionsty = []; const xscale: real = 1.0; ancestor: string = defaultfontalias; const template: tfontcomp = nil): boolean; |
function unregisterfontalias(const alias: string): boolean; |
procedure clearfontalias; |
function fontaliascount: integer; |
procedure setfontaliascount(const acount: integer); |
function realfontname(const aliasname: string): string; |
function getfontforglyph(const abasefont: fontty; const glyph: unicharty): fontnumty; |
function fontoptioncharstooptions(const astring: string): fontoptionsty; |
procedure init; |
procedure deinit; |
Constants
defaultmaxfontcachecount = 64; |
Variables
maxfontcachecount: integer = defaultmaxfontcachecount; |
Description
Functions and Procedures
function getfontnum(const fontinfo: fontinfoty; var drawinfo: drawinfoty; getfont: getfontfuncty; var atemplate: tfontcomp): fontnumty; |
procedure addreffont(font: fontnumty); |
procedure releasefont(font: fontnumty); |
procedure checkhighresfont(const afont: pfontdataty; var drawinfo: drawinfoty); |
procedure getchar16widths(var drawinfo: drawinfoty); |
procedure getfontmetrics(var drawinfo: drawinfoty); |
function getfontdata(font: fontnumty): pfontdataty; |
function findfontdata(const afont: fontty): pfontdataty; |
function registerfontalias(const alias,name: string; mode: fontaliasmodety = fam_nooverwrite; const height: integer = 0; const width: integer = 0; const options: fontoptionsty = []; const xscale: real = 1.0; ancestor: string = defaultfontalias; const template: tfontcomp = nil): boolean; |
function unregisterfontalias(const alias: string): boolean; |
procedure clearfontalias; |
function fontaliascount: integer; |
procedure setfontaliascount(const acount: integer); |
function realfontname(const aliasname: string): string; |
function getfontforglyph(const abasefont: fontty; const glyph: unicharty): fontnumty; |
function fontoptioncharstooptions(const astring: string): fontoptionsty; |
procedure init; |
procedure deinit; |
Constants
defaultmaxfontcachecount = 64; |
Variables
maxfontcachecount: integer = defaultmaxfontcachecount; |
Generated by PasDoc 0.16.0.