Structure TEXTMETRIC

La structure TEXTMETRIC a la forme suivante:

typeDef struct tagTEXTMETRIC {  / * tm * /
    int tmHeight ;
    int tmAscent ;
    int tmDescent ;
    int tmInternalLeading ;
    int tmExternalLeading ;
    int tmAveCharWidth ;
    int tmMaxCharWidth ;
    int tmWeight ;
    BYTE tmItalic ;
    BYTE tmUnderlined ;
    BYTE tmStruckOut ;
    BYTE tmFirstChar ;
    BYTE tmLastChar ;
    BYTE tmDefaultChar ;
    BYTE tmBreakChar ;
    BYTE tmPitchAndFamily ;
    BYTE tmCharSet ;
    int tmOverhang ;
    int tmDigitizedAspectX ;
    int tmDigitizedAspectY ;
} TEXTMETRIC

La structure TEXTMETRIC contient des informations de base sur une police physique. Toutes les tailles sont données en unités logiques ; c'est-à-dire, ils dépendent sur le mode de mappage actuel du contexte d'affichage.

Pour plus d'informations sur cette structure, voir TEXTMETRIC dans la documentation du SDK Win32.

Voir aussinbsp ;CDC::GetTextMetrics, TEXTMETRIC

Index