DWRITE_PANOSE union (dwrite_1.h)

语法

union DWRITE_PANOSE {
  UINT8  values[10];
  UINT8  familyKind;
  struct {
    UINT8 familyKind;
    UINT8 serifStyle;
    UINT8 weight;
    UINT8 proportion;
    UINT8 contrast;
    UINT8 strokeVariation;
    UINT8 armStyle;
    UINT8 letterform;
    UINT8 midline;
    UINT8 xHeight;
  } text;
  struct {
    UINT8 familyKind;
    UINT8 toolKind;
    UINT8 weight;
    UINT8 spacing;
    UINT8 aspectRatio;
    UINT8 contrast;
    UINT8 scriptTopology;
    UINT8 scriptForm;
    UINT8 finials;
    UINT8 xAscent;
  } script;
  struct {
    UINT8 familyKind;
    UINT8 decorativeClass;
    UINT8 weight;
    UINT8 aspect;
    UINT8 contrast;
    UINT8 serifVariant;
    UINT8 fill;
    UINT8 lining;
    UINT8 decorativeTopology;
    UINT8 characterRange;
  } decorative;
  struct {
    UINT8 familyKind;
    UINT8 symbolKind;
    UINT8 weight;
    UINT8 spacing;
    UINT8 aspectRatioAndContrast;
    UINT8 aspectRatio94;
    UINT8 aspectRatio119;
    UINT8 aspectRatio157;
    UINT8 aspectRatio163;
    UINT8 aspectRatio211;
  } symbol;
};

成员

values[10]

TBD

familyKind

text

text.familyKind

text.serifStyle

text.weight

text.proportion

text.contrast

text.strokeVariation

text.armStyle

text.letterform

text.midline

text.xHeight

script

script.familyKind

script.toolKind

script.weight

script.spacing

script.aspectRatio

script.contrast

script.scriptTopology

script.scriptForm

script.finials

script.xAscent

decorative

decorative.familyKind

decorative.decorativeClass

decorative.weight

decorative.aspect

decorative.contrast

decorative.serifVariant

decorative.fill

decorative.lining

decorative.decorativeTopology

decorative.characterRange

symbol

symbol.familyKind

symbol.symbolKind

symbol.weight

symbol.spacing

symbol.aspectRatioAndContrast

symbol.aspectRatio94

symbol.aspectRatio119

symbol.aspectRatio157

symbol.aspectRatio163

symbol.aspectRatio211

要求

要求
Header dwrite_1.h