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