# C1.Util.DX.DirectWrite.GlyphRunAnalysis

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DirectWrite_GlyphRunAnalysis" data-uid="C1.Util.DX.DirectWrite.GlyphRunAnalysis" class="text-break">GlyphRunAnalysis Class
</h1>
  <div class="markdown level0 summary"><p>IDWriteGlyphRunAnalysis</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Util.DX.DisposeBase.html">DisposeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Util.DX.CppObject.html">CppObject</a></div>
    <div class="level3"><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></div>
    <div class="level4"><span class="xref">GlyphRunAnalysis</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Util.DX.IUnknown.html">IUnknown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.DirectWrite.html">C1.Util.DX.DirectWrite</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_DirectWrite_GlyphRunAnalysis_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;7d97dbf7-e085-42d4-81e3-6a883bded118&quot;)]
public class GlyphRunAnalysis : ComObject, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;7d97dbf7-e085-42d4-81e3-6a883bded118&quot;)&gt;
Public Class GlyphRunAnalysis
    Inherits ComObject
    Implements IDisposable, IUnknown</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DirectWrite_GlyphRunAnalysis__ctor_System_IntPtr_" data-uid="C1.Util.DX.DirectWrite.GlyphRunAnalysis.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DirectWrite.GlyphRunAnalysis.-ctor.html#C1_Util_DX_DirectWrite_GlyphRunAnalysis__ctor_System_IntPtr_">GlyphRunAnalysis(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DirectWrite.GlyphRunAnalysis.html">GlyphRunAnalysis</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DirectWrite_GlyphRunAnalysis_Create_C1_Util_DX_DirectWrite_Factory_C1_Util_DX_DirectWrite_GlyphRun_System_Single_C1_Util_DX_DirectWrite_RenderingMode_C1_Util_DX_DirectWrite_MeasuringMode_System_Single_System_Single_" data-uid="C1.Util.DX.DirectWrite.GlyphRunAnalysis.Create(C1.Util.DX.DirectWrite.Factory,C1.Util.DX.DirectWrite.GlyphRun,System.Single,C1.Util.DX.DirectWrite.RenderingMode,C1.Util.DX.DirectWrite.MeasuringMode,System.Single,System.Single)">
          <a class="xref" href="C1.Util.DX.DirectWrite.GlyphRunAnalysis.Create.html#C1_Util_DX_DirectWrite_GlyphRunAnalysis_Create_C1_Util_DX_DirectWrite_Factory_C1_Util_DX_DirectWrite_GlyphRun_System_Single_C1_Util_DX_DirectWrite_RenderingMode_C1_Util_DX_DirectWrite_MeasuringMode_System_Single_System_Single_">Create(Factory, GlyphRun, float, RenderingMode, MeasuringMode, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a glyph run analysis object, which encapsulates information used to render a glyph run.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_GlyphRunAnalysis_Create_C1_Util_DX_DirectWrite_Factory_C1_Util_DX_DirectWrite_GlyphRun_System_Single_System_Nullable_C1_Util_DX_Matrix3x2__C1_Util_DX_DirectWrite_RenderingMode_C1_Util_DX_DirectWrite_MeasuringMode_System_Single_System_Single_" data-uid="C1.Util.DX.DirectWrite.GlyphRunAnalysis.Create(C1.Util.DX.DirectWrite.Factory,C1.Util.DX.DirectWrite.GlyphRun,System.Single,System.Nullable{C1.Util.DX.Matrix3x2},C1.Util.DX.DirectWrite.RenderingMode,C1.Util.DX.DirectWrite.MeasuringMode,System.Single,System.Single)">
          <a class="xref" href="C1.Util.DX.DirectWrite.GlyphRunAnalysis.Create.html#C1_Util_DX_DirectWrite_GlyphRunAnalysis_Create_C1_Util_DX_DirectWrite_Factory_C1_Util_DX_DirectWrite_GlyphRun_System_Single_System_Nullable_C1_Util_DX_Matrix3x2__C1_Util_DX_DirectWrite_RenderingMode_C1_Util_DX_DirectWrite_MeasuringMode_System_Single_System_Single_">Create(Factory, GlyphRun, float, Matrix3x2?, RenderingMode, MeasuringMode, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a glyph run analysis object, which encapsulates information used to render a glyph run.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_GlyphRunAnalysis_CreateAlphaTexture_C1_Util_DX_DirectWrite_TextureType_C1_Util_DX_RectL_System_Byte___System_Int32_" data-uid="C1.Util.DX.DirectWrite.GlyphRunAnalysis.CreateAlphaTexture(C1.Util.DX.DirectWrite.TextureType,C1.Util.DX.RectL,System.Byte[],System.Int32)">
          <a class="xref" href="C1.Util.DX.DirectWrite.GlyphRunAnalysis.CreateAlphaTexture.html#C1_Util_DX_DirectWrite_GlyphRunAnalysis_CreateAlphaTexture_C1_Util_DX_DirectWrite_TextureType_C1_Util_DX_RectL_System_Byte___System_Int32_">CreateAlphaTexture(TextureType, RectL, byte[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteGlyphRunAnalysis::CreateAlphaTexture([In] DWRITE_TEXTURE_TYPE textureType,[In] const RECT* textureBounds,[Out, Buffer] unsigned char* alphaValues,[In] unsigned int bufferSize)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_GlyphRunAnalysis_GetAlphaBlendParams_C1_Util_DX_DirectWrite_RenderingParams_System_Single__System_Single__System_Single__" data-uid="C1.Util.DX.DirectWrite.GlyphRunAnalysis.GetAlphaBlendParams(C1.Util.DX.DirectWrite.RenderingParams,System.Single@,System.Single@,System.Single@)">
          <a class="xref" href="C1.Util.DX.DirectWrite.GlyphRunAnalysis.GetAlphaBlendParams.html#C1_Util_DX_DirectWrite_GlyphRunAnalysis_GetAlphaBlendParams_C1_Util_DX_DirectWrite_RenderingParams_System_Single__System_Single__System_Single__">GetAlphaBlendParams(RenderingParams, out float, out float, out float)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteGlyphRunAnalysis::GetAlphaBlendParams([In] IDWriteRenderingParams* renderingParams,[Out] float* blendGamma,[Out] float* blendEnhancedContrast,[Out] float* blendClearTypeLevel)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_GlyphRunAnalysis_GetAlphaTextureBounds_C1_Util_DX_DirectWrite_TextureType_" data-uid="C1.Util.DX.DirectWrite.GlyphRunAnalysis.GetAlphaTextureBounds(C1.Util.DX.DirectWrite.TextureType)">
          <a class="xref" href="C1.Util.DX.DirectWrite.GlyphRunAnalysis.GetAlphaTextureBounds.html#C1_Util_DX_DirectWrite_GlyphRunAnalysis_GetAlphaTextureBounds_C1_Util_DX_DirectWrite_TextureType_">GetAlphaTextureBounds(TextureType)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteGlyphRunAnalysis::GetAlphaTextureBounds([In] DWRITE_TEXTURE_TYPE textureType,[Out] RECT* textureBounds)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DirectWrite_GlyphRunAnalysis_op_Explicit_System_IntPtr__C1_Util_DX_DirectWrite_GlyphRunAnalysis" data-uid="C1.Util.DX.DirectWrite.GlyphRunAnalysis.op_Explicit(System.IntPtr)~C1.Util.DX.DirectWrite.GlyphRunAnalysis">
          <a class="xref" href="C1.Util.DX.DirectWrite.GlyphRunAnalysis.op_Explicit.html#C1_Util_DX_DirectWrite_GlyphRunAnalysis_op_Explicit_System_IntPtr__C1_Util_DX_DirectWrite_GlyphRunAnalysis">explicit operator GlyphRunAnalysis(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a> to <a class="xref" href="C1.Util.DX.DirectWrite.GlyphRunAnalysis.html">GlyphRunAnalysis</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
