DWRITE_BREAK_CONDITION enumeration
Indicates the condition at the edges of inline object or text used to determine line-breaking behavior.
Syntax
enum DWRITE_BREAK_CONDITION {
DWRITE_BREAK_CONDITION_NEUTRAL = 0,
DWRITE_BREAK_CONDITION_CAN_BREAK = 1,
DWRITE_BREAK_CONDITION_MAY_NOT_BREAK = 2,
DWRITE_BREAK_CONDITION_MUST_BREAK = 3
};
Constants
- DWRITE_BREAK_CONDITION_NEUTRAL
-
Indicates whether a break is allowed by determining the condition of the neighboring text span or inline object.
- DWRITE_BREAK_CONDITION_CAN_BREAK
-
Indicates that a line break is allowed, unless overruled by the condition of the neighboring text span or inline object, either prohibited by a "may not break" condition or forced by a "must break" condition.
- DWRITE_BREAK_CONDITION_MAY_NOT_BREAK
-
Indicates that there should be no line break, unless overruled by a "must break" condition from the neighboring text span or inline object.
- DWRITE_BREAK_CONDITION_MUST_BREAK
-
Indicates that the line break must happen, regardless of the condition of the adjacent text span or inline object.
Requirements
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|