ABCFLOAT structure (wingdi.h)

The ABCFLOAT structure contains the A, B, and C widths of a font character.

Syntax

typedef struct _ABCFLOAT {
  FLOAT abcfA;
  FLOAT abcfB;
  FLOAT abcfC;
} ABCFLOAT, *PABCFLOAT, *NPABCFLOAT, *LPABCFLOAT;

Members

abcfA

The A spacing of the character. The A spacing is the distance to add to the current position before drawing the character glyph.

abcfB

The B spacing of the character. The B spacing is the width of the drawn portion of the character glyph.

abcfC

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.

Remarks

The A, B, and C widths are measured along the base line of the font.

The character increment (total width) of a character is the sum of the A, B, and C spaces. Either the A or the C space can be negative to indicate underhangs or overhangs.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wingdi.h (include Windows.h)

See also

Font and Text Structures

Fonts and Text Overview

GetCharABCWidthsFloat