76 references to Classification
PresentationCore (76)
Core\CSharp\MS\Internal\Classification.cs (8)
124
CharacterAttribute charAttribute =
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(unicodeScalar));
129
||
Classification
.IsIVS(unicodeScalar));
332
byte itemClass =
Classification
.CharAttributeTable[GetUnicodeClass(unicodeScalar)].ItemClass;
354
byte itemClass =
Classification
.CharAttributeTable[GetUnicodeClass(unicodeScalar)].ItemClass;
401
ushort flags = (ushort)
Classification
.CharAttributeTable[(int)GetUnicodeClassUTF16(charBuffer[i])].Flags;
435
int ch =
Classification
.UnicodeScalar(
442
byte currentClass = (byte)
Classification
.CharAttributeTable[(int)GetUnicodeClass(ch)].ItemClass;
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (7)
312
advance =
Classification
.AdvanceWhile(unicodeString, ItemClass.JoinerClass);
330
int originalChar =
Classification
.UnicodeScalar(
335
if (
Classification
.IsJoiner(originalChar))
338
if (!
Classification
.IsCombining(originalChar))
377
int originalChar =
Classification
.UnicodeScalar(
397
if (
Classification
.IsJoiner(ch)
398
|| (hasBaseChar &&
Classification
.IsCombining(ch))
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (7)
316
cchAdvance =
Classification
.AdvanceWhile(unicodeString, ItemClass.JoinerClass);
324
Classification
.UnicodeScalar(unicodeString, out sizeofChar)
332
ch =
Classification
.UnicodeScalar(
337
bool hasBaseChar = !
Classification
.IsCombining(ch);
346
ch =
Classification
.UnicodeScalar(
351
if (
Classification
.IsJoiner(ch))
354
if (!
Classification
.IsCombining(ch))
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (7)
343
Classification
.UnicodeScalar(
358
Classification
.UnicodeScalar(
364
if (map[ch] != firstIndex && !
Classification
.IsCombining(ch) && !
Classification
.IsJoiner(ch))
420
Classification
.UnicodeScalar(
427
if(!
Classification
.IsCombining(ch) && !
Classification
.IsJoiner(ch))
Core\CSharp\MS\Internal\TextFormatting\Bidi.cs (22)
522
currentClass =
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(intChar)).BiDi;
668
currentClass =
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(intChar)).BiDi;
1699
directionClass =
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(intChar)).BiDi;
1812
tempClass =
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(intChar)).BiDi;
1831
if (tempClass !=
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(intChar)).BiDi)
1854
(int)
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(intChar)).BiDi] == 1)
1879
if (DirectionClass.ParagraphSeparator !=
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(codePoint)).BiDi)
1895
tempClass =
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(codePoint)).BiDi;
2037
hiddenCharClass =
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(intChar)).BiDi;
2053
tempClass =
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(codePoint)).BiDi;
2181
currentClass =
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClass(intChar)).BiDi;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (6)
2142
ushort flags = (ushort)(
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClassUTF16(pwch[i]))).Flags;
2263
ushort flags = (ushort)(
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClassUTF16(pwch[ich + j]))).Flags;
2406
ushort flags = (ushort)(
Classification
.CharAttributeOf((int)
Classification
.GetUnicodeClassUTF16(pwch[ich + j]))).Flags;
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1974
int charClass = (int)
Classification
.GetUnicodeClassUTF16(ch);
1975
return
Classification
.CharAttributeOf(charClass).BiDi == DirectionClass.WhiteSpace;
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
249
int ch =
Classification
.UnicodeScalar(charString, out sizeOfChar);
253
if (canBreakAfterPrecedingChar && !
Classification
.IsCombining(ch) && !
Classification
.IsJoiner(ch) )
258
canBreakAfterPrecedingChar = !
Classification
.IsJoiner(ch);
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (9)
254
stringLength =
Classification
.AdvanceUntilUTF16(
663
charFlags = (ushort)
Classification
.CharAttributeOf(
664
(int)
Classification
.GetUnicodeClassUTF16(firstChar)
1247
CharacterAttribute charAttributes =
Classification
.CharAttributeOf(
Classification
.GetUnicodeClassUTF16(ch));
1379
CharacterAttribute charAttributes =
Classification
.CharAttributeOf(
Classification
.GetUnicodeClassUTF16(ch));
1916
int unicodeClass =
Classification
.GetUnicodeClass(ch);
1917
ItemClass itemClass = (ItemClass)
Classification
.CharAttributeOf(unicodeClass).ItemClass;
Core\CSharp\System\Windows\Media\Typeface.cs (4)
451
int charClass = (int)
Classification
.GetUnicodeClassUTF16(ch);
452
charFlags =
Classification
.CharAttributeOf(charClass).Flags;
494
int charClass = (int)
Classification
.GetUnicodeClassUTF16(ch);
495
charFlags =
Classification
.CharAttributeOf(charClass).Flags;