Bug 1746711 Part 2: Ensure the enqueued surface has a color space. r=gfx-reviewers...
[gecko.git] / intl / components / src / BidiClass.h
blobf4d31e9e95f3be4c49f1d303a8bfdecc72b05037
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 #ifndef intl_components_BidiClass_h_
5 #define intl_components_BidiClass_h_
7 namespace mozilla::intl {
9 /**
10 * Read ftp://ftp.unicode.org/Public/UNIDATA/ReadMe-Latest.txt
11 * section BIDIRECTIONAL PROPERTIES
12 * for the detailed definition of the following categories
14 * The values here must match the equivalents in %bidicategorycode in
15 * mozilla/intl/unicharutil/tools/genUnicodePropertyData.pl,
16 * and must also match the values used by ICU's UCharDirection.
18 enum class BidiClass : uint8_t {
19 LeftToRight = 0,
20 RightToLeft = 1,
21 EuropeanNumber = 2,
22 EuropeanNumberSeparator = 3,
23 EuropeanNumberTerminator = 4,
24 ArabicNumber = 5,
25 CommonNumberSeparator = 6,
26 BlockSeparator = 7,
27 SegmentSeparator = 8,
28 WhiteSpaceNeutral = 9,
29 OtherNeutral = 10,
30 LeftToRightEmbedding = 11,
31 LeftToRightOverride = 12,
32 RightToLeftArabic = 13,
33 RightToLeftEmbedding = 14,
34 RightToLeftOverride = 15,
35 PopDirectionalFormat = 16,
36 DirNonSpacingMark = 17,
37 BoundaryNeutral = 18,
38 FirstStrongIsolate = 19,
39 LeftToRightIsolate = 20,
40 RightToLeftIsolate = 21,
41 PopDirectionalIsolate = 22,
42 BidiClassCount
45 } // namespace mozilla::intl
47 #endif