SKPaint.GetGlyphs Method

Definition

Overloads

GetGlyphs(IntPtr, IntPtr)

Converts text into glyph indices.

GetGlyphs(IntPtr, Int32)

Converts text into glyph indices.

GetGlyphs(Byte[])

Converts text into glyph indices.

GetGlyphs(String)

Converts text into glyph indices.

GetGlyphs(IntPtr, IntPtr)

Converts text into glyph indices.

public ushort[] GetGlyphs (IntPtr text, IntPtr length);

Parameters

text
IntPtr

The text buffer encoded using the encoding specified in TextEncoding format.

length
IntPtr

The length of the text buffer.

Returns

UInt16[]

Returns the glyph indices.

Remarks

This method does not check the text for valid character codes or valid glyph indices.

GetGlyphs(IntPtr, Int32)

Converts text into glyph indices.

public ushort[] GetGlyphs (IntPtr text, int length);

Parameters

text
IntPtr

The text buffer encoded using the encoding specified in TextEncoding format.

length
Int32

The length of the text buffer.

Returns

UInt16[]

Returns the glyph indices.

Remarks

This method does not check the text for valid character codes or valid glyph indices.

GetGlyphs(Byte[])

Converts text into glyph indices.

public ushort[] GetGlyphs (byte[] text);

Parameters

text
Byte[]

The text encoded using the encoding specified in TextEncoding format.

Returns

UInt16[]

Returns the glyph indices.

Remarks

This method does not check the text for valid character codes or valid glyph indices.

GetGlyphs(String)

Converts text into glyph indices.

public ushort[] GetGlyphs (string text);

Parameters

text
String

The text.

Returns

UInt16[]

Returns the glyph indices.

Remarks

This method does not check the text for valid character codes or valid glyph indices.

Applies to