26 writes to
PresentationCore (26)
MS\Internal\Shaping\Context.cs (2)
2079
GlyphInfo.Glyphs
[
inputGlyphIndex] = Glyph(Table,curOffset);
2080
GlyphInfo.GlyphFlags
[
inputGlyphIndex] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
MS\Internal\Shaping\OpenTypeCommon.cs (1)
818
GlyphInfo.GlyphFlags
[
i] = (ushort)(flags|
MS\Internal\Shaping\Positioning.cs (2)
1271
GlyphInfo.GlyphFlags
[
glyphIndex] &= (ushort)~cursiveBit;
1331
glyphFlags
[
index] |= cursiveBit;
MS\Internal\Shaping\Substitution.cs (21)
73
GlyphInfo.Glyphs
[
FirstGlyph] = (ushort)(GlyphId + Format1DeltaGlyphId(Table));
74
GlyphInfo.GlyphFlags
[
FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
79
GlyphInfo.Glyphs
[
FirstGlyph] = Format2SubstituteGlyphId(Table,(ushort)CoverageIndex);
80
GlyphInfo.GlyphFlags
[
FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
299
Charmap
[
curChar] = (ushort)FirstGlyph;
308
GlyphInfo.Glyphs
[
glyph-shift] = GlyphInfo.Glyphs[glyph];
309
GlyphInfo.GlyphFlags
[
glyph-shift] = GlyphInfo.GlyphFlags[glyph];
310
GlyphInfo.FirstChars
[
glyph-shift] = GlyphInfo.FirstChars[glyph];
311
GlyphInfo.LigatureCounts
[
glyph-shift] = GlyphInfo.LigatureCounts[glyph];
321
Charmap
[
curChar] -= shift;
331
GlyphInfo.Glyphs
[
FirstGlyph] = ligatureGlyph;
332
GlyphInfo.GlyphFlags
[
FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
333
GlyphInfo.FirstChars
[
FirstGlyph] = (ushort)firstLigaChar;
334
GlyphInfo.LigatureCounts
[
FirstGlyph] = (ushort)totalLigaCharCount;
507
GlyphInfo.Glyphs
[
FirstGlyph + gl] = sequence.Glyph(Table,gl);
508
GlyphInfo.GlyphFlags
[
FirstGlyph + gl] =
510
GlyphInfo.FirstChars
[
FirstGlyph + gl] = firstChar;
511
GlyphInfo.LigatureCounts
[
FirstGlyph + gl] = ligatureCount;
520
if (Charmap[ch]>FirstGlyph) Charmap
[
ch] = (ushort)(Charmap[ch]+lengthDelta);
642
GlyphInfo.Glyphs
[
FirstGlyph] = alternateGlyph;
643
GlyphInfo.GlyphFlags
[
FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
70 references to
PresentationCore (70)
MS\Internal\Shaping\Context.cs (19)
300
match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs
[
glyphIndex] );
330
match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs
[
glyphIndex] );
363
match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs
[
glyphIndex] );
423
ushort glyphId = GlyphInfo.Glyphs
[
glyphIndex];
625
GetClass(Table,GlyphInfo.Glyphs
[
glyphIndex]);
660
GetClass(Table,GlyphInfo.Glyphs
[
glyphIndex]);
698
GetClass(Table,GlyphInfo.Glyphs
[
glyphIndex]);
758
ushort glyphId = GlyphInfo.Glyphs
[
glyphIndex];
940
.GetGlyphIndex(Table,GlyphInfo.Glyphs
[
glyphIndex])<0)
955
.GetGlyphIndex(Table,GlyphInfo.Glyphs
[
glyphIndex])<0)
979
.GetGlyphIndex(Table,GlyphInfo.Glyphs
[
glyphIndex])<0)
1349
match = ( GlyphId(Table,inputIndex) == GlyphInfo.Glyphs
[
glyphIndex] );
1408
ushort glyphId = GlyphInfo.Glyphs
[
glyphIndex];
1592
ClassDef.GetClass(Table,GlyphInfo.Glyphs
[
glyphIndex]);
1652
ushort glyphId = GlyphInfo.Glyphs
[
glyphIndex];
1768
.GetGlyphIndex(Table,GlyphInfo.Glyphs
[
glyphIndex])<0)
2016
int coverageIndex = InputCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs
[
inputGlyphIndex]);
2046
match = (Coverage(Table,curOffset).GetGlyphIndex(Table,GlyphInfo.Glyphs
[
glyphIndex]) >= 0);
2071
match = (Coverage(Table,curOffset).GetGlyphIndex(Table,GlyphInfo.Glyphs
[
glyphIndex]) >= 0);
MS\Internal\Shaping\OpenTypeCommon.cs (11)
759
if (StartGlyph > Charmap
[
FirstChar])
762
FirstGlyph = Charmap
[
FirstChar];
765
AfterLastGlyph = Charmap
[
AfterLastChar];
795
(GlyphInfo.GlyphFlags
[
i] & (ushort)~typemask) |
807
ushort flags = (ushort)(GlyphInfo.GlyphFlags
[
i] | (ushort)FlagToSet);
812
ushort glyph = GlyphInfo.Glyphs
[
i];
881
(glyphFlags
[
glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Base
886
(glyphFlags
[
glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Mark
891
(glyphFlags
[
glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Ligature
895
(glyphFlags
[
glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Mark &&
897
attachClass!=markAttachClassDef.GetClass(gdefTable,GlyphInfo.Glyphs
[
glyph])
MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
260
ushort glyph = glyphInfo.Glyphs
[
i];
MS\Internal\Shaping\Positioning.cs (22)
69
ContourPoint = Font.GetGlyphPointCoord(GlyphInfo.Glyphs
[
MobileGlyph],
76
ContourPoint = Font.GetGlyphPointCoord(GlyphInfo.Glyphs
[
MobileGlyph],
521
ushort glyphId = GlyphInfo.Glyphs
[
FirstGlyph];
768
ushort firstGlyphId = GlyphInfo.Glyphs
[
FirstGlyph];
773
ushort secondGlyphId = GlyphInfo.Glyphs
[
secondGlyph];
975
if ((GlyphInfo.GlyphFlags
[
markGlyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false;
977
int markCoverageIndex = MarkCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs
[
markGlyph]);
988
int baseCoverageIndex = BaseCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs
[
baseGlyph]);
1125
if ((GlyphInfo.GlyphFlags
[
mark1Glyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false;
1127
int mark1CoverageIndex = Mark1Coverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs
[
mark1Glyph]);
1138
int mark2CoverageIndex = Mark2Coverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs
[
mark2Glyph]);
1290
coverageIndex = coverage.GetGlyphIndex(Table,GlyphInfo.Glyphs
[
glyphIndex]);
1297
GetGlyphIndex(Table,GlyphInfo.Glyphs
[
prevGlyphIndex]);
1337
(glyphFlags
[
index] & cursiveBit) != 0 ;
1460
for (int ch = GlyphInfo.FirstChars
[
markGlyph];
1463
ushort glyph = Charmap
[
ch];
1464
if ((GlyphInfo.GlyphFlags
[
glyph] & (ushort)GlyphFlags.GlyphTypeMask) !=
1475
for(ushort ch = GlyphInfo.FirstChars
[
ligatureGlyph];
1479
if (Charmap
[
ch]==ligatureGlyph) comp++;
1510
if ((GlyphInfo.GlyphFlags
[
markGlyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false;
1512
int markCoverageIndex = MarkCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs
[
markGlyph]);
1523
GetGlyphIndex(Table,GlyphInfo.Glyphs
[
baseGlyph]);
MS\Internal\Shaping\Substitution.cs (17)
66
ushort GlyphId = GlyphInfo.Glyphs
[
FirstGlyph];
215
ushort glyphId = GlyphInfo.Glyphs
[
FirstGlyph];
242
if (GlyphInfo.Glyphs
[
curGlyph]!=ligature.Component(Table,comp)) break;
268
int curFirstChar = GlyphInfo.FirstChars
[
curGlyph];
269
int curLigaCount = GlyphInfo.LigatureCounts
[
curGlyph];
297
if (Charmap
[
curChar]==prevGlyph)
308
GlyphInfo.Glyphs[glyph-shift] = GlyphInfo.Glyphs
[
glyph];
309
GlyphInfo.GlyphFlags[glyph-shift] = GlyphInfo.GlyphFlags
[
glyph];
310
GlyphInfo.FirstChars[glyph-shift] = GlyphInfo.FirstChars
[
glyph];
311
GlyphInfo.LigatureCounts[glyph-shift] = GlyphInfo.LigatureCounts
[
glyph];
318
ushort curCharmap = Charmap
[
curChar];
478
ushort glyphId = GlyphInfo.Glyphs
[
FirstGlyph];
496
ushort firstChar = GlyphInfo.FirstChars
[
FirstGlyph];
497
ushort ligatureCount = GlyphInfo.LigatureCounts
[
FirstGlyph];
520
if (Charmap
[
ch]>FirstGlyph) Charmap[ch] = (ushort)(Charmap
[
ch]+lengthDelta);
633
GetGlyphIndex(Table,GlyphInfo.Glyphs
[
FirstGlyph]);