44 references to Length
PresentationCore (44)
MS\Internal\Shaping\Context.cs (11)
139int prevLength = GlyphInfo.Length; 160AfterLastGlyph += GlyphInfo.Length - prevLength; 359if (glyphIndex >= GlyphInfo.Length) 422int glyphCount = GlyphInfo.Length; 690if (glyphIndex >= GlyphInfo.Length) 757int glyphCount = GlyphInfo.Length; 913int glyphCount = GlyphInfo.Length; 979if (glyphIndex>=GlyphInfo.Length || 1407int glyphCount = GlyphInfo.Length; 1651int glyphCount = GlyphInfo.Length; 2067if (glyphIndex>=GlyphInfo.Length)
MS\Internal\Shaping\OpenTypeCommon.cs (7)
62UpdateGlyphFlags(Font, GlyphInfo, 0, GlyphInfo.Length, false, GlyphFlags.NotChanged); 122while(firstGlyph < GlyphInfo.Length) // While we have ranges to work on 132int oldLength = GlyphInfo.Length; 164afterLastGlyph = GlyphInfo.Length - glyphsAfterLastChar; 198GlyphInfo.Length, 230Debug.Assert(AfterLastGlyph<=GlyphInfo.Length); 877int glyphRunLength = GlyphInfo.Length;
MS\Internal\Shaping\OpenTypeLayoutCache.cs (4)
88workspace.AllocateCachePointers(glyphInfo.Length); 89RenewPointers(glyphInfo, workspace, 0, glyphInfo.Length); 110workspace.UpdateCachePointers(oldLength, glyphInfo.Length, firstGlyphChanged, afterLastGlyphChanged); 161int glyphCount = glyphInfo.Length;
MS\Internal\Shaping\Positioning.cs (13)
62Invariant.Assert(StaticGlyph>=0 && StaticGlyph<GlyphInfo.Length); 63Invariant.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)
102if (_glyphInfoList.Length > 0) 104_glyphInfoList.Remove(0, _glyphInfoList.Length); 110Debug.Assert(_glyphInfoList.Length == glyphCount);
MS\Internal\Shaping\Substitution.cs (6)
209Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 215int glyphCount=GlyphInfo.Length; 293else curGlyph = GlyphInfo.Length; // to the end from last component 340GlyphInfo.Remove(GlyphInfo.Length-compCount+1,compCount-1); 477int oldGlyphCount=GlyphInfo.Length; 631int oldGlyphCount=GlyphInfo.Length;