SKTypeface.GetGlyphs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetGlyphs(ReadOnlySpan<Byte>, SKEncoding, UInt16[]) |
Obsolete.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding. |
GetGlyphs(IntPtr, Int32, SKTextEncoding) | |
GetGlyphs(IntPtr, Int32, SKEncoding) |
Obsolete.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding. |
GetGlyphs(Byte[], SKEncoding, UInt16[]) |
Obsolete.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding. |
GetGlyphs(String, UInt16[]) |
Obsolete.
Retrieve the corresponding glyph IDs of a string of characters. |
GetGlyphs(String, SKEncoding) |
Obsolete.
Retrieve the corresponding glyph IDs of a string of characters, of the specified encoding. |
GetGlyphs(ReadOnlySpan<Byte>, SKTextEncoding) | |
GetGlyphs(ReadOnlySpan<Byte>, SKEncoding) |
Obsolete.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding. |
GetGlyphs(Byte[], SKEncoding) |
Obsolete.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding. |
GetGlyphs(String) |
Retrieve the corresponding glyph IDs of a string of characters. |
GetGlyphs(ReadOnlySpan<Int32>) | |
GetGlyphs(ReadOnlySpan<Char>) | |
GetGlyphs(String, SKEncoding, UInt16[]) |
Obsolete.
Retrieve the corresponding glyph IDs of a string of characters. |
GetGlyphs(IntPtr, Int32, SKEncoding, UInt16[]) |
Obsolete.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding. |
GetGlyphs(ReadOnlySpan<Byte>, SKEncoding, UInt16[])
Caution
Use GetGlyphs(ReadOnlySpan<byte>, SKTextEncoding) instead.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding.
[System.Obsolete("Use GetGlyphs(ReadOnlySpan<byte>, SKTextEncoding) instead.")]
public int GetGlyphs (ReadOnlySpan<byte> text, SkiaSharp.SKEncoding encoding, out ushort[] glyphs);
Parameters
- text
- ReadOnlySpan<Byte>
The buffer of character codes.
- encoding
- SKEncoding
How the character codes are encoded.
- glyphs
- UInt16[]
Destination for the corresponding glyph IDs for each character.
Returns
The number of number of continuous non-zero glyph IDs computed from the beginning of the character codes.
- Attributes
Applies to
GetGlyphs(IntPtr, Int32, SKTextEncoding)
public ushort[] GetGlyphs (IntPtr text, int length, SkiaSharp.SKTextEncoding encoding);
Parameters
- text
- IntPtr
- length
- Int32
- encoding
- SKTextEncoding
Returns
Applies to
GetGlyphs(IntPtr, Int32, SKEncoding)
Caution
Use GetGlyphs(IntPtr, int, SKTextEncoding) instead.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding.
[System.Obsolete("Use GetGlyphs(IntPtr, int, SKTextEncoding) instead.")]
public ushort[] GetGlyphs (IntPtr text, int length, SkiaSharp.SKEncoding encoding);
Parameters
- text
- IntPtr
The buffer of character codes.
- length
- Int32
The length of the buffer.
- encoding
- SKEncoding
How the character codes are encoded.
Returns
Returns the corresponding glyph IDs for each character.
- Attributes
Applies to
GetGlyphs(Byte[], SKEncoding, UInt16[])
Caution
Use GetGlyphs(byte[], SKTextEncoding) instead.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding.
[System.Obsolete("Use GetGlyphs(byte[], SKTextEncoding) instead.")]
public int GetGlyphs (byte[] text, SkiaSharp.SKEncoding encoding, out ushort[] glyphs);
Parameters
- text
- Byte[]
The buffer of character codes.
- encoding
- SKEncoding
How the character codes are encoded.
- glyphs
- UInt16[]
Destination for the corresponding glyph IDs for each character.
Returns
The number of number of continuous non-zero glyph IDs computed from the beginning of the character codes.
- Attributes
Applies to
GetGlyphs(String, UInt16[])
Caution
Use GetGlyphs(string) instead.
Retrieve the corresponding glyph IDs of a string of characters.
[System.Obsolete("Use GetGlyphs(string) instead.")]
public int GetGlyphs (string text, out ushort[] glyphs);
Parameters
- text
- String
The string of characters.
- glyphs
- UInt16[]
Destination for the corresponding glyph IDs for each character.
Returns
The number of number of continuous non-zero glyph IDs computed from the beginning of the character codes.
- Attributes
Applies to
GetGlyphs(String, SKEncoding)
Caution
Use GetGlyphs(string) instead.
Retrieve the corresponding glyph IDs of a string of characters, of the specified encoding.
[System.Obsolete("Use GetGlyphs(string) instead.")]
public ushort[] GetGlyphs (string text, SkiaSharp.SKEncoding encoding);
Parameters
- text
- String
The string of characters.
- encoding
- SKEncoding
How the characters are to be encoded.
Returns
Returns the corresponding glyph IDs for each character.
- Attributes
Applies to
GetGlyphs(ReadOnlySpan<Byte>, SKTextEncoding)
public ushort[] GetGlyphs (ReadOnlySpan<byte> text, SkiaSharp.SKTextEncoding encoding);
Parameters
- text
- ReadOnlySpan<Byte>
- encoding
- SKTextEncoding
Returns
Applies to
GetGlyphs(ReadOnlySpan<Byte>, SKEncoding)
Caution
Use GetGlyphs(ReadOnlySpan<byte>, SKTextEncoding) instead.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding.
[System.Obsolete("Use GetGlyphs(ReadOnlySpan<byte>, SKTextEncoding) instead.")]
public ushort[] GetGlyphs (ReadOnlySpan<byte> text, SkiaSharp.SKEncoding encoding);
Parameters
- text
- ReadOnlySpan<Byte>
The buffer of character codes.
- encoding
- SKEncoding
How the character codes are encoded.
Returns
Returns the corresponding glyph IDs for each character.
- Attributes
Applies to
GetGlyphs(Byte[], SKEncoding)
Caution
Use GetGlyphs(ReadOnlySpan<byte>, SKTextEncoding) instead.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding.
[System.Obsolete("Use GetGlyphs(ReadOnlySpan<byte>, SKTextEncoding) instead.")]
public ushort[] GetGlyphs (byte[] text, SkiaSharp.SKEncoding encoding);
Parameters
- text
- Byte[]
The buffer of character codes.
- encoding
- SKEncoding
How the character codes are encoded.
Returns
Returns the corresponding glyph IDs for each character.
- Attributes
Applies to
GetGlyphs(String)
GetGlyphs(ReadOnlySpan<Int32>)
public ushort[] GetGlyphs (ReadOnlySpan<int> codepoints);
Parameters
- codepoints
- ReadOnlySpan<Int32>
Returns
Applies to
GetGlyphs(ReadOnlySpan<Char>)
public ushort[] GetGlyphs (ReadOnlySpan<char> text);
Parameters
- text
- ReadOnlySpan<Char>
Returns
Applies to
GetGlyphs(String, SKEncoding, UInt16[])
Caution
Use GetGlyphs(string) instead.
Retrieve the corresponding glyph IDs of a string of characters.
[System.Obsolete("Use GetGlyphs(string) instead.")]
public int GetGlyphs (string text, SkiaSharp.SKEncoding encoding, out ushort[] glyphs);
Parameters
- text
- String
The string of characters.
- encoding
- SKEncoding
How the characters are to be encoded.
- glyphs
- UInt16[]
Destination for the corresponding glyph IDs for each character.
Returns
The number of number of continuous non-zero glyph IDs computed from the beginning of the character codes.
- Attributes
Applies to
GetGlyphs(IntPtr, Int32, SKEncoding, UInt16[])
Caution
Use GetGlyphs(IntPtr, int, SKTextEncoding) instead.
Retrieve the corresponding glyph IDs of a buffer containing character codes, of the specified encoding.
[System.Obsolete("Use GetGlyphs(IntPtr, int, SKTextEncoding) instead.")]
public int GetGlyphs (IntPtr text, int length, SkiaSharp.SKEncoding encoding, out ushort[] glyphs);
Parameters
- text
- IntPtr
The buffer of character codes.
- length
- Int32
The length of the buffer.
- encoding
- SKEncoding
How the character codes are encoded.
- glyphs
- UInt16[]
Destination for the corresponding glyph IDs for each character.
Returns
The number of number of continuous non-zero glyph IDs computed from the beginning of the character codes.
- Attributes