Share via


DWRITE_PANOSE_WEIGHT-Enumeration (dwrite_1.h)

Die DWRITE_PANOSE_WEIGHT-Enumeration enthält Werte, die die Gewichtung von Zeichen angeben.

Syntax

typedef enum DWRITE_PANOSE_WEIGHT {
  DWRITE_PANOSE_WEIGHT_ANY = 0,
  DWRITE_PANOSE_WEIGHT_NO_FIT = 1,
  DWRITE_PANOSE_WEIGHT_VERY_LIGHT = 2,
  DWRITE_PANOSE_WEIGHT_LIGHT = 3,
  DWRITE_PANOSE_WEIGHT_THIN = 4,
  DWRITE_PANOSE_WEIGHT_BOOK = 5,
  DWRITE_PANOSE_WEIGHT_MEDIUM = 6,
  DWRITE_PANOSE_WEIGHT_DEMI = 7,
  DWRITE_PANOSE_WEIGHT_BOLD = 8,
  DWRITE_PANOSE_WEIGHT_HEAVY = 9,
  DWRITE_PANOSE_WEIGHT_BLACK = 10,
  DWRITE_PANOSE_WEIGHT_EXTRA_BLACK = 11,
  DWRITE_PANOSE_WEIGHT_NORD
} ;

Konstanten

 
DWRITE_PANOSE_WEIGHT_ANY
Wert: 0
Beliebiges Gewicht.
DWRITE_PANOSE_WEIGHT_NO_FIT
Wert: 1
Kein Passgewicht.
DWRITE_PANOSE_WEIGHT_VERY_LIGHT
Wert: 2
Sehr geringes Gewicht.
DWRITE_PANOSE_WEIGHT_LIGHT
Wert: 3
Geringes Gewicht.
DWRITE_PANOSE_WEIGHT_THIN
Wert: 4
Dünnes Gewicht.
DWRITE_PANOSE_WEIGHT_BOOK
Wert: 5
Buchgewichtung.
DWRITE_PANOSE_WEIGHT_MEDIUM
Wert: 6
Mittleres Gewicht.
DWRITE_PANOSE_WEIGHT_DEMI
Wert: 7
Demi-Gewichtung.
DWRITE_PANOSE_WEIGHT_BOLD
Wert: 8
Fettgewichtung.
DWRITE_PANOSE_WEIGHT_HEAVY
Wert: 9
Hohes Gewicht.
DWRITE_PANOSE_WEIGHT_BLACK
Wert: 10
Schwarzes Gewicht.
DWRITE_PANOSE_WEIGHT_EXTRA_BLACK
Wert: 11
Zusätzliches schwarzes Gewicht.
DWRITE_PANOSE_WEIGHT_NORD
Zusätzliches schwarzes Gewicht.

Hinweise

Die DWRITE_PANOSE_WEIGHT-Werte entsprechen ungefähr den DWRITE_FONT_WEIGHT-Werten , indem (panose_weight - 2) * 100 = font_weight verwendet wird.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 8 und Plattformupdate für Windows 7 [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2012 und Plattformupdate für Windows Server 2008 R2 [nur Desktop-Apps]
Kopfzeile dwrite_1.h

Weitere Informationen

DWRITE_PANOSE