NSLayoutManager.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
| Name | Description |
|---|---|
| GetGlyphs(NSRange, Int16[], NSGlyphProperty[], UIntPtr[], Byte[]) |
Fills |
| GetGlyphs(NSRange, IntPtr, IntPtr, IntPtr, IntPtr) |
GetGlyphs(NSRange, Int16[], NSGlyphProperty[], UIntPtr[], Byte[])
Fills glyphBuffer with the glyphs in glyphRange.
public UIntPtr GetGlyphs(Foundation.NSRange glyphRange, short[] glyphBuffer, AppKit.NSGlyphProperty[] props, UIntPtr[] charIndexBuffer, byte[] bidiLevelBuffer);
member this.GetGlyphs : Foundation.NSRange * int16[] * AppKit.NSGlyphProperty[] * unativeint[] * byte[] -> unativeint
Parameters
- glyphRange
- NSRange
The range of glyphs to retrieve.
- glyphBuffer
- Int16[]
An output buffer that receives the glyph identifiers for the specified range.
- props
- NSGlyphProperty[]
An output buffer that receives the glyph properties for each glyph.
- charIndexBuffer
-
UIntPtr[]
unativeint[]
An output buffer that receives the character index corresponding to each glyph.
- bidiLevelBuffer
- Byte[]
An output buffer that receives the bidirectional embedding level for each glyph.
Returns
unativeint
The number of glyphs in glyphBuffer.
Applies to
GetGlyphs(NSRange, IntPtr, IntPtr, IntPtr, IntPtr)
[Foundation.Export("getGlyphsInRange:glyphs:properties:characterIndexes:bidiLevels:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual UIntPtr GetGlyphs(Foundation.NSRange glyphRange, IntPtr glyphBuffer, IntPtr properties, IntPtr characterIndexBuffer, IntPtr bidiLevelBuffer);
[<Foundation.Export("getGlyphsInRange:glyphs:properties:characterIndexes:bidiLevels:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetGlyphs : Foundation.NSRange * nativeint * nativeint * nativeint * nativeint -> unativeint
override this.GetGlyphs : Foundation.NSRange * nativeint * nativeint * nativeint * nativeint -> unativeint
Parameters
- glyphRange
- NSRange
- glyphBuffer
-
IntPtr
nativeint
- properties
-
IntPtr
nativeint
- characterIndexBuffer
-
IntPtr
nativeint
- bidiLevelBuffer
-
IntPtr
nativeint
Returns
unativeint
- Attributes