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