81 references to Classification
PresentationCore (81)
MS\Internal\Classification.cs (9)
115CharacterAttribute charAttribute = Classification.CharAttributeOf((int)Classification.GetUnicodeClass(unicodeScalar)); 120|| Classification.IsIVS(unicodeScalar)); 263return (ScriptID)Classification.CharAttributeTable[GetUnicodeClass(unicodeScalar)].Script; 301byte itemClass = Classification.CharAttributeTable[GetUnicodeClass(unicodeScalar)].ItemClass; 316byte itemClass = Classification.CharAttributeTable[GetUnicodeClass(unicodeScalar)].ItemClass; 354ushort flags = (ushort)Classification.CharAttributeTable[(int)GetUnicodeClassUTF16(charBuffer[i])].Flags; 381int ch = Classification.UnicodeScalar( 388byte currentClass = (byte) Classification.CharAttributeTable[(int)GetUnicodeClass(ch)].ItemClass;
MS\Internal\FontFace\PhysicalFontFamily.cs (11)
273advance = Classification.AdvanceWhile(unicodeString, ItemClass.JoinerClass); 292int originalChar = Classification.UnicodeScalar( 297if (Classification.IsJoiner(originalChar)) 300if (!Classification.IsCombining(originalChar)) 308if (Classification.GetScript(baseChar) == Classification.GetScript(originalChar)) 343int originalChar = Classification.UnicodeScalar( 363if (Classification.IsJoiner(ch) 364|| (baseChar != NOBASE && Classification.IsCombining(ch) && Classification.GetScript(ch) == Classification.GetScript(baseChar))
MS\Internal\Shaping\CompositeFontFamily.cs (7)
299cchAdvance = Classification.AdvanceWhile(unicodeString, ItemClass.JoinerClass); 307Classification.UnicodeScalar(unicodeString, out sizeofChar) 315ch = Classification.UnicodeScalar( 320bool hasBaseChar = !Classification.IsCombining(ch); 329ch = Classification.UnicodeScalar( 334if (Classification.IsJoiner(ch)) 337if (!Classification.IsCombining(ch))
MS\Internal\Shaping\TypefaceMap.cs (7)
327Classification.UnicodeScalar( 342Classification.UnicodeScalar( 348if (map[ch] != firstIndex && !Classification.IsCombining(ch) && !Classification.IsJoiner(ch)) 403Classification.UnicodeScalar( 410if(!Classification.IsCombining(ch) && !Classification.IsJoiner(ch))
MS\Internal\TextFormatting\Bidi.cs (22)
503currentClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi; 648currentClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi; 1676directionClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi; 1789tempClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi; 1808if (tempClass != Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi) 1831(int) Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi] == 1) 1856if (DirectionClass.ParagraphSeparator != Classification.CharAttributeOf((int) Classification.GetUnicodeClass(codePoint)).BiDi) 1871tempClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(codePoint)).BiDi; 2013hiddenCharClass = Classification.CharAttributeOf((int)Classification.GetUnicodeClass(intChar)).BiDi; 2029tempClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(codePoint)).BiDi; 2156currentClass = Classification.CharAttributeOf((int) Classification.GetUnicodeClass(intChar)).BiDi;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (6)
1992ushort flags = (ushort)(Classification.CharAttributeOf((int)Classification.GetUnicodeClassUTF16(pwch[i]))).Flags; 2104ushort flags = (ushort)(Classification.CharAttributeOf((int)Classification.GetUnicodeClassUTF16(pwch[ich + j]))).Flags; 2238ushort flags = (ushort)(Classification.CharAttributeOf((int)Classification.GetUnicodeClassUTF16(pwch[ich + j]))).Flags;
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1945int charClass = (int)Classification.GetUnicodeClassUTF16(ch); 1946return Classification.CharAttributeOf(charClass).BiDi == DirectionClass.WhiteSpace;
MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
229int ch = Classification.UnicodeScalar(charString, out sizeOfChar); 233if (canBreakAfterPrecedingChar && !Classification.IsCombining(ch) && !Classification.IsJoiner(ch) ) 238canBreakAfterPrecedingChar = !Classification.IsJoiner(ch);
MS\Internal\TextFormatting\TextStore.cs (9)
235stringLength = Classification.AdvanceUntilUTF16( 637charFlags = (ushort)Classification.CharAttributeOf( 638(int)Classification.GetUnicodeClassUTF16(firstChar) 1221CharacterAttribute charAttributes = Classification.CharAttributeOf(Classification.GetUnicodeClassUTF16(ch)); 1353CharacterAttribute charAttributes = Classification.CharAttributeOf(Classification.GetUnicodeClassUTF16(ch)); 1893int unicodeClass = Classification.GetUnicodeClass(ch); 1894ItemClass itemClass = (ItemClass)Classification.CharAttributeOf(unicodeClass).ItemClass;
System\Windows\Media\Typeface.cs (4)
436int charClass = (int)Classification.GetUnicodeClassUTF16(ch); 437charFlags = Classification.CharAttributeOf(charClass).Flags; 479int charClass = (int)Classification.GetUnicodeClassUTF16(ch); 480charFlags = Classification.CharAttributeOf(charClass).Flags;