26 writes to
PresentationCore (26)
Core\CSharp\MS\Internal\Shaping\Context.cs (2)
2184GlyphInfo.Glyphs[inputGlyphIndex] = Glyph(Table,curOffset); 2185GlyphInfo.GlyphFlags[inputGlyphIndex] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
Core\CSharp\MS\Internal\Shaping\OpenTypeCommon.cs (1)
845GlyphInfo.GlyphFlags[i] = (ushort)(flags|
Core\CSharp\MS\Internal\Shaping\Positioning.cs (2)
1367GlyphInfo.GlyphFlags[glyphIndex] &= (ushort)~cursiveBit; 1427glyphFlags[index] |= cursiveBit;
Core\CSharp\MS\Internal\Shaping\Substitution.cs (21)
87GlyphInfo.Glyphs[FirstGlyph] = (ushort)(GlyphId + Format1DeltaGlyphId(Table)); 88GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 93GlyphInfo.Glyphs[FirstGlyph] = Format2SubstituteGlyphId(Table,(ushort)CoverageIndex); 94GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 328Charmap[curChar] = (ushort)FirstGlyph; 337GlyphInfo.Glyphs[glyph-shift] = GlyphInfo.Glyphs[glyph]; 338GlyphInfo.GlyphFlags[glyph-shift] = GlyphInfo.GlyphFlags[glyph]; 339GlyphInfo.FirstChars[glyph-shift] = GlyphInfo.FirstChars[glyph]; 340GlyphInfo.LigatureCounts[glyph-shift] = GlyphInfo.LigatureCounts[glyph]; 350Charmap[curChar] -= shift; 360GlyphInfo.Glyphs[FirstGlyph] = ligatureGlyph; 361GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 362GlyphInfo.FirstChars[FirstGlyph] = (ushort)firstLigaChar; 363GlyphInfo.LigatureCounts[FirstGlyph] = (ushort)totalLigaCharCount; 547GlyphInfo.Glyphs[FirstGlyph + gl] = sequence.Glyph(Table,gl); 548GlyphInfo.GlyphFlags[FirstGlyph + gl] = 550GlyphInfo.FirstChars[FirstGlyph + gl] = firstChar; 551GlyphInfo.LigatureCounts[FirstGlyph + gl] = ligatureCount; 560if (Charmap[ch]>FirstGlyph) Charmap[ch] = (ushort)(Charmap[ch]+lengthDelta); 692GlyphInfo.Glyphs[FirstGlyph] = alternateGlyph; 693GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
70 references to
PresentationCore (70)
Core\CSharp\MS\Internal\Shaping\Context.cs (19)
333match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 363match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 396match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 456ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 673GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 708GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 746GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 806ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 994.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 1009.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 1033.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 1424match = ( GlyphId(Table,inputIndex) == GlyphInfo.Glyphs[glyphIndex] ); 1483ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 1682ClassDef.GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 1742ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 1863.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 2121int coverageIndex = InputCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[inputGlyphIndex]); 2151match = (Coverage(Table,curOffset).GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex]) >= 0); 2176match = (Coverage(Table,curOffset).GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex]) >= 0);
Core\CSharp\MS\Internal\Shaping\OpenTypeCommon.cs (11)
781if (StartGlyph > Charmap[FirstChar]) 784FirstGlyph = Charmap[FirstChar]; 787AfterLastGlyph = Charmap[AfterLastChar]; 822(GlyphInfo.GlyphFlags[i] & (ushort)~typemask) | 834ushort flags = (ushort)(GlyphInfo.GlyphFlags[i] | (ushort)FlagToSet); 839ushort glyph = GlyphInfo.Glyphs[i]; 912(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Base 917(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Mark 922(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Ligature 926(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Mark && 928attachClass!=markAttachClassDef.GetClass(gdefTable,GlyphInfo.Glyphs[glyph])
Core\CSharp\MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
294ushort glyph = glyphInfo.Glyphs[i];
Core\CSharp\MS\Internal\Shaping\Positioning.cs (22)
104ContourPoint = Font.GetGlyphPointCoord(GlyphInfo.Glyphs[MobileGlyph], 111ContourPoint = Font.GetGlyphPointCoord(GlyphInfo.Glyphs[MobileGlyph], 574ushort glyphId = GlyphInfo.Glyphs[FirstGlyph]; 832ushort firstGlyphId = GlyphInfo.Glyphs[FirstGlyph]; 837ushort secondGlyphId = GlyphInfo.Glyphs[secondGlyph]; 1054if ((GlyphInfo.GlyphFlags[markGlyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false; 1056int markCoverageIndex = MarkCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[markGlyph]); 1067int baseCoverageIndex = BaseCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[baseGlyph]); 1215if ((GlyphInfo.GlyphFlags[mark1Glyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false; 1217int mark1CoverageIndex = Mark1Coverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[mark1Glyph]); 1228int mark2CoverageIndex = Mark2Coverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[mark2Glyph]); 1386coverageIndex = coverage.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex]); 1393GetGlyphIndex(Table,GlyphInfo.Glyphs[prevGlyphIndex]); 1433(glyphFlags[index] & cursiveBit) != 0 ; 1567for (int ch = GlyphInfo.FirstChars[markGlyph]; 1570ushort glyph = Charmap[ch]; 1571if ((GlyphInfo.GlyphFlags[glyph] & (ushort)GlyphFlags.GlyphTypeMask) != 1582for(ushort ch = GlyphInfo.FirstChars[ligatureGlyph]; 1586if (Charmap[ch]==ligatureGlyph) comp++; 1617if ((GlyphInfo.GlyphFlags[markGlyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false; 1619int markCoverageIndex = MarkCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[markGlyph]); 1630GetGlyphIndex(Table,GlyphInfo.Glyphs[baseGlyph]);
Core\CSharp\MS\Internal\Shaping\Substitution.cs (17)
80ushort GlyphId = GlyphInfo.Glyphs[FirstGlyph]; 244ushort glyphId = GlyphInfo.Glyphs[FirstGlyph]; 271if (GlyphInfo.Glyphs[curGlyph]!=ligature.Component(Table,comp)) break; 297int curFirstChar = GlyphInfo.FirstChars[curGlyph]; 298int curLigaCount = GlyphInfo.LigatureCounts[curGlyph]; 326if (Charmap[curChar]==prevGlyph) 337GlyphInfo.Glyphs[glyph-shift] = GlyphInfo.Glyphs[glyph]; 338GlyphInfo.GlyphFlags[glyph-shift] = GlyphInfo.GlyphFlags[glyph]; 339GlyphInfo.FirstChars[glyph-shift] = GlyphInfo.FirstChars[glyph]; 340GlyphInfo.LigatureCounts[glyph-shift] = GlyphInfo.LigatureCounts[glyph]; 347ushort curCharmap = Charmap[curChar]; 518ushort glyphId = GlyphInfo.Glyphs[FirstGlyph]; 536ushort firstChar = GlyphInfo.FirstChars[FirstGlyph]; 537ushort ligatureCount = GlyphInfo.LigatureCounts[FirstGlyph]; 560if (Charmap[ch]>FirstGlyph) Charmap[ch] = (ushort)(Charmap[ch]+lengthDelta); 683GetGlyphIndex(Table,GlyphInfo.Glyphs[FirstGlyph]);