21 references to BufferCache
PresentationCore (21)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (4)
391
uint[] glyphBits =
BufferCache
.GetUInts(glyphBitsLength);
407
ushort[] glyphIndices =
BufferCache
.GetUShorts(codepoints.Length);
432
BufferCache
.ReleaseUShorts(glyphIndices);
564
BufferCache
.ReleaseUInts(glyphBits);
MS\Internal\TextFormatting\TextShapeableCharacters.cs (2)
327
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(characterLength);
367
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
System\Windows\LayoutManager.cs (1)
438
MS.Internal.FontCache.
BufferCache
.Reset();
System\Windows\Media\GlyphRun.cs (4)
1238
ushort[] glyphIndices =
BufferCache
.GetUShorts(glyphIndicesCount);
1241
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(glyphIndicesCount);
1251
BufferCache
.ReleaseUShorts(glyphIndices);
1368
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
System\Windows\Media\GlyphTypeface.cs (4)
1329
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(stringLength);
1356
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
1503
glyphIndices =
BufferCache
.GetUShorts(characterCount);
1522
BufferCache
.ReleaseUShorts(glyphIndices);
System\Windows\Media\Typeface.cs (6)
400
ushort[] glyphIndices =
BufferCache
.GetUShorts(charBufferRange.Length);
401
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = ignoreWidths ? null :
BufferCache
.GetGlyphMetrics(charBufferRange.Length);
491
BufferCache
.ReleaseUShorts(glyphIndices);
493
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
626
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(charBufferRange.Length);
657
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);