<summary>
Determines the recommended rendering mode for the font given the specified size and rendering parameters.
</summary>
<param name="emSize">Logical size of the font in DIP units. A DIP ("device-independent pixel") equals 1/96 inch.</param>
<param name="pixelsPerDip">Number of physical pixels per DIP. For example, if the DPI of the rendering surface is 96 this
value is 1.0f. If the DPI is 120, this value is 120.0f/96.</param>
<param name="measuringMode">Specifies measuring mode that will be used for glyphs in the font.
Renderer implementations may choose different rendering modes for given measuring modes, but
best results are seen when the corresponding modes match:
DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL for DWRITE_MEASURING_MODE_NATURAL
DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC for DWRITE_MEASURING_MODE_GDI_CLASSIC
DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL for DWRITE_MEASURING_MODE_GDI_NATURAL
</param>
<param name="renderingParams">Rendering parameters object. This parameter is necessary in case the rendering parameters
object overrides the rendering mode.</param>
<param name="renderingMode">Receives the recommended rendering mode to use.</param>
<returns>
Standard HRESULT error code.
</returns>
<summary> Determines the recommended rendering mode for the font given the specified size and rendering parameters. </summary> <param name="emSize">Logical size of the font in DIP units. A DIP ("device-independent pixel") equals 1/96 inch.</param> <param name="pixelsPerDip">Number of physical pixels per DIP. For example, if the DPI of the rendering surface is 96 this value is 1.0f. If the DPI is 120, this value is 120.0f/96.</param> <param name="measuringMode">Specifies measuring mode that will be used for glyphs in the font. Renderer implementations may choose different rendering modes for given measuring modes, but best results are seen when the corresponding modes match: DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL for DWRITE_MEASURING_MODE_NATURAL DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC for DWRITE_MEASURING_MODE_GDI_CLASSIC DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL for DWRITE_MEASURING_MODE_GDI_NATURAL </param> <param name="renderingParams">Rendering parameters object. This parameter is necessary in case the rendering parameters object overrides the rendering mode.</param> <param name="renderingMode">Receives the recommended rendering mode to use.</param> <returns> Standard HRESULT error code. </returns>