หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
The optical margin alignment mode.
By default, glyphs are aligned to the margin by the default origin and side-bearings of the glyph. If you specify DWRITE_OPTICAL_ALIGNMENT_NO_SIDE_BEARINGS, then the alignment uses the side bearings to offset the glyph from the aligned edge to ensure the ink of the glyphs are aligned.
Syntax
typedef enum DWRITE_OPTICAL_ALIGNMENT {
DWRITE_OPTICAL_ALIGNMENT_NONE,
DWRITE_OPTICAL_ALIGNMENT_NO_SIDE_BEARINGS
} ;
Constants
DWRITE_OPTICAL_ALIGNMENT_NONEAlign to the default origin and side-bearings of the glyph. |
DWRITE_OPTICAL_ALIGNMENT_NO_SIDE_BEARINGSAlign to the ink of the glyphs, such that the black box abuts the margins. |
Requirements
| Requirement | Value |
|---|---|
| Header | dwrite_2.h |