This topic has not yet been rated - Rate this topic

ABC structure

Applies to: desktop apps only

The ABC structure contains the width of a character in a TrueType font.

Syntax

typedef struct _ABC {
  int  abcA;
  UINT abcB;
  int  abcC;
} ABC, *PABC;

Members

abcA

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

abcB

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

abcC

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 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.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wingdi.h (include Windows.h)

See also

Fonts and Text Overview
Font and Text Structures
GetCharABCWidths

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ