GetKerningA

文字, 字型

描述

結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 GetKerning 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀

傳回指定字元配對的 kerning 量

語法

Delphi

Function DLGetKerningA(InstanceID: Integer; CharPair: PAnsiChar): Integer;

DLL

int DLGetKerningA(int InstanceID, const char * CharPair);

參數

CharPair兩個字元的字串,內含組成 kerning 配對的字元,例如 "AW"

傳回值

kerning 配對間距的縮減量。與 Adobe Illustrator 這類繪圖軟體顯示的值相同。值 1000 等於文字高度。