/** * @since Available in iOS 3.2 and later. */ public long[] getStringIndices(@ByVal CFRange range) { LongPtr ptr = new LongPtr(); getStringIndices(range, ptr); return ptr.toLongArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public short[] getGlyphs(@ByVal CFRange range) { ShortPtr ptr = new ShortPtr(); getGlyphs(range, ptr); return ptr.toShortArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public CGPoint[] getPositions(@ByVal CFRange range) { CGPoint p = Struct.allocate(CGPoint.class, (int)range.getLength()); getPositions(range, p); return p.toArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public CGSize[] getAdvances(@ByVal CFRange range) { CGSize s = Struct.allocate(CGSize.class, (int)range.getLength()); getAdvances(range, s); return s.toArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public short[] getGlyphs(@ByVal CFRange range) { ShortPtr ptr = new ShortPtr(); getGlyphs(range, ptr); return ptr.toShortArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public short[] getGlyphs(@ByVal CFRange range) { ShortPtr ptr = new ShortPtr(); getGlyphs(range, ptr); return ptr.toShortArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public long[] getStringIndices(@ByVal CFRange range) { LongPtr ptr = new LongPtr(); getStringIndices(range, ptr); return ptr.toLongArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public long[] getStringIndices(@ByVal CFRange range) { LongPtr ptr = new LongPtr(); getStringIndices(range, ptr); return ptr.toLongArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public CGPoint[] getPositions(@ByVal CFRange range) { CGPoint p = Struct.allocate(CGPoint.class, (int)range.getLength()); getPositions(range, p); return p.toArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public CGSize[] getAdvances(@ByVal CFRange range) { CGSize s = Struct.allocate(CGSize.class, (int)range.getLength()); getAdvances(range, s); return s.toArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public CGSize[] getAdvances(@ByVal CFRange range) { CGSize s = Struct.allocate(CGSize.class, (int)range.getLength()); getAdvances(range, s); return s.toArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public CGPoint[] getPositions(@ByVal CFRange range) { CGPoint p = Struct.allocate(CGPoint.class, (int)range.getLength()); getPositions(range, p); return p.toArray((int) getGlyphCount()); } /**