Example #1
0
 /** @since Available in iOS 3.2 and later. */
 public @MachineSizedFloat double getDescent() {
   MachineSizedFloatPtr ptr = new MachineSizedFloatPtr();
   getTypographicBounds(null, ptr, null);
   return ptr.get();
 }
Example #2
0
 /** @since Available in iOS 3.2 and later. */
 public @MachineSizedFloat double getLeading() {
   MachineSizedFloatPtr ptr = new MachineSizedFloatPtr();
   getTypographicBounds(null, null, ptr);
   return ptr.get();
 }
Example #3
0
 /** @since Available in iOS 3.2 and later. */
 public @MachineSizedFloat double getSecondaryOffset(@MachineSizedSInt long charIndex) {
   MachineSizedFloatPtr ptr = new MachineSizedFloatPtr();
   getOffset(charIndex, ptr);
   return ptr.get();
 }