Struct DWriteGlyphRunDescription
The DWRITE_GLYPH_RUN_DESCRIPTION structure contains additional properties related to those in DWRITE_GLYPH_RUN.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.DWrite
Assembly: JeremyAnsel.DirectX.DWrite.dll
Syntax
public struct DWriteGlyphRunDescription : IEquatable<DWriteGlyphRunDescription>
Properties
| Edit this page View SourceClusterMap
Gets or sets an array of indices to the glyph indices array, of the first glyphs of all the glyph clusters of the glyphs to render.
Declaration
public ushort[] ClusterMap { get; set; }
Property Value
Type | Description |
---|---|
ushort[] |
LocaleName
Gets or sets the locale name associated with this run.
Declaration
public string LocaleName { get; set; }
Property Value
Type | Description |
---|---|
string |
TextLength
Gets the number of characters (UTF16 code-units). Note that this may be different than the number of glyphs.
Declaration
public uint TextLength { get; }
Property Value
Type | Description |
---|---|
uint |
TextPosition
Gets or sets the corresponding text position in the original string this glyph run came from.
Declaration
public uint TextPosition { get; set; }
Property Value
Type | Description |
---|---|
uint |
TextString
Gets or sets the text associated with the glyphs.
Declaration
public string TextString { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceEquals(DWriteGlyphRunDescription)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DWriteGlyphRunDescription other)
Parameters
Type | Name | Description |
---|---|---|
DWriteGlyphRunDescription | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
| Edit this page View Sourceoperator ==(DWriteGlyphRunDescription, DWriteGlyphRunDescription)
Compares two DWriteGlyphRunDescription objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DWriteGlyphRunDescription left, DWriteGlyphRunDescription right)
Parameters
Type | Name | Description |
---|---|---|
DWriteGlyphRunDescription | left | The left DWriteGlyphRunDescription to compare. |
DWriteGlyphRunDescription | right | The right DWriteGlyphRunDescription to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DWriteGlyphRunDescription, DWriteGlyphRunDescription)
Compares two DWriteGlyphRunDescription objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DWriteGlyphRunDescription left, DWriteGlyphRunDescription right)
Parameters
Type | Name | Description |
---|---|---|
DWriteGlyphRunDescription | left | The left DWriteGlyphRunDescription to compare. |
DWriteGlyphRunDescription | right | The right DWriteGlyphRunDescription to compare. |
Returns
Type | Description |
---|---|
bool |