org.rococoa.cocoa.coretext
Interface CoreTextLibrary

All Superinterfaces:
Library

public interface CoreTextLibrary
extends Library

JNA Wrapper for library CoreText
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class CoreTextLibrary.__CTFont
           
static class CoreTextLibrary.__CTFontCollection
           
static class CoreTextLibrary.__CTFontDescriptor
           
static class CoreTextLibrary.__CTFrame
           
static class CoreTextLibrary.__CTFramesetter
          Conversion Error : CFStringRef
SKIPPED:
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTextTab.h:71
kCTTabColumnTerminatorsAttributeName
static class CoreTextLibrary.__CTGlyphInfo
           
static class CoreTextLibrary.__CTLine
           
static class CoreTextLibrary.__CTParagraphStyle
           
static class CoreTextLibrary.__CTRun
           
static class CoreTextLibrary.__CTTextTab
           
static class CoreTextLibrary.__CTTypesetter
           
static class CoreTextLibrary.CGFont
           
static class CoreTextLibrary.CGPath
           
static interface CoreTextLibrary.CTFontFormat
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h
enum values
static interface CoreTextLibrary.CTFontManagerAutoActivationSetting
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFontManager.h
enum values
static interface CoreTextLibrary.CTFontManagerScope
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFontManager.h
enum values
static interface CoreTextLibrary.CTFontOrientation
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h
enum values
static interface CoreTextLibrary.CTFontPriority
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h
enum values
static interface CoreTextLibrary.CTFontStylisticClass
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFontTraits.h
enum values
static interface CoreTextLibrary.CTFontSymbolicTraits
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFontTraits.h
enum values
static interface CoreTextLibrary.CTFontTableOptions
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFont.h
enum values
static interface CoreTextLibrary.CTFontTableTag
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFont.h
enum values
static interface CoreTextLibrary.CTFontUIFontType
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFont.h
enum values
static interface CoreTextLibrary.CTFrameProgression
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h
enum values
static interface CoreTextLibrary.CTLineTruncationType
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h
enum values
static interface CoreTextLibrary.CTParagraphStyleSpecifier
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h
enum values
static interface CoreTextLibrary.CTRunStatus
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h
enum values
static interface CoreTextLibrary.CTUnderlineStyle
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTStringAttributes.h
enum values
static interface CoreTextLibrary.CTUnderlineStyleModifiers
          native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTStringAttributes.h
enum values
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
Library.Handler
 
Field Summary
static CoreTextLibrary INSTANCE
           
static String JNA_LIBRARY_NAME
           
static NativeLibrary JNA_NATIVE_LIB
           
static int kCTAdobeCNS1CharacterCollection
           
static int kCTAdobeGB1CharacterCollection
           
static int kCTAdobeJapan1CharacterCollection
           
static int kCTAdobeJapan2CharacterCollection
           
static int kCTAdobeKorea1CharacterCollection
           
static int kCTCenterTextAlignment
           
static int kCTFontClassMaskShift
           
static int kCTFontManagerErrorAlreadyRegistered
           
static int kCTFontManagerErrorFileNotFound
           
static int kCTFontManagerErrorInsufficientPermissions
           
static int kCTFontManagerErrorInUse
           
static int kCTFontManagerErrorInvalidFontData
           
static int kCTFontManagerErrorNotRegistered
           
static int kCTFontManagerErrorSystemRequired
           
static int kCTFontManagerErrorUnrecognizedFormat
           
static int kCTFontOptionsDefault
           
static int kCTFontOptionsPreferSystemFont
           
static int kCTFontOptionsPreventAutoActivation
           
static int kCTIdentityMappingCharacterCollection
           
static int kCTJustifiedTextAlignment
           
static int kCTLeftTextAlignment
           
static int kCTLineBreakByCharWrapping
           
static int kCTLineBreakByClipping
           
static int kCTLineBreakByTruncatingHead
           
static int kCTLineBreakByTruncatingMiddle
           
static int kCTLineBreakByTruncatingTail
           
static int kCTLineBreakByWordWrapping
           
static int kCTNaturalTextAlignment
           
static int kCTRightTextAlignment
           
static int kCTWritingDirectionLeftToRight
           
static int kCTWritingDirectionNatural
           
static int kCTWritingDirectionRightToLeft
           
 
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Method Summary
 CoreTextLibrary.__CTFontCollection CTFontCollectionCreateCopyWithFontDescriptors(CoreTextLibrary.__CTFontCollection original, HIServicesLibrary.__CFArray descriptors, HIServicesLibrary.__CFDictionary options)
           
 CoreTextLibrary.__CTFontCollection CTFontCollectionCreateFromAvailableFonts(HIServicesLibrary.__CFDictionary options)
           
 HIServicesLibrary.__CFArray CTFontCollectionCreateMatchingFontDescriptors(CoreTextLibrary.__CTFontCollection collection)
           
 CoreTextLibrary.__CTFontCollection CTFontCollectionCreateWithFontDescriptors(HIServicesLibrary.__CFArray descriptors, HIServicesLibrary.__CFDictionary options)
           
 NativeLong CTFontCollectionGetTypeID()
           
 HIServicesLibrary.__CFArray CTFontCopyAvailableTables(CoreTextLibrary.__CTFont font, int options)
           
 CoreFoundationLibrary.__CFCharacterSet CTFontCopyCharacterSet(CoreTextLibrary.__CTFont font)
           
 HIServicesLibrary.__CFArray CTFontCopyFeatures(CoreTextLibrary.__CTFont font)
           
 HIServicesLibrary.__CFArray CTFontCopyFeatureSettings(CoreTextLibrary.__CTFont font)
           
 CoreTextLibrary.__CTFontDescriptor CTFontCopyFontDescriptor(CoreTextLibrary.__CTFont font)
           
 CoreTextLibrary.CGFont CTFontCopyGraphicsFont(CoreTextLibrary.__CTFont font, CoreTextLibrary.__CTFontDescriptor[] attributes)
           
 CoreTextLibrary.CGFont CTFontCopyGraphicsFont(CoreTextLibrary.__CTFont font, PointerByReference attributes)
          Deprecated. use the safer method CTFontCopyGraphicsFont(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFontDescriptor[]) instead
 HIServicesLibrary.__CFArray CTFontCopySupportedLanguages(CoreTextLibrary.__CTFont font)
           
 HIServicesLibrary.__CFDictionary CTFontCopyTraits(CoreTextLibrary.__CTFont font)
           
 HIServicesLibrary.__CFDictionary CTFontCopyVariation(CoreTextLibrary.__CTFont font)
           
 HIServicesLibrary.__CFArray CTFontCopyVariationAxes(CoreTextLibrary.__CTFont font)
           
 CoreTextLibrary.__CTFont CTFontCreateCopyWithAttributes(CoreTextLibrary.__CTFont font, org.rococoa.cocoa.CGFloat size, CGAffineTransform matrix, CoreTextLibrary.__CTFontDescriptor attributes)
           
 CoreTextLibrary.__CTFont CTFontCreateCopyWithSymbolicTraits(CoreTextLibrary.__CTFont font, org.rococoa.cocoa.CGFloat size, CGAffineTransform matrix, int symTraitValue, int symTraitMask)
           
 CoreTextLibrary.CGPath CTFontCreatePathForGlyph(CoreTextLibrary.__CTFont font, short glyph, CGAffineTransform transform)
           
 CoreTextLibrary.__CTFont CTFontCreateWithFontDescriptor(CoreTextLibrary.__CTFontDescriptor descriptor, org.rococoa.cocoa.CGFloat size, CGAffineTransform matrix)
           
 CoreTextLibrary.__CTFont CTFontCreateWithGraphicsFont(CoreTextLibrary.CGFont graphicsFont, org.rococoa.cocoa.CGFloat size, CGAffineTransform matrix, CoreTextLibrary.__CTFontDescriptor attributes)
           
 CoreTextLibrary.__CTFont CTFontCreateWithPlatformFont(int platformFont, org.rococoa.cocoa.CGFloat size, CGAffineTransform matrix, CoreTextLibrary.__CTFontDescriptor attributes)
           
 CoreTextLibrary.__CTFont CTFontCreateWithQuickdrawInstance(byte[] name, short identifier, byte style, org.rococoa.cocoa.CGFloat size)
           
 CoreTextLibrary.__CTFont CTFontCreateWithQuickdrawInstance(Pointer name, short identifier, byte style, org.rococoa.cocoa.CGFloat size)
          Deprecated. use the safer methods CTFontCreateWithQuickdrawInstance(byte[], short, byte, org.rococoa.cocoa.CGFloat) and CTFontCreateWithQuickdrawInstance(com.sun.jna.Pointer, short, byte, org.rococoa.cocoa.CGFloat) instead
 HIServicesLibrary.__CFDictionary CTFontDescriptorCopyAttributes(CoreTextLibrary.__CTFontDescriptor descriptor)
           
 CoreTextLibrary.__CTFontDescriptor CTFontDescriptorCreateCopyWithAttributes(CoreTextLibrary.__CTFontDescriptor original, HIServicesLibrary.__CFDictionary attributes)
           
 CoreTextLibrary.__CTFontDescriptor CTFontDescriptorCreateCopyWithFeature(CoreTextLibrary.__CTFontDescriptor original, CoreFoundationLibrary.__CFNumber featureTypeIdentifier, CoreFoundationLibrary.__CFNumber featureSelectorIdentifier)
           
 CoreTextLibrary.__CTFontDescriptor CTFontDescriptorCreateCopyWithVariation(CoreTextLibrary.__CTFontDescriptor original, CoreFoundationLibrary.__CFNumber variationIdentifier, org.rococoa.cocoa.CGFloat variationValue)
           
 CoreTextLibrary.__CTFontDescriptor CTFontDescriptorCreateMatchingFontDescriptor(CoreTextLibrary.__CTFontDescriptor descriptor, CoreFoundationLibrary.__CFSet mandatoryAttributes)
           
 HIServicesLibrary.__CFArray CTFontDescriptorCreateMatchingFontDescriptors(CoreTextLibrary.__CTFontDescriptor descriptor, CoreFoundationLibrary.__CFSet mandatoryAttributes)
           
 CoreTextLibrary.__CTFontDescriptor CTFontDescriptorCreateWithAttributes(HIServicesLibrary.__CFDictionary attributes)
           
 NativeLong CTFontDescriptorGetTypeID()
           
 double CTFontGetAdvancesForGlyphs(CoreTextLibrary.__CTFont font, int orientation, ShortBuffer glyphs, Pointer advances, NativeLong count)
           
 double CTFontGetAdvancesForGlyphs(CoreTextLibrary.__CTFont font, int orientation, ShortByReference glyphs, Pointer advances, NativeLong count)
          Deprecated. use the safer methods CTFontGetAdvancesForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, int, java.nio.ShortBuffer, com.sun.jna.Pointer, com.sun.jna.NativeLong) and CTFontGetAdvancesForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, int, com.sun.jna.ptr.ShortByReference, com.sun.jna.Pointer, com.sun.jna.NativeLong) instead
 org.rococoa.cocoa.CGFloat CTFontGetAscent(CoreTextLibrary.__CTFont font)
           
 CGRect.ByValue CTFontGetBoundingBox(CoreTextLibrary.__CTFont font)
           
 CGRect.ByValue CTFontGetBoundingRectsForGlyphs(CoreTextLibrary.__CTFont font, int orientation, ShortBuffer glyphs, Pointer boundingRects, NativeLong count)
           
 CGRect.ByValue CTFontGetBoundingRectsForGlyphs(CoreTextLibrary.__CTFont font, int orientation, ShortByReference glyphs, Pointer boundingRects, NativeLong count)
          Deprecated. use the safer methods CTFontGetBoundingRectsForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, int, java.nio.ShortBuffer, com.sun.jna.Pointer, com.sun.jna.NativeLong) and CTFontGetBoundingRectsForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, int, com.sun.jna.ptr.ShortByReference, com.sun.jna.Pointer, com.sun.jna.NativeLong) instead
 org.rococoa.cocoa.CGFloat CTFontGetCapHeight(CoreTextLibrary.__CTFont font)
           
 org.rococoa.cocoa.CGFloat CTFontGetDescent(CoreTextLibrary.__CTFont font)
           
 NativeLong CTFontGetGlyphCount(CoreTextLibrary.__CTFont font)
           
 boolean CTFontGetGlyphsForCharacters(CoreTextLibrary.__CTFont font, ShortBuffer characters, ShortBuffer glyphs, NativeLong count)
           
 boolean CTFontGetGlyphsForCharacters(CoreTextLibrary.__CTFont font, ShortByReference characters, ShortByReference glyphs, NativeLong count)
          Deprecated. use the safer methods CTFontGetGlyphsForCharacters(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, java.nio.ShortBuffer, java.nio.ShortBuffer, com.sun.jna.NativeLong) and CTFontGetGlyphsForCharacters(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, com.sun.jna.ptr.ShortByReference, com.sun.jna.ptr.ShortByReference, com.sun.jna.NativeLong) instead
 org.rococoa.cocoa.CGFloat CTFontGetLeading(CoreTextLibrary.__CTFont font)
           
 CGAffineTransform.ByValue CTFontGetMatrix(CoreTextLibrary.__CTFont font)
           
 int CTFontGetPlatformFont(CoreTextLibrary.__CTFont font, CoreTextLibrary.__CTFontDescriptor[] attributes)
           
 int CTFontGetPlatformFont(CoreTextLibrary.__CTFont font, PointerByReference attributes)
          Deprecated. use the safer method CTFontGetPlatformFont(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFontDescriptor[]) instead
 org.rococoa.cocoa.CGFloat CTFontGetSize(CoreTextLibrary.__CTFont font)
           
 org.rococoa.cocoa.CGFloat CTFontGetSlantAngle(CoreTextLibrary.__CTFont font)
           
 int CTFontGetStringEncoding(CoreTextLibrary.__CTFont font)
           
 int CTFontGetSymbolicTraits(CoreTextLibrary.__CTFont font)
           
 NativeLong CTFontGetTypeID()
           
 org.rococoa.cocoa.CGFloat CTFontGetUnderlinePosition(CoreTextLibrary.__CTFont font)
           
 org.rococoa.cocoa.CGFloat CTFontGetUnderlineThickness(CoreTextLibrary.__CTFont font)
           
 int CTFontGetUnitsPerEm(CoreTextLibrary.__CTFont font)
           
 void CTFontGetVerticalTranslationsForGlyphs(CoreTextLibrary.__CTFont font, ShortBuffer glyphs, Pointer translations, NativeLong count)
           
 void CTFontGetVerticalTranslationsForGlyphs(CoreTextLibrary.__CTFont font, ShortByReference glyphs, Pointer translations, NativeLong count)
          Deprecated. use the safer methods CTFontGetVerticalTranslationsForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, java.nio.ShortBuffer, com.sun.jna.Pointer, com.sun.jna.NativeLong) and CTFontGetVerticalTranslationsForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, com.sun.jna.ptr.ShortByReference, com.sun.jna.Pointer, com.sun.jna.NativeLong) instead
 org.rococoa.cocoa.CGFloat CTFontGetXHeight(CoreTextLibrary.__CTFont font)
           
 void CTFrameDraw(CoreTextLibrary.__CTFrame frame, CoreGraphicsLibrary.CGContext context)
          Original signature : void CTFrameDraw(CTFrameRef, CGContextRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:244
 HIServicesLibrary.__CFDictionary CTFrameGetFrameAttributes(CoreTextLibrary.__CTFrame frame)
          Original signature : CFDictionaryRef CTFrameGetFrameAttributes(CTFrameRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:163
 void CTFrameGetLineOrigins(CoreTextLibrary.__CTFrame frame, CFRange.ByValue range, Pointer origins)
          Original signature : void CTFrameGetLineOrigins(CTFrameRef, CFRange, CGPoint[])
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:220
 HIServicesLibrary.__CFArray CTFrameGetLines(CoreTextLibrary.__CTFrame frame)
          Original signature : CFArrayRef CTFrameGetLines(CTFrameRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:185
 CoreTextLibrary.CGPath CTFrameGetPath(CoreTextLibrary.__CTFrame frame)
          Original signature : CGPathRef CTFrameGetPath(CTFrameRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:141
 CFRange.ByValue CTFrameGetStringRange(CoreTextLibrary.__CTFrame frame)
          Original signature : CFRange CTFrameGetStringRange(CTFrameRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:106
 NativeLong CTFrameGetTypeID()
          Original signature : CFTypeID CTFrameGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:41
 CFRange.ByValue CTFrameGetVisibleStringRange(CoreTextLibrary.__CTFrame frame)
          Original signature : CFRange CTFrameGetVisibleStringRange(CTFrameRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:129
 CoreTextLibrary.__CTFrame CTFramesetterCreateFrame(CoreTextLibrary.__CTFramesetter framesetter, CFRange.ByValue stringRange, CoreTextLibrary.CGPath path, HIServicesLibrary.__CFDictionary frameAttributes)
          Original signature : CTFrameRef CTFramesetterCreateFrame(CTFramesetterRef, CFRange, CGPathRef, CFDictionaryRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFramesetter.h:101
 CoreTextLibrary.__CTFramesetter CTFramesetterCreateWithAttributedString(CoreFoundationLibrary.__CFAttributedString string)
          Original signature : CTFramesetterRef CTFramesetterCreateWithAttributedString(CFAttributedStringRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFramesetter.h:61
 NativeLong CTFramesetterGetTypeID()
          Original signature : CFTypeID CTFramesetterGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFramesetter.h:38
 CoreTextLibrary.__CTTypesetter CTFramesetterGetTypesetter(CoreTextLibrary.__CTFramesetter framesetter)
          Original signature : CTTypesetterRef CTFramesetterGetTypesetter(CTFramesetterRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFramesetter.h:127
 CGSize.ByValue CTFramesetterSuggestFrameSizeWithConstraints(CoreTextLibrary.__CTFramesetter framesetter, CFRange.ByValue stringRange, HIServicesLibrary.__CFDictionary frameAttributes, CGSize.ByValue constraints, CFRange fitRange)
          Original signature : CGSize CTFramesetterSuggestFrameSizeWithConstraints(CTFramesetterRef, CFRange, CFDictionaryRef, CGSize, CFRange*)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFramesetter.h:168
 int CTGetCoreTextVersion()
          Original signature : uint32_t CTGetCoreTextVersion()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CoreText.h:58
 short CTGlyphInfoGetCharacterCollection(CoreTextLibrary.__CTGlyphInfo glyphInfo)
          Original signature : CTCharacterCollection CTGlyphInfoGetCharacterCollection(CTGlyphInfoRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h:224
 short CTGlyphInfoGetCharacterIdentifier(CoreTextLibrary.__CTGlyphInfo glyphInfo)
          Original signature : CGFontIndex CTGlyphInfoGetCharacterIdentifier(CTGlyphInfoRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h:203
 NativeLong CTGlyphInfoGetTypeID()
          Original signature : CFTypeID CTGlyphInfoGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h:36
 CoreTextLibrary.__CTLine CTLineCreateJustifiedLine(CoreTextLibrary.__CTLine line, org.rococoa.cocoa.CGFloat justificationFactor, double justificationWidth)
          Original signature : CTLineRef CTLineCreateJustifiedLine(CTLineRef, CGFloat, double)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:157
 CoreTextLibrary.__CTLine CTLineCreateTruncatedLine(CoreTextLibrary.__CTLine line, double width, int truncationType, CoreTextLibrary.__CTLine truncationToken)
          Original signature : CTLineRef CTLineCreateTruncatedLine(CTLineRef, double, CTLineTruncationType, CTLineRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:126
 CoreTextLibrary.__CTLine CTLineCreateWithAttributedString(CoreFoundationLibrary.__CFAttributedString string)
          Original signature : CTLineRef CTLineCreateWithAttributedString(CFAttributedStringRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:93
 void CTLineDraw(CoreTextLibrary.__CTLine line, CoreGraphicsLibrary.CGContext context)
          Original signature : void CTLineDraw(CTLineRef, CGContextRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:259
 NativeLong CTLineGetGlyphCount(CoreTextLibrary.__CTLine line)
          Original signature : CFIndex CTLineGetGlyphCount(CTLineRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:180
 HIServicesLibrary.__CFArray CTLineGetGlyphRuns(CoreTextLibrary.__CTLine line)
          Original signature : CFArrayRef CTLineGetGlyphRuns(CTLineRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:194
 CGRect.ByValue CTLineGetImageBounds(CoreTextLibrary.__CTLine line, CoreGraphicsLibrary.CGContext context)
          Original signature : CGRect CTLineGetImageBounds(CTLineRef, CGContextRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:285
 org.rococoa.cocoa.CGFloat CTLineGetOffsetForStringIndex(CoreTextLibrary.__CTLine line, NativeLong charIndex, CGFloatByReference secondaryOffset)
          Original signature : CGFloat CTLineGetOffsetForStringIndex(CTLineRef, CFIndex, CGFloat*)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:404
 double CTLineGetPenOffsetForFlush(CoreTextLibrary.__CTLine line, org.rococoa.cocoa.CGFloat flushFactor, double flushWidth)
          Original signature : double CTLineGetPenOffsetForFlush(CTLineRef, CGFloat, double)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:236
 NativeLong CTLineGetStringIndexForPosition(CoreTextLibrary.__CTLine line, CGPoint.ByValue position)
          Original signature : CFIndex CTLineGetStringIndexForPosition(CTLineRef, CGPoint)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:367
 CFRange.ByValue CTLineGetStringRange(CoreTextLibrary.__CTLine line)
          Original signature : CFRange CTLineGetStringRange(CTLineRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:211
 double CTLineGetTrailingWhitespaceWidth(CoreTextLibrary.__CTLine line)
          Original signature : double CTLineGetTrailingWhitespaceWidth(CTLineRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:336
 NativeLong CTLineGetTypeID()
          Original signature : CFTypeID CTLineGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:68
 double CTLineGetTypographicBounds(CoreTextLibrary.__CTLine line, CGFloatByReference ascent, CGFloatByReference descent, CGFloatByReference leading)
          Original signature : double CTLineGetTypographicBounds(CTLineRef, CGFloat*, CGFloat*, CGFloat*)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:313
 CoreTextLibrary.__CTParagraphStyle CTParagraphStyleCreate(CTParagraphStyleSetting settings, NativeLong settingCount)
          Original signature : CTParagraphStyleRef CTParagraphStyleCreate(const CTParagraphStyleSetting*, CFIndex)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h:377
 CoreTextLibrary.__CTParagraphStyle CTParagraphStyleCreateCopy(CoreTextLibrary.__CTParagraphStyle paragraphStyle)
          Original signature : CTParagraphStyleRef CTParagraphStyleCreateCopy(CTParagraphStyleRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h:396
 NativeLong CTParagraphStyleGetTypeID()
          Original signature : CFTypeID CTParagraphStyleGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h:39
 boolean CTParagraphStyleGetValueForSpecifier(CoreTextLibrary.__CTParagraphStyle paragraphStyle, int spec, NativeSize valueBufferSize, Pointer valueBuffer)
          Original signature : bool CTParagraphStyleGetValueForSpecifier(CTParagraphStyleRef, CTParagraphStyleSpecifier, size_t, void*)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h:441
 void CTRunDraw(CoreTextLibrary.__CTRun run, CoreGraphicsLibrary.CGContext context, CFRange.ByValue range)
          Original signature : void CTRunDraw(CTRunRef, CGContextRef, CFRange)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:456
 void CTRunGetAdvances(CoreTextLibrary.__CTRun run, CFRange.ByValue range, Pointer buffer)
          Original signature : void CTRunGetAdvances(CTRunRef, CFRange, CGSize[])
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:274
 CGSize CTRunGetAdvancesPtr(CoreTextLibrary.__CTRun run)
          Original signature : CGSize* CTRunGetAdvancesPtr(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:252
 HIServicesLibrary.__CFDictionary CTRunGetAttributes(CoreTextLibrary.__CTRun run)
          Original signature : CFDictionaryRef CTRunGetAttributes(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:111
 NativeLong CTRunGetGlyphCount(CoreTextLibrary.__CTRun run)
          Original signature : CFIndex CTRunGetGlyphCount(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:90
 void CTRunGetGlyphs(CoreTextLibrary.__CTRun run, CFRange.ByValue range, ShortBuffer buffer)
          Original signature : void CTRunGetGlyphs(CTRunRef, CFRange, CGGlyph[])
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:175
 void CTRunGetGlyphs(CoreTextLibrary.__CTRun run, CFRange.ByValue range, ShortByReference buffer)
          Deprecated. use the safer methods CTRunGetGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTRun, org.rococoa.cocoa.corefoundation.CFRange.ByValue, java.nio.ShortBuffer) and CTRunGetGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTRun, org.rococoa.cocoa.corefoundation.CFRange.ByValue, com.sun.jna.ptr.ShortByReference) instead
 ShortByReference CTRunGetGlyphsPtr(CoreTextLibrary.__CTRun run)
          Original signature : CGGlyph* CTRunGetGlyphsPtr(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:154
 CGRect.ByValue CTRunGetImageBounds(CoreTextLibrary.__CTRun run, CoreGraphicsLibrary.CGContext context, CFRange.ByValue range)
          Original signature : CGRect CTRunGetImageBounds(CTRunRef, CGContextRef, CFRange)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:408
 void CTRunGetPositions(CoreTextLibrary.__CTRun run, CFRange.ByValue range, Pointer buffer)
          Original signature : void CTRunGetPositions(CTRunRef, CFRange, CGPoint[])
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:225
 CGPoint CTRunGetPositionsPtr(CoreTextLibrary.__CTRun run)
          Original signature : CGPoint* CTRunGetPositionsPtr(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:200
 int CTRunGetStatus(CoreTextLibrary.__CTRun run)
           
 void CTRunGetStringIndices(CoreTextLibrary.__CTRun run, CFRange.ByValue range, NativeLongByReference buffer)
          Original signature : void CTRunGetStringIndices(CTRunRef, CFRange, CFIndex[])
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:326
 NativeLongByReference CTRunGetStringIndicesPtr(CoreTextLibrary.__CTRun run)
          Original signature : CFIndex* CTRunGetStringIndicesPtr(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:300
 CFRange.ByValue CTRunGetStringRange(CoreTextLibrary.__CTRun run)
          Original signature : CFRange CTRunGetStringRange(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:344
 CGAffineTransform.ByValue CTRunGetTextMatrix(CoreTextLibrary.__CTRun run)
          Original signature : CGAffineTransform CTRunGetTextMatrix(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:428
 NativeLong CTRunGetTypeID()
          Original signature : CFTypeID CTRunGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:71
 double CTRunGetTypographicBounds(CoreTextLibrary.__CTRun run, CFRange.ByValue range, CGFloatByReference ascent, CGFloatByReference descent, CGFloatByReference leading)
          Original signature : double CTRunGetTypographicBounds(CTRunRef, CFRange, CGFloat*, CGFloat*, CGFloat*)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:376
 CoreTextLibrary.__CTTextTab CTTextTabCreate(byte alignment, double location, HIServicesLibrary.__CFDictionary options)
          Original signature : CTTextTabRef CTTextTabCreate(CTTextAlignment, double, CFDictionaryRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTextTab.h:99
 byte CTTextTabGetAlignment(CoreTextLibrary.__CTTextTab tab)
          Original signature : CTTextAlignment CTTextTabGetAlignment(CTTextTabRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTextTab.h:119
 double CTTextTabGetLocation(CoreTextLibrary.__CTTextTab tab)
          Original signature : double CTTextTabGetLocation(CTTextTabRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTextTab.h:133
 HIServicesLibrary.__CFDictionary CTTextTabGetOptions(CoreTextLibrary.__CTTextTab tab)
          Original signature : CFDictionaryRef CTTextTabGetOptions(CTTextTabRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTextTab.h:148
 NativeLong CTTextTabGetTypeID()
          Original signature : CFTypeID CTTextTabGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTextTab.h:52
 CoreTextLibrary.__CTLine CTTypesetterCreateLine(CoreTextLibrary.__CTTypesetter typesetter, CFRange.ByValue stringRange)
          Original signature : CTLineRef CTTypesetterCreateLine(CTTypesetterRef, CFRange)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:144
 CoreTextLibrary.__CTTypesetter CTTypesetterCreateWithAttributedString(CoreFoundationLibrary.__CFAttributedString string)
          Original signature : CTTypesetterRef CTTypesetterCreateWithAttributedString(CFAttributedStringRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:89
 CoreTextLibrary.__CTTypesetter CTTypesetterCreateWithAttributedStringAndOptions(CoreFoundationLibrary.__CFAttributedString string, HIServicesLibrary.__CFDictionary options)
          Original signature : CTTypesetterRef CTTypesetterCreateWithAttributedStringAndOptions(CFAttributedStringRef, CFDictionaryRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:113
 NativeLong CTTypesetterGetTypeID()
          Original signature : CFTypeID CTTypesetterGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:37
 NativeLong CTTypesetterSuggestClusterBreak(CoreTextLibrary.__CTTypesetter typesetter, NativeLong startIndex, double width)
          Original signature : CFIndex CTTypesetterSuggestClusterBreak(CTTypesetterRef, CFIndex, double)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:212
 NativeLong CTTypesetterSuggestLineBreak(CoreTextLibrary.__CTTypesetter typesetter, NativeLong startIndex, double width)
          Original signature : CFIndex CTTypesetterSuggestLineBreak(CTTypesetterRef, CFIndex, double)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:177
 

Field Detail

JNA_LIBRARY_NAME

static final String JNA_LIBRARY_NAME

JNA_NATIVE_LIB

static final NativeLibrary JNA_NATIVE_LIB

INSTANCE

static final CoreTextLibrary INSTANCE

kCTFontClassMaskShift

static final int kCTFontClassMaskShift
See Also:
Constant Field Values

kCTFontOptionsDefault

static final int kCTFontOptionsDefault
See Also:
Constant Field Values

kCTFontOptionsPreventAutoActivation

static final int kCTFontOptionsPreventAutoActivation
See Also:
Constant Field Values

kCTFontOptionsPreferSystemFont

static final int kCTFontOptionsPreferSystemFont
See Also:
Constant Field Values

kCTFontManagerErrorFileNotFound

static final int kCTFontManagerErrorFileNotFound
See Also:
Constant Field Values

kCTFontManagerErrorInsufficientPermissions

static final int kCTFontManagerErrorInsufficientPermissions
See Also:
Constant Field Values

kCTFontManagerErrorUnrecognizedFormat

static final int kCTFontManagerErrorUnrecognizedFormat
See Also:
Constant Field Values

kCTFontManagerErrorInvalidFontData

static final int kCTFontManagerErrorInvalidFontData
See Also:
Constant Field Values

kCTFontManagerErrorAlreadyRegistered

static final int kCTFontManagerErrorAlreadyRegistered
See Also:
Constant Field Values

kCTFontManagerErrorNotRegistered

static final int kCTFontManagerErrorNotRegistered
See Also:
Constant Field Values

kCTFontManagerErrorInUse

static final int kCTFontManagerErrorInUse
See Also:
Constant Field Values

kCTFontManagerErrorSystemRequired

static final int kCTFontManagerErrorSystemRequired
See Also:
Constant Field Values

kCTIdentityMappingCharacterCollection

static final int kCTIdentityMappingCharacterCollection
See Also:
Constant Field Values

kCTAdobeCNS1CharacterCollection

static final int kCTAdobeCNS1CharacterCollection
See Also:
Constant Field Values

kCTAdobeGB1CharacterCollection

static final int kCTAdobeGB1CharacterCollection
See Also:
Constant Field Values

kCTAdobeJapan1CharacterCollection

static final int kCTAdobeJapan1CharacterCollection
See Also:
Constant Field Values

kCTAdobeJapan2CharacterCollection

static final int kCTAdobeJapan2CharacterCollection
See Also:
Constant Field Values

kCTAdobeKorea1CharacterCollection

static final int kCTAdobeKorea1CharacterCollection
See Also:
Constant Field Values

kCTLeftTextAlignment

static final int kCTLeftTextAlignment
See Also:
Constant Field Values

kCTRightTextAlignment

static final int kCTRightTextAlignment
See Also:
Constant Field Values

kCTCenterTextAlignment

static final int kCTCenterTextAlignment
See Also:
Constant Field Values

kCTJustifiedTextAlignment

static final int kCTJustifiedTextAlignment
See Also:
Constant Field Values

kCTNaturalTextAlignment

static final int kCTNaturalTextAlignment
See Also:
Constant Field Values

kCTLineBreakByWordWrapping

static final int kCTLineBreakByWordWrapping
See Also:
Constant Field Values

kCTLineBreakByCharWrapping

static final int kCTLineBreakByCharWrapping
See Also:
Constant Field Values

kCTLineBreakByClipping

static final int kCTLineBreakByClipping
See Also:
Constant Field Values

kCTLineBreakByTruncatingHead

static final int kCTLineBreakByTruncatingHead
See Also:
Constant Field Values

kCTLineBreakByTruncatingTail

static final int kCTLineBreakByTruncatingTail
See Also:
Constant Field Values

kCTLineBreakByTruncatingMiddle

static final int kCTLineBreakByTruncatingMiddle
See Also:
Constant Field Values

kCTWritingDirectionNatural

static final int kCTWritingDirectionNatural
See Also:
Constant Field Values

kCTWritingDirectionLeftToRight

static final int kCTWritingDirectionLeftToRight
See Also:
Constant Field Values

kCTWritingDirectionRightToLeft

static final int kCTWritingDirectionRightToLeft
See Also:
Constant Field Values
Method Detail

CTFontDescriptorGetTypeID

NativeLong CTFontDescriptorGetTypeID()

CTFontDescriptorCreateWithAttributes

CoreTextLibrary.__CTFontDescriptor CTFontDescriptorCreateWithAttributes(HIServicesLibrary.__CFDictionary attributes)
Parameters:
attributes
- A CFDictionaryRef of arbitrary attributes.

CTFontDescriptorCreateCopyWithAttributes

CoreTextLibrary.__CTFontDescriptor CTFontDescriptorCreateCopyWithAttributes(CoreTextLibrary.__CTFontDescriptor original,
                                                                            HIServicesLibrary.__CFDictionary attributes)
Parameters:
original
- The original font descriptor reference.
attributes
- A CFDictionaryRef of arbitrary attributes.

CTFontDescriptorCreateCopyWithVariation

CoreTextLibrary.__CTFontDescriptor CTFontDescriptorCreateCopyWithVariation(CoreTextLibrary.__CTFontDescriptor original,
                                                                           CoreFoundationLibrary.__CFNumber variationIdentifier,
                                                                           org.rococoa.cocoa.CGFloat variationValue)
Parameters:
original
- The original font descriptor reference.
variationIdentifier
- The variation axis identifier. This is the four character code of the variation axis as a CFNumberRef.
variationValue
- The value corresponding with the variation instance.

CTFontDescriptorCreateCopyWithFeature

CoreTextLibrary.__CTFontDescriptor CTFontDescriptorCreateCopyWithFeature(CoreTextLibrary.__CTFontDescriptor original,
                                                                         CoreFoundationLibrary.__CFNumber featureTypeIdentifier,
                                                                         CoreFoundationLibrary.__CFNumber featureSelectorIdentifier)
Parameters:
original
- The original font descriptor reference.
featureTypeIdentifier
- The feature type identifier.
featureSelectorIdentifier
- The feature selector identifier.

CTFontDescriptorCreateMatchingFontDescriptors

HIServicesLibrary.__CFArray CTFontDescriptorCreateMatchingFontDescriptors(CoreTextLibrary.__CTFontDescriptor descriptor,
                                                                          CoreFoundationLibrary.__CFSet mandatoryAttributes)
Parameters:
descriptor
- The font descriptor reference.
mandatoryAttributes
- A set of attribute keys which are required to be identically matched in any returned font descriptors. Optional.

CTFontDescriptorCreateMatchingFontDescriptor

CoreTextLibrary.__CTFontDescriptor CTFontDescriptorCreateMatchingFontDescriptor(CoreTextLibrary.__CTFontDescriptor descriptor,
                                                                                CoreFoundationLibrary.__CFSet mandatoryAttributes)
Parameters:
descriptor
- The font descriptor reference.
mandatoryAttributes
- A set of attribute keys which are required to be identically matched in any returned font descriptors. Optional.

CTFontDescriptorCopyAttributes

HIServicesLibrary.__CFDictionary CTFontDescriptorCopyAttributes(CoreTextLibrary.__CTFontDescriptor descriptor)
Parameters:
descriptor
- The font descriptor reference.

CTFontGetTypeID

NativeLong CTFontGetTypeID()

CTFontCreateWithFontDescriptor

CoreTextLibrary.__CTFont CTFontCreateWithFontDescriptor(CoreTextLibrary.__CTFontDescriptor descriptor,
                                                        org.rococoa.cocoa.CGFloat size,
                                                        CGAffineTransform matrix)
Parameters:
descriptor
- A font descriptor containing attributes that specify the requested font.
size
- The point size for the font reference. If 0.0 is specified, the default font size of 12.0 will be used.
matrix
- The transformation matrix for the font. If unspecified, the identity matrix will be used. Optional.

CTFontCreateCopyWithAttributes

CoreTextLibrary.__CTFont CTFontCreateCopyWithAttributes(CoreTextLibrary.__CTFont font,
                                                        org.rococoa.cocoa.CGFloat size,
                                                        CGAffineTransform matrix,
                                                        CoreTextLibrary.__CTFontDescriptor attributes)
Parameters:
font
- Original font reference to base new font on.
size
- The point size for the font reference. If 0.0 is specified, the original font's size will be preserved.
matrix
- The transformation matrix for the font. If unspecified, the original font matrix will be preserved. Optional.
attributes
- A font descriptor containing additional attributes that the new font should contain.

CTFontCreateCopyWithSymbolicTraits

CoreTextLibrary.__CTFont CTFontCreateCopyWithSymbolicTraits(CoreTextLibrary.__CTFont font,
                                                            org.rococoa.cocoa.CGFloat size,
                                                            CGAffineTransform matrix,
                                                            int symTraitValue,
                                                            int symTraitMask)
Parameters:
font
- Original font reference on which to base the new font.
size
- The point size for the font reference. If 0.0 is specified, the original font's size will be preserved.
matrix
- The transformation matrix for the font. If unspecified, the original font matrix will be preserved. Optional.
symTraitValue
- The value of the symbolic traits. This bitfield is used to indicate the desired value for the traits specified by the symTraitMask parameter. Used in conjunction, they can allow for trait removal as well as addition.
symTraitMask
- The mask bits of the symbolic traits. This bitfield is used to indicate the traits that should be changed.
symTraitValue - @see CTFontSymbolicTraits
symTraitMask - @see CTFontSymbolicTraits

CTFontCopyFontDescriptor

CoreTextLibrary.__CTFontDescriptor CTFontCopyFontDescriptor(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetSize

org.rococoa.cocoa.CGFloat CTFontGetSize(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetMatrix

CGAffineTransform.ByValue CTFontGetMatrix(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetSymbolicTraits

int CTFontGetSymbolicTraits(CoreTextLibrary.__CTFont font)
See Also:
CoreTextLibrary.CTFontSymbolicTraits

CTFontCopyTraits

HIServicesLibrary.__CFDictionary CTFontCopyTraits(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontCopyCharacterSet

CoreFoundationLibrary.__CFCharacterSet CTFontCopyCharacterSet(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetStringEncoding

int CTFontGetStringEncoding(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontCopySupportedLanguages

HIServicesLibrary.__CFArray CTFontCopySupportedLanguages(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetGlyphsForCharacters

@Deprecated
boolean CTFontGetGlyphsForCharacters(CoreTextLibrary.__CTFont font,
                                                ShortByReference characters,
                                                ShortByReference glyphs,
                                                NativeLong count)
Deprecated. use the safer methods CTFontGetGlyphsForCharacters(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, java.nio.ShortBuffer, java.nio.ShortBuffer, com.sun.jna.NativeLong) and CTFontGetGlyphsForCharacters(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, com.sun.jna.ptr.ShortByReference, com.sun.jna.ptr.ShortByReference, com.sun.jna.NativeLong) instead

Parameters:
font
- The font reference.
characters
- An array of characters (UTF-16 code units). Non-BMP characters must be encoded as surrogate pairs.
glyphs
- A pointer to a buffer to receive the glyphs. Glyphs for non-BMP characters are sparse: the first glyph corresponds to the full character and the second glyph will be 0.
count
- The capacity of both the characters and glyphs arrays.

CTFontGetGlyphsForCharacters

boolean CTFontGetGlyphsForCharacters(CoreTextLibrary.__CTFont font,
                                     ShortBuffer characters,
                                     ShortBuffer glyphs,
                                     NativeLong count)
Parameters:
font
- The font reference.
characters
- An array of characters (UTF-16 code units). Non-BMP characters must be encoded as surrogate pairs.
glyphs
- A pointer to a buffer to receive the glyphs. Glyphs for non-BMP characters are sparse: the first glyph corresponds to the full character and the second glyph will be 0.
count
- The capacity of both the characters and glyphs arrays.

CTFontGetAscent

org.rococoa.cocoa.CGFloat CTFontGetAscent(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetDescent

org.rococoa.cocoa.CGFloat CTFontGetDescent(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetLeading

org.rococoa.cocoa.CGFloat CTFontGetLeading(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetUnitsPerEm

int CTFontGetUnitsPerEm(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetGlyphCount

NativeLong CTFontGetGlyphCount(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetBoundingBox

CGRect.ByValue CTFontGetBoundingBox(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetUnderlinePosition

org.rococoa.cocoa.CGFloat CTFontGetUnderlinePosition(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetUnderlineThickness

org.rococoa.cocoa.CGFloat CTFontGetUnderlineThickness(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetSlantAngle

org.rococoa.cocoa.CGFloat CTFontGetSlantAngle(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetCapHeight

org.rococoa.cocoa.CGFloat CTFontGetCapHeight(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetXHeight

org.rococoa.cocoa.CGFloat CTFontGetXHeight(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontGetBoundingRectsForGlyphs

@Deprecated
CGRect.ByValue CTFontGetBoundingRectsForGlyphs(CoreTextLibrary.__CTFont font,
                                                          int orientation,
                                                          ShortByReference glyphs,
                                                          Pointer boundingRects,
                                                          NativeLong count)
Deprecated. use the safer methods CTFontGetBoundingRectsForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, int, java.nio.ShortBuffer, com.sun.jna.Pointer, com.sun.jna.NativeLong) and CTFontGetBoundingRectsForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, int, com.sun.jna.ptr.ShortByReference, com.sun.jna.Pointer, com.sun.jna.NativeLong) instead

Parameters:
font
- The font reference.
orientation
- The intended drawing orientation of the glyphs. Used to determined which glyph metrics to return.
glyphs
- An array of count number of glyphs.
boundingRect
- An array of count number of CGRects to receive the computed glyph rects. Can be NULL, in which case only the overall bounding rect is calculated.
count
- The capacity of the glyphs and boundingRects buffers.
orientation - @see CTFontOrientation

CTFontGetBoundingRectsForGlyphs

CGRect.ByValue CTFontGetBoundingRectsForGlyphs(CoreTextLibrary.__CTFont font,
                                               int orientation,
                                               ShortBuffer glyphs,
                                               Pointer boundingRects,
                                               NativeLong count)
Parameters:
font
- The font reference.
orientation
- The intended drawing orientation of the glyphs. Used to determined which glyph metrics to return.
glyphs
- An array of count number of glyphs.
boundingRect
- An array of count number of CGRects to receive the computed glyph rects. Can be NULL, in which case only the overall bounding rect is calculated.
count
- The capacity of the glyphs and boundingRects buffers.
orientation - @see CTFontOrientation

CTFontGetAdvancesForGlyphs

@Deprecated
double CTFontGetAdvancesForGlyphs(CoreTextLibrary.__CTFont font,
                                             int orientation,
                                             ShortByReference glyphs,
                                             Pointer advances,
                                             NativeLong count)
Deprecated. use the safer methods CTFontGetAdvancesForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, int, java.nio.ShortBuffer, com.sun.jna.Pointer, com.sun.jna.NativeLong) and CTFontGetAdvancesForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, int, com.sun.jna.ptr.ShortByReference, com.sun.jna.Pointer, com.sun.jna.NativeLong) instead

Parameters:
font
- The font reference.
orientation
- The intended drawing orientation of the glyphs. Used to determined which glyph metrics to return.
glyphs
- An array of count number of glyphs.
advances
- An array of count number of CGSize to receive the computed glyph advances. Can be NULL, in which case only the overall advance is calculated.
count
- The capacity of the glyphs and advances buffers.
orientation - @see CTFontOrientation

CTFontGetAdvancesForGlyphs

double CTFontGetAdvancesForGlyphs(CoreTextLibrary.__CTFont font,
                                  int orientation,
                                  ShortBuffer glyphs,
                                  Pointer advances,
                                  NativeLong count)
Parameters:
font
- The font reference.
orientation
- The intended drawing orientation of the glyphs. Used to determined which glyph metrics to return.
glyphs
- An array of count number of glyphs.
advances
- An array of count number of CGSize to receive the computed glyph advances. Can be NULL, in which case only the overall advance is calculated.
count
- The capacity of the glyphs and advances buffers.
orientation - @see CTFontOrientation

CTFontGetVerticalTranslationsForGlyphs

@Deprecated
void CTFontGetVerticalTranslationsForGlyphs(CoreTextLibrary.__CTFont font,
                                                       ShortByReference glyphs,
                                                       Pointer translations,
                                                       NativeLong count)
Deprecated. use the safer methods CTFontGetVerticalTranslationsForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, java.nio.ShortBuffer, com.sun.jna.Pointer, com.sun.jna.NativeLong) and CTFontGetVerticalTranslationsForGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, com.sun.jna.ptr.ShortByReference, com.sun.jna.Pointer, com.sun.jna.NativeLong) instead

Parameters:
font
- The font reference.
glyphs
- An array of count number of glyphs.
translations
- An array of count number of CGSize to receive the computed origin offsets.
count
- The capacity of the glyphs and translations buffers.
Original signature : void CTFontGetVerticalTranslationsForGlyphs(CTFontRef, const CGGlyph[], CGSize[], CFIndex)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFont.h:855

CTFontGetVerticalTranslationsForGlyphs

void CTFontGetVerticalTranslationsForGlyphs(CoreTextLibrary.__CTFont font,
                                            ShortBuffer glyphs,
                                            Pointer translations,
                                            NativeLong count)
Parameters:
font
- The font reference.
glyphs
- An array of count number of glyphs.
translations
- An array of count number of CGSize to receive the computed origin offsets.
count
- The capacity of the glyphs and translations buffers.
Original signature : void CTFontGetVerticalTranslationsForGlyphs(CTFontRef, const CGGlyph[], CGSize[], CFIndex)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFont.h:855

CTFontCreatePathForGlyph

CoreTextLibrary.CGPath CTFontCreatePathForGlyph(CoreTextLibrary.__CTFont font,
                                                short glyph,
                                                CGAffineTransform transform)
Parameters:
font
- The font reference.
glyph
- The glyph.
transform
- An affine transform applied to the path. Can be NULL, in which case CGAffineTransformIdentity will be used.

CTFontCopyVariationAxes

HIServicesLibrary.__CFArray CTFontCopyVariationAxes(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontCopyVariation

HIServicesLibrary.__CFDictionary CTFontCopyVariation(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontCopyFeatures

HIServicesLibrary.__CFArray CTFontCopyFeatures(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontCopyFeatureSettings

HIServicesLibrary.__CFArray CTFontCopyFeatureSettings(CoreTextLibrary.__CTFont font)
Parameters:
font
- The font reference.

CTFontCopyGraphicsFont

@Deprecated
CoreTextLibrary.CGFont CTFontCopyGraphicsFont(CoreTextLibrary.__CTFont font,
                                                         PointerByReference attributes)
Deprecated. use the safer method CTFontCopyGraphicsFont(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFontDescriptor[]) instead

Parameters:
font
- The font reference.
attributes
- A pointer to a CTFontDescriptorRef to receive a font descriptor containing additional attributes. Can be NULL. Must be released by caller.

CTFontCopyGraphicsFont

CoreTextLibrary.CGFont CTFontCopyGraphicsFont(CoreTextLibrary.__CTFont font,
                                              CoreTextLibrary.__CTFontDescriptor[] attributes)
Parameters:
font
- The font reference.
attributes
- A pointer to a CTFontDescriptorRef to receive a font descriptor containing additional attributes. Can be NULL. Must be released by caller.

CTFontCreateWithGraphicsFont

CoreTextLibrary.__CTFont CTFontCreateWithGraphicsFont(CoreTextLibrary.CGFont graphicsFont,
                                                      org.rococoa.cocoa.CGFloat size,
                                                      CGAffineTransform matrix,
                                                      CoreTextLibrary.__CTFontDescriptor attributes)
Parameters:
graphicsFont
- A valid CGFontRef.
size
- The point size for the font reference. If 0.0 is specified, the default font size of 12.0 will be used.
matrix
- The transformation matrix for the font. If unspecified, the identity matrix will be used. Optional.
attributes
- A CTFontDescriptorRef containing additional attributes that should be matched. Optional.

CTFontGetPlatformFont

@Deprecated
int CTFontGetPlatformFont(CoreTextLibrary.__CTFont font,
                                     PointerByReference attributes)
Deprecated. use the safer method CTFontGetPlatformFont(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFont, org.rococoa.cocoa.coretext.CoreTextLibrary.__CTFontDescriptor[]) instead

Parameters:
font
- The font reference.
attributes
- A pointer to a CTFontDescriptorRef to receive a font descriptor containing additional attributes. Can be NULL. Must be released by caller.

CTFontGetPlatformFont

int CTFontGetPlatformFont(CoreTextLibrary.__CTFont font,
                          CoreTextLibrary.__CTFontDescriptor[] attributes)
Parameters:
font
- The font reference.
attributes
- A pointer to a CTFontDescriptorRef to receive a font descriptor containing additional attributes. Can be NULL. Must be released by caller.

CTFontCreateWithPlatformFont

CoreTextLibrary.__CTFont CTFontCreateWithPlatformFont(int platformFont,
                                                      org.rococoa.cocoa.CGFloat size,
                                                      CGAffineTransform matrix,
                                                      CoreTextLibrary.__CTFontDescriptor attributes)
Parameters:
platformFont
- A valid ATSFontRef.
size
- The point size for the font reference. If 0.0 is specified, the default font size of 12.0 will be used.
matrix
- The transformation matrix for the font. If unspecified, the identity matrix will be used. Optional.
attributes
- A CTFontDescriptorRef containing additional attributes that should be matched. Optional.

CTFontCreateWithQuickdrawInstance

@Deprecated
CoreTextLibrary.__CTFont CTFontCreateWithQuickdrawInstance(Pointer name,
                                                                      short identifier,
                                                                      byte style,
                                                                      org.rococoa.cocoa.CGFloat size)
Deprecated. use the safer methods CTFontCreateWithQuickdrawInstance(byte[], short, byte, org.rococoa.cocoa.CGFloat) and CTFontCreateWithQuickdrawInstance(com.sun.jna.Pointer, short, byte, org.rococoa.cocoa.CGFloat) instead

Parameters:
name
- The Quickdraw font name. If NULL or zero length, an identifier must be specified instead.
identifier
- The Quickdraw font identifier. If 0, a name must be specified instead.
style
- The Quickdraw font style.
size
- The point size for the font reference. If 0.0 is specified, the default size of 12.0 is used.

CTFontCreateWithQuickdrawInstance

CoreTextLibrary.__CTFont CTFontCreateWithQuickdrawInstance(byte[] name,
                                                           short identifier,
                                                           byte style,
                                                           org.rococoa.cocoa.CGFloat size)
Parameters:
name
- The Quickdraw font name. If NULL or zero length, an identifier must be specified instead.
identifier
- The Quickdraw font identifier. If 0, a name must be specified instead.
style
- The Quickdraw font style.
size
- The point size for the font reference. If 0.0 is specified, the default size of 12.0 is used.

CTFontCopyAvailableTables

HIServicesLibrary.__CFArray CTFontCopyAvailableTables(CoreTextLibrary.__CTFont font,
                                                      int options)
Parameters:
font
- The font reference.
options
-
options - @see CTFontTableOptions

CTFontCollectionGetTypeID

NativeLong CTFontCollectionGetTypeID()

CTFontCollectionCreateFromAvailableFonts

CoreTextLibrary.__CTFontCollection CTFontCollectionCreateFromAvailableFonts(HIServicesLibrary.__CFDictionary options)
Parameters:
options
- The options dictionary. See constant option keys.

CTFontCollectionCreateWithFontDescriptors

CoreTextLibrary.__CTFontCollection CTFontCollectionCreateWithFontDescriptors(HIServicesLibrary.__CFArray descriptors,
                                                                             HIServicesLibrary.__CFDictionary options)
Parameters:
descriptors
- An array of font descriptors.
options
- The options dictionary. See constant option keys.

CTFontCollectionCreateCopyWithFontDescriptors

CoreTextLibrary.__CTFontCollection CTFontCollectionCreateCopyWithFontDescriptors(CoreTextLibrary.__CTFontCollection original,
                                                                                 HIServicesLibrary.__CFArray descriptors,
                                                                                 HIServicesLibrary.__CFDictionary options)
Parameters:
original
- The original font collection reference.
descriptor
- An array of font descriptors to augment those of the original collection.
options
- The options dictionary. See constant option keys.

CTFontCollectionCreateMatchingFontDescriptors

HIServicesLibrary.__CFArray CTFontCollectionCreateMatchingFontDescriptors(CoreTextLibrary.__CTFontCollection collection)
Parameters:
collection
- The font collection reference.

CTFrameGetTypeID

NativeLong CTFrameGetTypeID()
Original signature : CFTypeID CTFrameGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:41


CTFrameGetStringRange

CFRange.ByValue CTFrameGetStringRange(CoreTextLibrary.__CTFrame frame)
Original signature : CFRange CTFrameGetStringRange(CTFrameRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:106


CTFrameGetVisibleStringRange

CFRange.ByValue CTFrameGetVisibleStringRange(CoreTextLibrary.__CTFrame frame)
Original signature : CFRange CTFrameGetVisibleStringRange(CTFrameRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:129


CTFrameGetPath

CoreTextLibrary.CGPath CTFrameGetPath(CoreTextLibrary.__CTFrame frame)
Original signature : CGPathRef CTFrameGetPath(CTFrameRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:141


CTFrameGetFrameAttributes

HIServicesLibrary.__CFDictionary CTFrameGetFrameAttributes(CoreTextLibrary.__CTFrame frame)
Original signature : CFDictionaryRef CTFrameGetFrameAttributes(CTFrameRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:163


CTFrameGetLines

HIServicesLibrary.__CFArray CTFrameGetLines(CoreTextLibrary.__CTFrame frame)
Original signature : CFArrayRef CTFrameGetLines(CTFrameRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:185


CTFrameGetLineOrigins

void CTFrameGetLineOrigins(CoreTextLibrary.__CTFrame frame,
                           CFRange.ByValue range,
                           Pointer origins)
Original signature : void CTFrameGetLineOrigins(CTFrameRef, CFRange, CGPoint[])
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:220


CTFrameDraw

void CTFrameDraw(CoreTextLibrary.__CTFrame frame,
                 CoreGraphicsLibrary.CGContext context)
Original signature : void CTFrameDraw(CTFrameRef, CGContextRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFrame.h:244


CTLineGetTypeID

NativeLong CTLineGetTypeID()
Original signature : CFTypeID CTLineGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:68


CTLineCreateWithAttributedString

CoreTextLibrary.__CTLine CTLineCreateWithAttributedString(CoreFoundationLibrary.__CFAttributedString string)
Original signature : CTLineRef CTLineCreateWithAttributedString(CFAttributedStringRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:93


CTLineCreateTruncatedLine

CoreTextLibrary.__CTLine CTLineCreateTruncatedLine(CoreTextLibrary.__CTLine line,
                                                   double width,
                                                   int truncationType,
                                                   CoreTextLibrary.__CTLine truncationToken)
Original signature : CTLineRef CTLineCreateTruncatedLine(CTLineRef, double, CTLineTruncationType, CTLineRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:126

Parameters:
truncationType - @see CTLineTruncationType

CTLineCreateJustifiedLine

CoreTextLibrary.__CTLine CTLineCreateJustifiedLine(CoreTextLibrary.__CTLine line,
                                                   org.rococoa.cocoa.CGFloat justificationFactor,
                                                   double justificationWidth)
Original signature : CTLineRef CTLineCreateJustifiedLine(CTLineRef, CGFloat, double)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:157


CTLineGetGlyphCount

NativeLong CTLineGetGlyphCount(CoreTextLibrary.__CTLine line)
Original signature : CFIndex CTLineGetGlyphCount(CTLineRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:180


CTLineGetGlyphRuns

HIServicesLibrary.__CFArray CTLineGetGlyphRuns(CoreTextLibrary.__CTLine line)
Original signature : CFArrayRef CTLineGetGlyphRuns(CTLineRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:194


CTLineGetStringRange

CFRange.ByValue CTLineGetStringRange(CoreTextLibrary.__CTLine line)
Original signature : CFRange CTLineGetStringRange(CTLineRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:211


CTLineGetPenOffsetForFlush

double CTLineGetPenOffsetForFlush(CoreTextLibrary.__CTLine line,
                                  org.rococoa.cocoa.CGFloat flushFactor,
                                  double flushWidth)
Original signature : double CTLineGetPenOffsetForFlush(CTLineRef, CGFloat, double)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:236


CTLineDraw

void CTLineDraw(CoreTextLibrary.__CTLine line,
                CoreGraphicsLibrary.CGContext context)
Original signature : void CTLineDraw(CTLineRef, CGContextRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:259


CTLineGetImageBounds

CGRect.ByValue CTLineGetImageBounds(CoreTextLibrary.__CTLine line,
                                    CoreGraphicsLibrary.CGContext context)
Original signature : CGRect CTLineGetImageBounds(CTLineRef, CGContextRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:285


CTLineGetTypographicBounds

double CTLineGetTypographicBounds(CoreTextLibrary.__CTLine line,
                                  CGFloatByReference ascent,
                                  CGFloatByReference descent,
                                  CGFloatByReference leading)
Original signature : double CTLineGetTypographicBounds(CTLineRef, CGFloat*, CGFloat*, CGFloat*)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:313


CTLineGetTrailingWhitespaceWidth

double CTLineGetTrailingWhitespaceWidth(CoreTextLibrary.__CTLine line)
Original signature : double CTLineGetTrailingWhitespaceWidth(CTLineRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:336


CTLineGetStringIndexForPosition

NativeLong CTLineGetStringIndexForPosition(CoreTextLibrary.__CTLine line,
                                           CGPoint.ByValue position)
Original signature : CFIndex CTLineGetStringIndexForPosition(CTLineRef, CGPoint)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:367


CTLineGetOffsetForStringIndex

org.rococoa.cocoa.CGFloat CTLineGetOffsetForStringIndex(CoreTextLibrary.__CTLine line,
                                                        NativeLong charIndex,
                                                        CGFloatByReference secondaryOffset)
Original signature : CGFloat CTLineGetOffsetForStringIndex(CTLineRef, CFIndex, CGFloat*)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTLine.h:404


CTTypesetterGetTypeID

NativeLong CTTypesetterGetTypeID()
Original signature : CFTypeID CTTypesetterGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:37


CTTypesetterCreateWithAttributedString

CoreTextLibrary.__CTTypesetter CTTypesetterCreateWithAttributedString(CoreFoundationLibrary.__CFAttributedString string)
Original signature : CTTypesetterRef CTTypesetterCreateWithAttributedString(CFAttributedStringRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:89


CTTypesetterCreateWithAttributedStringAndOptions

CoreTextLibrary.__CTTypesetter CTTypesetterCreateWithAttributedStringAndOptions(CoreFoundationLibrary.__CFAttributedString string,
                                                                                HIServicesLibrary.__CFDictionary options)
Original signature : CTTypesetterRef CTTypesetterCreateWithAttributedStringAndOptions(CFAttributedStringRef, CFDictionaryRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:113


CTTypesetterCreateLine

CoreTextLibrary.__CTLine CTTypesetterCreateLine(CoreTextLibrary.__CTTypesetter typesetter,
                                                CFRange.ByValue stringRange)
Original signature : CTLineRef CTTypesetterCreateLine(CTTypesetterRef, CFRange)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:144


CTTypesetterSuggestLineBreak

NativeLong CTTypesetterSuggestLineBreak(CoreTextLibrary.__CTTypesetter typesetter,
                                        NativeLong startIndex,
                                        double width)
Original signature : CFIndex CTTypesetterSuggestLineBreak(CTTypesetterRef, CFIndex, double)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:177


CTTypesetterSuggestClusterBreak

NativeLong CTTypesetterSuggestClusterBreak(CoreTextLibrary.__CTTypesetter typesetter,
                                           NativeLong startIndex,
                                           double width)
Original signature : CFIndex CTTypesetterSuggestClusterBreak(CTTypesetterRef, CFIndex, double)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTypesetter.h:212


CTFramesetterGetTypeID

NativeLong CTFramesetterGetTypeID()
Original signature : CFTypeID CTFramesetterGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFramesetter.h:38


CTFramesetterCreateWithAttributedString

CoreTextLibrary.__CTFramesetter CTFramesetterCreateWithAttributedString(CoreFoundationLibrary.__CFAttributedString string)
Original signature : CTFramesetterRef CTFramesetterCreateWithAttributedString(CFAttributedStringRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFramesetter.h:61


CTFramesetterCreateFrame

CoreTextLibrary.__CTFrame CTFramesetterCreateFrame(CoreTextLibrary.__CTFramesetter framesetter,
                                                   CFRange.ByValue stringRange,
                                                   CoreTextLibrary.CGPath path,
                                                   HIServicesLibrary.__CFDictionary frameAttributes)
Original signature : CTFrameRef CTFramesetterCreateFrame(CTFramesetterRef, CFRange, CGPathRef, CFDictionaryRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFramesetter.h:101


CTFramesetterGetTypesetter

CoreTextLibrary.__CTTypesetter CTFramesetterGetTypesetter(CoreTextLibrary.__CTFramesetter framesetter)
Original signature : CTTypesetterRef CTFramesetterGetTypesetter(CTFramesetterRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFramesetter.h:127


CTFramesetterSuggestFrameSizeWithConstraints

CGSize.ByValue CTFramesetterSuggestFrameSizeWithConstraints(CoreTextLibrary.__CTFramesetter framesetter,
                                                            CFRange.ByValue stringRange,
                                                            HIServicesLibrary.__CFDictionary frameAttributes,
                                                            CGSize.ByValue constraints,
                                                            CFRange fitRange)
Original signature : CGSize CTFramesetterSuggestFrameSizeWithConstraints(CTFramesetterRef, CFRange, CFDictionaryRef, CGSize, CFRange*)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTFramesetter.h:168


CTGlyphInfoGetTypeID

NativeLong CTGlyphInfoGetTypeID()
Original signature : CFTypeID CTGlyphInfoGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h:36


CTGlyphInfoGetCharacterIdentifier

short CTGlyphInfoGetCharacterIdentifier(CoreTextLibrary.__CTGlyphInfo glyphInfo)
Original signature : CGFontIndex CTGlyphInfoGetCharacterIdentifier(CTGlyphInfoRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h:203


CTGlyphInfoGetCharacterCollection

short CTGlyphInfoGetCharacterCollection(CoreTextLibrary.__CTGlyphInfo glyphInfo)
Original signature : CTCharacterCollection CTGlyphInfoGetCharacterCollection(CTGlyphInfoRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h:224


CTParagraphStyleGetTypeID

NativeLong CTParagraphStyleGetTypeID()
Original signature : CFTypeID CTParagraphStyleGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h:39


CTParagraphStyleCreate

CoreTextLibrary.__CTParagraphStyle CTParagraphStyleCreate(CTParagraphStyleSetting settings,
                                                          NativeLong settingCount)
Original signature : CTParagraphStyleRef CTParagraphStyleCreate(const CTParagraphStyleSetting*, CFIndex)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h:377


CTParagraphStyleCreateCopy

CoreTextLibrary.__CTParagraphStyle CTParagraphStyleCreateCopy(CoreTextLibrary.__CTParagraphStyle paragraphStyle)
Original signature : CTParagraphStyleRef CTParagraphStyleCreateCopy(CTParagraphStyleRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h:396


CTParagraphStyleGetValueForSpecifier

boolean CTParagraphStyleGetValueForSpecifier(CoreTextLibrary.__CTParagraphStyle paragraphStyle,
                                             int spec,
                                             NativeSize valueBufferSize,
                                             Pointer valueBuffer)
Original signature : bool CTParagraphStyleGetValueForSpecifier(CTParagraphStyleRef, CTParagraphStyleSpecifier, size_t, void*)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h:441

Parameters:
spec - @see CTParagraphStyleSpecifier

CTRunGetTypeID

NativeLong CTRunGetTypeID()
Original signature : CFTypeID CTRunGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:71


CTRunGetGlyphCount

NativeLong CTRunGetGlyphCount(CoreTextLibrary.__CTRun run)
Original signature : CFIndex CTRunGetGlyphCount(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:90


CTRunGetAttributes

HIServicesLibrary.__CFDictionary CTRunGetAttributes(CoreTextLibrary.__CTRun run)
Original signature : CFDictionaryRef CTRunGetAttributes(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:111


CTRunGetStatus

int CTRunGetStatus(CoreTextLibrary.__CTRun run)
See Also:
CoreTextLibrary.CTRunStatus

CTRunGetGlyphsPtr

ShortByReference CTRunGetGlyphsPtr(CoreTextLibrary.__CTRun run)
Original signature : CGGlyph* CTRunGetGlyphsPtr(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:154


CTRunGetGlyphs

@Deprecated
void CTRunGetGlyphs(CoreTextLibrary.__CTRun run,
                               CFRange.ByValue range,
                               ShortByReference buffer)
Deprecated. use the safer methods CTRunGetGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTRun, org.rococoa.cocoa.corefoundation.CFRange.ByValue, java.nio.ShortBuffer) and CTRunGetGlyphs(org.rococoa.cocoa.coretext.CoreTextLibrary.__CTRun, org.rococoa.cocoa.corefoundation.CFRange.ByValue, com.sun.jna.ptr.ShortByReference) instead

Original signature : void CTRunGetGlyphs(CTRunRef, CFRange, CGGlyph[])
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:175


CTRunGetGlyphs

void CTRunGetGlyphs(CoreTextLibrary.__CTRun run,
                    CFRange.ByValue range,
                    ShortBuffer buffer)
Original signature : void CTRunGetGlyphs(CTRunRef, CFRange, CGGlyph[])
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:175


CTRunGetPositionsPtr

CGPoint CTRunGetPositionsPtr(CoreTextLibrary.__CTRun run)
Original signature : CGPoint* CTRunGetPositionsPtr(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:200


CTRunGetPositions

void CTRunGetPositions(CoreTextLibrary.__CTRun run,
                       CFRange.ByValue range,
                       Pointer buffer)
Original signature : void CTRunGetPositions(CTRunRef, CFRange, CGPoint[])
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:225


CTRunGetAdvancesPtr

CGSize CTRunGetAdvancesPtr(CoreTextLibrary.__CTRun run)
Original signature : CGSize* CTRunGetAdvancesPtr(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:252


CTRunGetAdvances

void CTRunGetAdvances(CoreTextLibrary.__CTRun run,
                      CFRange.ByValue range,
                      Pointer buffer)
Original signature : void CTRunGetAdvances(CTRunRef, CFRange, CGSize[])
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:274


CTRunGetStringIndicesPtr

NativeLongByReference CTRunGetStringIndicesPtr(CoreTextLibrary.__CTRun run)
Original signature : CFIndex* CTRunGetStringIndicesPtr(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:300


CTRunGetStringIndices

void CTRunGetStringIndices(CoreTextLibrary.__CTRun run,
                           CFRange.ByValue range,
                           NativeLongByReference buffer)
Original signature : void CTRunGetStringIndices(CTRunRef, CFRange, CFIndex[])
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:326


CTRunGetStringRange

CFRange.ByValue CTRunGetStringRange(CoreTextLibrary.__CTRun run)
Original signature : CFRange CTRunGetStringRange(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:344


CTRunGetTypographicBounds

double CTRunGetTypographicBounds(CoreTextLibrary.__CTRun run,
                                 CFRange.ByValue range,
                                 CGFloatByReference ascent,
                                 CGFloatByReference descent,
                                 CGFloatByReference leading)
Original signature : double CTRunGetTypographicBounds(CTRunRef, CFRange, CGFloat*, CGFloat*, CGFloat*)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:376


CTRunGetImageBounds

CGRect.ByValue CTRunGetImageBounds(CoreTextLibrary.__CTRun run,
                                   CoreGraphicsLibrary.CGContext context,
                                   CFRange.ByValue range)
Original signature : CGRect CTRunGetImageBounds(CTRunRef, CGContextRef, CFRange)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:408


CTRunGetTextMatrix

CGAffineTransform.ByValue CTRunGetTextMatrix(CoreTextLibrary.__CTRun run)
Original signature : CGAffineTransform CTRunGetTextMatrix(CTRunRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:428


CTRunDraw

void CTRunDraw(CoreTextLibrary.__CTRun run,
               CoreGraphicsLibrary.CGContext context,
               CFRange.ByValue range)
Original signature : void CTRunDraw(CTRunRef, CGContextRef, CFRange)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTRun.h:456


CTTextTabGetTypeID

NativeLong CTTextTabGetTypeID()
Original signature : CFTypeID CTTextTabGetTypeID()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTextTab.h:52


CTTextTabCreate

CoreTextLibrary.__CTTextTab CTTextTabCreate(byte alignment,
                                            double location,
                                            HIServicesLibrary.__CFDictionary options)
Original signature : CTTextTabRef CTTextTabCreate(CTTextAlignment, double, CFDictionaryRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTextTab.h:99


CTTextTabGetAlignment

byte CTTextTabGetAlignment(CoreTextLibrary.__CTTextTab tab)
Original signature : CTTextAlignment CTTextTabGetAlignment(CTTextTabRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTextTab.h:119


CTTextTabGetLocation

double CTTextTabGetLocation(CoreTextLibrary.__CTTextTab tab)
Original signature : double CTTextTabGetLocation(CTTextTabRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTextTab.h:133


CTTextTabGetOptions

HIServicesLibrary.__CFDictionary CTTextTabGetOptions(CoreTextLibrary.__CTTextTab tab)
Original signature : CFDictionaryRef CTTextTabGetOptions(CTTextTabRef)
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CTTextTab.h:148


CTGetCoreTextVersion

int CTGetCoreTextVersion()
Original signature : uint32_t CTGetCoreTextVersion()
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreText.framework/Headers/CoreText.h:58



Copyright © 2009. All Rights Reserved.