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