Class DWriteRenderingParams
The interface that represents text rendering settings for glyph rasterization and filtering.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.DWrite
Assembly: JeremyAnsel.DirectX.DWrite.dll
Syntax
[SecurityCritical]
public class DWriteRenderingParams : DXComObject, IDisposable
Constructors
| Edit this page View SourceDWriteRenderingParams(nint)
Initializes a new instance of the DWriteRenderingParams class.
Declaration
public DWriteRenderingParams(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceDWriteRenderingParamsGuid
The interface GUID.
Declaration
public static readonly Guid DWriteRenderingParamsGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceClearTypeLevel
Gets the ClearType level. Valid values range from 0.0f (no ClearType) to 1.0f (full ClearType).
Declaration
public float ClearTypeLevel { get; }
Property Value
| Type | Description |
|---|---|
| float |
EnhancedContrast
Gets the amount of contrast enhancement. Valid values are greater than or equal to zero.
Declaration
public float EnhancedContrast { get; }
Property Value
| Type | Description |
|---|---|
| float |
Gamma
Gets the gamma value used for gamma correction. Valid values must be greater than zero and cannot exceed 256.
Declaration
public float Gamma { get; }
Property Value
| Type | Description |
|---|---|
| float |
PixelGeometry
Gets the pixel geometry.
Declaration
public DWritePixelGeometry PixelGeometry { get; }
Property Value
| Type | Description |
|---|---|
| DWritePixelGeometry |
RenderingMode
Gets the rendering mode.
Declaration
public DWriteRenderingMode RenderingMode { get; }
Property Value
| Type | Description |
|---|---|
| DWriteRenderingMode |