Documentation
¶
Overview ¶
Package coretext provides a fluent Go API over the macOS CoreText framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Index ¶
- Constants
- func CTFontCollectionCopyExclusionDescriptors(collection obj.Object) obj.Object
- func CTFontCollectionCopyFontAttribute(collection obj.Object, attributeName obj.Object, ...) obj.Object
- func CTFontCollectionCopyFontAttributes(collection obj.Object, attributeNames obj.Object, ...) obj.Object
- func CTFontCollectionCopyQueryDescriptors(collection obj.Object) obj.Object
- func CTFontCollectionCreateCopyWithFontDescriptors(original obj.Object, queryDescriptors obj.Object, options obj.Object) obj.Object
- func CTFontCollectionCreateFromAvailableFonts(options obj.Object) obj.Object
- func CTFontCollectionCreateMatchingFontDescriptors(collection obj.Object) obj.Object
- func CTFontCollectionCreateMatchingFontDescriptorsForFamily(collection obj.Object, familyName obj.Object, options obj.Object) obj.Object
- func CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(collection obj.Object, sortCallback unsafe.Pointer, refCon unsafe.Pointer) obj.Object
- func CTFontCollectionCreateMatchingFontDescriptorsWithOptions(collection obj.Object, options obj.Object) obj.Object
- func CTFontCollectionCreateMutableCopy(original obj.Object) obj.Object
- func CTFontCollectionCreateWithFontDescriptors(queryDescriptors obj.Object, options obj.Object) obj.Object
- func CTFontCollectionGetTypeID() int
- func CTFontCollectionSetExclusionDescriptors(collection obj.Object, descriptors obj.Object)
- func CTFontCollectionSetQueryDescriptors(collection obj.Object, descriptors obj.Object)
- func CTFontCopyAttribute(font obj.Object, attribute obj.Object) obj.Object
- func CTFontCopyAvailableTables(font obj.Object, options CTFontTableOptions) obj.Object
- func CTFontCopyCharacterSet(font obj.Object) obj.Object
- func CTFontCopyDefaultCascadeListForLanguages(font obj.Object, languagePrefList obj.Object) obj.Object
- func CTFontCopyDisplayName(font obj.Object) obj.Object
- func CTFontCopyFamilyName(font obj.Object) obj.Object
- func CTFontCopyFeatureSettings(font obj.Object) obj.Object
- func CTFontCopyFeatures(font obj.Object) obj.Object
- func CTFontCopyFontDescriptor(font obj.Object) obj.Object
- func CTFontCopyFullName(font obj.Object) obj.Object
- func CTFontCopyGraphicsFont(font obj.Object, attributes unsafe.Pointer) obj.Object
- func CTFontCopyLocalizedName(font obj.Object, nameKey obj.Object, actualLanguage unsafe.Pointer) obj.Object
- func CTFontCopyName(font obj.Object, nameKey obj.Object) obj.Object
- func CTFontCopyNameForGlyph(font obj.Object, glyph uint16) obj.Object
- func CTFontCopyPostScriptName(font obj.Object) obj.Object
- func CTFontCopySupportedLanguages(font obj.Object) obj.Object
- func CTFontCopyTable(font obj.Object, table int, options CTFontTableOptions) obj.Object
- func CTFontCopyTraits(font obj.Object) obj.Object
- func CTFontCopyVariation(font obj.Object) obj.Object
- func CTFontCopyVariationAxes(font obj.Object) obj.Object
- func CTFontCreateCopyWithAttributes(font obj.Object, size float64, matrix unsafe.Pointer, attributes obj.Object) obj.Object
- func CTFontCreateCopyWithFamily(font obj.Object, size float64, matrix unsafe.Pointer, family obj.Object) obj.Object
- func CTFontCreateCopyWithSymbolicTraits(font obj.Object, size float64, matrix unsafe.Pointer, ...) obj.Object
- func CTFontCreateForString(currentFont obj.Object, str obj.Object, range_ corefoundation.CFRange) obj.Object
- func CTFontCreateForStringWithLanguage(currentFont obj.Object, str obj.Object, range_ corefoundation.CFRange, ...) obj.Object
- func CTFontCreatePathForGlyph(font obj.Object, glyph uint16, matrix unsafe.Pointer) obj.Object
- func CTFontCreateUIFontForLanguage(uiType CTFontUIFontType, size float64, language obj.Object) obj.Object
- func CTFontCreateWithFontDescriptor(descriptor obj.Object, size float64, matrix unsafe.Pointer) obj.Object
- func CTFontCreateWithFontDescriptorAndOptions(descriptor obj.Object, size float64, matrix unsafe.Pointer, ...) obj.Object
- func CTFontCreateWithGraphicsFont(graphicsFont obj.Object, size float64, matrix unsafe.Pointer, ...) obj.Object
- func CTFontCreateWithName(name obj.Object, size float64, matrix unsafe.Pointer) obj.Object
- func CTFontCreateWithNameAndOptions(name obj.Object, size float64, matrix unsafe.Pointer, options CTFontOptions) obj.Object
- func CTFontCreateWithPlatformFont(platformFont int, size float64, matrix unsafe.Pointer, attributes obj.Object) obj.Object
- func CTFontCreateWithQuickdrawInstance(identifier int16, style uint8, size float64) (result obj.Object, name uint8)
- func CTFontDescriptorCopyAttribute(descriptor obj.Object, attribute obj.Object) obj.Object
- func CTFontDescriptorCopyAttributes(descriptor obj.Object) obj.Object
- func CTFontDescriptorCopyLocalizedAttribute(descriptor obj.Object, attribute obj.Object, language unsafe.Pointer) obj.Object
- func CTFontDescriptorCreateCopyWithAttributes(original obj.Object, attributes obj.Object) obj.Object
- func CTFontDescriptorCreateCopyWithFamily(original obj.Object, family obj.Object) obj.Object
- func CTFontDescriptorCreateCopyWithFeature(original obj.Object, featureTypeIdentifier obj.Object, ...) obj.Object
- func CTFontDescriptorCreateCopyWithSymbolicTraits(original obj.Object, symTraitValue CTFontSymbolicTraits, ...) obj.Object
- func CTFontDescriptorCreateCopyWithVariation(original obj.Object, variationIdentifier obj.Object, variationValue float64) obj.Object
- func CTFontDescriptorCreateMatchingFontDescriptor(descriptor obj.Object, mandatoryAttributes obj.Object) obj.Object
- func CTFontDescriptorCreateMatchingFontDescriptors(descriptor obj.Object, mandatoryAttributes obj.Object) obj.Object
- func CTFontDescriptorCreateWithAttributes(attributes obj.Object) obj.Object
- func CTFontDescriptorCreateWithNameAndSize(name obj.Object, size float64) obj.Object
- func CTFontDescriptorGetTypeID() int
- func CTFontDescriptorMatchFontDescriptorsWithProgressHandler(descriptors obj.Object, mandatoryAttributes obj.Object, ...) bool
- func CTFontDrawGlyphs(font obj.Object, positions unsafe.Pointer, count int, context_ obj.Object) (glyphs uint16)
- func CTFontDrawImageFromAdaptiveImageProviderAtPoint(font obj.Object, provider unsafe.Pointer, point corefoundation.CGPoint, ...)
- func CTFontGetAdvancesForGlyphs(font obj.Object, orientation CTFontOrientation, advances unsafe.Pointer, ...) (result float64, glyphs uint16)
- func CTFontGetAscent(font obj.Object) float64
- func CTFontGetBoundingBox(font obj.Object) corefoundation.CGRect
- func CTFontGetBoundingRectsForGlyphs(font obj.Object, orientation CTFontOrientation, boundingRects unsafe.Pointer, ...) (result corefoundation.CGRect, glyphs uint16)
- func CTFontGetCapHeight(font obj.Object) float64
- func CTFontGetDescent(font obj.Object) float64
- func CTFontGetGlyphCount(font obj.Object) int
- func CTFontGetGlyphWithName(font obj.Object, glyphName obj.Object) uint16
- func CTFontGetGlyphsForCharacters(font obj.Object, glyphs unsafe.Pointer, count int) (ok bool, characters uint16)
- func CTFontGetLeading(font obj.Object) float64
- func CTFontGetLigatureCaretPositions(font obj.Object, glyph uint16, maxPositions int) (result int, positions float64)
- func CTFontGetMatrix(font obj.Object) corefoundation.CGAffineTransform
- func CTFontGetOpticalBoundsForGlyphs(font obj.Object, boundingRects unsafe.Pointer, count int, options int) (result corefoundation.CGRect, glyphs uint16)
- func CTFontGetPlatformFont(font obj.Object, attributes unsafe.Pointer) int
- func CTFontGetSize(font obj.Object) float64
- func CTFontGetSlantAngle(font obj.Object) float64
- func CTFontGetStringEncoding(font obj.Object) int
- func CTFontGetTypeID() int
- func CTFontGetTypographicBoundsForAdaptiveImageProvider(font obj.Object, provider unsafe.Pointer) corefoundation.CGRect
- func CTFontGetUnderlinePosition(font obj.Object) float64
- func CTFontGetUnderlineThickness(font obj.Object) float64
- func CTFontGetUnitsPerEm(font obj.Object) int
- func CTFontGetVerticalTranslationsForGlyphs(font obj.Object, translations unsafe.Pointer, count int) (glyphs uint16)
- func CTFontGetXHeight(font obj.Object) float64
- func CTFontHasTable(font obj.Object, tag int) bool
- func CTFontManagerCompareFontFamilyNames(family1 unsafe.Pointer, family2 unsafe.Pointer, context_ unsafe.Pointer) unsafe.Pointer
- func CTFontManagerCopyAvailableFontFamilyNames() obj.Object
- func CTFontManagerCopyAvailableFontURLs() obj.Object
- func CTFontManagerCopyAvailablePostScriptNames() obj.Object
- func CTFontManagerCreateFontDescriptorFromData(data obj.Object) obj.Object
- func CTFontManagerCreateFontDescriptorsFromData(data obj.Object) obj.Object
- func CTFontManagerCreateFontDescriptorsFromURL(fileURL obj.Object) obj.Object
- func CTFontManagerCreateFontRequestRunLoopSource(sourceOrder int, createMatchesCallback unsafe.Pointer) obj.Object
- func CTFontManagerEnableFontDescriptors(descriptors obj.Object, enable bool)
- func CTFontManagerIsSupportedFont(fontURL obj.Object) bool
- func CTFontManagerRegisterFontDescriptors(fontDescriptors obj.Object, scope CTFontManagerScope, enabled bool, ...)
- func CTFontManagerRegisterFontURLs(fontURLs obj.Object, scope CTFontManagerScope, enabled bool, ...)
- func CTFontManagerRegisterFontsForURL(fontURL obj.Object, scope CTFontManagerScope) error
- func CTFontManagerRegisterFontsForURLs(fontURLs obj.Object, scope CTFontManagerScope, errors_ unsafe.Pointer) bool
- func CTFontManagerRegisterGraphicsFont(font obj.Object) error
- func CTFontManagerSetAutoActivationSetting(bundleIdentifier obj.Object, setting CTFontManagerAutoActivationSetting)
- func CTFontManagerUnregisterFontDescriptors(fontDescriptors obj.Object, scope CTFontManagerScope, ...)
- func CTFontManagerUnregisterFontURLs(fontURLs obj.Object, scope CTFontManagerScope, ...)
- func CTFontManagerUnregisterFontsForURL(fontURL obj.Object, scope CTFontManagerScope) error
- func CTFontManagerUnregisterFontsForURLs(fontURLs obj.Object, scope CTFontManagerScope, errors_ unsafe.Pointer) bool
- func CTFontManagerUnregisterGraphicsFont(font obj.Object) error
- func CTFrameDraw(frame obj.Object, context_ obj.Object)
- func CTFrameGetFrameAttributes(frame obj.Object) obj.Object
- func CTFrameGetLineOrigins(frame obj.Object, range_ corefoundation.CFRange, origins unsafe.Pointer)
- func CTFrameGetLines(frame obj.Object) obj.Object
- func CTFrameGetPath(frame obj.Object) obj.Object
- func CTFrameGetStringRange(frame obj.Object) corefoundation.CFRange
- func CTFrameGetTypeID() int
- func CTFrameGetVisibleStringRange(frame obj.Object) corefoundation.CFRange
- func CTFramesetterCreateFrame(framesetter obj.Object, stringRange corefoundation.CFRange, path obj.Object, ...) obj.Object
- func CTFramesetterCreateWithAttributedString(attrString obj.Object) obj.Object
- func CTFramesetterCreateWithTypesetter(typesetter obj.Object) obj.Object
- func CTFramesetterGetTypeID() int
- func CTFramesetterGetTypesetter(framesetter obj.Object) obj.Object
- func CTFramesetterSuggestFrameSizeWithConstraints(framesetter obj.Object, stringRange corefoundation.CFRange, ...) corefoundation.CGSize
- func CTGetCoreTextVersion() uint32
- func CTGlyphInfoCreateWithCharacterIdentifier(cid uint16, collection CTCharacterCollection, baseString obj.Object) obj.Object
- func CTGlyphInfoCreateWithGlyph(glyph uint16, font obj.Object, baseString obj.Object) obj.Object
- func CTGlyphInfoCreateWithGlyphName(glyphName obj.Object, font obj.Object, baseString obj.Object) obj.Object
- func CTGlyphInfoGetCharacterIdentifier(glyphInfo obj.Object) uint16
- func CTGlyphInfoGetGlyph(glyphInfo obj.Object) uint16
- func CTGlyphInfoGetGlyphName(glyphInfo obj.Object) obj.Object
- func CTGlyphInfoGetTypeID() int
- func CTLineCreateJustifiedLine(line obj.Object, justificationFactor float64, justificationWidth float64) obj.Object
- func CTLineCreateTruncatedLine(line obj.Object, width float64, truncationType CTLineTruncationType, ...) obj.Object
- func CTLineCreateWithAttributedString(attrString obj.Object) obj.Object
- func CTLineDraw(line obj.Object, context_ obj.Object)
- func CTLineEnumerateCaretOffsets(line obj.Object, block unsafe.Pointer)
- func CTLineGetBoundsWithOptions(line obj.Object, options CTLineBoundsOptions) corefoundation.CGRect
- func CTLineGetGlyphCount(line obj.Object) int
- func CTLineGetGlyphRuns(line obj.Object) obj.Object
- func CTLineGetImageBounds(line obj.Object, context_ obj.Object) corefoundation.CGRect
- func CTLineGetOffsetForStringIndex(line obj.Object, charIndex int) (result float64, secondaryOffset float64)
- func CTLineGetPenOffsetForFlush(line obj.Object, flushFactor float64, flushWidth float64) float64
- func CTLineGetStringIndexForPosition(line obj.Object, position corefoundation.CGPoint) int
- func CTLineGetStringRange(line obj.Object) corefoundation.CFRange
- func CTLineGetTrailingWhitespaceWidth(line obj.Object) float64
- func CTLineGetTypeID() int
- func CTLineGetTypographicBounds(line obj.Object) (result float64, ascent float64, descent float64, leading float64)
- func CTParagraphStyleCreate(settings unsafe.Pointer, settingCount int) obj.Object
- func CTParagraphStyleCreateCopy(paragraphStyle obj.Object) obj.Object
- func CTParagraphStyleGetTypeID() int
- func CTParagraphStyleGetValueForSpecifier(paragraphStyle obj.Object, spec CTParagraphStyleSpecifier, valueBufferSize int, ...) bool
- func CTRubyAnnotationCreate(alignment CTRubyAlignment, overhang CTRubyOverhang, sizeFactor float64, ...) obj.Object
- func CTRubyAnnotationCreateCopy(rubyAnnotation obj.Object) obj.Object
- func CTRubyAnnotationCreateWithAttributes(alignment CTRubyAlignment, overhang CTRubyOverhang, position CTRubyPosition, ...) obj.Object
- func CTRubyAnnotationGetSizeFactor(rubyAnnotation obj.Object) float64
- func CTRubyAnnotationGetTextForPosition(rubyAnnotation obj.Object, position CTRubyPosition) obj.Object
- func CTRubyAnnotationGetTypeID() int
- func CTRunDelegateCreate(callbacks unsafe.Pointer, refCon unsafe.Pointer) obj.Object
- func CTRunDelegateGetRefCon(runDelegate obj.Object) unsafe.Pointer
- func CTRunDelegateGetTypeID() int
- func CTRunDraw(run obj.Object, context_ obj.Object, range_ corefoundation.CFRange)
- func CTRunGetAdvances(run obj.Object, range_ corefoundation.CFRange, buffer unsafe.Pointer)
- func CTRunGetAdvancesPtr(run obj.Object) unsafe.Pointer
- func CTRunGetAttributes(run obj.Object) obj.Object
- func CTRunGetBaseAdvancesAndOrigins(runRef obj.Object, range_ corefoundation.CFRange, ...)
- func CTRunGetGlyphCount(run obj.Object) int
- func CTRunGetGlyphs(run obj.Object, range_ corefoundation.CFRange) (buffer uint16)
- func CTRunGetGlyphsPtr(run obj.Object) unsafe.Pointer
- func CTRunGetImageBounds(run obj.Object, context_ obj.Object, range_ corefoundation.CFRange) corefoundation.CGRect
- func CTRunGetPositions(run obj.Object, range_ corefoundation.CFRange, buffer unsafe.Pointer)
- func CTRunGetPositionsPtr(run obj.Object) unsafe.Pointer
- func CTRunGetStringIndices(run obj.Object, range_ corefoundation.CFRange) (buffer int)
- func CTRunGetStringIndicesPtr(run obj.Object) unsafe.Pointer
- func CTRunGetStringRange(run obj.Object) corefoundation.CFRange
- func CTRunGetTextMatrix(run obj.Object) corefoundation.CGAffineTransform
- func CTRunGetTypeID() int
- func CTRunGetTypographicBounds(run obj.Object, range_ corefoundation.CFRange) (result float64, ascent float64, descent float64, leading float64)
- func CTTextTabCreate(alignment CTTextAlignment, location float64, options obj.Object) obj.Object
- func CTTextTabGetLocation(tab obj.Object) float64
- func CTTextTabGetOptions(tab obj.Object) obj.Object
- func CTTextTabGetTypeID() int
- func CTTypesetterCreateLine(typesetter obj.Object, stringRange corefoundation.CFRange) obj.Object
- func CTTypesetterCreateLineWithOffset(typesetter obj.Object, stringRange corefoundation.CFRange, offset float64) obj.Object
- func CTTypesetterCreateWithAttributedString(str obj.Object) obj.Object
- func CTTypesetterCreateWithAttributedStringAndOptions(str obj.Object, options obj.Object) obj.Object
- func CTTypesetterGetTypeID() int
- func CTTypesetterSuggestClusterBreak(typesetter obj.Object, startIndex int, width float64) int
- func CTTypesetterSuggestClusterBreakWithOffset(typesetter obj.Object, startIndex int, width float64, offset float64) int
- func CTTypesetterSuggestLineBreak(typesetter obj.Object, startIndex int, width float64) int
- func CTTypesetterSuggestLineBreakWithOffset(typesetter obj.Object, startIndex int, width float64, offset float64) int
- func KCTAdaptiveImageProviderAttributeName() obj.Object
- func KCTBackgroundColorAttributeName() obj.Object
- func KCTBaselineClassAttributeName() obj.Object
- func KCTBaselineClassHanging() obj.Object
- func KCTBaselineClassIdeographicCentered() obj.Object
- func KCTBaselineClassIdeographicHigh() obj.Object
- func KCTBaselineClassIdeographicLow() obj.Object
- func KCTBaselineClassMath() obj.Object
- func KCTBaselineClassRoman() obj.Object
- func KCTBaselineInfoAttributeName() obj.Object
- func KCTBaselineOffsetAttributeName() obj.Object
- func KCTBaselineOriginalFont() obj.Object
- func KCTBaselineReferenceFont() obj.Object
- func KCTBaselineReferenceInfoAttributeName() obj.Object
- func KCTCharacterShapeAttributeName() obj.Object
- func KCTFontAttributeName() obj.Object
- func KCTFontBaselineAdjustAttribute() obj.Object
- func KCTFontCascadeListAttribute() obj.Object
- func KCTFontCharacterSetAttribute() obj.Object
- func KCTFontCollectionDisallowAutoActivationOption() obj.Object
- func KCTFontCollectionIncludeDisabledFontsOption() obj.Object
- func KCTFontCollectionRemoveDuplicatesOption() obj.Object
- func KCTFontCopyrightNameKey() obj.Object
- func KCTFontDescriptionNameKey() obj.Object
- func KCTFontDescriptorLanguageAttribute() obj.Object
- func KCTFontDescriptorMatchingCurrentAssetSize() obj.Object
- func KCTFontDescriptorMatchingDescriptors() obj.Object
- func KCTFontDescriptorMatchingError() obj.Object
- func KCTFontDescriptorMatchingPercentage() obj.Object
- func KCTFontDescriptorMatchingResult() obj.Object
- func KCTFontDescriptorMatchingSourceDescriptor() obj.Object
- func KCTFontDescriptorMatchingTotalAssetSize() obj.Object
- func KCTFontDescriptorMatchingTotalDownloadedSize() obj.Object
- func KCTFontDesignerNameKey() obj.Object
- func KCTFontDesignerURLNameKey() obj.Object
- func KCTFontDisplayNameAttribute() obj.Object
- func KCTFontDownloadableAttribute() obj.Object
- func KCTFontDownloadedAttribute() obj.Object
- func KCTFontEnabledAttribute() obj.Object
- func KCTFontFamilyNameAttribute() obj.Object
- func KCTFontFamilyNameKey() obj.Object
- func KCTFontFeatureSampleTextKey() obj.Object
- func KCTFontFeatureSelectorDefaultKey() obj.Object
- func KCTFontFeatureSelectorIdentifierKey() obj.Object
- func KCTFontFeatureSelectorNameKey() obj.Object
- func KCTFontFeatureSelectorSettingKey() obj.Object
- func KCTFontFeatureSettingsAttribute() obj.Object
- func KCTFontFeatureTooltipTextKey() obj.Object
- func KCTFontFeatureTypeExclusiveKey() obj.Object
- func KCTFontFeatureTypeIdentifierKey() obj.Object
- func KCTFontFeatureTypeNameKey() obj.Object
- func KCTFontFeatureTypeSelectorsKey() obj.Object
- func KCTFontFeaturesAttribute() obj.Object
- func KCTFontFixedAdvanceAttribute() obj.Object
- func KCTFontFormatAttribute() obj.Object
- func KCTFontFullNameKey() obj.Object
- func KCTFontLanguagesAttribute() obj.Object
- func KCTFontLicenseNameKey() obj.Object
- func KCTFontLicenseURLNameKey() obj.Object
- func KCTFontMacintoshEncodingsAttribute() obj.Object
- func KCTFontManagerBundleIdentifier() obj.Object
- func KCTFontManagerErrorDomain() obj.Object
- func KCTFontManagerErrorFontURLsKey() obj.Object
- func KCTFontManagerRegisteredFontsChangedNotification() obj.Object
- func KCTFontManufacturerNameKey() obj.Object
- func KCTFontMatrixAttribute() obj.Object
- func KCTFontNameAttribute() obj.Object
- func KCTFontOpenTypeFeatureTag() obj.Object
- func KCTFontOpenTypeFeatureValue() obj.Object
- func KCTFontOpticalSizeAttribute() obj.Object
- func KCTFontOrientationAttribute() obj.Object
- func KCTFontPostScriptCIDNameKey() obj.Object
- func KCTFontPostScriptNameKey() obj.Object
- func KCTFontPriorityAttribute() obj.Object
- func KCTFontRegistrationScopeAttribute() obj.Object
- func KCTFontSampleTextNameKey() obj.Object
- func KCTFontSizeAttribute() obj.Object
- func KCTFontSlantTrait() obj.Object
- func KCTFontStyleNameAttribute() obj.Object
- func KCTFontStyleNameKey() obj.Object
- func KCTFontSubFamilyNameKey() obj.Object
- func KCTFontSymbolicTrait() obj.Object
- func KCTFontTrademarkNameKey() obj.Object
- func KCTFontTraitsAttribute() obj.Object
- func KCTFontURLAttribute() obj.Object
- func KCTFontUniqueNameKey() obj.Object
- func KCTFontVariationAttribute() obj.Object
- func KCTFontVariationAxesAttribute() obj.Object
- func KCTFontVariationAxisDefaultValueKey() obj.Object
- func KCTFontVariationAxisHiddenKey() obj.Object
- func KCTFontVariationAxisIdentifierKey() obj.Object
- func KCTFontVariationAxisMaximumValueKey() obj.Object
- func KCTFontVariationAxisMinimumValueKey() obj.Object
- func KCTFontVariationAxisNameKey() obj.Object
- func KCTFontVendorURLNameKey() obj.Object
- func KCTFontVersionNameKey() obj.Object
- func KCTFontWeightTrait() obj.Object
- func KCTFontWidthTrait() obj.Object
- func KCTForegroundColorAttributeName() obj.Object
- func KCTForegroundColorFromContextAttributeName() obj.Object
- func KCTFrameClippingPathsAttributeName() obj.Object
- func KCTFramePathClippingPathAttributeName() obj.Object
- func KCTFramePathFillRuleAttributeName() obj.Object
- func KCTFramePathWidthAttributeName() obj.Object
- func KCTFrameProgressionAttributeName() obj.Object
- func KCTGlyphInfoAttributeName() obj.Object
- func KCTHorizontalInVerticalFormsAttributeName() obj.Object
- func KCTKernAttributeName() obj.Object
- func KCTLanguageAttributeName() obj.Object
- func KCTLigatureAttributeName() obj.Object
- func KCTParagraphStyleAttributeName() obj.Object
- func KCTRubyAnnotationAttributeName() obj.Object
- func KCTRubyAnnotationScaleToFitAttributeName() obj.Object
- func KCTRubyAnnotationSizeFactorAttributeName() obj.Object
- func KCTRunDelegateAttributeName() obj.Object
- func KCTStrokeColorAttributeName() obj.Object
- func KCTStrokeWidthAttributeName() obj.Object
- func KCTSuperscriptAttributeName() obj.Object
- func KCTTabColumnTerminatorsAttributeName() obj.Object
- func KCTTrackingAttributeName() obj.Object
- func KCTTypesetterOptionAllowUnboundedLayout() obj.Object
- func KCTTypesetterOptionDisableBidiProcessing() obj.Object
- func KCTTypesetterOptionForcedEmbeddingLevel() obj.Object
- func KCTUnderlineColorAttributeName() obj.Object
- func KCTUnderlineStyleAttributeName() obj.Object
- func KCTVerticalFormsAttributeName() obj.Object
- func KCTWritingDirectionAttributeName() obj.Object
- type ALMXGlyphEntry
- type ALMXHeader
- type AnchorPoint
- type AnchorPointTable
- type AnkrTable
- type BslnFormat0Part
- type BslnFormat1Part
- type BslnFormat2Part
- type BslnFormat3Part
- type BslnTable
- type CTAdaptiveImageProviding
- type CTCharacterCollection
- type CTFont
- type CTFontCollection
- type CTFontCollectionCopyOptions
- type CTFontDescriptor
- type CTFontDescriptorMatchingState
- type CTFontFormat
- type CTFontManagerAutoActivationSetting
- type CTFontManagerError
- type CTFontManagerScope
- type CTFontOptions
- type CTFontOrientation
- type CTFontStylisticClass
- type CTFontSymbolicTraits
- type CTFontTableOptions
- type CTFontUIFontType
- type CTFrame
- type CTFramePathFillRule
- type CTFrameProgression
- type CTFramesetter
- type CTGlyphInfo
- type CTLine
- type CTLineBoundsOptions
- type CTLineBreakMode
- type CTLineTruncationType
- type CTParagraphStyle
- type CTParagraphStyleSetting
- type CTParagraphStyleSpecifier
- type CTRubyAlignment
- type CTRubyAnnotation
- type CTRubyOverhang
- type CTRubyPosition
- type CTRun
- type CTRunDelegate
- type CTRunDelegateCallbacks
- type CTRunStatus
- type CTTextAlignment
- type CTTextTab
- type CTTypesetter
- type CTUnderlineStyle
- type CTUnderlineStyleModifiers
- type CTWritingDirection
- type Clockid
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type EvCmd
- type FilesecProperty
- type Flag
- type FontVariation
- type Idtype
- type IpcInfoObjectType
- type JustDirectionTable
- type JustPCAction
- type JustPCActionSubrecord
- type JustPCConditionalAddAction
- type JustPCDecompositionAction
- type JustPCDuctilityAction
- type JustPCGlyphRepeatAddAction
- type JustPostcompTable
- type JustTable
- type JustWidthDeltaEntry
- type JustWidthDeltaGroup
- type KernIndexArrayHeader
- type KernKerningPair
- type KernOffsetTable
- type KernOrderedListEntry
- type KernOrderedListHeader
- type KernSimpleArrayHeader
- type KernStateEntry
- type KernStateHeader
- type KernSubtableHeader
- type KernTableHeader
- type KernVersion0Header
- type KernVersion0SubtableHeader
- type KerxAnchorPointAction
- type KerxControlPointAction
- type KerxControlPointEntry
- type KerxControlPointHeader
- type KerxCoordinateAction
- type KerxIndexArrayHeader
- type KerxKerningPair
- type KerxOrderedListEntry
- type KerxOrderedListHeader
- type KerxSimpleArrayHeader
- type KerxStateEntry
- type KerxStateHeader
- type KerxSubtableHeader
- type KerxTableHeader
- type LcarCaretClassEntry
- type LcarCaretTable
- type LtagStringRange
- type LtagTable
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MortChain
- type MortContextualSubtable
- type MortFeatureEntry
- type MortInsertionSubtable
- type MortLigatureSubtable
- type MortRearrangementSubtable
- type MortSubtable
- type MortSwashSubtable
- type MortTable
- type MorxChain
- type MorxContextualSubtable
- type MorxInsertionSubtable
- type MorxLigatureSubtable
- type MorxRearrangementSubtable
- type MorxSubtable
- type MorxTable
- type MpoFlags
- type NXMouseButton
- type OSClockid
- type OpbdSideValues
- type OpbdTable
- type Perm
- type PropLookupSegment
- type PropLookupSingle
- type PropTable
- type PtrauthKey
- type QosClass
- type ROTAGlyphEntry
- type ROTAHeader
- type SFNTLookupArrayHeader
- type SFNTLookupBinarySearchHeader
- type SFNTLookupSegment
- type SFNTLookupSegmentHeader
- type SFNTLookupSingle
- type SFNTLookupSingleHeader
- type SFNTLookupTable
- type SFNTLookupTrimmedArrayHeader
- type SFNTLookupVectorHeader
- type STClassTable
- type STEntryOne
- type STEntryTwo
- type STEntryZero
- type STHeader
- type STXEntryOne
- type STXEntryTwo
- type STXEntryZero
- type STXHeader
- type SfntCMapEncoding
- type SfntCMapExtendedSubHeader
- type SfntCMapHeader
- type SfntCMapSubHeader
- type SfntDescriptorHeader
- type SfntDirectory
- type SfntDirectoryEntry
- type SfntFeatureHeader
- type SfntFeatureName
- type SfntFontDescriptor
- type SfntFontFeatureSetting
- type SfntFontRunFeature
- type SfntInstance
- type SfntNameHeader
- type SfntNameRecord
- type SfntVariationAxis
- type SfntVariationHeader
- type Tag
- type TrakTable
- type TrakTableData
- type TrakTableEntry
- type Type
- type VirtualMemoryGuardExceptionCode
Constants ¶
const ( CmapFontTableTag = 1668112752 DescriptorFontTableTag = 1717859171 FeatureFontTableTag = 1717920116 KANKRCurrentVersion = 0 KAbbrevSquaredLigaturesOffSelector = 15 KAbbrevSquaredLigaturesOnSelector = 14 KAllCapsSelector = 1 KAllLowerCaseSelector = 2 KAllTypeFeaturesOffSelector = 1 KAllTypeFeaturesOnSelector = 0 KAllTypographicFeaturesType = 0 KAltHalfWidthTextSelector = 6 KAltProportionalTextSelector = 5 KAlternateHorizKanaOffSelector = 1 KAlternateHorizKanaOnSelector = 0 KAlternateKanaType = 34 KAlternateVertKanaOffSelector = 3 KAlternateVertKanaOnSelector = 2 KAnnotationType = 24 KAsteriskToMultiplyOffSelector = 3 KAsteriskToMultiplyOnSelector = 2 KBSLNControlPointFormatNoMap = 2 KBSLNControlPointFormatWithMap = 3 KBSLNCurrentVersion = 65536 KBSLNDistanceFormatNoMap = 0 KBSLNDistanceFormatWithMap = 1 KBSLNHangingBaseline = 3 KBSLNIdeographicCenterBaseline = 1 KBSLNIdeographicHighBaseline = 5 KBSLNIdeographicLowBaseline = 2 KBSLNLastBaseline = 31 KBSLNMathBaseline = 4 KBSLNNoBaseline = 255 KBSLNNoBaselineOverride = 255 KBSLNNumBaselineClasses = 32 KBSLNRomanBaseline = 0 KBSLNTag = 1651731566 KBoxAnnotationSelector = 1 KCJKItalicRomanOffSelector = 3 KCJKItalicRomanOnSelector = 2 KCJKItalicRomanSelector = 1 KCJKRomanSpacingType = 103 KCJKSymbolAltFiveSelector = 5 KCJKSymbolAltFourSelector = 4 KCJKSymbolAltOneSelector = 1 KCJKSymbolAltThreeSelector = 3 KCJKSymbolAltTwoSelector = 2 KCJKSymbolAlternativesType = 29 KCJKVerticalRomanCenteredSelector = 0 KCJKVerticalRomanHBaselineSelector = 1 KCJKVerticalRomanPlacementType = 31 KCTFontClassMaskShift = 28 KCTFontPriorityComputer = 30000 KCTFontPriorityDynamic = 50000 KCTFontPriorityNetwork = 20000 KCTFontPriorityProcess = 60000 KCTFontPrioritySystem = 10000 KCTFontPriorityUser = 40000 KCTFontTableAcnt = 1633906292 KCTFontTableAnkr = 1634626418 KCTFontTableAvar = 1635148146 KCTFontTableBASE = 1111577413 KCTFontTableBdat = 1650745716 KCTFontTableBhed = 1651008868 KCTFontTableBloc = 1651273571 KCTFontTableBsln = 1651731566 KCTFontTableCBDT = 1128416340 KCTFontTableCBLC = 1128418371 KCTFontTableCFF = 1128678944 KCTFontTableCFF2 = 1128678962 KCTFontTableCOLR = 1129270354 KCTFontTableCPAL = 1129333068 KCTFontTableCidg = 1667851367 KCTFontTableCmap = 1668112752 KCTFontTableCvar = 1668702578 KCTFontTableCvt = 1668707360 KCTFontTableDSIG = 1146308935 KCTFontTableEBDT = 1161970772 KCTFontTableEBLC = 1161972803 KCTFontTableEBSC = 1161974595 KCTFontTableFdsc = 1717859171 KCTFontTableFeat = 1717920116 KCTFontTableFmtx = 1718449272 KCTFontTableFond = 1718578788 KCTFontTableFpgm = 1718642541 KCTFontTableFvar = 1719034226 KCTFontTableGDEF = 1195656518 KCTFontTableGPOS = 1196445523 KCTFontTableGSUB = 1196643650 KCTFontTableGasp = 1734439792 KCTFontTableGlyf = 1735162214 KCTFontTableGvar = 1735811442 KCTFontTableHVAR = 1213612370 KCTFontTableHdmx = 1751412088 KCTFontTableHead = 1751474532 KCTFontTableHhea = 1751672161 KCTFontTableHmtx = 1752003704 KCTFontTableHsty = 1752396921 KCTFontTableJSTF = 1246975046 KCTFontTableJust = 1786082164 KCTFontTableKern = 1801810542 KCTFontTableKerx = 1801810552 KCTFontTableLTSH = 1280594760 KCTFontTableLcar = 1818452338 KCTFontTableLoca = 1819239265 KCTFontTableLtag = 1819566439 KCTFontTableMATH = 1296127048 KCTFontTableMERG = 1296388679 KCTFontTableMVAR = 1297498450 KCTFontTableMaxp = 1835104368 KCTFontTableMeta = 1835365473 KCTFontTableMort = 1836020340 KCTFontTableMorx = 1836020344 KCTFontTableName = 1851878757 KCTFontTableOS2 = 1330851634 KCTFontTableOpbd = 1869636196 KCTFontTablePCLT = 1346587732 KCTFontTablePost = 1886352244 KCTFontTablePrep = 1886545264 KCTFontTableProp = 1886547824 KCTFontTableSTAT = 1398030676 KCTFontTableSVG = 1398163232 KCTFontTableSbit = 1935829364 KCTFontTableSbix = 1935829368 KCTFontTableTrak = 1953653099 KCTFontTableVDMX = 1447316824 KCTFontTableVORG = 1448038983 KCTFontTableVVAR = 1448493394 KCTFontTableVhea = 1986553185 KCTFontTableVmtx = 1986884728 KCTFontTableXref = 2020762982 KCTFontTableZapf = 1516335206 KCTRunDelegateCurrentVersion = 1 KCTRunDelegateVersion1 = 1 KCTWritingDirectionEmbedding = 0 KCTWritingDirectionOverride = 2 KCanonicalCompositionOffSelector = 1 KCanonicalCompositionOnSelector = 0 KCaseSensitiveLayoutOffSelector = 1 KCaseSensitiveLayoutOnSelector = 0 KCaseSensitiveLayoutType = 33 KCaseSensitiveSpacingOffSelector = 3 KCaseSensitiveSpacingOnSelector = 2 KCharacterAlternativesType = 17 KCharacterShapeType = 20 KCircleAnnotationSelector = 3 KCommonLigaturesOffSelector = 3 KCommonLigaturesOnSelector = 2 KCompatibilityCompositionOffSelector = 3 KCompatibilityCompositionOnSelector = 2 KContextualAlternatesOffSelector = 1 KContextualAlternatesOnSelector = 0 KContextualAlternatesType = 36 KContextualLigaturesOffSelector = 19 KContextualLigaturesOnSelector = 18 KContextualSwashAlternatesOffSelector = 5 KContextualSwashAlternatesOnSelector = 4 KCursiveConnectionType = 2 KCursiveSelector = 2 KDecomposeDiacriticsSelector = 2 KDecorativeBordersSelector = 4 KDefaultCJKRomanSelector = 2 KDefaultLowerCaseSelector = 0 KDefaultUpperCaseSelector = 0 KDesignComplexityType = 18 KDesignLevel1Selector = 0 KDesignLevel2Selector = 1 KDesignLevel3Selector = 2 KDesignLevel4Selector = 3 KDesignLevel5Selector = 4 KDiacriticsType = 9 KDiagonalFractionsSelector = 2 KDiamondAnnotationSelector = 8 KDingbatsSelector = 1 KDiphthongLigaturesOffSelector = 11 KDiphthongLigaturesOnSelector = 10 KDisplayTextSelector = 1 KEngravedTextSelector = 2 KExpertCharactersSelector = 10 KExponentsOffSelector = 9 KExponentsOnSelector = 8 KFleuronsSelector = 3 KFontAlbanianLanguage = 36 KFontAmharicLanguage = 85 KFontAmharicScript = 28 KFontArabicLanguage = 12 KFontArabicScript = 4 KFontArmenianLanguage = 51 KFontArmenianScript = 24 KFontAssameseLanguage = 68 KFontAymaraLanguage = 134 KFontAzerbaijanArLanguage = 50 KFontAzerbaijaniLanguage = 49 KFontBasqueLanguage = 129 KFontBengaliLanguage = 67 KFontBengaliScript = 13 KFontBulgarianLanguage = 44 KFontBurmeseLanguage = 77 KFontBurmeseScript = 19 KFontByelorussianLanguage = 46 KFontCatalanLanguage = 130 KFontChewaLanguage = 92 KFontChineseScript = 2 KFontCopyrightName = 0 KFontCroatianLanguage = 18 KFontCustom16BitScript = 2 KFontCustom816BitScript = 1 KFontCustom8BitScript = 0 KFontCustomPlatform = 4 KFontCyrillicScript = 7 KFontCzechLanguage = 38 KFontDanishLanguage = 7 KFontDescriptionName = 10 KFontDesignerName = 9 KFontDesignerURLName = 12 KFontDevanagariScript = 9 KFontDutchLanguage = 4 KFontDzongkhaLanguage = 137 KFontEastEuropeanRomanScript = 29 KFontEnglishLanguage = 0 KFontEsperantoLanguage = 94 KFontEstonianLanguage = 27 KFontEthiopicScript = 28 KFontExtendedArabicScript = 31 KFontFaeroeseLanguage = 30 KFontFamilyName = 1 KFontFarsiLanguage = 31 KFontFinnishLanguage = 13 KFontFlemishLanguage = 34 KFontFrenchLanguage = 1 KFontFullName = 4 KFontGallaLanguage = 87 KFontGeezScript = 28 KFontGeorgianLanguage = 52 KFontGeorgianScript = 23 KFontGermanLanguage = 2 KFontGreekLanguage = 14 KFontGreekScript = 6 KFontGuaraniLanguage = 133 KFontGujaratiLanguage = 69 KFontGujaratiScript = 11 KFontGurmukhiScript = 10 KFontHebrewLanguage = 10 KFontHebrewScript = 5 KFontHindiLanguage = 21 KFontHungarianLanguage = 26 KFontISO10646_1993Semantics = 2 KFontIcelandicLanguage = 15 KFontIndonesianLanguage = 81 KFontIrishLanguage = 35 KFontItalianLanguage = 3 KFontJapaneseLanguage = 11 KFontJapaneseScript = 1 KFontJavaneseRomLanguage = 138 KFontKannadaLanguage = 73 KFontKannadaScript = 16 KFontKashmiriLanguage = 61 KFontKazakhLanguage = 48 KFontKhmerLanguage = 78 KFontKhmerScript = 20 KFontKirghizLanguage = 54 KFontKoreanLanguage = 23 KFontKoreanScript = 3 KFontKurdishLanguage = 60 KFontLaoLanguage = 79 KFontLaotianScript = 22 KFontLappishLanguage = 29 KFontLastReservedName = 255 KFontLatinLanguage = 131 KFontLatvianLanguage = 28 KFontLettishLanguage = 28 KFontLicenseDescriptionName = 13 KFontLicenseInfoURLName = 14 KFontLithuanianLanguage = 24 KFontMacCompatibleFullName = 18 KFontMacedonianLanguage = 43 KFontMacintoshPlatform = 1 KFontMalagasyLanguage = 93 KFontMalayArabicLanguage = 84 KFontMalayRomanLanguage = 83 KFontMalayalamLanguage = 72 KFontMalayalamScript = 17 KFontMalteseLanguage = 16 KFontManufacturerName = 8 KFontMarathiLanguage = 66 KFontMicrosoftPlatform = 3 KFontMicrosoftStandardScript = 1 KFontMicrosoftSymbolScript = 0 KFontMicrosoftUCS4Script = 10 KFontMoldavianLanguage = 53 KFontMongolianCyrLanguage = 58 KFontMongolianLanguage = 57 KFontMongolianScript = 27 KFontNepaliLanguage = 64 KFontNoLanguageCode = 4294967295 KFontNoNameCode = 4294967295 KFontNoPlatformCode = 4294967295 KFontNoScriptCode = 4294967295 KFontNorwegianLanguage = 9 KFontOriyaLanguage = 71 KFontOriyaScript = 12 KFontOromoLanguage = 87 KFontPashtoLanguage = 59 KFontPersianLanguage = 31 KFontPolishLanguage = 25 KFontPortugueseLanguage = 8 KFontPostScriptCIDName = 20 KFontPostscriptName = 6 KFontPreferredFamilyName = 16 KFontPreferredSubfamilyName = 17 KFontPunjabiLanguage = 70 KFontQuechuaLanguage = 132 KFontRSymbolScript = 8 KFontReservedPlatform = 2 KFontRomanScript = 0 KFontRomanianLanguage = 37 KFontRuandaLanguage = 90 KFontRundiLanguage = 91 KFontRussian = 7 KFontRussianLanguage = 32 KFontSaamiskLanguage = 29 KFontSampleTextName = 19 KFontSanskritLanguage = 65 KFontSerbianLanguage = 42 KFontSimpChineseLanguage = 33 KFontSimpleChineseScript = 25 KFontSindhiLanguage = 62 KFontSindhiScript = 31 KFontSinhaleseLanguage = 76 KFontSinhaleseScript = 18 KFontSlavicScript = 29 KFontSlovakLanguage = 39 KFontSlovenianLanguage = 40 KFontSomaliLanguage = 88 KFontSpanishLanguage = 6 KFontStyleName = 2 KFontSundaneseRomLanguage = 139 KFontSwahiliLanguage = 89 KFontSwedishLanguage = 5 KFontTagalogLanguage = 82 KFontTajikiLanguage = 55 KFontTamilLanguage = 74 KFontTamilScript = 14 KFontTatarLanguage = 135 KFontTeluguLanguage = 75 KFontTeluguScript = 15 KFontThaiLanguage = 22 KFontThaiScript = 21 KFontTibetanLanguage = 63 KFontTibetanScript = 26 KFontTigrinyaLanguage = 86 KFontTradChineseLanguage = 19 KFontTrademarkName = 7 KFontTraditionalChineseScript = 2 KFontTurkishLanguage = 17 KFontTurkmenLanguage = 56 KFontUighurLanguage = 136 KFontUkrainianLanguage = 45 KFontUnicodeDefaultSemantics = 0 KFontUnicodePlatform = 0 KFontUnicodeV1_1Semantics = 1 KFontUnicodeV2_0BMPOnlySemantics = 3 KFontUnicodeV2_0FullCoverageSemantics = 4 KFontUnicodeV4_0VariationSequenceSemantics = 5 KFontUnicode_FullRepertoire = 6 KFontUninterpretedScript = 32 KFontUniqueName = 3 KFontUrduLanguage = 20 KFontUzbekLanguage = 47 KFontVendorURLName = 11 KFontVersionName = 5 KFontVietnameseLanguage = 80 KFontVietnameseScript = 30 KFontWelshLanguage = 128 KFontYiddishLanguage = 41 KFormInterrobangOffSelector = 7 KFormInterrobangOnSelector = 6 KFractionsType = 11 KFullWidthCJKRomanSelector = 3 KFullWidthIdeographsSelector = 0 KFullWidthKanaSelector = 0 KHalfWidthCJKRomanSelector = 0 KHalfWidthIdeographsSelector = 2 KHalfWidthTextSelector = 2 KHanjaToHangulAltOneSelector = 7 KHanjaToHangulAltThreeSelector = 9 KHanjaToHangulAltTwoSelector = 8 KHanjaToHangulSelector = 1 KHideDiacriticsSelector = 1 KHiraganaToKatakanaSelector = 2 KHistoricalLigaturesOffSelector = 21 KHistoricalLigaturesOnSelector = 20 KHojoCharactersSelector = 12 KHyphenToEnDashOffSelector = 3 KHyphenToEnDashOnSelector = 2 KHyphenToMinusOffSelector = 1 KHyphenToMinusOnSelector = 0 KHyphensToEmDashOffSelector = 1 KHyphensToEmDashOnSelector = 0 KIdeographicAltFiveSelector = 5 KIdeographicAltFourSelector = 4 KIdeographicAltOneSelector = 1 KIdeographicAltThreeSelector = 3 KIdeographicAltTwoSelector = 2 KIdeographicAlternativesType = 30 KIdeographicSpacingType = 26 KIlluminatedCapsSelector = 3 KInequalityLigaturesOffSelector = 7 KInequalityLigaturesOnSelector = 6 KInferiorsSelector = 2 KInitialCapsAndSmallCapsSelector = 5 KInitialCapsSelector = 4 KInternationalSymbolsSelector = 5 KInvertedBoxAnnotationSelector = 9 KInvertedCircleAnnotationSelector = 4 KInvertedRoundedBoxAnnotationSelector = 10 KItalicCJKRomanType = 32 KJIS1978CharactersSelector = 2 KJIS1983CharactersSelector = 3 KJIS1990CharactersSelector = 4 KJIS2004CharactersSelector = 11 KJUSTCurrentVersion = 65536 KJUSTKashidaPriority = 0 KJUSTLetterPriority = 2 KJUSTNullPriority = 3 KJUSTOverrideLimits = 16384 KJUSTOverridePriority = 32768 KJUSTOverrideUnlimited = 8192 KJUSTPriorityCount = 4 KJUSTPriorityMask = 3 KJUSTSpacePriority = 1 KJUSTStandardFormat = 0 KJUSTTag = 1786082164 KJUSTUnlimited = 4096 KJUSTnoGlyphcode = 65535 KJUSTpcConditionalAddAction = 2 KJUSTpcDecompositionAction = 0 KJUSTpcDuctilityAction = 4 KJUSTpcGlyphRepeatAddAction = 5 KJUSTpcGlyphStretchAction = 3 KJUSTpcUnconditionalAddAction = 1 KKERNCrossStream = 16384 KKERNCrossStreamResetNote = 2 KKERNCurrentVersion = 65536 KKERNFormatMask = 255 KKERNIndexArray = 3 KKERNLineEndKerning = 2 KKERNLineStart = 1 KKERNNoCrossKerning = 4 KKERNNoStakeNote = 1 KKERNNotApplied = 1 KKERNNotesRequested = 8 KKERNOrderedList = 0 KKERNResetCrossStream = 32768 KKERNSimpleArray = 2 KKERNStateTable = 1 KKERNTag = 1801810542 KKERNUnusedBits = 7936 KKERNVariation = 8192 KKERNVertical = 32768 KKERXActionOffsetMask = 16777215 KKERXActionTypeAnchorPoints = 1073741824 KKERXActionTypeControlPoints = 0 KKERXActionTypeCoordinates = 2147483648 KKERXActionTypeMask = 3221225472 KKERXControlPoint = 4 KKERXCrossStream = 1073741824 KKERXCrossStreamResetNote = 2 KKERXCurrentVersion = 131072 KKERXDescending = 268435456 KKERXFormatMask = 255 KKERXIndexArray = 6 KKERXLineEndKerning = 2 KKERXLineStart = 1 KKERXNoCrossKerning = 4 KKERXNoStakeNote = 1 KKERXNotApplied = 1 KKERXNotesRequested = 8 KKERXOrderedList = 0 KKERXResetCrossStream = 32768 KKERXSimpleArray = 2 KKERXStateTable = 1 KKERXTag = 1801810552 KKERXUnusedBits = 268435200 KKERXUnusedFlags = 1056964608 KKERXValuesAreLong = 1 KKERXVariation = 536870912 KKERXVertical = -2147483648 KKanaSpacingType = 25 KKanaToRomanizationSelector = 4 KKatakanaToHiraganaSelector = 3 KLCARCtlPointFormat = 1 KLCARCurrentVersion = 65536 KLCARLinearFormat = 0 KLCARTag = 1818452338 KLTAGCurrentVersion = 1 KLanguageTagType = 39 KLastFeatureType = -1 KLetterCaseType = 3 KLigaturesType = 1 KLineFinalSwashesOffSelector = 7 KLineFinalSwashesOnSelector = 6 KLineInitialSwashesOffSelector = 5 KLineInitialSwashesOnSelector = 4 KLinguisticRearrangementOffSelector = 1 KLinguisticRearrangementOnSelector = 0 KLinguisticRearrangementType = 5 KLogosOffSelector = 7 KLogosOnSelector = 6 KLowerCaseNumbersSelector = 0 KLowerCasePetiteCapsSelector = 2 KLowerCaseSmallCapsSelector = 1 KLowerCaseType = 37 KMORTContextualType = 1 KMORTCoverDescending = 16384 KMORTCoverIgnoreVertical = 8192 KMORTCoverTypeMask = 15 KMORTCoverVertical = 32768 KMORTCurrInsertBefore = 2048 KMORTCurrInsertCountMask = 992 KMORTCurrInsertCountShift = 5 KMORTCurrInsertKashidaLike = 8192 KMORTCurrJustTableCountMask = 127 KMORTCurrJustTableCountShift = 0 KMORTCurrentVersion = 65536 KMORTDoInsertionsBefore = 128 KMORTInsertionType = 5 KMORTInsertionsCountMask = 63 KMORTIsSplitVowelPiece = 64 KMORTLigFormOffsetMask = 1073741823 KMORTLigFormOffsetShift = 2 KMORTLigLastAction = -2147483648 KMORTLigStoreLigature = 1073741824 KMORTLigatureType = 2 KMORTMarkInsertBefore = 1024 KMORTMarkInsertCountMask = 31 KMORTMarkInsertCountShift = 0 KMORTMarkInsertKashidaLike = 4096 KMORTMarkJustTableCountMask = 16256 KMORTMarkJustTableCountShift = 7 KMORTRearrangementType = 0 KMORTSwashType = 4 KMORTTag = 1836020340 KMORTraCDx = 6 KMORTraCDxA = 8 KMORTraCDxAB = 12 KMORTraCDxBA = 13 KMORTraDCx = 7 KMORTraDCxA = 9 KMORTraDCxAB = 14 KMORTraDCxBA = 15 KMORTraDx = 2 KMORTraDxA = 3 KMORTraDxAB = 10 KMORTraDxBA = 11 KMORTraNoAction = 0 KMORTraxA = 1 KMORTraxAB = 4 KMORTraxBA = 5 KMORXCoverDescending = 1073741824 KMORXCoverIgnoreVertical = 536870912 KMORXCoverLogicalOrder = 268435456 KMORXCoverTypeMask = 255 KMORXCoverVertical = -2147483648 KMORXCurrentVersion = 131072 KMORXTag = 1836020344 KMathSymbolsSelector = 6 KMathematicalExtrasType = 15 KMathematicalGreekOffSelector = 11 KMathematicalGreekOnSelector = 10 KMonospacedNumbersSelector = 0 KMonospacedTextSelector = 1 KNLCCharactersSelector = 13 KNoAlternatesSelector = 0 KNoAnnotationSelector = 0 KNoCJKItalicRomanSelector = 0 KNoCJKSymbolAlternativesSelector = 0 KNoFractionsSelector = 0 KNoIdeographicAlternativesSelector = 0 KNoOrnamentsSelector = 0 KNoRubyKanaSelector = 0 KNoStyleOptionsSelector = 0 KNoStylisticAlternatesSelector = 0 KNoTransliterationSelector = 0 KNonFinalSwashesOffSelector = 9 KNonFinalSwashesOnSelector = 8 KNormalPositionSelector = 0 KNumberCaseType = 21 KNumberSpacingType = 6 KOPBDControlPointFormat = 1 KOPBDCurrentVersion = 65536 KOPBDDistanceFormat = 0 KOPBDTag = 1869636196 KOrdinalsSelector = 3 KOrnamentSetsType = 16 KOverlappingCharactersType = 13 KPROPALDirectionClass = 2 KPROPANDirectionClass = 6 KPROPBNDirectionClass = 19 KPROPCSDirectionClass = 7 KPROPCanHangLTMask = 16384 KPROPCanHangRBMask = 8192 KPROPCurrentVersion = 196608 KPROPDirectionMask = 31 KPROPENDirectionClass = 3 KPROPESDirectionClass = 4 KPROPETDirectionClass = 5 KPROPIsFloaterMask = 32768 KPROPLDirectionClass = 0 KPROPLREDirectionClass = 13 KPROPLRODirectionClass = 14 KPROPNSMDirectionClass = 18 KPROPNumDirectionClasses = 20 KPROPONDirectionClass = 11 KPROPPDFDirectionClass = 17 KPROPPSDirectionClass = 8 KPROPPairOffsetMask = 3840 KPROPPairOffsetShift = 8 KPROPPairOffsetSign = 7 KPROPRDirectionClass = 1 KPROPRLEDirectionClass = 15 KPROPRLODirectionClass = 16 KPROPRightConnectMask = 128 KPROPSDirectionClass = 9 KPROPSENDirectionClass = 12 KPROPTag = 1886547824 KPROPUseRLPairMask = 4096 KPROPWSDirectionClass = 10 KPROPZeroReserved = 96 KParenthesisAnnotationSelector = 5 KPartiallyConnectedSelector = 1 KPeriodAnnotationSelector = 6 KPeriodsToEllipsisOffSelector = 11 KPeriodsToEllipsisOnSelector = 10 KPiCharactersSelector = 2 KPreventOverlapOffSelector = 1 KPreventOverlapOnSelector = 0 KProportionalCJKRomanSelector = 1 KProportionalIdeographsSelector = 1 KProportionalKanaSelector = 1 KProportionalNumbersSelector = 1 KProportionalTextSelector = 0 KQuarterWidthNumbersSelector = 3 KQuarterWidthTextSelector = 4 KRareLigaturesOffSelector = 5 KRareLigaturesOnSelector = 4 KRebusPicturesOffSelector = 9 KRebusPicturesOnSelector = 8 KRequiredLigaturesOffSelector = 1 KRequiredLigaturesOnSelector = 0 KRomanNumeralAnnotationSelector = 7 KRomanizationToHiraganaSelector = 5 KRomanizationToKatakanaSelector = 6 KRoundedBoxAnnotationSelector = 2 KRubyKanaOffSelector = 3 KRubyKanaOnSelector = 2 KRubyKanaSelector = 1 KRubyKanaType = 28 KSFNTLookupSegmentArray = 4 KSFNTLookupSegmentSingle = 2 KSFNTLookupSimpleArray = 0 KSFNTLookupSingleTable = 6 KSFNTLookupTrimmedArray = 8 KSFNTLookupVector = 10 KSTClassDeletedGlyph = 2 KSTClassEndOfLine = 3 KSTClassEndOfText = 0 KSTClassOutOfBounds = 1 KSTKCrossStreamReset = 8192 KSTLigActionMask = 16383 KSTMarkEnd = 8192 KSTNoAdvance = 16384 KSTRearrVerbMask = 15 KSTSetMark = 32768 KSTXHasLigAction = 8192 KScientificInferiorsSelector = 4 KShowDiacriticsSelector = 0 KSimplifiedCharactersSelector = 1 KSlashToDivideOffSelector = 5 KSlashToDivideOnSelector = 4 KSlashedZeroOffSelector = 5 KSlashedZeroOnSelector = 4 KSmallCapsSelector = 3 KSmartQuotesOffSelector = 9 KSmartQuotesOnSelector = 8 KSmartSwashType = 8 KSquaredLigaturesOffSelector = 13 KSquaredLigaturesOnSelector = 12 KStyleOptionsType = 19 KStylisticAltEightOffSelector = 17 KStylisticAltEightOnSelector = 16 KStylisticAltEighteenOffSelector = 37 KStylisticAltEighteenOnSelector = 36 KStylisticAltElevenOffSelector = 23 KStylisticAltElevenOnSelector = 22 KStylisticAltFifteenOffSelector = 31 KStylisticAltFifteenOnSelector = 30 KStylisticAltFiveOffSelector = 11 KStylisticAltFiveOnSelector = 10 KStylisticAltFourOffSelector = 9 KStylisticAltFourOnSelector = 8 KStylisticAltFourteenOffSelector = 29 KStylisticAltFourteenOnSelector = 28 KStylisticAltNineOffSelector = 19 KStylisticAltNineOnSelector = 18 KStylisticAltNineteenOffSelector = 39 KStylisticAltNineteenOnSelector = 38 KStylisticAltOneOffSelector = 3 KStylisticAltOneOnSelector = 2 KStylisticAltSevenOffSelector = 15 KStylisticAltSevenOnSelector = 14 KStylisticAltSeventeenOffSelector = 35 KStylisticAltSeventeenOnSelector = 34 KStylisticAltSixOffSelector = 13 KStylisticAltSixOnSelector = 12 KStylisticAltSixteenOffSelector = 33 KStylisticAltSixteenOnSelector = 32 KStylisticAltTenOffSelector = 21 KStylisticAltTenOnSelector = 20 KStylisticAltThirteenOffSelector = 27 KStylisticAltThirteenOnSelector = 26 KStylisticAltThreeOffSelector = 7 KStylisticAltThreeOnSelector = 6 KStylisticAltTwelveOffSelector = 25 KStylisticAltTwelveOnSelector = 24 KStylisticAltTwentyOffSelector = 41 KStylisticAltTwentyOnSelector = 40 KStylisticAltTwoOffSelector = 5 KStylisticAltTwoOnSelector = 4 KStylisticAlternativesType = 35 KSubstituteVerticalFormsOffSelector = 1 KSubstituteVerticalFormsOnSelector = 0 KSuperiorsSelector = 1 KSwashAlternatesOffSelector = 3 KSwashAlternatesOnSelector = 2 KSymbolLigaturesOffSelector = 17 KSymbolLigaturesOnSelector = 16 KTRAKCurrentVersion = 65536 KTRAKTag = 1953653099 KTRAKUniformFormat = 0 KTallCapsSelector = 5 KTextSpacingType = 22 KThirdWidthNumbersSelector = 2 KThirdWidthTextSelector = 3 KTitlingCapsSelector = 4 KTraditionalAltFiveSelector = 9 KTraditionalAltFourSelector = 8 KTraditionalAltOneSelector = 5 KTraditionalAltThreeSelector = 7 KTraditionalAltTwoSelector = 6 KTraditionalCharactersSelector = 0 KTraditionalNamesCharactersSelector = 14 KTranscodingCompositionOffSelector = 5 KTranscodingCompositionOnSelector = 4 KTransliterationType = 23 KTypographicExtrasType = 14 KUnconnectedSelector = 0 KUnicodeDecompositionType = 27 KUpperAndLowerCaseSelector = 0 KUpperCaseNumbersSelector = 1 KUpperCasePetiteCapsSelector = 2 KUpperCaseSmallCapsSelector = 1 KUpperCaseType = 38 KVerticalFractionsSelector = 1 KVerticalPositionType = 10 KVerticalSubstitutionType = 4 KWordFinalSwashesOffSelector = 3 KWordFinalSwashesOnSelector = 2 KWordInitialSwashesOffSelector = 1 KWordInitialSwashesOnSelector = 0 NameFontTableTag = 1851878757 NonGlyphID = 65535 Os2FontTableTag = 1330851634 Sizeof_sfntCMapEncoding = 8 Sizeof_sfntCMapExtendedSubHeader = 12 Sizeof_sfntCMapHeader = 4 Sizeof_sfntCMapSubHeader = 6 Sizeof_sfntDescriptorHeader = 8 Sizeof_sfntDirectory = 12 Sizeof_sfntInstance = 4 Sizeof_sfntNameHeader = 6 Sizeof_sfntNameRecord = 12 Sizeof_sfntVariationAxis = 20 Sizeof_sfntVariationHeader = 16 VariationFontTableTag = 1719034226 )
Variables ¶
This section is empty.
Functions ¶
func CTFontCollectionCopyExclusionDescriptors ¶
CTFontCollectionCopyExclusionDescriptors calls the CoreText framework function CTFontCollectionCopyExclusionDescriptors.
func CTFontCollectionCopyFontAttribute ¶
func CTFontCollectionCopyFontAttribute(collection obj.Object, attributeName obj.Object, options CTFontCollectionCopyOptions) obj.Object
CTFontCollectionCopyFontAttribute calls the CoreText framework function CTFontCollectionCopyFontAttribute.
func CTFontCollectionCopyFontAttributes ¶
func CTFontCollectionCopyFontAttributes(collection obj.Object, attributeNames obj.Object, options CTFontCollectionCopyOptions) obj.Object
CTFontCollectionCopyFontAttributes calls the CoreText framework function CTFontCollectionCopyFontAttributes.
func CTFontCollectionCopyQueryDescriptors ¶
CTFontCollectionCopyQueryDescriptors calls the CoreText framework function CTFontCollectionCopyQueryDescriptors.
func CTFontCollectionCreateCopyWithFontDescriptors ¶
func CTFontCollectionCreateCopyWithFontDescriptors(original obj.Object, queryDescriptors obj.Object, options obj.Object) obj.Object
CTFontCollectionCreateCopyWithFontDescriptors calls the CoreText framework function CTFontCollectionCreateCopyWithFontDescriptors.
func CTFontCollectionCreateFromAvailableFonts ¶
CTFontCollectionCreateFromAvailableFonts calls the CoreText framework function CTFontCollectionCreateFromAvailableFonts.
func CTFontCollectionCreateMatchingFontDescriptors ¶
CTFontCollectionCreateMatchingFontDescriptors calls the CoreText framework function CTFontCollectionCreateMatchingFontDescriptors.
func CTFontCollectionCreateMatchingFontDescriptorsForFamily ¶
func CTFontCollectionCreateMatchingFontDescriptorsForFamily(collection obj.Object, familyName obj.Object, options obj.Object) obj.Object
CTFontCollectionCreateMatchingFontDescriptorsForFamily calls the CoreText framework function CTFontCollectionCreateMatchingFontDescriptorsForFamily.
func CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback ¶
func CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(collection obj.Object, sortCallback unsafe.Pointer, refCon unsafe.Pointer) obj.Object
CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback calls the CoreText framework function CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback.
func CTFontCollectionCreateMatchingFontDescriptorsWithOptions ¶
func CTFontCollectionCreateMatchingFontDescriptorsWithOptions(collection obj.Object, options obj.Object) obj.Object
CTFontCollectionCreateMatchingFontDescriptorsWithOptions calls the CoreText framework function CTFontCollectionCreateMatchingFontDescriptorsWithOptions.
func CTFontCollectionCreateMutableCopy ¶
CTFontCollectionCreateMutableCopy calls the CoreText framework function CTFontCollectionCreateMutableCopy.
func CTFontCollectionCreateWithFontDescriptors ¶
func CTFontCollectionCreateWithFontDescriptors(queryDescriptors obj.Object, options obj.Object) obj.Object
CTFontCollectionCreateWithFontDescriptors calls the CoreText framework function CTFontCollectionCreateWithFontDescriptors.
func CTFontCollectionGetTypeID ¶
func CTFontCollectionGetTypeID() int
CTFontCollectionGetTypeID calls the CoreText framework function CTFontCollectionGetTypeID.
func CTFontCollectionSetExclusionDescriptors ¶
CTFontCollectionSetExclusionDescriptors calls the CoreText framework function CTFontCollectionSetExclusionDescriptors.
func CTFontCollectionSetQueryDescriptors ¶
CTFontCollectionSetQueryDescriptors calls the CoreText framework function CTFontCollectionSetQueryDescriptors.
func CTFontCopyAttribute ¶
CTFontCopyAttribute calls the CoreText framework function CTFontCopyAttribute.
func CTFontCopyAvailableTables ¶
func CTFontCopyAvailableTables(font obj.Object, options CTFontTableOptions) obj.Object
CTFontCopyAvailableTables calls the CoreText framework function CTFontCopyAvailableTables.
func CTFontCopyCharacterSet ¶
CTFontCopyCharacterSet calls the CoreText framework function CTFontCopyCharacterSet.
func CTFontCopyDefaultCascadeListForLanguages ¶
func CTFontCopyDefaultCascadeListForLanguages(font obj.Object, languagePrefList obj.Object) obj.Object
CTFontCopyDefaultCascadeListForLanguages calls the CoreText framework function CTFontCopyDefaultCascadeListForLanguages.
func CTFontCopyDisplayName ¶
CTFontCopyDisplayName calls the CoreText framework function CTFontCopyDisplayName.
func CTFontCopyFamilyName ¶
CTFontCopyFamilyName calls the CoreText framework function CTFontCopyFamilyName.
func CTFontCopyFeatureSettings ¶
CTFontCopyFeatureSettings calls the CoreText framework function CTFontCopyFeatureSettings.
func CTFontCopyFeatures ¶
CTFontCopyFeatures calls the CoreText framework function CTFontCopyFeatures.
func CTFontCopyFontDescriptor ¶
CTFontCopyFontDescriptor calls the CoreText framework function CTFontCopyFontDescriptor.
func CTFontCopyFullName ¶
CTFontCopyFullName calls the CoreText framework function CTFontCopyFullName.
func CTFontCopyGraphicsFont ¶
CTFontCopyGraphicsFont calls the CoreText framework function CTFontCopyGraphicsFont.
func CTFontCopyLocalizedName ¶
func CTFontCopyLocalizedName(font obj.Object, nameKey obj.Object, actualLanguage unsafe.Pointer) obj.Object
CTFontCopyLocalizedName calls the CoreText framework function CTFontCopyLocalizedName.
func CTFontCopyName ¶
CTFontCopyName calls the CoreText framework function CTFontCopyName.
func CTFontCopyNameForGlyph ¶
CTFontCopyNameForGlyph calls the CoreText framework function CTFontCopyNameForGlyph.
func CTFontCopyPostScriptName ¶
CTFontCopyPostScriptName calls the CoreText framework function CTFontCopyPostScriptName.
func CTFontCopySupportedLanguages ¶
CTFontCopySupportedLanguages calls the CoreText framework function CTFontCopySupportedLanguages.
func CTFontCopyTable ¶
CTFontCopyTable calls the CoreText framework function CTFontCopyTable.
func CTFontCopyTraits ¶
CTFontCopyTraits calls the CoreText framework function CTFontCopyTraits.
func CTFontCopyVariation ¶
CTFontCopyVariation calls the CoreText framework function CTFontCopyVariation.
func CTFontCopyVariationAxes ¶
CTFontCopyVariationAxes calls the CoreText framework function CTFontCopyVariationAxes.
func CTFontCreateCopyWithAttributes ¶
func CTFontCreateCopyWithAttributes(font obj.Object, size float64, matrix unsafe.Pointer, attributes obj.Object) obj.Object
CTFontCreateCopyWithAttributes calls the CoreText framework function CTFontCreateCopyWithAttributes.
func CTFontCreateCopyWithFamily ¶
func CTFontCreateCopyWithFamily(font obj.Object, size float64, matrix unsafe.Pointer, family obj.Object) obj.Object
CTFontCreateCopyWithFamily calls the CoreText framework function CTFontCreateCopyWithFamily.
func CTFontCreateCopyWithSymbolicTraits ¶
func CTFontCreateCopyWithSymbolicTraits(font obj.Object, size float64, matrix unsafe.Pointer, symTraitValue CTFontSymbolicTraits, symTraitMask CTFontSymbolicTraits) obj.Object
CTFontCreateCopyWithSymbolicTraits calls the CoreText framework function CTFontCreateCopyWithSymbolicTraits.
func CTFontCreateForString ¶
func CTFontCreateForString(currentFont obj.Object, str obj.Object, range_ corefoundation.CFRange) obj.Object
CTFontCreateForString calls the CoreText framework function CTFontCreateForString.
func CTFontCreateForStringWithLanguage ¶
func CTFontCreateForStringWithLanguage(currentFont obj.Object, str obj.Object, range_ corefoundation.CFRange, language obj.Object) obj.Object
CTFontCreateForStringWithLanguage calls the CoreText framework function CTFontCreateForStringWithLanguage.
func CTFontCreatePathForGlyph ¶
CTFontCreatePathForGlyph calls the CoreText framework function CTFontCreatePathForGlyph.
func CTFontCreateUIFontForLanguage ¶
func CTFontCreateUIFontForLanguage(uiType CTFontUIFontType, size float64, language obj.Object) obj.Object
CTFontCreateUIFontForLanguage calls the CoreText framework function CTFontCreateUIFontForLanguage.
func CTFontCreateWithFontDescriptor ¶
func CTFontCreateWithFontDescriptor(descriptor obj.Object, size float64, matrix unsafe.Pointer) obj.Object
CTFontCreateWithFontDescriptor calls the CoreText framework function CTFontCreateWithFontDescriptor.
func CTFontCreateWithFontDescriptorAndOptions ¶
func CTFontCreateWithFontDescriptorAndOptions(descriptor obj.Object, size float64, matrix unsafe.Pointer, options CTFontOptions) obj.Object
CTFontCreateWithFontDescriptorAndOptions calls the CoreText framework function CTFontCreateWithFontDescriptorAndOptions.
func CTFontCreateWithGraphicsFont ¶
func CTFontCreateWithGraphicsFont(graphicsFont obj.Object, size float64, matrix unsafe.Pointer, attributes obj.Object) obj.Object
CTFontCreateWithGraphicsFont calls the CoreText framework function CTFontCreateWithGraphicsFont.
func CTFontCreateWithName ¶
CTFontCreateWithName calls the CoreText framework function CTFontCreateWithName.
func CTFontCreateWithNameAndOptions ¶
func CTFontCreateWithNameAndOptions(name obj.Object, size float64, matrix unsafe.Pointer, options CTFontOptions) obj.Object
CTFontCreateWithNameAndOptions calls the CoreText framework function CTFontCreateWithNameAndOptions.
func CTFontCreateWithPlatformFont ¶
func CTFontCreateWithPlatformFont(platformFont int, size float64, matrix unsafe.Pointer, attributes obj.Object) obj.Object
CTFontCreateWithPlatformFont calls the CoreText framework function CTFontCreateWithPlatformFont.
func CTFontCreateWithQuickdrawInstance ¶
func CTFontCreateWithQuickdrawInstance(identifier int16, style uint8, size float64) (result obj.Object, name uint8)
CTFontCreateWithQuickdrawInstance calls the CoreText framework function CTFontCreateWithQuickdrawInstance.
func CTFontDescriptorCopyAttribute ¶
CTFontDescriptorCopyAttribute calls the CoreText framework function CTFontDescriptorCopyAttribute.
func CTFontDescriptorCopyAttributes ¶
CTFontDescriptorCopyAttributes calls the CoreText framework function CTFontDescriptorCopyAttributes.
func CTFontDescriptorCopyLocalizedAttribute ¶
func CTFontDescriptorCopyLocalizedAttribute(descriptor obj.Object, attribute obj.Object, language unsafe.Pointer) obj.Object
CTFontDescriptorCopyLocalizedAttribute calls the CoreText framework function CTFontDescriptorCopyLocalizedAttribute.
func CTFontDescriptorCreateCopyWithAttributes ¶
func CTFontDescriptorCreateCopyWithAttributes(original obj.Object, attributes obj.Object) obj.Object
CTFontDescriptorCreateCopyWithAttributes calls the CoreText framework function CTFontDescriptorCreateCopyWithAttributes.
func CTFontDescriptorCreateCopyWithFamily ¶
CTFontDescriptorCreateCopyWithFamily calls the CoreText framework function CTFontDescriptorCreateCopyWithFamily.
func CTFontDescriptorCreateCopyWithFeature ¶
func CTFontDescriptorCreateCopyWithFeature(original obj.Object, featureTypeIdentifier obj.Object, featureSelectorIdentifier obj.Object) obj.Object
CTFontDescriptorCreateCopyWithFeature calls the CoreText framework function CTFontDescriptorCreateCopyWithFeature.
func CTFontDescriptorCreateCopyWithSymbolicTraits ¶
func CTFontDescriptorCreateCopyWithSymbolicTraits(original obj.Object, symTraitValue CTFontSymbolicTraits, symTraitMask CTFontSymbolicTraits) obj.Object
CTFontDescriptorCreateCopyWithSymbolicTraits calls the CoreText framework function CTFontDescriptorCreateCopyWithSymbolicTraits.
func CTFontDescriptorCreateCopyWithVariation ¶
func CTFontDescriptorCreateCopyWithVariation(original obj.Object, variationIdentifier obj.Object, variationValue float64) obj.Object
CTFontDescriptorCreateCopyWithVariation calls the CoreText framework function CTFontDescriptorCreateCopyWithVariation.
func CTFontDescriptorCreateMatchingFontDescriptor ¶
func CTFontDescriptorCreateMatchingFontDescriptor(descriptor obj.Object, mandatoryAttributes obj.Object) obj.Object
CTFontDescriptorCreateMatchingFontDescriptor calls the CoreText framework function CTFontDescriptorCreateMatchingFontDescriptor.
func CTFontDescriptorCreateMatchingFontDescriptors ¶
func CTFontDescriptorCreateMatchingFontDescriptors(descriptor obj.Object, mandatoryAttributes obj.Object) obj.Object
CTFontDescriptorCreateMatchingFontDescriptors calls the CoreText framework function CTFontDescriptorCreateMatchingFontDescriptors.
func CTFontDescriptorCreateWithAttributes ¶
CTFontDescriptorCreateWithAttributes calls the CoreText framework function CTFontDescriptorCreateWithAttributes.
func CTFontDescriptorCreateWithNameAndSize ¶
CTFontDescriptorCreateWithNameAndSize calls the CoreText framework function CTFontDescriptorCreateWithNameAndSize.
func CTFontDescriptorGetTypeID ¶
func CTFontDescriptorGetTypeID() int
CTFontDescriptorGetTypeID calls the CoreText framework function CTFontDescriptorGetTypeID.
func CTFontDescriptorMatchFontDescriptorsWithProgressHandler ¶
func CTFontDescriptorMatchFontDescriptorsWithProgressHandler(descriptors obj.Object, mandatoryAttributes obj.Object, progressBlock unsafe.Pointer) bool
CTFontDescriptorMatchFontDescriptorsWithProgressHandler calls the CoreText framework function CTFontDescriptorMatchFontDescriptorsWithProgressHandler.
func CTFontDrawGlyphs ¶
func CTFontDrawGlyphs(font obj.Object, positions unsafe.Pointer, count int, context_ obj.Object) (glyphs uint16)
CTFontDrawGlyphs calls the CoreText framework function CTFontDrawGlyphs.
func CTFontDrawImageFromAdaptiveImageProviderAtPoint ¶
func CTFontDrawImageFromAdaptiveImageProviderAtPoint(font obj.Object, provider unsafe.Pointer, point corefoundation.CGPoint, context_ obj.Object)
CTFontDrawImageFromAdaptiveImageProviderAtPoint calls the CoreText framework function CTFontDrawImageFromAdaptiveImageProviderAtPoint.
func CTFontGetAdvancesForGlyphs ¶
func CTFontGetAdvancesForGlyphs(font obj.Object, orientation CTFontOrientation, advances unsafe.Pointer, count int) (result float64, glyphs uint16)
CTFontGetAdvancesForGlyphs calls the CoreText framework function CTFontGetAdvancesForGlyphs.
func CTFontGetAscent ¶
CTFontGetAscent calls the CoreText framework function CTFontGetAscent.
func CTFontGetBoundingBox ¶
func CTFontGetBoundingBox(font obj.Object) corefoundation.CGRect
CTFontGetBoundingBox calls the CoreText framework function CTFontGetBoundingBox.
func CTFontGetBoundingRectsForGlyphs ¶
func CTFontGetBoundingRectsForGlyphs(font obj.Object, orientation CTFontOrientation, boundingRects unsafe.Pointer, count int) (result corefoundation.CGRect, glyphs uint16)
CTFontGetBoundingRectsForGlyphs calls the CoreText framework function CTFontGetBoundingRectsForGlyphs.
func CTFontGetCapHeight ¶
CTFontGetCapHeight calls the CoreText framework function CTFontGetCapHeight.
func CTFontGetDescent ¶
CTFontGetDescent calls the CoreText framework function CTFontGetDescent.
func CTFontGetGlyphCount ¶
CTFontGetGlyphCount calls the CoreText framework function CTFontGetGlyphCount.
func CTFontGetGlyphWithName ¶
CTFontGetGlyphWithName calls the CoreText framework function CTFontGetGlyphWithName.
func CTFontGetGlyphsForCharacters ¶
func CTFontGetGlyphsForCharacters(font obj.Object, glyphs unsafe.Pointer, count int) (ok bool, characters uint16)
CTFontGetGlyphsForCharacters calls the CoreText framework function CTFontGetGlyphsForCharacters.
func CTFontGetLeading ¶
CTFontGetLeading calls the CoreText framework function CTFontGetLeading.
func CTFontGetLigatureCaretPositions ¶
func CTFontGetLigatureCaretPositions(font obj.Object, glyph uint16, maxPositions int) (result int, positions float64)
CTFontGetLigatureCaretPositions calls the CoreText framework function CTFontGetLigatureCaretPositions.
func CTFontGetMatrix ¶
func CTFontGetMatrix(font obj.Object) corefoundation.CGAffineTransform
CTFontGetMatrix calls the CoreText framework function CTFontGetMatrix.
func CTFontGetOpticalBoundsForGlyphs ¶
func CTFontGetOpticalBoundsForGlyphs(font obj.Object, boundingRects unsafe.Pointer, count int, options int) (result corefoundation.CGRect, glyphs uint16)
CTFontGetOpticalBoundsForGlyphs calls the CoreText framework function CTFontGetOpticalBoundsForGlyphs.
func CTFontGetPlatformFont ¶
CTFontGetPlatformFont calls the CoreText framework function CTFontGetPlatformFont.
func CTFontGetSize ¶
CTFontGetSize calls the CoreText framework function CTFontGetSize.
func CTFontGetSlantAngle ¶
CTFontGetSlantAngle calls the CoreText framework function CTFontGetSlantAngle.
func CTFontGetStringEncoding ¶
CTFontGetStringEncoding calls the CoreText framework function CTFontGetStringEncoding.
func CTFontGetTypeID ¶
func CTFontGetTypeID() int
CTFontGetTypeID calls the CoreText framework function CTFontGetTypeID.
func CTFontGetTypographicBoundsForAdaptiveImageProvider ¶
func CTFontGetTypographicBoundsForAdaptiveImageProvider(font obj.Object, provider unsafe.Pointer) corefoundation.CGRect
CTFontGetTypographicBoundsForAdaptiveImageProvider calls the CoreText framework function CTFontGetTypographicBoundsForAdaptiveImageProvider.
func CTFontGetUnderlinePosition ¶
CTFontGetUnderlinePosition calls the CoreText framework function CTFontGetUnderlinePosition.
func CTFontGetUnderlineThickness ¶
CTFontGetUnderlineThickness calls the CoreText framework function CTFontGetUnderlineThickness.
func CTFontGetUnitsPerEm ¶
CTFontGetUnitsPerEm calls the CoreText framework function CTFontGetUnitsPerEm.
func CTFontGetVerticalTranslationsForGlyphs ¶
func CTFontGetVerticalTranslationsForGlyphs(font obj.Object, translations unsafe.Pointer, count int) (glyphs uint16)
CTFontGetVerticalTranslationsForGlyphs calls the CoreText framework function CTFontGetVerticalTranslationsForGlyphs.
func CTFontGetXHeight ¶
CTFontGetXHeight calls the CoreText framework function CTFontGetXHeight.
func CTFontHasTable ¶
CTFontHasTable calls the CoreText framework function CTFontHasTable.
func CTFontManagerCompareFontFamilyNames ¶
func CTFontManagerCompareFontFamilyNames(family1 unsafe.Pointer, family2 unsafe.Pointer, context_ unsafe.Pointer) unsafe.Pointer
CTFontManagerCompareFontFamilyNames calls the CoreText framework function CTFontManagerCompareFontFamilyNames.
func CTFontManagerCopyAvailableFontFamilyNames ¶
CTFontManagerCopyAvailableFontFamilyNames calls the CoreText framework function CTFontManagerCopyAvailableFontFamilyNames.
func CTFontManagerCopyAvailableFontURLs ¶
CTFontManagerCopyAvailableFontURLs calls the CoreText framework function CTFontManagerCopyAvailableFontURLs.
func CTFontManagerCopyAvailablePostScriptNames ¶
CTFontManagerCopyAvailablePostScriptNames calls the CoreText framework function CTFontManagerCopyAvailablePostScriptNames.
func CTFontManagerCreateFontDescriptorFromData ¶
CTFontManagerCreateFontDescriptorFromData calls the CoreText framework function CTFontManagerCreateFontDescriptorFromData.
func CTFontManagerCreateFontDescriptorsFromData ¶
CTFontManagerCreateFontDescriptorsFromData calls the CoreText framework function CTFontManagerCreateFontDescriptorsFromData.
func CTFontManagerCreateFontDescriptorsFromURL ¶
CTFontManagerCreateFontDescriptorsFromURL calls the CoreText framework function CTFontManagerCreateFontDescriptorsFromURL.
func CTFontManagerCreateFontRequestRunLoopSource ¶
func CTFontManagerCreateFontRequestRunLoopSource(sourceOrder int, createMatchesCallback unsafe.Pointer) obj.Object
CTFontManagerCreateFontRequestRunLoopSource calls the CoreText framework function CTFontManagerCreateFontRequestRunLoopSource.
func CTFontManagerEnableFontDescriptors ¶
CTFontManagerEnableFontDescriptors calls the CoreText framework function CTFontManagerEnableFontDescriptors.
func CTFontManagerIsSupportedFont ¶
CTFontManagerIsSupportedFont calls the CoreText framework function CTFontManagerIsSupportedFont.
func CTFontManagerRegisterFontDescriptors ¶
func CTFontManagerRegisterFontDescriptors(fontDescriptors obj.Object, scope CTFontManagerScope, enabled bool, registrationHandler unsafe.Pointer)
CTFontManagerRegisterFontDescriptors calls the CoreText framework function CTFontManagerRegisterFontDescriptors.
func CTFontManagerRegisterFontURLs ¶
func CTFontManagerRegisterFontURLs(fontURLs obj.Object, scope CTFontManagerScope, enabled bool, registrationHandler unsafe.Pointer)
CTFontManagerRegisterFontURLs calls the CoreText framework function CTFontManagerRegisterFontURLs.
func CTFontManagerRegisterFontsForURL ¶
func CTFontManagerRegisterFontsForURL(fontURL obj.Object, scope CTFontManagerScope) error
func CTFontManagerRegisterFontsForURLs ¶
func CTFontManagerRegisterFontsForURLs(fontURLs obj.Object, scope CTFontManagerScope, errors_ unsafe.Pointer) bool
CTFontManagerRegisterFontsForURLs calls the CoreText framework function CTFontManagerRegisterFontsForURLs.
func CTFontManagerSetAutoActivationSetting ¶
func CTFontManagerSetAutoActivationSetting(bundleIdentifier obj.Object, setting CTFontManagerAutoActivationSetting)
CTFontManagerSetAutoActivationSetting calls the CoreText framework function CTFontManagerSetAutoActivationSetting.
func CTFontManagerUnregisterFontDescriptors ¶
func CTFontManagerUnregisterFontDescriptors(fontDescriptors obj.Object, scope CTFontManagerScope, registrationHandler unsafe.Pointer)
CTFontManagerUnregisterFontDescriptors calls the CoreText framework function CTFontManagerUnregisterFontDescriptors.
func CTFontManagerUnregisterFontURLs ¶
func CTFontManagerUnregisterFontURLs(fontURLs obj.Object, scope CTFontManagerScope, registrationHandler unsafe.Pointer)
CTFontManagerUnregisterFontURLs calls the CoreText framework function CTFontManagerUnregisterFontURLs.
func CTFontManagerUnregisterFontsForURL ¶
func CTFontManagerUnregisterFontsForURL(fontURL obj.Object, scope CTFontManagerScope) error
func CTFontManagerUnregisterFontsForURLs ¶
func CTFontManagerUnregisterFontsForURLs(fontURLs obj.Object, scope CTFontManagerScope, errors_ unsafe.Pointer) bool
CTFontManagerUnregisterFontsForURLs calls the CoreText framework function CTFontManagerUnregisterFontsForURLs.
func CTFrameDraw ¶
CTFrameDraw calls the CoreText framework function CTFrameDraw.
func CTFrameGetFrameAttributes ¶
CTFrameGetFrameAttributes calls the CoreText framework function CTFrameGetFrameAttributes.
func CTFrameGetLineOrigins ¶
CTFrameGetLineOrigins calls the CoreText framework function CTFrameGetLineOrigins.
func CTFrameGetLines ¶
CTFrameGetLines calls the CoreText framework function CTFrameGetLines.
func CTFrameGetPath ¶
CTFrameGetPath calls the CoreText framework function CTFrameGetPath.
func CTFrameGetStringRange ¶
func CTFrameGetStringRange(frame obj.Object) corefoundation.CFRange
CTFrameGetStringRange calls the CoreText framework function CTFrameGetStringRange.
func CTFrameGetTypeID ¶
func CTFrameGetTypeID() int
CTFrameGetTypeID calls the CoreText framework function CTFrameGetTypeID.
func CTFrameGetVisibleStringRange ¶
func CTFrameGetVisibleStringRange(frame obj.Object) corefoundation.CFRange
CTFrameGetVisibleStringRange calls the CoreText framework function CTFrameGetVisibleStringRange.
func CTFramesetterCreateFrame ¶
func CTFramesetterCreateFrame(framesetter obj.Object, stringRange corefoundation.CFRange, path obj.Object, frameAttributes obj.Object) obj.Object
CTFramesetterCreateFrame calls the CoreText framework function CTFramesetterCreateFrame.
func CTFramesetterCreateWithAttributedString ¶
CTFramesetterCreateWithAttributedString calls the CoreText framework function CTFramesetterCreateWithAttributedString.
func CTFramesetterCreateWithTypesetter ¶
CTFramesetterCreateWithTypesetter calls the CoreText framework function CTFramesetterCreateWithTypesetter.
func CTFramesetterGetTypeID ¶
func CTFramesetterGetTypeID() int
CTFramesetterGetTypeID calls the CoreText framework function CTFramesetterGetTypeID.
func CTFramesetterGetTypesetter ¶
CTFramesetterGetTypesetter calls the CoreText framework function CTFramesetterGetTypesetter.
func CTFramesetterSuggestFrameSizeWithConstraints ¶
func CTFramesetterSuggestFrameSizeWithConstraints(framesetter obj.Object, stringRange corefoundation.CFRange, frameAttributes obj.Object, constraints corefoundation.CGSize, fitRange unsafe.Pointer) corefoundation.CGSize
CTFramesetterSuggestFrameSizeWithConstraints calls the CoreText framework function CTFramesetterSuggestFrameSizeWithConstraints.
func CTGetCoreTextVersion ¶
func CTGetCoreTextVersion() uint32
CTGetCoreTextVersion calls the CoreText framework function CTGetCoreTextVersion.
func CTGlyphInfoCreateWithCharacterIdentifier ¶
func CTGlyphInfoCreateWithCharacterIdentifier(cid uint16, collection CTCharacterCollection, baseString obj.Object) obj.Object
CTGlyphInfoCreateWithCharacterIdentifier calls the CoreText framework function CTGlyphInfoCreateWithCharacterIdentifier.
func CTGlyphInfoCreateWithGlyph ¶
CTGlyphInfoCreateWithGlyph calls the CoreText framework function CTGlyphInfoCreateWithGlyph.
func CTGlyphInfoCreateWithGlyphName ¶
func CTGlyphInfoCreateWithGlyphName(glyphName obj.Object, font obj.Object, baseString obj.Object) obj.Object
CTGlyphInfoCreateWithGlyphName calls the CoreText framework function CTGlyphInfoCreateWithGlyphName.
func CTGlyphInfoGetCharacterIdentifier ¶
CTGlyphInfoGetCharacterIdentifier calls the CoreText framework function CTGlyphInfoGetCharacterIdentifier.
func CTGlyphInfoGetGlyph ¶
CTGlyphInfoGetGlyph calls the CoreText framework function CTGlyphInfoGetGlyph.
func CTGlyphInfoGetGlyphName ¶
CTGlyphInfoGetGlyphName calls the CoreText framework function CTGlyphInfoGetGlyphName.
func CTGlyphInfoGetTypeID ¶
func CTGlyphInfoGetTypeID() int
CTGlyphInfoGetTypeID calls the CoreText framework function CTGlyphInfoGetTypeID.
func CTLineCreateJustifiedLine ¶
func CTLineCreateJustifiedLine(line obj.Object, justificationFactor float64, justificationWidth float64) obj.Object
CTLineCreateJustifiedLine calls the CoreText framework function CTLineCreateJustifiedLine.
func CTLineCreateTruncatedLine ¶
func CTLineCreateTruncatedLine(line obj.Object, width float64, truncationType CTLineTruncationType, truncationToken obj.Object) obj.Object
CTLineCreateTruncatedLine calls the CoreText framework function CTLineCreateTruncatedLine.
func CTLineCreateWithAttributedString ¶
CTLineCreateWithAttributedString calls the CoreText framework function CTLineCreateWithAttributedString.
func CTLineDraw ¶
CTLineDraw calls the CoreText framework function CTLineDraw.
func CTLineEnumerateCaretOffsets ¶
CTLineEnumerateCaretOffsets calls the CoreText framework function CTLineEnumerateCaretOffsets.
func CTLineGetBoundsWithOptions ¶
func CTLineGetBoundsWithOptions(line obj.Object, options CTLineBoundsOptions) corefoundation.CGRect
CTLineGetBoundsWithOptions calls the CoreText framework function CTLineGetBoundsWithOptions.
func CTLineGetGlyphCount ¶
CTLineGetGlyphCount calls the CoreText framework function CTLineGetGlyphCount.
func CTLineGetGlyphRuns ¶
CTLineGetGlyphRuns calls the CoreText framework function CTLineGetGlyphRuns.
func CTLineGetImageBounds ¶
CTLineGetImageBounds calls the CoreText framework function CTLineGetImageBounds.
func CTLineGetOffsetForStringIndex ¶
func CTLineGetOffsetForStringIndex(line obj.Object, charIndex int) (result float64, secondaryOffset float64)
CTLineGetOffsetForStringIndex calls the CoreText framework function CTLineGetOffsetForStringIndex.
func CTLineGetPenOffsetForFlush ¶
CTLineGetPenOffsetForFlush calls the CoreText framework function CTLineGetPenOffsetForFlush.
func CTLineGetStringIndexForPosition ¶
func CTLineGetStringIndexForPosition(line obj.Object, position corefoundation.CGPoint) int
CTLineGetStringIndexForPosition calls the CoreText framework function CTLineGetStringIndexForPosition.
func CTLineGetStringRange ¶
func CTLineGetStringRange(line obj.Object) corefoundation.CFRange
CTLineGetStringRange calls the CoreText framework function CTLineGetStringRange.
func CTLineGetTrailingWhitespaceWidth ¶
CTLineGetTrailingWhitespaceWidth calls the CoreText framework function CTLineGetTrailingWhitespaceWidth.
func CTLineGetTypeID ¶
func CTLineGetTypeID() int
CTLineGetTypeID calls the CoreText framework function CTLineGetTypeID.
func CTLineGetTypographicBounds ¶
func CTLineGetTypographicBounds(line obj.Object) (result float64, ascent float64, descent float64, leading float64)
CTLineGetTypographicBounds calls the CoreText framework function CTLineGetTypographicBounds.
func CTParagraphStyleCreate ¶
CTParagraphStyleCreate calls the CoreText framework function CTParagraphStyleCreate.
func CTParagraphStyleCreateCopy ¶
CTParagraphStyleCreateCopy calls the CoreText framework function CTParagraphStyleCreateCopy.
func CTParagraphStyleGetTypeID ¶
func CTParagraphStyleGetTypeID() int
CTParagraphStyleGetTypeID calls the CoreText framework function CTParagraphStyleGetTypeID.
func CTParagraphStyleGetValueForSpecifier ¶
func CTParagraphStyleGetValueForSpecifier(paragraphStyle obj.Object, spec CTParagraphStyleSpecifier, valueBufferSize int, valueBuffer unsafe.Pointer) bool
CTParagraphStyleGetValueForSpecifier calls the CoreText framework function CTParagraphStyleGetValueForSpecifier.
func CTRubyAnnotationCreate ¶
func CTRubyAnnotationCreate(alignment CTRubyAlignment, overhang CTRubyOverhang, sizeFactor float64, text unsafe.Pointer) obj.Object
CTRubyAnnotationCreate calls the CoreText framework function CTRubyAnnotationCreate.
func CTRubyAnnotationCreateCopy ¶
CTRubyAnnotationCreateCopy calls the CoreText framework function CTRubyAnnotationCreateCopy.
func CTRubyAnnotationCreateWithAttributes ¶
func CTRubyAnnotationCreateWithAttributes(alignment CTRubyAlignment, overhang CTRubyOverhang, position CTRubyPosition, str obj.Object, attributes obj.Object) obj.Object
CTRubyAnnotationCreateWithAttributes calls the CoreText framework function CTRubyAnnotationCreateWithAttributes.
func CTRubyAnnotationGetSizeFactor ¶
CTRubyAnnotationGetSizeFactor calls the CoreText framework function CTRubyAnnotationGetSizeFactor.
func CTRubyAnnotationGetTextForPosition ¶
func CTRubyAnnotationGetTextForPosition(rubyAnnotation obj.Object, position CTRubyPosition) obj.Object
CTRubyAnnotationGetTextForPosition calls the CoreText framework function CTRubyAnnotationGetTextForPosition.
func CTRubyAnnotationGetTypeID ¶
func CTRubyAnnotationGetTypeID() int
CTRubyAnnotationGetTypeID calls the CoreText framework function CTRubyAnnotationGetTypeID.
func CTRunDelegateCreate ¶
CTRunDelegateCreate calls the CoreText framework function CTRunDelegateCreate.
func CTRunDelegateGetRefCon ¶
CTRunDelegateGetRefCon calls the CoreText framework function CTRunDelegateGetRefCon.
func CTRunDelegateGetTypeID ¶
func CTRunDelegateGetTypeID() int
CTRunDelegateGetTypeID calls the CoreText framework function CTRunDelegateGetTypeID.
func CTRunGetAdvances ¶
CTRunGetAdvances calls the CoreText framework function CTRunGetAdvances.
func CTRunGetAdvancesPtr ¶
CTRunGetAdvancesPtr calls the CoreText framework function CTRunGetAdvancesPtr.
func CTRunGetAttributes ¶
CTRunGetAttributes calls the CoreText framework function CTRunGetAttributes.
func CTRunGetBaseAdvancesAndOrigins ¶
func CTRunGetBaseAdvancesAndOrigins(runRef obj.Object, range_ corefoundation.CFRange, advancesBuffer unsafe.Pointer, originsBuffer unsafe.Pointer)
CTRunGetBaseAdvancesAndOrigins calls the CoreText framework function CTRunGetBaseAdvancesAndOrigins.
func CTRunGetGlyphCount ¶
CTRunGetGlyphCount calls the CoreText framework function CTRunGetGlyphCount.
func CTRunGetGlyphs ¶
func CTRunGetGlyphs(run obj.Object, range_ corefoundation.CFRange) (buffer uint16)
CTRunGetGlyphs calls the CoreText framework function CTRunGetGlyphs.
func CTRunGetGlyphsPtr ¶
CTRunGetGlyphsPtr calls the CoreText framework function CTRunGetGlyphsPtr.
func CTRunGetImageBounds ¶
func CTRunGetImageBounds(run obj.Object, context_ obj.Object, range_ corefoundation.CFRange) corefoundation.CGRect
CTRunGetImageBounds calls the CoreText framework function CTRunGetImageBounds.
func CTRunGetPositions ¶
CTRunGetPositions calls the CoreText framework function CTRunGetPositions.
func CTRunGetPositionsPtr ¶
CTRunGetPositionsPtr calls the CoreText framework function CTRunGetPositionsPtr.
func CTRunGetStringIndices ¶
func CTRunGetStringIndices(run obj.Object, range_ corefoundation.CFRange) (buffer int)
CTRunGetStringIndices calls the CoreText framework function CTRunGetStringIndices.
func CTRunGetStringIndicesPtr ¶
CTRunGetStringIndicesPtr calls the CoreText framework function CTRunGetStringIndicesPtr.
func CTRunGetStringRange ¶
func CTRunGetStringRange(run obj.Object) corefoundation.CFRange
CTRunGetStringRange calls the CoreText framework function CTRunGetStringRange.
func CTRunGetTextMatrix ¶
func CTRunGetTextMatrix(run obj.Object) corefoundation.CGAffineTransform
CTRunGetTextMatrix calls the CoreText framework function CTRunGetTextMatrix.
func CTRunGetTypeID ¶
func CTRunGetTypeID() int
CTRunGetTypeID calls the CoreText framework function CTRunGetTypeID.
func CTRunGetTypographicBounds ¶
func CTRunGetTypographicBounds(run obj.Object, range_ corefoundation.CFRange) (result float64, ascent float64, descent float64, leading float64)
CTRunGetTypographicBounds calls the CoreText framework function CTRunGetTypographicBounds.
func CTTextTabCreate ¶
CTTextTabCreate calls the CoreText framework function CTTextTabCreate.
func CTTextTabGetLocation ¶
CTTextTabGetLocation calls the CoreText framework function CTTextTabGetLocation.
func CTTextTabGetOptions ¶
CTTextTabGetOptions calls the CoreText framework function CTTextTabGetOptions.
func CTTextTabGetTypeID ¶
func CTTextTabGetTypeID() int
CTTextTabGetTypeID calls the CoreText framework function CTTextTabGetTypeID.
func CTTypesetterCreateLine ¶
CTTypesetterCreateLine calls the CoreText framework function CTTypesetterCreateLine.
func CTTypesetterCreateLineWithOffset ¶
func CTTypesetterCreateLineWithOffset(typesetter obj.Object, stringRange corefoundation.CFRange, offset float64) obj.Object
CTTypesetterCreateLineWithOffset calls the CoreText framework function CTTypesetterCreateLineWithOffset.
func CTTypesetterCreateWithAttributedString ¶
CTTypesetterCreateWithAttributedString calls the CoreText framework function CTTypesetterCreateWithAttributedString.
func CTTypesetterCreateWithAttributedStringAndOptions ¶
func CTTypesetterCreateWithAttributedStringAndOptions(str obj.Object, options obj.Object) obj.Object
CTTypesetterCreateWithAttributedStringAndOptions calls the CoreText framework function CTTypesetterCreateWithAttributedStringAndOptions.
func CTTypesetterGetTypeID ¶
func CTTypesetterGetTypeID() int
CTTypesetterGetTypeID calls the CoreText framework function CTTypesetterGetTypeID.
func CTTypesetterSuggestClusterBreak ¶
CTTypesetterSuggestClusterBreak calls the CoreText framework function CTTypesetterSuggestClusterBreak.
func CTTypesetterSuggestClusterBreakWithOffset ¶
func CTTypesetterSuggestClusterBreakWithOffset(typesetter obj.Object, startIndex int, width float64, offset float64) int
CTTypesetterSuggestClusterBreakWithOffset calls the CoreText framework function CTTypesetterSuggestClusterBreakWithOffset.
func CTTypesetterSuggestLineBreak ¶
CTTypesetterSuggestLineBreak calls the CoreText framework function CTTypesetterSuggestLineBreak.
func CTTypesetterSuggestLineBreakWithOffset ¶
func CTTypesetterSuggestLineBreakWithOffset(typesetter obj.Object, startIndex int, width float64, offset float64) int
CTTypesetterSuggestLineBreakWithOffset calls the CoreText framework function CTTypesetterSuggestLineBreakWithOffset.
func KCTAdaptiveImageProviderAttributeName ¶
KCTAdaptiveImageProviderAttributeName returns the value of the constant kCTAdaptiveImageProviderAttributeName.
func KCTBackgroundColorAttributeName ¶
KCTBackgroundColorAttributeName returns the value of the constant kCTBackgroundColorAttributeName.
func KCTBaselineClassAttributeName ¶
KCTBaselineClassAttributeName returns the value of the constant kCTBaselineClassAttributeName.
func KCTBaselineClassHanging ¶
KCTBaselineClassHanging returns the value of the constant kCTBaselineClassHanging.
func KCTBaselineClassIdeographicCentered ¶
KCTBaselineClassIdeographicCentered returns the value of the constant kCTBaselineClassIdeographicCentered.
func KCTBaselineClassIdeographicHigh ¶
KCTBaselineClassIdeographicHigh returns the value of the constant kCTBaselineClassIdeographicHigh.
func KCTBaselineClassIdeographicLow ¶
KCTBaselineClassIdeographicLow returns the value of the constant kCTBaselineClassIdeographicLow.
func KCTBaselineClassMath ¶
KCTBaselineClassMath returns the value of the constant kCTBaselineClassMath.
func KCTBaselineClassRoman ¶
KCTBaselineClassRoman returns the value of the constant kCTBaselineClassRoman.
func KCTBaselineInfoAttributeName ¶
KCTBaselineInfoAttributeName returns the value of the constant kCTBaselineInfoAttributeName.
func KCTBaselineOffsetAttributeName ¶
KCTBaselineOffsetAttributeName returns the value of the constant kCTBaselineOffsetAttributeName.
func KCTBaselineOriginalFont ¶
KCTBaselineOriginalFont returns the value of the constant kCTBaselineOriginalFont.
func KCTBaselineReferenceFont ¶
KCTBaselineReferenceFont returns the value of the constant kCTBaselineReferenceFont.
func KCTBaselineReferenceInfoAttributeName ¶
KCTBaselineReferenceInfoAttributeName returns the value of the constant kCTBaselineReferenceInfoAttributeName.
func KCTCharacterShapeAttributeName ¶
KCTCharacterShapeAttributeName returns the value of the constant kCTCharacterShapeAttributeName.
func KCTFontAttributeName ¶
KCTFontAttributeName returns the value of the constant kCTFontAttributeName.
func KCTFontBaselineAdjustAttribute ¶
KCTFontBaselineAdjustAttribute returns the value of the constant kCTFontBaselineAdjustAttribute.
func KCTFontCascadeListAttribute ¶
KCTFontCascadeListAttribute returns the value of the constant kCTFontCascadeListAttribute.
func KCTFontCharacterSetAttribute ¶
KCTFontCharacterSetAttribute returns the value of the constant kCTFontCharacterSetAttribute.
func KCTFontCollectionDisallowAutoActivationOption ¶
KCTFontCollectionDisallowAutoActivationOption returns the value of the constant kCTFontCollectionDisallowAutoActivationOption.
func KCTFontCollectionIncludeDisabledFontsOption ¶
KCTFontCollectionIncludeDisabledFontsOption returns the value of the constant kCTFontCollectionIncludeDisabledFontsOption.
func KCTFontCollectionRemoveDuplicatesOption ¶
KCTFontCollectionRemoveDuplicatesOption returns the value of the constant kCTFontCollectionRemoveDuplicatesOption.
func KCTFontCopyrightNameKey ¶
KCTFontCopyrightNameKey returns the value of the constant kCTFontCopyrightNameKey.
func KCTFontDescriptionNameKey ¶
KCTFontDescriptionNameKey returns the value of the constant kCTFontDescriptionNameKey.
func KCTFontDescriptorLanguageAttribute ¶
KCTFontDescriptorLanguageAttribute returns the value of the constant kCTFontDescriptorLanguageAttribute.
func KCTFontDescriptorMatchingCurrentAssetSize ¶
KCTFontDescriptorMatchingCurrentAssetSize returns the value of the constant kCTFontDescriptorMatchingCurrentAssetSize.
func KCTFontDescriptorMatchingDescriptors ¶
KCTFontDescriptorMatchingDescriptors returns the value of the constant kCTFontDescriptorMatchingDescriptors.
func KCTFontDescriptorMatchingError ¶
KCTFontDescriptorMatchingError returns the value of the constant kCTFontDescriptorMatchingError.
func KCTFontDescriptorMatchingPercentage ¶
KCTFontDescriptorMatchingPercentage returns the value of the constant kCTFontDescriptorMatchingPercentage.
func KCTFontDescriptorMatchingResult ¶
KCTFontDescriptorMatchingResult returns the value of the constant kCTFontDescriptorMatchingResult.
func KCTFontDescriptorMatchingSourceDescriptor ¶
KCTFontDescriptorMatchingSourceDescriptor returns the value of the constant kCTFontDescriptorMatchingSourceDescriptor.
func KCTFontDescriptorMatchingTotalAssetSize ¶
KCTFontDescriptorMatchingTotalAssetSize returns the value of the constant kCTFontDescriptorMatchingTotalAssetSize.
func KCTFontDescriptorMatchingTotalDownloadedSize ¶
KCTFontDescriptorMatchingTotalDownloadedSize returns the value of the constant kCTFontDescriptorMatchingTotalDownloadedSize.
func KCTFontDesignerNameKey ¶
KCTFontDesignerNameKey returns the value of the constant kCTFontDesignerNameKey.
func KCTFontDesignerURLNameKey ¶
KCTFontDesignerURLNameKey returns the value of the constant kCTFontDesignerURLNameKey.
func KCTFontDisplayNameAttribute ¶
KCTFontDisplayNameAttribute returns the value of the constant kCTFontDisplayNameAttribute.
func KCTFontDownloadableAttribute ¶
KCTFontDownloadableAttribute returns the value of the constant kCTFontDownloadableAttribute.
func KCTFontDownloadedAttribute ¶
KCTFontDownloadedAttribute returns the value of the constant kCTFontDownloadedAttribute.
func KCTFontEnabledAttribute ¶
KCTFontEnabledAttribute returns the value of the constant kCTFontEnabledAttribute.
func KCTFontFamilyNameAttribute ¶
KCTFontFamilyNameAttribute returns the value of the constant kCTFontFamilyNameAttribute.
func KCTFontFamilyNameKey ¶
KCTFontFamilyNameKey returns the value of the constant kCTFontFamilyNameKey.
func KCTFontFeatureSampleTextKey ¶
KCTFontFeatureSampleTextKey returns the value of the constant kCTFontFeatureSampleTextKey.
func KCTFontFeatureSelectorDefaultKey ¶
KCTFontFeatureSelectorDefaultKey returns the value of the constant kCTFontFeatureSelectorDefaultKey.
func KCTFontFeatureSelectorIdentifierKey ¶
KCTFontFeatureSelectorIdentifierKey returns the value of the constant kCTFontFeatureSelectorIdentifierKey.
func KCTFontFeatureSelectorNameKey ¶
KCTFontFeatureSelectorNameKey returns the value of the constant kCTFontFeatureSelectorNameKey.
func KCTFontFeatureSelectorSettingKey ¶
KCTFontFeatureSelectorSettingKey returns the value of the constant kCTFontFeatureSelectorSettingKey.
func KCTFontFeatureSettingsAttribute ¶
KCTFontFeatureSettingsAttribute returns the value of the constant kCTFontFeatureSettingsAttribute.
func KCTFontFeatureTooltipTextKey ¶
KCTFontFeatureTooltipTextKey returns the value of the constant kCTFontFeatureTooltipTextKey.
func KCTFontFeatureTypeExclusiveKey ¶
KCTFontFeatureTypeExclusiveKey returns the value of the constant kCTFontFeatureTypeExclusiveKey.
func KCTFontFeatureTypeIdentifierKey ¶
KCTFontFeatureTypeIdentifierKey returns the value of the constant kCTFontFeatureTypeIdentifierKey.
func KCTFontFeatureTypeNameKey ¶
KCTFontFeatureTypeNameKey returns the value of the constant kCTFontFeatureTypeNameKey.
func KCTFontFeatureTypeSelectorsKey ¶
KCTFontFeatureTypeSelectorsKey returns the value of the constant kCTFontFeatureTypeSelectorsKey.
func KCTFontFeaturesAttribute ¶
KCTFontFeaturesAttribute returns the value of the constant kCTFontFeaturesAttribute.
func KCTFontFixedAdvanceAttribute ¶
KCTFontFixedAdvanceAttribute returns the value of the constant kCTFontFixedAdvanceAttribute.
func KCTFontFormatAttribute ¶
KCTFontFormatAttribute returns the value of the constant kCTFontFormatAttribute.
func KCTFontFullNameKey ¶
KCTFontFullNameKey returns the value of the constant kCTFontFullNameKey.
func KCTFontLanguagesAttribute ¶
KCTFontLanguagesAttribute returns the value of the constant kCTFontLanguagesAttribute.
func KCTFontLicenseNameKey ¶
KCTFontLicenseNameKey returns the value of the constant kCTFontLicenseNameKey.
func KCTFontLicenseURLNameKey ¶
KCTFontLicenseURLNameKey returns the value of the constant kCTFontLicenseURLNameKey.
func KCTFontMacintoshEncodingsAttribute ¶
KCTFontMacintoshEncodingsAttribute returns the value of the constant kCTFontMacintoshEncodingsAttribute.
func KCTFontManagerBundleIdentifier ¶
KCTFontManagerBundleIdentifier returns the value of the constant kCTFontManagerBundleIdentifier.
func KCTFontManagerErrorDomain ¶
KCTFontManagerErrorDomain returns the value of the constant kCTFontManagerErrorDomain.
func KCTFontManagerErrorFontURLsKey ¶
KCTFontManagerErrorFontURLsKey returns the value of the constant kCTFontManagerErrorFontURLsKey.
func KCTFontManagerRegisteredFontsChangedNotification ¶
KCTFontManagerRegisteredFontsChangedNotification returns the value of the constant kCTFontManagerRegisteredFontsChangedNotification.
func KCTFontManufacturerNameKey ¶
KCTFontManufacturerNameKey returns the value of the constant kCTFontManufacturerNameKey.
func KCTFontMatrixAttribute ¶
KCTFontMatrixAttribute returns the value of the constant kCTFontMatrixAttribute.
func KCTFontNameAttribute ¶
KCTFontNameAttribute returns the value of the constant kCTFontNameAttribute.
func KCTFontOpenTypeFeatureTag ¶
KCTFontOpenTypeFeatureTag returns the value of the constant kCTFontOpenTypeFeatureTag.
func KCTFontOpenTypeFeatureValue ¶
KCTFontOpenTypeFeatureValue returns the value of the constant kCTFontOpenTypeFeatureValue.
func KCTFontOpticalSizeAttribute ¶
KCTFontOpticalSizeAttribute returns the value of the constant kCTFontOpticalSizeAttribute.
func KCTFontOrientationAttribute ¶
KCTFontOrientationAttribute returns the value of the constant kCTFontOrientationAttribute.
func KCTFontPostScriptCIDNameKey ¶
KCTFontPostScriptCIDNameKey returns the value of the constant kCTFontPostScriptCIDNameKey.
func KCTFontPostScriptNameKey ¶
KCTFontPostScriptNameKey returns the value of the constant kCTFontPostScriptNameKey.
func KCTFontPriorityAttribute ¶
KCTFontPriorityAttribute returns the value of the constant kCTFontPriorityAttribute.
func KCTFontRegistrationScopeAttribute ¶
KCTFontRegistrationScopeAttribute returns the value of the constant kCTFontRegistrationScopeAttribute.
func KCTFontSampleTextNameKey ¶
KCTFontSampleTextNameKey returns the value of the constant kCTFontSampleTextNameKey.
func KCTFontSizeAttribute ¶
KCTFontSizeAttribute returns the value of the constant kCTFontSizeAttribute.
func KCTFontSlantTrait ¶
KCTFontSlantTrait returns the value of the constant kCTFontSlantTrait.
func KCTFontStyleNameAttribute ¶
KCTFontStyleNameAttribute returns the value of the constant kCTFontStyleNameAttribute.
func KCTFontStyleNameKey ¶
KCTFontStyleNameKey returns the value of the constant kCTFontStyleNameKey.
func KCTFontSubFamilyNameKey ¶
KCTFontSubFamilyNameKey returns the value of the constant kCTFontSubFamilyNameKey.
func KCTFontSymbolicTrait ¶
KCTFontSymbolicTrait returns the value of the constant kCTFontSymbolicTrait.
func KCTFontTrademarkNameKey ¶
KCTFontTrademarkNameKey returns the value of the constant kCTFontTrademarkNameKey.
func KCTFontTraitsAttribute ¶
KCTFontTraitsAttribute returns the value of the constant kCTFontTraitsAttribute.
func KCTFontURLAttribute ¶
KCTFontURLAttribute returns the value of the constant kCTFontURLAttribute.
func KCTFontUniqueNameKey ¶
KCTFontUniqueNameKey returns the value of the constant kCTFontUniqueNameKey.
func KCTFontVariationAttribute ¶
KCTFontVariationAttribute returns the value of the constant kCTFontVariationAttribute.
func KCTFontVariationAxesAttribute ¶
KCTFontVariationAxesAttribute returns the value of the constant kCTFontVariationAxesAttribute.
func KCTFontVariationAxisDefaultValueKey ¶
KCTFontVariationAxisDefaultValueKey returns the value of the constant kCTFontVariationAxisDefaultValueKey.
func KCTFontVariationAxisHiddenKey ¶
KCTFontVariationAxisHiddenKey returns the value of the constant kCTFontVariationAxisHiddenKey.
func KCTFontVariationAxisIdentifierKey ¶
KCTFontVariationAxisIdentifierKey returns the value of the constant kCTFontVariationAxisIdentifierKey.
func KCTFontVariationAxisMaximumValueKey ¶
KCTFontVariationAxisMaximumValueKey returns the value of the constant kCTFontVariationAxisMaximumValueKey.
func KCTFontVariationAxisMinimumValueKey ¶
KCTFontVariationAxisMinimumValueKey returns the value of the constant kCTFontVariationAxisMinimumValueKey.
func KCTFontVariationAxisNameKey ¶
KCTFontVariationAxisNameKey returns the value of the constant kCTFontVariationAxisNameKey.
func KCTFontVendorURLNameKey ¶
KCTFontVendorURLNameKey returns the value of the constant kCTFontVendorURLNameKey.
func KCTFontVersionNameKey ¶
KCTFontVersionNameKey returns the value of the constant kCTFontVersionNameKey.
func KCTFontWeightTrait ¶
KCTFontWeightTrait returns the value of the constant kCTFontWeightTrait.
func KCTFontWidthTrait ¶
KCTFontWidthTrait returns the value of the constant kCTFontWidthTrait.
func KCTForegroundColorAttributeName ¶
KCTForegroundColorAttributeName returns the value of the constant kCTForegroundColorAttributeName.
func KCTForegroundColorFromContextAttributeName ¶
KCTForegroundColorFromContextAttributeName returns the value of the constant kCTForegroundColorFromContextAttributeName.
func KCTFrameClippingPathsAttributeName ¶
KCTFrameClippingPathsAttributeName returns the value of the constant kCTFrameClippingPathsAttributeName.
func KCTFramePathClippingPathAttributeName ¶
KCTFramePathClippingPathAttributeName returns the value of the constant kCTFramePathClippingPathAttributeName.
func KCTFramePathFillRuleAttributeName ¶
KCTFramePathFillRuleAttributeName returns the value of the constant kCTFramePathFillRuleAttributeName.
func KCTFramePathWidthAttributeName ¶
KCTFramePathWidthAttributeName returns the value of the constant kCTFramePathWidthAttributeName.
func KCTFrameProgressionAttributeName ¶
KCTFrameProgressionAttributeName returns the value of the constant kCTFrameProgressionAttributeName.
func KCTGlyphInfoAttributeName ¶
KCTGlyphInfoAttributeName returns the value of the constant kCTGlyphInfoAttributeName.
func KCTHorizontalInVerticalFormsAttributeName ¶
KCTHorizontalInVerticalFormsAttributeName returns the value of the constant kCTHorizontalInVerticalFormsAttributeName.
func KCTKernAttributeName ¶
KCTKernAttributeName returns the value of the constant kCTKernAttributeName.
func KCTLanguageAttributeName ¶
KCTLanguageAttributeName returns the value of the constant kCTLanguageAttributeName.
func KCTLigatureAttributeName ¶
KCTLigatureAttributeName returns the value of the constant kCTLigatureAttributeName.
func KCTParagraphStyleAttributeName ¶
KCTParagraphStyleAttributeName returns the value of the constant kCTParagraphStyleAttributeName.
func KCTRubyAnnotationAttributeName ¶
KCTRubyAnnotationAttributeName returns the value of the constant kCTRubyAnnotationAttributeName.
func KCTRubyAnnotationScaleToFitAttributeName ¶
KCTRubyAnnotationScaleToFitAttributeName returns the value of the constant kCTRubyAnnotationScaleToFitAttributeName.
func KCTRubyAnnotationSizeFactorAttributeName ¶
KCTRubyAnnotationSizeFactorAttributeName returns the value of the constant kCTRubyAnnotationSizeFactorAttributeName.
func KCTRunDelegateAttributeName ¶
KCTRunDelegateAttributeName returns the value of the constant kCTRunDelegateAttributeName.
func KCTStrokeColorAttributeName ¶
KCTStrokeColorAttributeName returns the value of the constant kCTStrokeColorAttributeName.
func KCTStrokeWidthAttributeName ¶
KCTStrokeWidthAttributeName returns the value of the constant kCTStrokeWidthAttributeName.
func KCTSuperscriptAttributeName ¶
KCTSuperscriptAttributeName returns the value of the constant kCTSuperscriptAttributeName.
func KCTTabColumnTerminatorsAttributeName ¶
KCTTabColumnTerminatorsAttributeName returns the value of the constant kCTTabColumnTerminatorsAttributeName.
func KCTTrackingAttributeName ¶
KCTTrackingAttributeName returns the value of the constant kCTTrackingAttributeName.
func KCTTypesetterOptionAllowUnboundedLayout ¶
KCTTypesetterOptionAllowUnboundedLayout returns the value of the constant kCTTypesetterOptionAllowUnboundedLayout.
func KCTTypesetterOptionDisableBidiProcessing ¶
KCTTypesetterOptionDisableBidiProcessing returns the value of the constant kCTTypesetterOptionDisableBidiProcessing.
func KCTTypesetterOptionForcedEmbeddingLevel ¶
KCTTypesetterOptionForcedEmbeddingLevel returns the value of the constant kCTTypesetterOptionForcedEmbeddingLevel.
func KCTUnderlineColorAttributeName ¶
KCTUnderlineColorAttributeName returns the value of the constant kCTUnderlineColorAttributeName.
func KCTUnderlineStyleAttributeName ¶
KCTUnderlineStyleAttributeName returns the value of the constant kCTUnderlineStyleAttributeName.
func KCTVerticalFormsAttributeName ¶
KCTVerticalFormsAttributeName returns the value of the constant kCTVerticalFormsAttributeName.
func KCTWritingDirectionAttributeName ¶
KCTWritingDirectionAttributeName returns the value of the constant kCTWritingDirectionAttributeName.
Types ¶
type ALMXGlyphEntry ¶
type ALMXHeader ¶
type AnchorPoint ¶
type AnchorPointTable ¶
type AnchorPointTable struct {
NPoints uint
Points [1]AnchorPoint
}
type BslnFormat0Part ¶
type BslnFormat0Part struct {
Deltas [32]int16
}
type BslnFormat1Part ¶
type BslnFormat1Part struct {
Deltas [32]int16
MappingData SFNTLookupTable
}
type BslnFormat2Part ¶
type BslnFormat3Part ¶
type BslnFormat3Part struct {
StdGlyph uint16
CtlPoints [32]int16
MappingData SFNTLookupTable
}
type CTAdaptiveImageProviding ¶
type CTAdaptiveImageProviding interface {
ImageForProposedSizeScaleFactorImageOffsetImageSize(proposedSize corefoundation.CGSize, scaleFactor float64, outImageOffset obj.Object, outImageSize obj.Object) obj.Object
}
CTAdaptiveImageProviding is the Go form of the Objective-C protocol CTAdaptiveImageProviding.
type CTCharacterCollection ¶
type CTCharacterCollection int64
Constants that specify character collections.
const ( // The character identifier is equal to the glyph index. KCTCharacterCollectionIdentityMapping CTCharacterCollection = 0 // The Adobe-CNS1 mapping. KCTCharacterCollectionAdobeCNS1 CTCharacterCollection = 1 // The Adobe-GB1 mapping. KCTCharacterCollectionAdobeGB1 CTCharacterCollection = 2 // The Adobe-Japan1 mapping. KCTCharacterCollectionAdobeJapan1 CTCharacterCollection = 3 // The Adobe-Japan2 mapping. KCTCharacterCollectionAdobeJapan2 CTCharacterCollection = 4 // The Adobe-Korea1 mapping. KCTCharacterCollectionAdobeKorea1 CTCharacterCollection = 5 // The character identifier is equal to the glyph index. KCTIdentityMappingCharacterCollection CTCharacterCollection = 0 // The Adobe-CNS1 mapping. KCTAdobeCNS1CharacterCollection CTCharacterCollection = 1 // The Adobe-GB1 mapping. KCTAdobeGB1CharacterCollection CTCharacterCollection = 2 // The Adobe-Japan1 mapping. KCTAdobeJapan1CharacterCollection CTCharacterCollection = 3 // The Adobe-Japan2 mapping. KCTAdobeJapan2CharacterCollection CTCharacterCollection = 4 // The Adobe-Korea1 mapping. KCTAdobeKorea1CharacterCollection CTCharacterCollection = 5 )
func CTGlyphInfoGetCharacterCollection ¶
func CTGlyphInfoGetCharacterCollection(glyphInfo obj.Object) CTCharacterCollection
CTGlyphInfoGetCharacterCollection calls the CoreText framework function CTGlyphInfoGetCharacterCollection.
func (CTCharacterCollection) String ¶
func (e CTCharacterCollection) String() string
String returns the CTCharacterCollection constant's name, or its numeric form when the value is not a known constant.
type CTFontCollection ¶
type CTFontCollection struct{}
type CTFontCollectionCopyOptions ¶
type CTFontCollectionCopyOptions int64
Option bits for use with CTFontCollectionCopyFontAttribute(s). Bitmask — values may be combined with |.
const ( // Passing this option indicates that defaults are to be used. KCTFontCollectionCopyDefaultOptions CTFontCollectionCopyOptions = 0 // Passing this option indicates that duplicate values should be removed from the results. KCTFontCollectionCopyUnique CTFontCollectionCopyOptions = 1 // Passing this option indicates that the return values should be sorted in standard UI order, suitable for display to the user. This is the same sorting behavior used by NSFontPanel and Font Book. KCTFontCollectionCopyStandardSort CTFontCollectionCopyOptions = 2 )
func (CTFontCollectionCopyOptions) String ¶
func (e CTFontCollectionCopyOptions) String() string
String returns the CTFontCollectionCopyOptions constant's name, or its numeric form when the value is not a known constant.
type CTFontDescriptor ¶
type CTFontDescriptor struct{}
type CTFontDescriptorMatchingState ¶
type CTFontDescriptorMatchingState int64
Constants that track the progress of font descriptor matching.
const ( // A state that indicates matching is about to begin. KCTFontDescriptorMatchingDidBegin CTFontDescriptorMatchingState = 0 // A state that indicates matching is done. KCTFontDescriptorMatchingDidFinish CTFontDescriptorMatchingState = 1 // A state that indicates communication with the server is about to begin. KCTFontDescriptorMatchingWillBeginQuerying CTFontDescriptorMatchingState = 2 // A state that indicates that matching is stalled, such as while waiting for a server response. KCTFontDescriptorMatchingStalled CTFontDescriptorMatchingState = 3 // A state that indicates downloading is about to begin. KCTFontDescriptorMatchingWillBeginDownloading CTFontDescriptorMatchingState = 4 // A state that indicates downloading is in progress. KCTFontDescriptorMatchingDownloading CTFontDescriptorMatchingState = 5 // A state that indicates downloading is done. KCTFontDescriptorMatchingDidFinishDownloading CTFontDescriptorMatchingState = 6 // A state that indicates the font descriptor match is successful. KCTFontDescriptorMatchingDidMatch CTFontDescriptorMatchingState = 7 // A state that indicates an error. KCTFontDescriptorMatchingDidFailWithError CTFontDescriptorMatchingState = 8 )
func (CTFontDescriptorMatchingState) String ¶
func (e CTFontDescriptorMatchingState) String() string
String returns the CTFontDescriptorMatchingState constant's name, or its numeric form when the value is not a known constant.
type CTFontFormat ¶
type CTFontFormat int64
The recognized format of the font.
const ( // The font is not a recognized format. KCTFontFormatUnrecognized CTFontFormat = 0 // The font is an OpenType format containing PostScript data. KCTFontFormatOpenTypePostScript CTFontFormat = 1 // The font is an OpenType format containing TrueType data. KCTFontFormatOpenTypeTrueType CTFontFormat = 2 // The font is a recognized TrueType format. KCTFontFormatTrueType CTFontFormat = 3 // The font is a recognized PostScript format. KCTFontFormatPostScript CTFontFormat = 4 // The font is a bitmap-only format. KCTFontFormatBitmap CTFontFormat = 5 )
func (CTFontFormat) String ¶
func (e CTFontFormat) String() string
String returns the CTFontFormat constant's name, or its numeric form when the value is not a known constant.
type CTFontManagerAutoActivationSetting ¶
type CTFontManagerAutoActivationSetting int64
Sets the auto-activation for the specified bundle identifier.
const ( KCTFontManagerAutoActivationDefault CTFontManagerAutoActivationSetting = 0 KCTFontManagerAutoActivationDisabled CTFontManagerAutoActivationSetting = 1 KCTFontManagerAutoActivationEnabled CTFontManagerAutoActivationSetting = 2 KCTFontManagerAutoActivationPromptUser CTFontManagerAutoActivationSetting = 3 )
func CTFontManagerGetAutoActivationSetting ¶
func CTFontManagerGetAutoActivationSetting(bundleIdentifier obj.Object) CTFontManagerAutoActivationSetting
CTFontManagerGetAutoActivationSetting calls the CoreText framework function CTFontManagerGetAutoActivationSetting.
func (CTFontManagerAutoActivationSetting) String ¶
func (e CTFontManagerAutoActivationSetting) String() string
String returns the CTFontManagerAutoActivationSetting constant's name, or its numeric form when the value is not a known constant.
type CTFontManagerError ¶
type CTFontManagerError int64
Errors that prevent unregistration of fonts for a specified font file URL.
const ( // An error that indicates the file doesn’t exist at the specified URL. KCTFontManagerErrorFileNotFound CTFontManagerError = 101 // An error that indicates insufficient permissions to access the file. KCTFontManagerErrorInsufficientPermissions CTFontManagerError = 102 // An error that indicates the file’s format is unrecognized or unsupported. KCTFontManagerErrorUnrecognizedFormat CTFontManagerError = 103 // An error that indicates the file contains invalid font data that could cause system problems. KCTFontManagerErrorInvalidFontData CTFontManagerError = 104 // An error that indicates the file is already registered in the specified scope. KCTFontManagerErrorAlreadyRegistered CTFontManagerError = 105 // An error that indicates an operation failure due to a system limitation. KCTFontManagerErrorExceededResourceLimit CTFontManagerError = 106 // An error that indicates the asset isn’t found. KCTFontManagerErrorAssetNotFound CTFontManagerError = 107 // An error that indicates the file isn’t registered in the specified scope. KCTFontManagerErrorNotRegistered CTFontManagerError = 201 // An error that indicates the font file is actively in use and can’t be unregistered. KCTFontManagerErrorInUse CTFontManagerError = 202 // An error that indicates the file is required by the system and can’t be unregistered. KCTFontManagerErrorSystemRequired CTFontManagerError = 203 // An error that indicates the file can’t be processed due to an unexpected FontProvider error. KCTFontManagerErrorRegistrationFailed CTFontManagerError = 301 // An error that indicates the file can’t be processed because the provider doesn’t have a necessary entitlement. KCTFontManagerErrorMissingEntitlement CTFontManagerError = 302 // An error that indicates the font descriptor doesn’t have the necessary information to specify a font file. KCTFontManagerErrorInsufficientInfo CTFontManagerError = 303 // An error that indicates the user cancelled the operation. KCTFontManagerErrorCancelledByUser CTFontManagerError = 304 // An error that indicates the file can’t register because of a duplicate font name. KCTFontManagerErrorDuplicatedName CTFontManagerError = 305 // An error that indicates the file isn’t in an allowed location, which must be either in the app’s bundle or an on-demand resource. KCTFontManagerErrorInvalidFilePath CTFontManagerError = 306 // An error that indicates the specified scope isn’t supported. KCTFontManagerErrorUnsupportedScope CTFontManagerError = 307 )
func (CTFontManagerError) String ¶
func (e CTFontManagerError) String() string
String returns the CTFontManagerError constant's name, or its numeric form when the value is not a known constant.
type CTFontManagerScope ¶
type CTFontManagerScope int64
Constants that define the scope for font registration.
const ( // No scope is defined. KCTFontManagerScopeNone CTFontManagerScope = 0 // The font is available to the current process for the duration of the process unless directly unregistered. KCTFontManagerScopeProcess CTFontManagerScope = 1 // The font is available to all processes for the current user session and will be available in subsequent sessions unless unregistered. KCTFontManagerScopePersistent CTFontManagerScope = 2 // The font is available to the current user session but won’t be available in subsequent sessions. KCTFontManagerScopeSession CTFontManagerScope = 3 // The font is available to all processes for the current user session and will be available in subsequent sessions unless unregistered. KCTFontManagerScopeUser CTFontManagerScope = 2 )
func CTFontManagerGetScopeForURL ¶
func CTFontManagerGetScopeForURL(fontURL obj.Object) CTFontManagerScope
CTFontManagerGetScopeForURL calls the CoreText framework function CTFontManagerGetScopeForURL.
func (CTFontManagerScope) String ¶
func (e CTFontManagerScope) String() string
String returns the CTFontManagerScope constant's name, or its numeric form when the value is not a known constant.
type CTFontOptions ¶
type CTFontOptions int64
Options for font creation and descriptor matching. Bitmask — values may be combined with |.
const ( // Default options are used. KCTFontOptionsDefault CTFontOptions = 0 // Prevents automatic font activation. KCTFontOptionsPreventAutoActivation CTFontOptions = 1 KCTFontOptionsPreventAutoDownload CTFontOptions = 2 // Font matching prefers to match Apple system fonts. KCTFontOptionsPreferSystemFont CTFontOptions = 4 )
func (CTFontOptions) String ¶
func (e CTFontOptions) String() string
String returns the CTFontOptions constant's name, or its numeric form when the value is not a known constant.
type CTFontOrientation ¶
type CTFontOrientation int64
The intended rendering orientation of the font for obtaining glyph metrics.
const ( // The native orientation of the font. KCTFontOrientationDefault CTFontOrientation = 0 // The horizontal orientation. KCTFontOrientationHorizontal CTFontOrientation = 1 // The vertical orientation. KCTFontOrientationVertical CTFontOrientation = 2 // The native orientation of the font. KCTFontDefaultOrientation CTFontOrientation = 0 // The horizontal orientation. KCTFontHorizontalOrientation CTFontOrientation = 1 // The vertical orientation. KCTFontVerticalOrientation CTFontOrientation = 2 )
func (CTFontOrientation) String ¶
func (e CTFontOrientation) String() string
String returns the CTFontOrientation constant's name, or its numeric form when the value is not a known constant.
type CTFontStylisticClass ¶
type CTFontStylisticClass int64
The stylistic class values of the font. Bitmask — values may be combined with |.
const ( // The font has no design classification. KCTFontClassUnknown CTFontStylisticClass = 0 // A font style based on the Latin printing style of the 15th to 17th century. KCTFontClassOldStyleSerifs CTFontStylisticClass = 268435456 // A font style based on the Latin printing style of the 18th to 19th century. KCTFontClassTransitionalSerifs CTFontStylisticClass = 536870912 // A font style based on the Latin printing style of the 20th century. KCTFontClassModernSerifs CTFontStylisticClass = 805306368 // A font style variation of the Oldstyle Serifs and the Transitional Serifs. KCTFontClassClarendonSerifs CTFontStylisticClass = 1073741824 // A font style characterized by serifs with a square transition between the strokes and the serifs (no brackets). KCTFontClassSlabSerifs CTFontStylisticClass = 1342177280 // A font style that includes serifs but expresses a design freedom that doesn’t generally fit within the other serif design classifications. KCTFontClassFreeformSerifs CTFontStylisticClass = 1879048192 // A font style that includes most basic letter forms (excluding Scripts and Ornamentals) that do not have serifs on the strokes. KCTFontClassSansSerif CTFontStylisticClass = 2147483648 // A font style that includes highly decorated or stylized character shapes such as those typically used in headlines. KCTFontClassOrnamentals CTFontStylisticClass = 2415919104 // A font style among those typefaces designed to simulate handwriting. KCTFontClassScripts CTFontStylisticClass = 2684354560 // A generally design-independent font style. KCTFontClassSymbolic CTFontStylisticClass = 3221225472 // The font has no design classification. KCTFontUnknownClass CTFontStylisticClass = 0 // The font’s style is based on the Latin printing style of the 15th to 17th century. KCTFontOldStyleSerifsClass CTFontStylisticClass = 268435456 // The font’s style is based on the Latin printing style of the 18th to 19th century. KCTFontTransitionalSerifsClass CTFontStylisticClass = 536870912 // The font’s style is based on the Latin printing style of the 20th century. KCTFontModernSerifsClass CTFontStylisticClass = 805306368 // The font’s style is a variation of the Oldstyle Serifs and the Transitional Serifs. KCTFontClarendonSerifsClass CTFontStylisticClass = 1073741824 // The font’s style is characterized by serifs with a square transition between the strokes and the serifs (no brackets). KCTFontSlabSerifsClass CTFontStylisticClass = 1342177280 // The font’s style includes serifs but expresses a design freedom that doesn’t generally fit within the other serif design classifications. KCTFontFreeformSerifsClass CTFontStylisticClass = 1879048192 // The font’s style includes most basic letter forms (excluding Scripts and Ornamentals) that do not have serifs on the strokes. KCTFontSansSerifClass CTFontStylisticClass = 2147483648 // The font’s style includes highly decorated or stylized character shapes such as those typically used in headlines. KCTFontOrnamentalsClass CTFontStylisticClass = 2415919104 // The font’s style is among those typefaces designed to simulate handwriting. KCTFontScriptsClass CTFontStylisticClass = 2684354560 // The font’s style is generally design independent. KCTFontSymbolicClass CTFontStylisticClass = 3221225472 )
func (CTFontStylisticClass) String ¶
func (e CTFontStylisticClass) String() string
String returns the CTFontStylisticClass constant's name, or its numeric form when the value is not a known constant.
type CTFontSymbolicTraits ¶
type CTFontSymbolicTraits int64
The symbolic representation of stylistic font attributes. Bitmask — values may be combined with |.
const ( // The font typestyle is italic. KCTFontTraitItalic CTFontSymbolicTraits = 1 // The font typestyle is boldface. KCTFontTraitBold CTFontSymbolicTraits = 2 // The font typestyle is expanded. KCTFontTraitExpanded CTFontSymbolicTraits = 32 // The font typestyle is condensed. KCTFontTraitCondensed CTFontSymbolicTraits = 64 // The font uses fixed-pitch glyphs if available. KCTFontTraitMonoSpace CTFontSymbolicTraits = 1024 // The font uses vertical glyph variants and metrics. KCTFontTraitVertical CTFontSymbolicTraits = 2048 // The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary. KCTFontTraitUIOptimized CTFontSymbolicTraits = 4096 // The font contains color glyphs. KCTFontTraitColorGlyphs CTFontSymbolicTraits = 8192 // The font is in Composite Font Reference format. KCTFontTraitComposite CTFontSymbolicTraits = 16384 // Mask for the font class. KCTFontTraitClassMask CTFontSymbolicTraits = 4026531840 // The font typestyle is italic. KCTFontItalicTrait CTFontSymbolicTraits = 1 // The font typestyle is boldface. KCTFontBoldTrait CTFontSymbolicTraits = 2 // The font typestyle is expanded. KCTFontExpandedTrait CTFontSymbolicTraits = 32 // The font typestyle is condensed. KCTFontCondensedTrait CTFontSymbolicTraits = 64 // The font uses fixed-pitch glyphs if available. KCTFontMonoSpaceTrait CTFontSymbolicTraits = 1024 // The font uses vertical glyph variants and metrics. KCTFontVerticalTrait CTFontSymbolicTraits = 2048 // The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary. KCTFontUIOptimizedTrait CTFontSymbolicTraits = 4096 // The font contains color glyphs. KCTFontColorGlyphsTrait CTFontSymbolicTraits = 8192 // The font is in Composite Font Reference format. KCTFontCompositeTrait CTFontSymbolicTraits = 16384 // Mask for the font class. KCTFontClassMaskTrait CTFontSymbolicTraits = 4026531840 )
func CTFontGetSymbolicTraits ¶
func CTFontGetSymbolicTraits(font obj.Object) CTFontSymbolicTraits
CTFontGetSymbolicTraits calls the CoreText framework function CTFontGetSymbolicTraits.
func (CTFontSymbolicTraits) String ¶
func (e CTFontSymbolicTraits) String() string
String returns the CTFontSymbolicTraits constant's name, or its numeric form when the value is not a known constant.
type CTFontTableOptions ¶
type CTFontTableOptions int64
Constants that describe font table options. Bitmask — values may be combined with |.
const ( // No font table options are specified. KCTFontTableOptionNoOptions CTFontTableOptions = 0 // The font table excludes synthetic font data. KCTFontTableOptionExcludeSynthetic CTFontTableOptions = 1 )
func (CTFontTableOptions) String ¶
func (e CTFontTableOptions) String() string
String returns the CTFontTableOptions constant's name, or its numeric form when the value is not a known constant.
type CTFontUIFontType ¶
type CTFontUIFontType int64
Constants that represent the specific user-interface purpose to specify for font creation.
const ( // The user-interface font type isn’t specified. KCTFontUIFontNone CTFontUIFontType = 4294967295 // The default font for documents and other text whose font the user can typically change. KCTFontUIFontUser CTFontUIFontType = 0 // The default font for documents and other text under the user’s control when that font is fixed-pitch. KCTFontUIFontUserFixedPitch CTFontUIFontType = 1 // The system font for standard user-interface items, such as button labels and menu items. KCTFontUIFontSystem CTFontUIFontType = 2 // The system font for emphasis in alerts. KCTFontUIFontEmphasizedSystem CTFontUIFontType = 3 // The standard small system font for informative text in alerts, column headings in lists, help tags, and small controls. KCTFontUIFontSmallSystem CTFontUIFontType = 4 // The small system font for emphasis. KCTFontUIFontSmallEmphasizedSystem CTFontUIFontType = 5 // The standard miniature system font for mini controls and utility window labels and text. KCTFontUIFontMiniSystem CTFontUIFontType = 6 // The miniature system font for emphasis. KCTFontUIFontMiniEmphasizedSystem CTFontUIFontType = 7 // The default view font for text in lists and tables. KCTFontUIFontViews CTFontUIFontType = 8 // The default font for text documents. KCTFontUIFontApplication CTFontUIFontType = 9 // The font for labels and tick marks on full-size sliders. KCTFontUIFontLabel CTFontUIFontType = 10 // The font for menu titles. KCTFontUIFontMenuTitle CTFontUIFontType = 11 // The font for menu items. KCTFontUIFontMenuItem CTFontUIFontType = 12 // The font to draw menu-item marks. KCTFontUIFontMenuItemMark CTFontUIFontType = 13 // The font for menu-item command-key equivalents. KCTFontUIFontMenuItemCmdKey CTFontUIFontType = 14 // The font for window titles. KCTFontUIFontWindowTitle CTFontUIFontType = 15 // The font for a push button, a rounded rectangular button with a text label on it. KCTFontUIFontPushButton CTFontUIFontType = 16 // The font for utility window titles. KCTFontUIFontUtilityWindowTitle CTFontUIFontType = 17 // The font for alert headers. KCTFontUIFontAlertHeader CTFontUIFontType = 18 // The standard system font for details. KCTFontUIFontSystemDetail CTFontUIFontType = 19 // The system font for emphasis in details. KCTFontUIFontEmphasizedSystemDetail CTFontUIFontType = 20 // The font used for labels of toolbar items. KCTFontUIFontToolbar CTFontUIFontType = 21 // The small font for labels of toolbar items. KCTFontUIFontSmallToolbar CTFontUIFontType = 22 // The font for standard interface items, such as button labels and menu items. KCTFontUIFontMessage CTFontUIFontType = 23 // The font in tool palettes. KCTFontUIFontPalette CTFontUIFontType = 24 // The font for tool tips. KCTFontUIFontToolTip CTFontUIFontType = 25 // The font for contents of user-interface controls. KCTFontUIFontControlContent CTFontUIFontType = 26 // The user-interface font type isn’t specified. KCTFontNoFontType CTFontUIFontType = 4294967295 // The font used by default for documents and other text under the user’s control. KCTFontUserFontType CTFontUIFontType = 0 // The font used by default for documents and other text under the user’s control when that font is fixed-pitch. KCTFontUserFixedPitchFontType CTFontUIFontType = 1 // The system font used for standard user-interface items, such as button labels and menu items. KCTFontSystemFontType CTFontUIFontType = 2 // The system font used for emphasis in alerts. KCTFontEmphasizedSystemFontType CTFontUIFontType = 3 // The standard small system font used for informative text in alerts, column headings in lists, help tags, and small controls. KCTFontSmallSystemFontType CTFontUIFontType = 4 // The small system font used for emphasis. KCTFontSmallEmphasizedSystemFontType CTFontUIFontType = 5 // The standard miniature system font used for mini controls and utility window labels and text. KCTFontMiniSystemFontType CTFontUIFontType = 6 // The miniature system font used for emphasis. KCTFontMiniEmphasizedSystemFontType CTFontUIFontType = 7 // The view font used as the default font of text in lists and tables. KCTFontViewsFontType CTFontUIFontType = 8 // The default font for text documents. KCTFontApplicationFontType CTFontUIFontType = 9 // The font used for labels and tick marks on full-size sliders. KCTFontLabelFontType CTFontUIFontType = 10 // The font used for menu titles. KCTFontMenuTitleFontType CTFontUIFontType = 11 // The font used for menu items. KCTFontMenuItemFontType CTFontUIFontType = 12 // The font used to draw menu-item marks. KCTFontMenuItemMarkFontType CTFontUIFontType = 13 // The font used for menu-item command-key equivalents. KCTFontMenuItemCmdKeyFontType CTFontUIFontType = 14 // The font used for window titles. KCTFontWindowTitleFontType CTFontUIFontType = 15 // The font used for a push button, a rounded rectangular button with a text label on it. KCTFontPushButtonFontType CTFontUIFontType = 16 // The font used for utility window titles. KCTFontUtilityWindowTitleFontType CTFontUIFontType = 17 // The font used for alert headers. KCTFontAlertHeaderFontType CTFontUIFontType = 18 // The standard system font used for details. KCTFontSystemDetailFontType CTFontUIFontType = 19 // The system font used for emphasis in details. KCTFontEmphasizedSystemDetailFontType CTFontUIFontType = 20 // The font used for labels of toolbar items. KCTFontToolbarFontType CTFontUIFontType = 21 // The small font used for labels of toolbar items. KCTFontSmallToolbarFontType CTFontUIFontType = 22 // The font used for standard interface items, such as button labels and menu items. KCTFontMessageFontType CTFontUIFontType = 23 // The font used in tool palettes. KCTFontPaletteFontType CTFontUIFontType = 24 // The font used for tool tips. KCTFontToolTipFontType CTFontUIFontType = 25 // The font used for contents of user-interface controls. KCTFontControlContentFontType CTFontUIFontType = 26 )
func CTFontGetUIFontType ¶
func CTFontGetUIFontType(font obj.Object) CTFontUIFontType
CTFontGetUIFontType calls the CoreText framework function CTFontGetUIFontType.
func (CTFontUIFontType) String ¶
func (e CTFontUIFontType) String() string
String returns the CTFontUIFontType constant's name, or its numeric form when the value is not a known constant.
type CTFramePathFillRule ¶
type CTFramePathFillRule int64
These constants specify the fill rule used by a frame
const ( // Paints the area using the even-odd fill rule. KCTFramePathFillEvenOdd CTFramePathFillRule = 0 // Paints the area using the nonzero winding number rule. KCTFramePathFillWindingNumber CTFramePathFillRule = 1 )
func (CTFramePathFillRule) String ¶
func (e CTFramePathFillRule) String() string
String returns the CTFramePathFillRule constant's name, or its numeric form when the value is not a known constant.
type CTFrameProgression ¶
type CTFrameProgression int64
Constants that specify frame progression types.
const ( // Lines stack top to bottom for horizontal text. KCTFrameProgressionTopToBottom CTFrameProgression = 0 // Lines stack right to left for vertical text. KCTFrameProgressionRightToLeft CTFrameProgression = 1 // Lines stack left to right for vertical text. KCTFrameProgressionLeftToRight CTFrameProgression = 2 )
func (CTFrameProgression) String ¶
func (e CTFrameProgression) String() string
String returns the CTFrameProgression constant's name, or its numeric form when the value is not a known constant.
type CTFramesetter ¶
type CTFramesetter struct{}
type CTGlyphInfo ¶
type CTGlyphInfo struct{}
type CTLineBoundsOptions ¶
type CTLineBoundsOptions int64
Options for getting the bounds of a line of text. Bitmask — values may be combined with |.
const ( // An option to exclude typographic leading. KCTLineBoundsExcludeTypographicLeading CTLineBoundsOptions = 1 // An option to ignore cross-stream shifts due to positioning, such as kerning or baseline alignment. KCTLineBoundsExcludeTypographicShifts CTLineBoundsOptions = 2 // An option to enable hanging punctuation. KCTLineBoundsUseHangingPunctuation CTLineBoundsOptions = 4 // An option to use glyph path bounds rather than the default typographic bounds. KCTLineBoundsUseGlyphPathBounds CTLineBoundsOptions = 8 // An option to use optical bounds. KCTLineBoundsUseOpticalBounds CTLineBoundsOptions = 16 // An option to include additional space based on common glyph sequences for various languages. KCTLineBoundsIncludeLanguageExtents CTLineBoundsOptions = 32 )
func (CTLineBoundsOptions) String ¶
func (e CTLineBoundsOptions) String() string
String returns the CTLineBoundsOptions constant's name, or its numeric form when the value is not a known constant.
type CTLineBreakMode ¶
type CTLineBreakMode int64
These constants specify what happens when a line is too long for its frame.
const ( KCTLineBreakByWordWrapping CTLineBreakMode = 0 KCTLineBreakByCharWrapping CTLineBreakMode = 1 KCTLineBreakByClipping CTLineBreakMode = 2 KCTLineBreakByTruncatingHead CTLineBreakMode = 3 KCTLineBreakByTruncatingTail CTLineBreakMode = 4 KCTLineBreakByTruncatingMiddle CTLineBreakMode = 5 )
func (CTLineBreakMode) String ¶
func (e CTLineBreakMode) String() string
String returns the CTLineBreakMode constant's name, or its numeric form when the value is not a known constant.
type CTLineTruncationType ¶
type CTLineTruncationType int64
Truncation types required by the CTLineCreateTruncatedLine function to tell the truncation engine which type of truncation is being requested.
const ( KCTLineTruncationStart CTLineTruncationType = 0 KCTLineTruncationEnd CTLineTruncationType = 1 KCTLineTruncationMiddle CTLineTruncationType = 2 )
func (CTLineTruncationType) String ¶
func (e CTLineTruncationType) String() string
String returns the CTLineTruncationType constant's name, or its numeric form when the value is not a known constant.
type CTParagraphStyle ¶
type CTParagraphStyle struct{}
type CTParagraphStyleSetting ¶
type CTParagraphStyleSetting struct {
Spec CTParagraphStyleSpecifier
ValueSize uint
Value unsafe.Pointer
}
This structure is used to alter the paragraph style.
type CTParagraphStyleSpecifier ¶
type CTParagraphStyleSpecifier int64
Constants used to query and modify a paragraph style object.
const ( // The text alignment. KCTParagraphStyleSpecifierAlignment CTParagraphStyleSpecifier = 0 // The distance, in points, from the leading margin of a frame to the beginning of the paragraph’s first line. KCTParagraphStyleSpecifierFirstLineHeadIndent CTParagraphStyleSpecifier = 1 // The distance, in points, from the leading margin of a text container to the beginning of lines other than the first. KCTParagraphStyleSpecifierHeadIndent CTParagraphStyleSpecifier = 2 // The distance, in points, from the margin of a frame to the end of lines. KCTParagraphStyleSpecifierTailIndent CTParagraphStyleSpecifier = 3 // The text tab objects, sorted by location, that define the tab stops for the paragraph style. KCTParagraphStyleSpecifierTabStops CTParagraphStyleSpecifier = 4 // The document-wide default tab interval. KCTParagraphStyleSpecifierDefaultTabInterval CTParagraphStyleSpecifier = 5 // The mode that should be used to break lines when laying out the paragraph’s text. KCTParagraphStyleSpecifierLineBreakMode CTParagraphStyleSpecifier = 6 // The line height multiple. KCTParagraphStyleSpecifierLineHeightMultiple CTParagraphStyleSpecifier = 7 // The maximum height that any line in the frame will occupy, regardless of the font size or size of any attached graphic. KCTParagraphStyleSpecifierMaximumLineHeight CTParagraphStyleSpecifier = 8 // The minimum height that any line in the frame will occupy, regardless of the font size or size of any attached graphic. KCTParagraphStyleSpecifierMinimumLineHeight CTParagraphStyleSpecifier = 9 // The space in points added between lines within the paragraph (commonly known as leading). KCTParagraphStyleSpecifierLineSpacing CTParagraphStyleSpecifier = 10 // The space added at the end of the paragraph to separate it from the following paragraph. KCTParagraphStyleSpecifierParagraphSpacing CTParagraphStyleSpecifier = 11 // The distance between the paragraph’s top and the beginning of its text content. KCTParagraphStyleSpecifierParagraphSpacingBefore CTParagraphStyleSpecifier = 12 // The base writing direction of the lines. KCTParagraphStyleSpecifierBaseWritingDirection CTParagraphStyleSpecifier = 13 // The maximum space in points between lines within the paragraph (commonly known as leading). KCTParagraphStyleSpecifierMaximumLineSpacing CTParagraphStyleSpecifier = 14 // The minimum space in points between lines within the paragraph (commonly known as leading). KCTParagraphStyleSpecifierMinimumLineSpacing CTParagraphStyleSpecifier = 15 // The space in points added between lines within the paragraph (commonly known as leading). KCTParagraphStyleSpecifierLineSpacingAdjustment CTParagraphStyleSpecifier = 16 // Options that control the alignment of the line edges with the leading and trailing margins. KCTParagraphStyleSpecifierLineBoundsOptions CTParagraphStyleSpecifier = 17 // The number of style specifiers. KCTParagraphStyleSpecifierCount CTParagraphStyleSpecifier = 18 )
func (CTParagraphStyleSpecifier) String ¶
func (e CTParagraphStyleSpecifier) String() string
String returns the CTParagraphStyleSpecifier constant's name, or its numeric form when the value is not a known constant.
type CTRubyAlignment ¶
type CTRubyAlignment int64
Constants that specify how to align the ruby text and the base text relative to each other when they have different lengths.
const ( // The alignment is invalid. KCTRubyAlignmentInvalid CTRubyAlignment = 255 // Core Text automatically determines the alignment. KCTRubyAlignmentAuto CTRubyAlignment = 0 // Aligns the ruby text with the starting edge of the base text. KCTRubyAlignmentStart CTRubyAlignment = 1 // Centers the ruby text within the width of the base text. KCTRubyAlignmentCenter CTRubyAlignment = 2 // Aligns the ruby text with the ending edge of the base text. KCTRubyAlignmentEnd CTRubyAlignment = 3 // Distributes the ruby text evenly over the width of the base text, aligning the first and last characters of the ruby text with the first and last characters of the base text. KCTRubyAlignmentDistributeLetter CTRubyAlignment = 4 // Distributes the ruby text evenly over the width of the base text, adding space before the first and after the last character. KCTRubyAlignmentDistributeSpace CTRubyAlignment = 5 // Aligns the ruby text to an adjacent line edge. KCTRubyAlignmentLineEdge CTRubyAlignment = 6 )
func CTRubyAnnotationGetAlignment ¶
func CTRubyAnnotationGetAlignment(rubyAnnotation obj.Object) CTRubyAlignment
CTRubyAnnotationGetAlignment calls the CoreText framework function CTRubyAnnotationGetAlignment.
func (CTRubyAlignment) String ¶
func (e CTRubyAlignment) String() string
String returns the CTRubyAlignment constant's name, or its numeric form when the value is not a known constant.
type CTRubyAnnotation ¶
type CTRubyAnnotation struct{}
type CTRubyOverhang ¶
type CTRubyOverhang int64
Constants that specify whether, and on which side, ruby text can overhang adjacent text if it’s wider than the base text.
const ( // The overhang specification is invalid. KCTRubyOverhangInvalid CTRubyOverhang = 255 // The ruby text can overhang adjacent text on both sides. KCTRubyOverhangAuto CTRubyOverhang = 0 // The ruby text can overhang the text that precedes it. KCTRubyOverhangStart CTRubyOverhang = 1 // The ruby text can overhang the text that follows it. KCTRubyOverhangEnd CTRubyOverhang = 2 // The ruby text can’t overhang the preceding or following text. KCTRubyOverhangNone CTRubyOverhang = 3 )
func CTRubyAnnotationGetOverhang ¶
func CTRubyAnnotationGetOverhang(rubyAnnotation obj.Object) CTRubyOverhang
CTRubyAnnotationGetOverhang calls the CoreText framework function CTRubyAnnotationGetOverhang.
func (CTRubyOverhang) String ¶
func (e CTRubyOverhang) String() string
String returns the CTRubyOverhang constant's name, or its numeric form when the value is not a known constant.
type CTRubyPosition ¶
type CTRubyPosition int64
Constants that specify the position of the ruby text relative to to the base text.
const ( // The ruby text is positioned before the base text, appearing above horizontal text and to the right of vertical text. KCTRubyPositionBefore CTRubyPosition = 0 // The ruby text is positioned after the base text, appearing below horizontal text and to the left of vertical text. KCTRubyPositionAfter CTRubyPosition = 1 // The ruby text is positioned to the right of the base text, regardless of whether it’s horizontal or vertical. KCTRubyPositionInterCharacter CTRubyPosition = 2 // The ruby text follows the base text with no special styling. KCTRubyPositionInline CTRubyPosition = 3 // A constant that accounts for all ruby positions during ruby annotation creation. KCTRubyPositionCount CTRubyPosition = 4 )
func (CTRubyPosition) String ¶
func (e CTRubyPosition) String() string
String returns the CTRubyPosition constant's name, or its numeric form when the value is not a known constant.
type CTRunDelegate ¶
type CTRunDelegate struct{}
type CTRunDelegateCallbacks ¶
type CTRunDelegateCallbacks struct {
Version int
Dealloc unsafe.Pointer
GetAscent unsafe.Pointer
GetDescent unsafe.Pointer
GetWidth unsafe.Pointer
}
A structure holding pointers to callbacks implemented by the run delegate.
type CTRunStatus ¶
type CTRunStatus int64
A bitfield that represents the disposition of the run. Bitmask — values may be combined with |.
const ( // The run has no special attributes. KCTRunStatusNoStatus CTRunStatus = 0 // The run proceeds from right to left. KCTRunStatusRightToLeft CTRunStatus = 1 // The run isn’t in strictly increasing or decreasing order. KCTRunStatusNonMonotonic CTRunStatus = 2 // The run requires a specific text matrix to be set in the current Core Graphics context for proper drawing. KCTRunStatusHasNonIdentityMatrix CTRunStatus = 4 )
func CTRunGetStatus ¶
func CTRunGetStatus(run obj.Object) CTRunStatus
CTRunGetStatus calls the CoreText framework function CTRunGetStatus.
func (CTRunStatus) String ¶
func (e CTRunStatus) String() string
String returns the CTRunStatus constant's name, or its numeric form when the value is not a known constant.
type CTTextAlignment ¶
type CTTextAlignment int64
Constants that specify text alignment.
const ( // Text is visually left-aligned. KCTTextAlignmentLeft CTTextAlignment = 0 // Text is visually right-aligned. KCTTextAlignmentRight CTTextAlignment = 1 // Text is visually center-aligned. KCTTextAlignmentCenter CTTextAlignment = 2 // Text is fully justified. KCTTextAlignmentJustified CTTextAlignment = 3 // Text uses the natural alignment of the text’s script. KCTTextAlignmentNatural CTTextAlignment = 4 // Text is visually left-aligned. KCTLeftTextAlignment CTTextAlignment = 0 // Text is visually right-aligned. KCTRightTextAlignment CTTextAlignment = 1 // Text is visually center-aligned. KCTCenterTextAlignment CTTextAlignment = 2 // Text is fully justified. KCTJustifiedTextAlignment CTTextAlignment = 3 // Text uses the natural alignment of the text’s script. KCTNaturalTextAlignment CTTextAlignment = 4 )
func CTTextTabGetAlignment ¶
func CTTextTabGetAlignment(tab obj.Object) CTTextAlignment
CTTextTabGetAlignment calls the CoreText framework function CTTextTabGetAlignment.
func (CTTextAlignment) String ¶
func (e CTTextAlignment) String() string
String returns the CTTextAlignment constant's name, or its numeric form when the value is not a known constant.
type CTTypesetter ¶
type CTTypesetter struct{}
type CTUnderlineStyle ¶
type CTUnderlineStyle int64
Underline style specifiers. Bitmask — values may be combined with |.
const ( // A specifier that indicates not to draw an underline. KCTUnderlineStyleNone CTUnderlineStyle = 0 // A specifier that indicates to draw an underline consisting of a single line. KCTUnderlineStyleSingle CTUnderlineStyle = 1 // A specifier that indicates to draw an underline consisting of a thick line. KCTUnderlineStyleThick CTUnderlineStyle = 2 // A specifier that indicates to draw an underline consisting of a double line. KCTUnderlineStyleDouble CTUnderlineStyle = 9 )
func (CTUnderlineStyle) String ¶
func (e CTUnderlineStyle) String() string
String returns the CTUnderlineStyle constant's name, or its numeric form when the value is not a known constant.
type CTUnderlineStyleModifiers ¶
type CTUnderlineStyleModifiers int64
Underline style modifiers. Bitmask — values may be combined with |.
const ( // A modifier that indicates to draw a solid underline. KCTUnderlinePatternSolid CTUnderlineStyleModifiers = 0 // A modifier that indicates to draw an underline using a pattern of dots. KCTUnderlinePatternDot CTUnderlineStyleModifiers = 256 // A modifier that indicates to draw an underline using a pattern of dashes. KCTUnderlinePatternDash CTUnderlineStyleModifiers = 512 // A modifier that indicates to draw an underline using a pattern of alternating dashes and dots. KCTUnderlinePatternDashDot CTUnderlineStyleModifiers = 768 // A modifier that indicates to draw an underline using a pattern of a dash followed by two dots. KCTUnderlinePatternDashDotDot CTUnderlineStyleModifiers = 1024 )
func (CTUnderlineStyleModifiers) String ¶
func (e CTUnderlineStyleModifiers) String() string
String returns the CTUnderlineStyleModifiers constant's name, or its numeric form when the value is not a known constant.
type CTWritingDirection ¶
type CTWritingDirection int64
These constants specify the writing direction.
const ( KCTWritingDirectionNatural CTWritingDirection = -1 KCTWritingDirectionLeftToRight CTWritingDirection = 0 KCTWritingDirectionRightToLeft CTWritingDirection = 1 )
func (CTWritingDirection) String ¶
func (e CTWritingDirection) String() string
String returns the CTWritingDirection constant's name, or its numeric form when the value is not a known constant.
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int64
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type FontVariation ¶
type IpcInfoObjectType ¶ added in v0.17.0
type IpcInfoObjectType int64
const ( IpcInfoObjectTypeNone IpcInfoObjectType = 0 IpcInfoObjectTypeThreadControl IpcInfoObjectType = 1 IpcInfoObjectTypeTaskControl IpcInfoObjectType = 2 IpcInfoObjectTypeHost IpcInfoObjectType = 3 IpcInfoObjectTypeHostPriv IpcInfoObjectType = 4 IpcInfoObjectTypeProcessor IpcInfoObjectType = 5 IpcInfoObjectTypeProcessorSet IpcInfoObjectType = 6 IpcInfoObjectTypeProcessorSetName IpcInfoObjectType = 7 IpcInfoObjectTypeTimer IpcInfoObjectType = 8 IpcInfoObjectTypePortSubstOnce IpcInfoObjectType = 9 IpcInfoObjectTypeMig IpcInfoObjectType = 10 IpcInfoObjectTypeMemoryObject IpcInfoObjectType = 11 IpcInfoObjectTypeXmmPager IpcInfoObjectType = 12 IpcInfoObjectTypeXmmKernel IpcInfoObjectType = 13 IpcInfoObjectTypeXmmReply IpcInfoObjectType = 14 IpcInfoObjectTypeUndReply IpcInfoObjectType = 15 IpcInfoObjectTypeHostNotify IpcInfoObjectType = 16 IpcInfoObjectTypeHostSecurity IpcInfoObjectType = 17 IpcInfoObjectTypeLedger IpcInfoObjectType = 18 IpcInfoObjectTypeMainDevice IpcInfoObjectType = 19 IpcInfoObjectTypeTaskName IpcInfoObjectType = 20 IpcInfoObjectTypeSubsystem IpcInfoObjectType = 21 IpcInfoObjectTypeIODoneQueue IpcInfoObjectType = 22 IpcInfoObjectTypeSemaphore IpcInfoObjectType = 23 IpcInfoObjectTypeLockSet IpcInfoObjectType = 24 IpcInfoObjectTypeClock IpcInfoObjectType = 25 IpcInfoObjectTypeClockCtrl IpcInfoObjectType = 26 IpcInfoObjectTypeIokitIdent IpcInfoObjectType = 27 IpcInfoObjectTypeNamedEntry IpcInfoObjectType = 28 IpcInfoObjectTypeIokitConnect IpcInfoObjectType = 29 IpcInfoObjectTypeIokitObject IpcInfoObjectType = 30 IpcInfoObjectTypeUpl IpcInfoObjectType = 31 IpcInfoObjectTypeMemObjControl IpcInfoObjectType = 32 IpcInfoObjectTypeAuSessionport IpcInfoObjectType = 33 IpcInfoObjectTypeFileport IpcInfoObjectType = 34 IpcInfoObjectTypeLabelh IpcInfoObjectType = 35 IpcInfoObjectTypeTaskResume IpcInfoObjectType = 36 IpcInfoObjectTypeVoucher IpcInfoObjectType = 37 IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38 IpcInfoObjectTypeWorkInterval IpcInfoObjectType = 39 IpcInfoObjectTypeUxHandler IpcInfoObjectType = 40 IpcInfoObjectTypeUextObject IpcInfoObjectType = 41 IpcInfoObjectTypeArcadeReg IpcInfoObjectType = 42 IpcInfoObjectTypeEventlink IpcInfoObjectType = 43 IpcInfoObjectTypeTaskInspect IpcInfoObjectType = 44 IpcInfoObjectTypeTaskRead IpcInfoObjectType = 45 IpcInfoObjectTypeThreadInspect IpcInfoObjectType = 46 IpcInfoObjectTypeThreadRead IpcInfoObjectType = 47 IpcInfoObjectTypeSuidCred IpcInfoObjectType = 48 IpcInfoObjectTypeHypervisor IpcInfoObjectType = 49 IpcInfoObjectTypeTaskIDToken IpcInfoObjectType = 50 IpcInfoObjectTypeTaskFatal IpcInfoObjectType = 51 IpcInfoObjectTypeKcdata IpcInfoObjectType = 52 IpcInfoObjectTypeExclavesResource IpcInfoObjectType = 53 IpcInfoObjectTypeThreadResume IpcInfoObjectType = 54 IpcInfoObjectTypeUnknown IpcInfoObjectType = 4294967295 )
func (IpcInfoObjectType) String ¶ added in v0.17.0
func (e IpcInfoObjectType) String() string
String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.
type JustDirectionTable ¶
type JustDirectionTable struct {
JustClass uint16
WidthDeltaClusters uint16
Postcomp uint16
Lookup SFNTLookupTable
}
type JustPCAction ¶
type JustPCAction struct {
ActionCount uint
Actions [1]JustPCActionSubrecord
}
type JustPCActionSubrecord ¶
type JustPCDuctilityAction ¶
type JustPostcompTable ¶
type JustPostcompTable struct {
LookupTable SFNTLookupTable
}
type JustWidthDeltaEntry ¶
type JustWidthDeltaGroup ¶
type JustWidthDeltaGroup struct {
Count uint
Entries [1]JustWidthDeltaEntry
}
type KernIndexArrayHeader ¶
type KernKerningPair ¶
type KernOffsetTable ¶
type KernOrderedListEntry ¶
type KernOrderedListEntry struct {
Pair KernKerningPair
Value int16
}
type KernOrderedListHeader ¶
type KernSimpleArrayHeader ¶
type KernStateEntry ¶
type KernStateHeader ¶
type KernSubtableHeader ¶
type KernTableHeader ¶
type KernVersion0Header ¶
type KerxAnchorPointAction ¶
type KerxControlPointAction ¶
type KerxControlPointEntry ¶
type KerxControlPointHeader ¶
type KerxCoordinateAction ¶
type KerxIndexArrayHeader ¶
type KerxKerningPair ¶
type KerxOrderedListEntry ¶
type KerxOrderedListEntry struct {
Pair KerxKerningPair
Value int16
}
type KerxOrderedListHeader ¶
type KerxSimpleArrayHeader ¶
type KerxStateEntry ¶
type KerxStateHeader ¶
type KerxSubtableHeader ¶
type KerxTableHeader ¶
type LcarCaretClassEntry ¶
type LcarCaretTable ¶
type LcarCaretTable struct {
Version int
Format uint16
Lookup SFNTLookupTable
}
type LtagStringRange ¶
type LtagTable ¶
type LtagTable struct {
Version uint
Flags uint
NumTags uint
TagRange [1]LtagStringRange
}
type MachVMRangeFlags ¶ added in v0.17.0
type MachVMRangeFlags int64
Bitmask — values may be combined with |.
const (
MachVMRangeFlagsNone MachVMRangeFlags = 0
)
func (MachVMRangeFlags) String ¶ added in v0.17.0
func (e MachVMRangeFlags) String() string
String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlavor ¶ added in v0.17.0
type MachVMRangeFlavor int64
const ( MachVMRangeFlavorInvalid MachVMRangeFlavor = 0 MachVMRangeFlavorV1 MachVMRangeFlavor = 1 )
func (MachVMRangeFlavor) String ¶ added in v0.17.0
func (e MachVMRangeFlavor) String() string
String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeTag ¶ added in v0.17.0
type MachVMRangeTag int64
const ( MachVMRangeTagDefault MachVMRangeTag = 0 MachVMRangeTagData MachVMRangeTag = 1 MachVMRangeTagFixed MachVMRangeTag = 2 )
func (MachVMRangeTag) String ¶ added in v0.17.0
func (e MachVMRangeTag) String() string
String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.
type MortChain ¶
type MortChain struct {
DefaultFlags uint
Length uint
NFeatures uint16
NSubtables uint16
FeatureEntries [1]MortFeatureEntry
}
type MortContextualSubtable ¶
type MortFeatureEntry ¶
type MortInsertionSubtable ¶
type MortInsertionSubtable struct {
Header STHeader
}
type MortLigatureSubtable ¶
type MortRearrangementSubtable ¶
type MortRearrangementSubtable struct {
Header STHeader
}
type MortSubtable ¶
type MortSwashSubtable ¶
type MortSwashSubtable struct {
Lookup SFNTLookupTable
}
type MorxChain ¶
type MorxChain struct {
DefaultFlags uint
Length uint
NFeatures uint
NSubtables uint
FeatureEntries [1]MortFeatureEntry
}
type MorxContextualSubtable ¶
type MorxInsertionSubtable ¶
type MorxLigatureSubtable ¶
type MorxRearrangementSubtable ¶
type MorxRearrangementSubtable struct {
Header STXHeader
}
type MorxSubtable ¶
type MpoFlags ¶ added in v0.17.0
type MpoFlags int64
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type NXMouseButton ¶
type NXMouseButton int64
const ( NX_OneButton NXMouseButton = 0 NX_LeftButton NXMouseButton = 1 NX_RightButton NXMouseButton = 2 )
func (NXMouseButton) String ¶
func (e NXMouseButton) String() string
String returns the NXMouseButton constant's name, or its numeric form when the value is not a known constant.
type OpbdSideValues ¶
type OpbdTable ¶
type OpbdTable struct {
Version int
Format uint16
LookupTable SFNTLookupTable
}
type Perm ¶ added in v0.17.0
type Perm int64
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PropLookupSegment ¶
type PropLookupSingle ¶
type PropTable ¶
type PropTable struct {
Version int
Format uint16
DefaultProps uint16
Lookup SFNTLookupTable
}
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int64
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.
type ROTAGlyphEntry ¶
type ROTAHeader ¶
type SFNTLookupArrayHeader ¶
type SFNTLookupArrayHeader struct {
LookupValues [1]uint16
}
type SFNTLookupSegment ¶
type SFNTLookupSegmentHeader ¶
type SFNTLookupSegmentHeader struct {
BinSearch SFNTLookupBinarySearchHeader
Segments [1]SFNTLookupSegment
}
type SFNTLookupSingle ¶
type SFNTLookupSingleHeader ¶
type SFNTLookupSingleHeader struct {
BinSearch SFNTLookupBinarySearchHeader
Entries [1]SFNTLookupSingle
}
type SFNTLookupTable ¶
type SFNTLookupVectorHeader ¶
type STClassTable ¶
type STEntryOne ¶
type STEntryTwo ¶
type STEntryZero ¶
type STXEntryOne ¶
type STXEntryTwo ¶
type STXEntryZero ¶
type SfntCMapEncoding ¶
type SfntCMapHeader ¶
type SfntCMapHeader struct {
Version uint16
NumTables uint16
Encoding [1]SfntCMapEncoding
}
type SfntCMapSubHeader ¶
type SfntDescriptorHeader ¶
type SfntDescriptorHeader struct {
Version int
DescriptorCount int
Descriptor [1]SfntFontDescriptor
}
type SfntDirectory ¶
type SfntDirectoryEntry ¶
type SfntFeatureHeader ¶
type SfntFeatureHeader struct {
Version int
FeatureNameCount uint16
FeatureSetCount uint16
Reserved int
Names [1]SfntFeatureName
Settings [1]SfntFontFeatureSetting
Runs [1]SfntFontRunFeature
}
type SfntFeatureName ¶
type SfntFontDescriptor ¶
type SfntFontFeatureSetting ¶
type SfntFontRunFeature ¶
type SfntInstance ¶
type SfntNameHeader ¶
type SfntNameHeader struct {
Format uint16
Count uint16
StringOffset uint16
Rec [1]SfntNameRecord
}
type SfntNameRecord ¶
type SfntVariationAxis ¶
type SfntVariationHeader ¶
type SfntVariationHeader struct {
Version int
OffsetToData uint16
CountSizePairs uint16
AxisCount uint16
AxisSize uint16
InstanceCount uint16
InstanceSize uint16
Axis [1]SfntVariationAxis
Instance [1]SfntInstance
}
type TrakTableData ¶
type TrakTableData struct {
NTracks uint16
NSizes uint16
SizeTableOffset uint
TrakTable [1]TrakTableEntry
}
type TrakTableEntry ¶
type VirtualMemoryGuardExceptionCode ¶ added in v0.17.0
type VirtualMemoryGuardExceptionCode int64
const ( KGUARD_EXC_DEALLOC_GAP VirtualMemoryGuardExceptionCode = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE VirtualMemoryGuardExceptionCode = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE VirtualMemoryGuardExceptionCode = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE VirtualMemoryGuardExceptionCode = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE VirtualMemoryGuardExceptionCode = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE VirtualMemoryGuardExceptionCode = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE VirtualMemoryGuardExceptionCode = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION VirtualMemoryGuardExceptionCode = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY VirtualMemoryGuardExceptionCode = 13 KGUARD_EXC_SEC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 99 KGUARD_EXC_SEC_COPY_DENIED VirtualMemoryGuardExceptionCode = 100 KGUARD_EXC_SEC_SHARING_DENIED VirtualMemoryGuardExceptionCode = 101 KGUARD_EXC_MTE_SYNC_FAULT VirtualMemoryGuardExceptionCode = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204 )
func (VirtualMemoryGuardExceptionCode) String ¶ added in v0.17.0
func (e VirtualMemoryGuardExceptionCode) String() string
String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.