44 references to Length
PresentationCore (44)
MS\Internal\Shaping\Context.cs (11)
143int prevLength = GlyphInfo.Length; 164AfterLastGlyph += GlyphInfo.Length - prevLength; 363if (glyphIndex >= GlyphInfo.Length) 426int glyphCount = GlyphInfo.Length; 694if (glyphIndex >= GlyphInfo.Length) 761int glyphCount = GlyphInfo.Length; 917int glyphCount = GlyphInfo.Length; 983if (glyphIndex>=GlyphInfo.Length || 1411int glyphCount = GlyphInfo.Length; 1655int glyphCount = GlyphInfo.Length; 2071if (glyphIndex>=GlyphInfo.Length)
MS\Internal\Shaping\OpenTypeCommon.cs (7)
66UpdateGlyphFlags(Font, GlyphInfo, 0, GlyphInfo.Length, false, GlyphFlags.NotChanged); 126while(firstGlyph < GlyphInfo.Length) // While we have ranges to work on 136int oldLength = GlyphInfo.Length; 168afterLastGlyph = GlyphInfo.Length - glyphsAfterLastChar; 202GlyphInfo.Length, 234Debug.Assert(AfterLastGlyph<=GlyphInfo.Length); 881int glyphRunLength = GlyphInfo.Length;
MS\Internal\Shaping\OpenTypeLayoutCache.cs (4)
94workspace.AllocateCachePointers(glyphInfo.Length); 95RenewPointers(glyphInfo, workspace, 0, glyphInfo.Length); 116workspace.UpdateCachePointers(oldLength, glyphInfo.Length, firstGlyphChanged, afterLastGlyphChanged); 167int glyphCount = glyphInfo.Length;
MS\Internal\Shaping\Positioning.cs (13)
69Invariant.Assert(StaticGlyph>=0 && StaticGlyph<GlyphInfo.Length); 70Invariant.Assert(MobileGlyph>=0 && MobileGlyph<GlyphInfo.Length); 523Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 527int glyphCount=GlyphInfo.Length; 770Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 774int glyphCount=GlyphInfo.Length; 971Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 977int glyphCount=GlyphInfo.Length; 1121Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 1127int glyphCount=GlyphInfo.Length; 1252Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 1507Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 1513int glyphCount=GlyphInfo.Length;
MS\Internal\Shaping\ShaperBuffers.cs (3)
116if (_glyphInfoList.Length > 0) 118_glyphInfoList.Remove(0, _glyphInfoList.Length); 124Debug.Assert(_glyphInfoList.Length == glyphCount);
MS\Internal\Shaping\Substitution.cs (6)
212Invariant.Assert(AfterLastGlyph<=GlyphInfo.Length); 218int glyphCount=GlyphInfo.Length; 296else curGlyph = GlyphInfo.Length; // to the end from last component 343GlyphInfo.Remove(GlyphInfo.Length-compCount+1,compCount-1); 480int oldGlyphCount=GlyphInfo.Length; 634int oldGlyphCount=GlyphInfo.Length;