44 references to Length
PresentationCore (44)
MS\Internal\Shaping\Context.cs (11)
137int prevLength = GlyphInfo.Length; 158AfterLastGlyph += GlyphInfo.Length - prevLength; 357if (glyphIndex >= GlyphInfo.Length) 420int glyphCount = GlyphInfo.Length; 688if (glyphIndex >= GlyphInfo.Length) 755int glyphCount = GlyphInfo.Length; 911int glyphCount = GlyphInfo.Length; 977if (glyphIndex>=GlyphInfo.Length || 1405int glyphCount = GlyphInfo.Length; 1649int glyphCount = GlyphInfo.Length; 2065if (glyphIndex>=GlyphInfo.Length)
MS\Internal\Shaping\OpenTypeCommon.cs (7)
61UpdateGlyphFlags(Font, GlyphInfo, 0, GlyphInfo.Length, false, GlyphFlags.NotChanged); 121while(firstGlyph < GlyphInfo.Length) // While we have ranges to work on 131int oldLength = GlyphInfo.Length; 163afterLastGlyph = GlyphInfo.Length - glyphsAfterLastChar; 197GlyphInfo.Length, 229Debug.Assert(AfterLastGlyph<=GlyphInfo.Length); 876int glyphRunLength = GlyphInfo.Length;
MS\Internal\Shaping\OpenTypeLayoutCache.cs (4)
87workspace.AllocateCachePointers(glyphInfo.Length); 88RenewPointers(glyphInfo, workspace, 0, glyphInfo.Length); 109workspace.UpdateCachePointers(oldLength, glyphInfo.Length, firstGlyphChanged, afterLastGlyphChanged); 160int glyphCount = glyphInfo.Length;
MS\Internal\Shaping\Positioning.cs (13)
61Invariant.Assert(StaticGlyph>=0 && StaticGlyph<GlyphInfo.Length); 62Invariant.Assert(MobileGlyph>=0 && MobileGlyph<GlyphInfo.Length); 516Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 520int glyphCount=GlyphInfo.Length; 763Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 767int glyphCount=GlyphInfo.Length; 964Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 970int glyphCount=GlyphInfo.Length; 1114Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 1120int glyphCount=GlyphInfo.Length; 1245Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 1500Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 1506int glyphCount=GlyphInfo.Length;
MS\Internal\Shaping\ShaperBuffers.cs (3)
101if (_glyphInfoList.Length > 0) 103_glyphInfoList.Remove(0, _glyphInfoList.Length); 109Debug.Assert(_glyphInfoList.Length == glyphCount);
MS\Internal\Shaping\Substitution.cs (6)
208Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 214int glyphCount=GlyphInfo.Length; 292else curGlyph = GlyphInfo.Length; // to the end from last component 339GlyphInfo.Remove(GlyphInfo.Length-compCount+1,compCount-1); 476int oldGlyphCount=GlyphInfo.Length; 630int oldGlyphCount=GlyphInfo.Length;