|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| gdi32.lib
| Header File
| wingdi.h
| Unicode
| No
| Platform Notes
| Windows 95: int == 16 bits
|
|
|
GetKerningPairs
The
GetKerningPairs function retrieves the character-kerning pairs for the currently selected
font for the specified device context.
DWORD GetKerningPairs(
HDC hdc,
| // handle of device context
|
DWORD nNumPairs,
| // number of kerning-pairs to be retrieved
|
LPKERNINGPAIR lpkrnpair
| // address of kerning-pair array
|
);
|
|
Parameters
hdc
Identifies the device context.
nNumPairs
Specifies the number of pairs that fit in the
lpkrnpair array. If the font has more than
nNumPairs kerning pairs, an error is returned.
lpkrnpair
Points to an array of
KERNINGPAIR structures to receive the kerning pairs. The array must contain at least as
many structures as specified by the
nNumPairs parameter. If this parameter is NULL, the function returns the total number
of kerning pairs for the font.
Return Values
If the function succeeds, the return value is the number of kerning pairs
returned.
If the function fails, the return value is zero.
See Also
KERNINGPAIR
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database