public void NSLayoutManager_GlyphRangeForCharacterRange() { NSRange pnt; NSRange range = manager.GlyphRangeForCharacterRange(new NSRange(0, 4), out pnt); Assert.IsNotNull(range); }
public void NSLayoutManager_GlyphRangeForCharacterRange() { NSRange pnt; #if NET NSRange range = manager.GetGlyphRange(new NSRange(0, 4), out pnt); #else NSRange range = manager.GlyphRangeForCharacterRange(new NSRange(0, 4), out pnt); #endif Assert.IsNotNull(range); }
public static NSRange GlyphRangeForCharacterRange(this NSLayoutManager layoutManager, NSRange charRange) => layoutManager.GlyphRangeForCharacterRange(charRange, out var _);