Class tfont

Unit

Declaration

type tfont = class(tlinkedoptionalpersistent, icanvas)

Description

No description available, ancestor tlinkedoptionalpersistent description follows
No description available, ancestor tlinkedpersistent description follows
No description available, ancestor tnullinterfacedpersistent description follows
No description available, ancestor tvirtualpersistent description follows

Hierarchy

Overview

Fields

Protected finfo: fontinfoty;
Protected fhandlepo: ˆfontnumty;

Methods

Protected procedure dochanged(const changed: canvasstatesty; const nochange: boolean); virtual;
Protected function getfont(var drawinfo: drawinfoty): boolean; virtual;
Protected procedure setname(const Value: string); virtual;
Protected function gethandle: fontnumty; virtual;
Protected function getdatapo: pfontdataty;
Protected procedure assignproperties(const source: tfont; const ahandles: boolean); virtual;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure settemplateinfo(const ainfo: basefontinfoty);
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
Protected function isheightstored(): boolean;
Protected function iswidthstored(): boolean;
Protected function isextraspacestored(): boolean;
Protected function isnamestored(): boolean;
Protected function ischarsetstored(): boolean;
Protected function isoptionsstored(): boolean;
Public constructor create; override;
Public destructor destroy; override;
Public procedure assign(source: tpersistent); override;
Public procedure scale(const ascale: real); virtual;
Public function gethandleforcanvas(const canvas: tcanvas): fontnumty;

Properties

Protected property rotation: real read getrotation write setrotation;
Public property handle: fontnumty read gethandle;
Public property ascent: integer read getascent;
Public property descent: integer read getdescent;
Public property glyphheight: integer read getglyphheight;
Public property lineheight: integer read getlineheight;
Public property linewidth: integer read getlinewidth;
Public property caretshift: integer read getcaretshift;
Public property onchange: notifyeventty read fonchange write fonchange;
Public property bold: boolean read getbold write setbold;
Public property italic: boolean read getitalic write setitalic;
Public property underline: boolean read getunderline write setunderline;
Public property strikeout: boolean read getstrikeout write setstrikeout;
Public property heightflo: flo64 read getheightflo write setheightflo;
Published property color: colorty read getcolor write setcolor stored iscolorstored default cl_default;
Published property colorbackground: colorty read getcolorbackground write setcolorbackground stored iscolorbackgroundstored default cl_default;
Published property colorselect: colorty read getcolorselect write setcolorselect stored iscolorselectstored default cl_default;
Published property colorselectbackground: colorty read getcolorselectbackground write setcolorselectbackground stored iscolorselectbackgroundstored default cl_default;
Published property shadow_color: colorty read getshadow_color write setshadow_color stored isshadow_colorstored default cl_none;
Published property shadow_shiftx: integer read getshadow_shiftx write setshadow_shiftx stored isshadow_shiftxstored default 1;
Published property shadow_shifty: integer read getshadow_shifty write setshadow_shifty stored isshadow_shiftystored default 1;
Published property gloss_color: colorty read getgloss_color write setgloss_color stored isgloss_colorstored default cl_none;
Published property gloss_shiftx: integer read getgloss_shiftx write setgloss_shiftx stored isgloss_shiftxstored default -1;
Published property gloss_shifty: integer read getgloss_shifty write setgloss_shifty stored isgloss_shiftystored default -1;
Published property grayed_color: colorty read getgrayed_color write setgrayed_color stored isgrayed_colorstored default cl_default;
Published property grayed_colorshadow: colorty read getgrayed_colorshadow write setgrayed_colorshadow stored isgrayed_colorshadowstored default cl_default;
Published property grayed_shiftx: integer read getgrayed_shiftx write setgrayed_shiftx stored isgrayed_shiftxstored default 1;
Published property grayed_shifty: integer read getgrayed_shifty write setgrayed_shifty stored isgrayed_shiftystored default 1;
Published property height: integer read getheight write setheight stored isheightstored default 0;
Published property width: integer read getwidth write setwidth stored iswidthstored default 0;
Published property extraspace: integer read getextraspace write setextraspace stored isextraspacestored default 0;
Published property style: fontstylesty read getstyle write setstyle stored isstylestored default [];
Published property name: string read getname write setname stored isnamestored;
Published property charset: string read getcharset write setcharset stored ischarsetstored;
Published property options: fontoptionsty read getoptions write setoptions stored isoptionsstored default [];
Published property xscale: real read getxscale write setxscale stored isxscalestored;
Published property localprops: fontlocalpropsty read flocalprops write setlocalprops;
Published property template: tfontcomp read ftemplate write settemplate;

Description

Fields

Protected finfo: fontinfoty;
 
Protected fhandlepo: ˆfontnumty;
 

Methods

Protected procedure dochanged(const changed: canvasstatesty; const nochange: boolean); virtual;
 
Protected function getfont(var drawinfo: drawinfoty): boolean; virtual;
 
Protected procedure setname(const Value: string); virtual;
 
Protected function gethandle: fontnumty; virtual;
 
Protected function getdatapo: pfontdataty;
 
Protected procedure assignproperties(const source: tfont; const ahandles: boolean); virtual;
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected procedure settemplateinfo(const ainfo: basefontinfoty);
 
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
 
Protected function isheightstored(): boolean;
 
Protected function iswidthstored(): boolean;
 
Protected function isextraspacestored(): boolean;
 
Protected function isnamestored(): boolean;
 
Protected function ischarsetstored(): boolean;
 
Protected function isoptionsstored(): boolean;
 
Public constructor create; override;
 
Public destructor destroy; override;
 
Public procedure assign(source: tpersistent); override;
 
Public procedure scale(const ascale: real); virtual;
 
Public function gethandleforcanvas(const canvas: tcanvas): fontnumty;
 

Properties

Protected property rotation: real read getrotation write setrotation;
 
Public property handle: fontnumty read gethandle;
 
Public property ascent: integer read getascent;
 
Public property descent: integer read getdescent;
 
Public property glyphheight: integer read getglyphheight;
 
Public property lineheight: integer read getlineheight;
 
Public property linewidth: integer read getlinewidth;
 
Public property caretshift: integer read getcaretshift;
 
Public property onchange: notifyeventty read fonchange write fonchange;
 
Public property bold: boolean read getbold write setbold;
 
Public property italic: boolean read getitalic write setitalic;
 
Public property underline: boolean read getunderline write setunderline;
 
Public property strikeout: boolean read getstrikeout write setstrikeout;
 
Public property heightflo: flo64 read getheightflo write setheightflo;
 
Published property color: colorty read getcolor write setcolor stored iscolorstored default cl_default;
 
Published property colorbackground: colorty read getcolorbackground write setcolorbackground stored iscolorbackgroundstored default cl_default;
 
Published property colorselect: colorty read getcolorselect write setcolorselect stored iscolorselectstored default cl_default;
 
Published property colorselectbackground: colorty read getcolorselectbackground write setcolorselectbackground stored iscolorselectbackgroundstored default cl_default;
 
Published property shadow_color: colorty read getshadow_color write setshadow_color stored isshadow_colorstored default cl_none;
 
Published property shadow_shiftx: integer read getshadow_shiftx write setshadow_shiftx stored isshadow_shiftxstored default 1;
 
Published property shadow_shifty: integer read getshadow_shifty write setshadow_shifty stored isshadow_shiftystored default 1;
 
Published property gloss_color: colorty read getgloss_color write setgloss_color stored isgloss_colorstored default cl_none;
 
Published property gloss_shiftx: integer read getgloss_shiftx write setgloss_shiftx stored isgloss_shiftxstored default -1;
 
Published property gloss_shifty: integer read getgloss_shifty write setgloss_shifty stored isgloss_shiftystored default -1;
 
Published property grayed_color: colorty read getgrayed_color write setgrayed_color stored isgrayed_colorstored default cl_default;
 
Published property grayed_colorshadow: colorty read getgrayed_colorshadow write setgrayed_colorshadow stored isgrayed_colorshadowstored default cl_default;
 
Published property grayed_shiftx: integer read getgrayed_shiftx write setgrayed_shiftx stored isgrayed_shiftxstored default 1;
 
Published property grayed_shifty: integer read getgrayed_shifty write setgrayed_shifty stored isgrayed_shiftystored default 1;
 
Published property height: integer read getheight write setheight stored isheightstored default 0;
 
Published property width: integer read getwidth write setwidth stored iswidthstored default 0;
 
Published property extraspace: integer read getextraspace write setextraspace stored isextraspacestored default 0;
 
Published property style: fontstylesty read getstyle write setstyle stored isstylestored default [];
 
Published property name: string read getname write setname stored isnamestored;
 
Published property charset: string read getcharset write setcharset stored ischarsetstored;
 
Published property options: fontoptionsty read getoptions write setoptions stored isoptionsstored default [];
 
Published property xscale: real read getxscale write setxscale stored isxscalestored;
 
Published property localprops: fontlocalpropsty read flocalprops write setlocalprops;
 
Published property template: tfontcomp read ftemplate write settemplate;
 

Generated by PasDoc 0.16.0.