| title | ABC Structure | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | article | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | 32663839-c3b7-4f47-896c-b15329c96bc8 | |||||||||||||
| caps.latest.revision | 11 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
The ABC structure contains the width of a character in a TrueType font.
typedef struct _ABC { /* abc */
int abcA;
UINT abcB;
int abcC;
} ABC;
abcA
Specifies the A spacing of the character. The A spacing is the distance to add to the current position before drawing the character glyph.
abcB
Specifies the B spacing of the character. The B spacing is the width of the drawn portion of the character glyph.
abcC
Specifies the C spacing of the character. The C spacing is the distance to add to the current position to provide white space to the right of the character glyph.
The total width of a character is the summation of the A, B, and C spaces. Either the A or the C space can be negative to indicate underhangs or overhangs.
Header: wingdi.h
Structures, Styles, Callbacks, and Message Maps
CDC::GetCharABCWidths