Castle Game EngineIntroduction Units Class Hierarchy Classes, Interfaces, Objects and Records Types Variables Constants Functions and Procedures Identifiers
|
Unit CastleWindowsFonts
Description
Windows-specific font utilities.
Uses
Overview
Classes, Interfaces, Objects and Records
Class TWindowsFont |
A wrapper for CreateFont WinAPI function. |
Functions and Procedures
Types
Constants
CharSetsNames: array [TWinCharSet] of string=(
'ANSI_CHARSET', 'DEFAULT_CHARSET', 'SYMBOL_CHARSET', 'SHIFTJIS_CHARSET',
'HANGEUL_CHARSET', 'GB2312_CHARSET', 'CHINESEBIG5_CHARSET', 'OEM_CHARSET',
'HEBREW_CHARSET', 'ARABIC_CHARSET', 'GREEK_CHARSET',
'TURKISH_CHARSET', 'THAI_CHARSET', 'EASTEUROPE_CHARSET',
'RUSSIAN_CHARSET', 'BALTIC_CHARSET'); |
Description
Functions and Procedures
function IsFontTrueType( Font: HFONT ): boolean; |
Is given Windows font possibly true-type.
|
procedure EnumFontCharsetsObj(const FontName: string; EnumProc : TEnumFontCharsetsProc_ByObject); |
Enumerate charsets handled by given font. Warning: enumerated values may be repeated.
|
function WinCharSetFromName(const Name: string): TWinCharSet; |
|
Types
TWinCharSet = (...); |
Windows font charset values. For each value csXxx below, WinAPI defines constant XXX_CHARSET. Useful for enumerating available charsets, displaying charset name etc.
Values
-
wcsANSI
-
wcsDEFAULT
-
wcsSYMBOL
-
wcsSHIFTJIS
-
wcsHANGEUL
-
wcsGB2312
-
wcsCHINESEBIG5
-
wcsOEM
-
wcsHEBREW
-
wcsARABIC
-
wcsGREEK
-
wcsTURKISH
-
wcsTHAI
-
wcsEASTEUROPE
-
wcsRUSSIAN
-
wcsBALTIC
|
TEnumFontCharsetsProc_ByObject = procedure( FontCharset: byte ) of object; |
|
TEnumFontCharsetsProc = procedure( FontCharset: byte ); |
|
Constants
CharSetsNames: array [TWinCharSet] of string=(
'ANSI_CHARSET', 'DEFAULT_CHARSET', 'SYMBOL_CHARSET', 'SHIFTJIS_CHARSET',
'HANGEUL_CHARSET', 'GB2312_CHARSET', 'CHINESEBIG5_CHARSET', 'OEM_CHARSET',
'HEBREW_CHARSET', 'ARABIC_CHARSET', 'GREEK_CHARSET',
'TURKISH_CHARSET', 'THAI_CHARSET', 'EASTEUROPE_CHARSET',
'RUSSIAN_CHARSET', 'BALTIC_CHARSET'); |
|
Generated by PasDoc 0.15.0.
|