Compartir a través de


enumeración DWRITE_PANOSE_WEIGHT (dwrite_1.h)

La enumeración DWRITE_PANOSE_WEIGHT contiene valores que especifican el peso de los caracteres.

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
} ;

Constantes

 
DWRITE_PANOSE_WEIGHT_ANY
Valor: 0
Cualquier peso.
DWRITE_PANOSE_WEIGHT_NO_FIT
Valor: 1
No cabe el peso.
DWRITE_PANOSE_WEIGHT_VERY_LIGHT
Valor: 2
Peso muy ligero.
DWRITE_PANOSE_WEIGHT_LIGHT
Valor: 3
Peso ligero.
DWRITE_PANOSE_WEIGHT_THIN
Valor: 4
Peso fino.
DWRITE_PANOSE_WEIGHT_BOOK
Valor: 5
Peso del libro.
DWRITE_PANOSE_WEIGHT_MEDIUM
Valor: 6
Peso medio.
DWRITE_PANOSE_WEIGHT_DEMI
Valor: 7
Demi weight.
DWRITE_PANOSE_WEIGHT_BOLD
Valor: 8
Peso negrita.
DWRITE_PANOSE_WEIGHT_HEAVY
Valor: 9
Peso pesado.
DWRITE_PANOSE_WEIGHT_BLACK
Valor: 10
Peso negro.
DWRITE_PANOSE_WEIGHT_EXTRA_BLACK
Valor: 11
Peso negro adicional.
DWRITE_PANOSE_WEIGHT_NORD
Peso negro adicional.

Comentarios

Los valores de DWRITE_PANOSE_WEIGHT corresponden aproximadamente a los valores de DWRITE_FONT_WEIGHT mediante (panose_weight - 2) * 100 = font_weight.

Requisitos

Requisito Value
Cliente mínimo compatible Windows 8 y Actualización de plataforma para Windows 7 [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows Server 2012 y actualización de plataforma para Windows Server 2008 R2 [solo aplicaciones de escritorio]
Encabezado dwrite_1.h

Consulte también

DWRITE_PANOSE