44 references to Length
PresentationCore (44)
Core\CSharp\MS\Internal\Shaping\Context.cs (11)
154
int prevLength = GlyphInfo.
Length
;
175
AfterLastGlyph += GlyphInfo.
Length
- prevLength;
390
if (glyphIndex >= GlyphInfo.
Length
)
453
int glyphCount = GlyphInfo.
Length
;
736
if (glyphIndex >= GlyphInfo.
Length
)
803
int glyphCount = GlyphInfo.
Length
;
965
int glyphCount = GlyphInfo.
Length
;
1031
if (glyphIndex>=GlyphInfo.
Length
||
1480
int glyphCount = GlyphInfo.
Length
;
1739
int glyphCount = GlyphInfo.
Length
;
2170
if (glyphIndex>=GlyphInfo.
Length
)
Core\CSharp\MS\Internal\Shaping\OpenTypeCommon.cs (7)
72
UpdateGlyphFlags(Font, GlyphInfo, 0, GlyphInfo.
Length
, false, GlyphFlags.NotChanged);
132
while(firstGlyph < GlyphInfo.
Length
) // While we have ranges to work on
142
int oldLength = GlyphInfo.
Length
;
174
afterLastGlyph = GlyphInfo.
Length
- glyphsAfterLastChar;
208
GlyphInfo.
Length
,
245
Debug.Assert(AfterLastGlyph<=GlyphInfo.
Length
);
907
int glyphRunLength = GlyphInfo.
Length
;
Core\CSharp\MS\Internal\Shaping\OpenTypeLayoutCache.cs (4)
101
workspace.AllocateCachePointers(glyphInfo.
Length
);
102
RenewPointers(glyphInfo, workspace, 0, glyphInfo.
Length
);
127
workspace.UpdateCachePointers(oldLength, glyphInfo.
Length
, firstGlyphChanged, afterLastGlyphChanged);
186
int glyphCount = glyphInfo.
Length
;
Core\CSharp\MS\Internal\Shaping\Positioning.cs (13)
96
Invariant.Assert(StaticGlyph>=0 && StaticGlyph<GlyphInfo.
Length
);
97
Invariant.Assert(MobileGlyph>=0 && MobileGlyph<GlyphInfo.
Length
);
569
Invariant.Assert(AfterLastGlyph<=GlyphInfo.
Length
);
573
int glyphCount=GlyphInfo.
Length
;
827
Invariant.Assert(AfterLastGlyph<=GlyphInfo.
Length
);
831
int glyphCount=GlyphInfo.
Length
;
1043
Invariant.Assert(AfterLastGlyph<=GlyphInfo.
Length
);
1049
int glyphCount=GlyphInfo.
Length
;
1204
Invariant.Assert(AfterLastGlyph<=GlyphInfo.
Length
);
1210
int glyphCount=GlyphInfo.
Length
;
1341
Invariant.Assert(AfterLastGlyph<=GlyphInfo.
Length
);
1607
Invariant.Assert(AfterLastGlyph<=GlyphInfo.
Length
);
1613
int glyphCount=GlyphInfo.
Length
;
Core\CSharp\MS\Internal\Shaping\ShaperBuffers.cs (3)
126
if (_glyphInfoList.
Length
> 0)
128
_glyphInfoList.Remove(0, _glyphInfoList.
Length
);
134
Debug.Assert(_glyphInfoList.
Length
== glyphCount);
Core\CSharp\MS\Internal\Shaping\Substitution.cs (6)
237
Invariant.Assert(AfterLastGlyph<=GlyphInfo.
Length
);
243
int glyphCount=GlyphInfo.
Length
;
321
else curGlyph = GlyphInfo.
Length
; // to the end from last component
368
GlyphInfo.Remove(GlyphInfo.
Length
-compCount+1,compCount-1);
516
int oldGlyphCount=GlyphInfo.
Length
;
680
int oldGlyphCount=GlyphInfo.
Length
;