21 references to BufferCache
PresentationCore (21)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (4)
403
uint[] glyphBits =
BufferCache
.GetUInts(glyphBitsLength);
419
ushort[] glyphIndices =
BufferCache
.GetUShorts(codepoints.Length);
444
BufferCache
.ReleaseUShorts(glyphIndices);
576
BufferCache
.ReleaseUInts(glyphBits);
MS\Internal\TextFormatting\TextShapeableCharacters.cs (2)
335
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(characterLength);
375
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
System\Windows\LayoutManager.cs (1)
454
MS.Internal.FontCache.
BufferCache
.Reset();
System\Windows\Media\GlyphRun.cs (4)
1266
ushort[] glyphIndices =
BufferCache
.GetUShorts(glyphIndicesCount);
1269
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(glyphIndicesCount);
1279
BufferCache
.ReleaseUShorts(glyphIndices);
1396
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
System\Windows\Media\GlyphTypeface.cs (4)
1338
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(stringLength);
1365
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
1512
glyphIndices =
BufferCache
.GetUShorts(characterCount);
1531
BufferCache
.ReleaseUShorts(glyphIndices);
System\Windows\Media\Typeface.cs (6)
409
ushort[] glyphIndices =
BufferCache
.GetUShorts(charBufferRange.Length);
410
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = ignoreWidths ? null :
BufferCache
.GetGlyphMetrics(charBufferRange.Length);
500
BufferCache
.ReleaseUShorts(glyphIndices);
502
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
635
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(charBufferRange.Length);
666
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);