44 references to Length
PresentationCore (44)
Core\CSharp\MS\Internal\Shaping\Context.cs (11)
154int prevLength = GlyphInfo.Length; 175AfterLastGlyph += GlyphInfo.Length - prevLength; 390if (glyphIndex >= GlyphInfo.Length) 453int glyphCount = GlyphInfo.Length; 736if (glyphIndex >= GlyphInfo.Length) 803int glyphCount = GlyphInfo.Length; 965int glyphCount = GlyphInfo.Length; 1031if (glyphIndex>=GlyphInfo.Length || 1480int glyphCount = GlyphInfo.Length; 1739int glyphCount = GlyphInfo.Length; 2170if (glyphIndex>=GlyphInfo.Length)
Core\CSharp\MS\Internal\Shaping\OpenTypeCommon.cs (7)
72UpdateGlyphFlags(Font, GlyphInfo, 0, GlyphInfo.Length, false, GlyphFlags.NotChanged); 132while(firstGlyph < GlyphInfo.Length) // While we have ranges to work on 142int oldLength = GlyphInfo.Length; 174afterLastGlyph = GlyphInfo.Length - glyphsAfterLastChar; 208GlyphInfo.Length, 245Debug.Assert(AfterLastGlyph<=GlyphInfo.Length); 907int glyphRunLength = GlyphInfo.Length;
Core\CSharp\MS\Internal\Shaping\OpenTypeLayoutCache.cs (4)
101workspace.AllocateCachePointers(glyphInfo.Length); 102RenewPointers(glyphInfo, workspace, 0, glyphInfo.Length); 127workspace.UpdateCachePointers(oldLength, glyphInfo.Length, firstGlyphChanged, afterLastGlyphChanged); 186int glyphCount = glyphInfo.Length;
Core\CSharp\MS\Internal\Shaping\Positioning.cs (13)
96Invariant.Assert(StaticGlyph>=0 && StaticGlyph<GlyphInfo.Length); 97Invariant.Assert(MobileGlyph>=0 && MobileGlyph<GlyphInfo.Length); 569Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 573int glyphCount=GlyphInfo.Length; 827Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 831int glyphCount=GlyphInfo.Length; 1043Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 1049int glyphCount=GlyphInfo.Length; 1204Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 1210int glyphCount=GlyphInfo.Length; 1341Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 1607Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 1613int glyphCount=GlyphInfo.Length;
Core\CSharp\MS\Internal\Shaping\ShaperBuffers.cs (3)
126if (_glyphInfoList.Length > 0) 128_glyphInfoList.Remove(0, _glyphInfoList.Length); 134Debug.Assert(_glyphInfoList.Length == glyphCount);
Core\CSharp\MS\Internal\Shaping\Substitution.cs (6)
237Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 243int glyphCount=GlyphInfo.Length; 321else curGlyph = GlyphInfo.Length; // to the end from last component 368GlyphInfo.Remove(GlyphInfo.Length-compCount+1,compCount-1); 516int oldGlyphCount=GlyphInfo.Length; 680int oldGlyphCount=GlyphInfo.Length;