Struct DWriteFontFeature
The DWRITE_FONT_FEATURE structure specifies properties used to identify and execute typographic feature in the font.
Assembly: JeremyAnsel.DirectX.DWrite.dll
Syntax
public struct DWriteFontFeature : IEquatable<DWriteFontFeature>
Constructors
|
Edit this page
View Source
DWriteFontFeature(DWriteFontFeatureTag, uint)
Declaration
public DWriteFontFeature(DWriteFontFeatureTag nameTag, uint parameter)
Parameters
| Type |
Name |
Description |
| DWriteFontFeatureTag |
nameTag |
The feature OpenType name identifier.
|
| uint |
parameter |
Execution parameter of the feature.
|
Properties
|
Edit this page
View Source
Gets or sets the feature OpenType name identifier.
Declaration
public DWriteFontFeatureTag NameTag { get; set; }
Property Value
|
Edit this page
View Source
Parameter
Gets or sets the execution parameter of the feature.
Declaration
public uint Parameter { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(DWriteFontFeature)
Declaration
public readonly bool Equals(DWriteFontFeature other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override readonly bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
NativeReadFrom(nint)
Declaration
public static DWriteFontFeature NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<DWriteFontFeature>)
Declaration
public static void NativeReadFrom(nint buffer, Span<DWriteFontFeature> objects)
Parameters
|
Edit this page
View Source
NativeRequiredSize()
Declaration
public static int NativeRequiredSize()
Returns
|
Edit this page
View Source
NativeRequiredSize(int)
Declaration
public static int NativeRequiredSize(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
NativeWriteTo(nint, in DWriteFontFeature)
Declaration
public static void NativeWriteTo(nint buffer, in DWriteFontFeature obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<DWriteFontFeature>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<DWriteFontFeature> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(DWriteFontFeature, DWriteFontFeature)
Declaration
public static bool operator ==(DWriteFontFeature left, DWriteFontFeature right)
Parameters
Returns
|
Edit this page
View Source
operator !=(DWriteFontFeature, DWriteFontFeature)
Declaration
public static bool operator !=(DWriteFontFeature left, DWriteFontFeature right)
Parameters
Returns
Implements