81 references to Classification
PresentationCore (81)
MS\Internal\Classification.cs (9)
122CharacterAttribute charAttribute = Classification.CharAttributeOf((int)Classification.GetUnicodeClass(unicodeScalar)); 127|| Classification.IsIVS(unicodeScalar)); 270return (ScriptID)Classification.CharAttributeTable[GetUnicodeClass(unicodeScalar)].Script; 308byte itemClass = Classification.CharAttributeTable[GetUnicodeClass(unicodeScalar)].ItemClass; 323byte itemClass = Classification.CharAttributeTable[GetUnicodeClass(unicodeScalar)].ItemClass; 361ushort flags = (ushort)Classification.CharAttributeTable[(int)GetUnicodeClassUTF16(charBuffer[i])].Flags; 388int ch = Classification.UnicodeScalar( 395byte currentClass = (byte) Classification.CharAttributeTable[(int)GetUnicodeClass(ch)].ItemClass;
MS\Internal\FontFace\PhysicalFontFamily.cs (11)
282advance = Classification.AdvanceWhile(unicodeString, ItemClass.JoinerClass); 301int originalChar = Classification.UnicodeScalar( 306if (Classification.IsJoiner(originalChar)) 309if (!Classification.IsCombining(originalChar)) 317if (Classification.GetScript(baseChar) == Classification.GetScript(originalChar)) 352int originalChar = Classification.UnicodeScalar( 372if (Classification.IsJoiner(ch) 373|| (baseChar != NOBASE && Classification.IsCombining(ch) && Classification.GetScript(ch) == Classification.GetScript(baseChar))
MS\Internal\Shaping\CompositeFontFamily.cs (7)
307cchAdvance = Classification.AdvanceWhile(unicodeString, ItemClass.JoinerClass); 315Classification.UnicodeScalar(unicodeString, out sizeofChar) 323ch = Classification.UnicodeScalar( 328bool hasBaseChar = !Classification.IsCombining(ch); 337ch = Classification.UnicodeScalar( 342if (Classification.IsJoiner(ch)) 345if (!Classification.IsCombining(ch))
MS\Internal\Shaping\TypefaceMap.cs (7)
335Classification.UnicodeScalar( 350Classification.UnicodeScalar( 356if (map[ch] != firstIndex && !Classification.IsCombining(ch) && !Classification.IsJoiner(ch)) 411Classification.UnicodeScalar( 418if(!Classification.IsCombining(ch) && !Classification.IsJoiner(ch))
MS\Internal\TextFormatting\Bidi.cs (22)
511currentClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi; 656currentClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi; 1684directionClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi; 1797tempClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi; 1816if (tempClass != Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi) 1839(int) Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi] == 1) 1864if (DirectionClass.ParagraphSeparator != Classification.CharAttributeOf((int) Classification.GetUnicodeClass(codePoint)).BiDi) 1879tempClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(codePoint)).BiDi; 2021hiddenCharClass = Classification.CharAttributeOf((int)Classification.GetUnicodeClass(intChar)).BiDi; 2037tempClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(codePoint)).BiDi; 2164currentClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (6)
2011ushort flags = (ushort)(Classification.CharAttributeOf((int)Classification.GetUnicodeClassUTF16(pwch[i]))).Flags; 2123ushort flags = (ushort)(Classification.CharAttributeOf((int)Classification.GetUnicodeClassUTF16(pwch[ich + j]))).Flags; 2257ushort flags = (ushort)(Classification.CharAttributeOf((int)Classification.GetUnicodeClassUTF16(pwch[ich + j]))).Flags;
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1954int charClass = (int)Classification.GetUnicodeClassUTF16(ch); 1955return Classification.CharAttributeOf(charClass).BiDi == DirectionClass.WhiteSpace;
MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
243int ch = Classification.UnicodeScalar(charString, out sizeOfChar); 247if (canBreakAfterPrecedingChar && !Classification.IsCombining(ch) && !Classification.IsJoiner(ch) ) 252canBreakAfterPrecedingChar = !Classification.IsJoiner(ch);
MS\Internal\TextFormatting\TextStore.cs (9)
250stringLength = Classification.AdvanceUntilUTF16( 652charFlags = (ushort)Classification.CharAttributeOf( 653(int)Classification.GetUnicodeClassUTF16(firstChar) 1236CharacterAttribute charAttributes = Classification.CharAttributeOf(Classification.GetUnicodeClassUTF16(ch)); 1368CharacterAttribute charAttributes = Classification.CharAttributeOf(Classification.GetUnicodeClassUTF16(ch)); 1908int unicodeClass = Classification.GetUnicodeClass(ch); 1909ItemClass itemClass = (ItemClass)Classification.CharAttributeOf(unicodeClass).ItemClass;
System\Windows\Media\Typeface.cs (4)
445int charClass = (int)Classification.GetUnicodeClassUTF16(ch); 446charFlags = Classification.CharAttributeOf(charClass).Flags; 488int charClass = (int)Classification.GetUnicodeClassUTF16(ch); 489charFlags = Classification.CharAttributeOf(charClass).Flags;