共用方式為


DWRITE_PANOSE_WEIGHT列舉 (dwrite_1.h)

DWRITE_PANOSE_WEIGHT列舉包含指定字元權數的值。

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

常數

 
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
Demi weight。
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
額外的黑色粗細。

備註

使用 (panose_weight - 2) * 100 = font_weight,DWRITE_PANOSE_WEIGHT值大致對應至DWRITE_FONT_WEIGHT值。

規格需求

需求
最低支援的用戶端 適用於 Windows 7 的 Windows 8 和平臺更新 [僅限傳統型應用程式]
最低支援的伺服器 適用於 Windows Server 2008 R2 的 Windows Server 2012 和平臺更新 [僅限傳統型應用程式]
標頭 dwrite_1.h

另請參閱

DWRITE_PANOSE