21 references to BufferCache
PresentationCore (21)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (4)
390
uint[] glyphBits =
BufferCache
.GetUInts(glyphBitsLength);
406
ushort[] glyphIndices =
BufferCache
.GetUShorts(codepoints.Length);
431
BufferCache
.ReleaseUShorts(glyphIndices);
563
BufferCache
.ReleaseUInts(glyphBits);
MS\Internal\TextFormatting\TextShapeableCharacters.cs (2)
326
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(characterLength);
366
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
System\Windows\LayoutManager.cs (1)
437
MS.Internal.FontCache.
BufferCache
.Reset();
System\Windows\Media\GlyphRun.cs (4)
1237
ushort[] glyphIndices =
BufferCache
.GetUShorts(glyphIndicesCount);
1240
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(glyphIndicesCount);
1250
BufferCache
.ReleaseUShorts(glyphIndices);
1367
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
System\Windows\Media\GlyphTypeface.cs (4)
1328
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(stringLength);
1355
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
1502
glyphIndices =
BufferCache
.GetUShorts(characterCount);
1521
BufferCache
.ReleaseUShorts(glyphIndices);
System\Windows\Media\Typeface.cs (6)
399
ushort[] glyphIndices =
BufferCache
.GetUShorts(charBufferRange.Length);
400
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = ignoreWidths ? null :
BufferCache
.GetGlyphMetrics(charBufferRange.Length);
490
BufferCache
.ReleaseUShorts(glyphIndices);
492
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);
625
MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics =
BufferCache
.GetGlyphMetrics(charBufferRange.Length);
656
BufferCache
.ReleaseGlyphMetrics(glyphMetrics);