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