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