Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 1.5 KB

abc-structure.md

File metadata and controls

52 lines (42 loc) · 1.5 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
ABC Structure | Microsoft Docs
11/04/2016
cpp-windows
article
ABC
C++
ABC structure [MFC]
32663839-c3b7-4f47-896c-b15329c96bc8
11
mikeblome
mblome
ghogen

ABC Structure

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

Syntax

typedef struct _ABC { /* abc */  
    int abcA;  
    UINT abcB;  
    int abcC;  
} ABC;  

Parameters

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.

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

Header: wingdi.h

See Also

Structures, Styles, Callbacks, and Message Maps
CDC::GetCharABCWidths