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