예제 #1
0
        public void NSLayoutManager_GlyphRangeForCharacterRange()
        {
            NSRange pnt;
            NSRange range = manager.GlyphRangeForCharacterRange(new NSRange(0, 4), out pnt);

            Assert.IsNotNull(range);
        }
예제 #2
0
        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);
        }
예제 #3
0
 public static NSRange GlyphRangeForCharacterRange(this NSLayoutManager layoutManager, NSRange charRange) => layoutManager.GlyphRangeForCharacterRange(charRange, out var _);