Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CDC::GetCharABCWidthsI

Retrieves the widths, in logical units, of consecutive glyph indices in a specified range from the current TrueType font.

BOOL GetCharABCWidthsI( 
   UINT giFirst, 
   UINT cgi, 
   LPWORD pgi, 
   LPABC lpabc 
) const;
giFirst

Specifies the first glyph index in the group of consecutive glyph indices from the current font. This parameter is only used if the pgi parameter is NULL.

cgi

Specifies the number of glyph indices.

pgi

A pointer to an array containing glyph indices. If the value is NULL, the giFirst parameter is used instead. The cgi parameter specifies the number of glyph indices in this array.

lpabc

Pointer to an array of ABC structures receiving the character widths. This array must contain at least as many ABC structures as there are glyph indices specified by the cgi parameter.

Nonzero if the function is successful; otherwise 0.

This member function emulates the functionality of the function GetCharABCWidthsI, as described in the Windows SDK.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.