coretext

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Rendered for darwin/amd64

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

View Source
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

func CTFontCollectionCopyExclusionDescriptors(collection obj.Object) obj.Object

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

func CTFontCollectionCopyQueryDescriptors(collection obj.Object) obj.Object

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

func CTFontCollectionCreateFromAvailableFonts(options obj.Object) obj.Object

CTFontCollectionCreateFromAvailableFonts calls the CoreText framework function CTFontCollectionCreateFromAvailableFonts.

func CTFontCollectionCreateMatchingFontDescriptors

func CTFontCollectionCreateMatchingFontDescriptors(collection obj.Object) obj.Object

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

func CTFontCollectionCreateMutableCopy(original obj.Object) obj.Object

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

func CTFontCollectionSetExclusionDescriptors(collection obj.Object, descriptors obj.Object)

CTFontCollectionSetExclusionDescriptors calls the CoreText framework function CTFontCollectionSetExclusionDescriptors.

func CTFontCollectionSetQueryDescriptors

func CTFontCollectionSetQueryDescriptors(collection obj.Object, descriptors obj.Object)

CTFontCollectionSetQueryDescriptors calls the CoreText framework function CTFontCollectionSetQueryDescriptors.

func CTFontCopyAttribute

func CTFontCopyAttribute(font obj.Object, attribute obj.Object) obj.Object

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

func CTFontCopyCharacterSet(font obj.Object) obj.Object

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

func CTFontCopyDisplayName(font obj.Object) obj.Object

CTFontCopyDisplayName calls the CoreText framework function CTFontCopyDisplayName.

func CTFontCopyFamilyName

func CTFontCopyFamilyName(font obj.Object) obj.Object

CTFontCopyFamilyName calls the CoreText framework function CTFontCopyFamilyName.

func CTFontCopyFeatureSettings

func CTFontCopyFeatureSettings(font obj.Object) obj.Object

CTFontCopyFeatureSettings calls the CoreText framework function CTFontCopyFeatureSettings.

func CTFontCopyFeatures

func CTFontCopyFeatures(font obj.Object) obj.Object

CTFontCopyFeatures calls the CoreText framework function CTFontCopyFeatures.

func CTFontCopyFontDescriptor

func CTFontCopyFontDescriptor(font obj.Object) obj.Object

CTFontCopyFontDescriptor calls the CoreText framework function CTFontCopyFontDescriptor.

func CTFontCopyFullName

func CTFontCopyFullName(font obj.Object) obj.Object

CTFontCopyFullName calls the CoreText framework function CTFontCopyFullName.

func CTFontCopyGraphicsFont

func CTFontCopyGraphicsFont(font obj.Object, attributes unsafe.Pointer) obj.Object

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

func CTFontCopyName(font obj.Object, nameKey obj.Object) obj.Object

CTFontCopyName calls the CoreText framework function CTFontCopyName.

func CTFontCopyNameForGlyph

func CTFontCopyNameForGlyph(font obj.Object, glyph uint16) obj.Object

CTFontCopyNameForGlyph calls the CoreText framework function CTFontCopyNameForGlyph.

func CTFontCopyPostScriptName

func CTFontCopyPostScriptName(font obj.Object) obj.Object

CTFontCopyPostScriptName calls the CoreText framework function CTFontCopyPostScriptName.

func CTFontCopySupportedLanguages

func CTFontCopySupportedLanguages(font obj.Object) obj.Object

CTFontCopySupportedLanguages calls the CoreText framework function CTFontCopySupportedLanguages.

func CTFontCopyTable

func CTFontCopyTable(font obj.Object, table int, options CTFontTableOptions) obj.Object

CTFontCopyTable calls the CoreText framework function CTFontCopyTable.

func CTFontCopyTraits

func CTFontCopyTraits(font obj.Object) obj.Object

CTFontCopyTraits calls the CoreText framework function CTFontCopyTraits.

func CTFontCopyVariation

func CTFontCopyVariation(font obj.Object) obj.Object

CTFontCopyVariation calls the CoreText framework function CTFontCopyVariation.

func CTFontCopyVariationAxes

func CTFontCopyVariationAxes(font obj.Object) obj.Object

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

func CTFontCreatePathForGlyph(font obj.Object, glyph uint16, matrix unsafe.Pointer) obj.Object

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

func CTFontCreateWithName(name obj.Object, size float64, matrix unsafe.Pointer) obj.Object

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

func CTFontDescriptorCopyAttribute(descriptor obj.Object, attribute obj.Object) obj.Object

CTFontDescriptorCopyAttribute calls the CoreText framework function CTFontDescriptorCopyAttribute.

func CTFontDescriptorCopyAttributes

func CTFontDescriptorCopyAttributes(descriptor obj.Object) obj.Object

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

func CTFontDescriptorCreateCopyWithFamily(original obj.Object, family obj.Object) obj.Object

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

func CTFontDescriptorCreateWithAttributes(attributes obj.Object) obj.Object

CTFontDescriptorCreateWithAttributes calls the CoreText framework function CTFontDescriptorCreateWithAttributes.

func CTFontDescriptorCreateWithNameAndSize

func CTFontDescriptorCreateWithNameAndSize(name obj.Object, size float64) obj.Object

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

func CTFontGetAscent(font obj.Object) float64

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

func CTFontGetCapHeight(font obj.Object) float64

CTFontGetCapHeight calls the CoreText framework function CTFontGetCapHeight.

func CTFontGetDescent

func CTFontGetDescent(font obj.Object) float64

CTFontGetDescent calls the CoreText framework function CTFontGetDescent.

func CTFontGetGlyphCount

func CTFontGetGlyphCount(font obj.Object) int

CTFontGetGlyphCount calls the CoreText framework function CTFontGetGlyphCount.

func CTFontGetGlyphWithName

func CTFontGetGlyphWithName(font obj.Object, glyphName obj.Object) uint16

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

func CTFontGetLeading(font obj.Object) float64

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

func CTFontGetPlatformFont(font obj.Object, attributes unsafe.Pointer) int

CTFontGetPlatformFont calls the CoreText framework function CTFontGetPlatformFont.

func CTFontGetSize

func CTFontGetSize(font obj.Object) float64

CTFontGetSize calls the CoreText framework function CTFontGetSize.

func CTFontGetSlantAngle

func CTFontGetSlantAngle(font obj.Object) float64

CTFontGetSlantAngle calls the CoreText framework function CTFontGetSlantAngle.

func CTFontGetStringEncoding

func CTFontGetStringEncoding(font obj.Object) int

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

func CTFontGetUnderlinePosition(font obj.Object) float64

CTFontGetUnderlinePosition calls the CoreText framework function CTFontGetUnderlinePosition.

func CTFontGetUnderlineThickness

func CTFontGetUnderlineThickness(font obj.Object) float64

CTFontGetUnderlineThickness calls the CoreText framework function CTFontGetUnderlineThickness.

func CTFontGetUnitsPerEm

func CTFontGetUnitsPerEm(font obj.Object) int

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

func CTFontGetXHeight(font obj.Object) float64

CTFontGetXHeight calls the CoreText framework function CTFontGetXHeight.

func CTFontHasTable

func CTFontHasTable(font obj.Object, tag int) bool

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

func CTFontManagerCopyAvailableFontFamilyNames() obj.Object

CTFontManagerCopyAvailableFontFamilyNames calls the CoreText framework function CTFontManagerCopyAvailableFontFamilyNames.

func CTFontManagerCopyAvailableFontURLs

func CTFontManagerCopyAvailableFontURLs() obj.Object

CTFontManagerCopyAvailableFontURLs calls the CoreText framework function CTFontManagerCopyAvailableFontURLs.

func CTFontManagerCopyAvailablePostScriptNames

func CTFontManagerCopyAvailablePostScriptNames() obj.Object

CTFontManagerCopyAvailablePostScriptNames calls the CoreText framework function CTFontManagerCopyAvailablePostScriptNames.

func CTFontManagerCreateFontDescriptorFromData

func CTFontManagerCreateFontDescriptorFromData(data obj.Object) obj.Object

CTFontManagerCreateFontDescriptorFromData calls the CoreText framework function CTFontManagerCreateFontDescriptorFromData.

func CTFontManagerCreateFontDescriptorsFromData

func CTFontManagerCreateFontDescriptorsFromData(data obj.Object) obj.Object

CTFontManagerCreateFontDescriptorsFromData calls the CoreText framework function CTFontManagerCreateFontDescriptorsFromData.

func CTFontManagerCreateFontDescriptorsFromURL

func CTFontManagerCreateFontDescriptorsFromURL(fileURL obj.Object) obj.Object

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

func CTFontManagerEnableFontDescriptors(descriptors obj.Object, enable bool)

CTFontManagerEnableFontDescriptors calls the CoreText framework function CTFontManagerEnableFontDescriptors.

func CTFontManagerIsSupportedFont

func CTFontManagerIsSupportedFont(fontURL obj.Object) bool

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 CTFontManagerRegisterGraphicsFont

func CTFontManagerRegisterGraphicsFont(font obj.Object) error

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 CTFontManagerUnregisterGraphicsFont

func CTFontManagerUnregisterGraphicsFont(font obj.Object) error

func CTFrameDraw

func CTFrameDraw(frame obj.Object, context_ obj.Object)

CTFrameDraw calls the CoreText framework function CTFrameDraw.

func CTFrameGetFrameAttributes

func CTFrameGetFrameAttributes(frame obj.Object) obj.Object

CTFrameGetFrameAttributes calls the CoreText framework function CTFrameGetFrameAttributes.

func CTFrameGetLineOrigins

func CTFrameGetLineOrigins(frame obj.Object, range_ corefoundation.CFRange, origins unsafe.Pointer)

CTFrameGetLineOrigins calls the CoreText framework function CTFrameGetLineOrigins.

func CTFrameGetLines

func CTFrameGetLines(frame obj.Object) obj.Object

CTFrameGetLines calls the CoreText framework function CTFrameGetLines.

func CTFrameGetPath

func CTFrameGetPath(frame obj.Object) obj.Object

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

func CTFramesetterCreateWithAttributedString(attrString obj.Object) obj.Object

CTFramesetterCreateWithAttributedString calls the CoreText framework function CTFramesetterCreateWithAttributedString.

func CTFramesetterCreateWithTypesetter

func CTFramesetterCreateWithTypesetter(typesetter obj.Object) obj.Object

CTFramesetterCreateWithTypesetter calls the CoreText framework function CTFramesetterCreateWithTypesetter.

func CTFramesetterGetTypeID

func CTFramesetterGetTypeID() int

CTFramesetterGetTypeID calls the CoreText framework function CTFramesetterGetTypeID.

func CTFramesetterGetTypesetter

func CTFramesetterGetTypesetter(framesetter obj.Object) obj.Object

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

func CTGlyphInfoCreateWithGlyph(glyph uint16, font obj.Object, baseString obj.Object) obj.Object

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

func CTGlyphInfoGetCharacterIdentifier(glyphInfo obj.Object) uint16

CTGlyphInfoGetCharacterIdentifier calls the CoreText framework function CTGlyphInfoGetCharacterIdentifier.

func CTGlyphInfoGetGlyph

func CTGlyphInfoGetGlyph(glyphInfo obj.Object) uint16

CTGlyphInfoGetGlyph calls the CoreText framework function CTGlyphInfoGetGlyph.

func CTGlyphInfoGetGlyphName

func CTGlyphInfoGetGlyphName(glyphInfo obj.Object) obj.Object

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

func CTLineCreateWithAttributedString(attrString obj.Object) obj.Object

CTLineCreateWithAttributedString calls the CoreText framework function CTLineCreateWithAttributedString.

func CTLineDraw

func CTLineDraw(line obj.Object, context_ obj.Object)

CTLineDraw calls the CoreText framework function CTLineDraw.

func CTLineEnumerateCaretOffsets

func CTLineEnumerateCaretOffsets(line obj.Object, block unsafe.Pointer)

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

func CTLineGetGlyphCount(line obj.Object) int

CTLineGetGlyphCount calls the CoreText framework function CTLineGetGlyphCount.

func CTLineGetGlyphRuns

func CTLineGetGlyphRuns(line obj.Object) obj.Object

CTLineGetGlyphRuns calls the CoreText framework function CTLineGetGlyphRuns.

func CTLineGetImageBounds

func CTLineGetImageBounds(line obj.Object, context_ obj.Object) corefoundation.CGRect

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

func CTLineGetPenOffsetForFlush(line obj.Object, flushFactor float64, flushWidth float64) float64

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

func CTLineGetTrailingWhitespaceWidth(line obj.Object) float64

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

func CTParagraphStyleCreate(settings unsafe.Pointer, settingCount int) obj.Object

CTParagraphStyleCreate calls the CoreText framework function CTParagraphStyleCreate.

func CTParagraphStyleCreateCopy

func CTParagraphStyleCreateCopy(paragraphStyle obj.Object) obj.Object

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

func CTRubyAnnotationCreateCopy(rubyAnnotation obj.Object) obj.Object

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

func CTRubyAnnotationGetSizeFactor(rubyAnnotation obj.Object) float64

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

func CTRunDelegateCreate(callbacks unsafe.Pointer, refCon unsafe.Pointer) obj.Object

CTRunDelegateCreate calls the CoreText framework function CTRunDelegateCreate.

func CTRunDelegateGetRefCon

func CTRunDelegateGetRefCon(runDelegate obj.Object) unsafe.Pointer

CTRunDelegateGetRefCon calls the CoreText framework function CTRunDelegateGetRefCon.

func CTRunDelegateGetTypeID

func CTRunDelegateGetTypeID() int

CTRunDelegateGetTypeID calls the CoreText framework function CTRunDelegateGetTypeID.

func CTRunDraw

func CTRunDraw(run obj.Object, context_ obj.Object, range_ corefoundation.CFRange)

CTRunDraw calls the CoreText framework function CTRunDraw.

func CTRunGetAdvances

func CTRunGetAdvances(run obj.Object, range_ corefoundation.CFRange, buffer unsafe.Pointer)

CTRunGetAdvances calls the CoreText framework function CTRunGetAdvances.

func CTRunGetAdvancesPtr

func CTRunGetAdvancesPtr(run obj.Object) unsafe.Pointer

CTRunGetAdvancesPtr calls the CoreText framework function CTRunGetAdvancesPtr.

func CTRunGetAttributes

func CTRunGetAttributes(run obj.Object) obj.Object

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

func CTRunGetGlyphCount(run obj.Object) int

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

func CTRunGetGlyphsPtr(run obj.Object) unsafe.Pointer

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

func CTRunGetPositions(run obj.Object, range_ corefoundation.CFRange, buffer unsafe.Pointer)

CTRunGetPositions calls the CoreText framework function CTRunGetPositions.

func CTRunGetPositionsPtr

func CTRunGetPositionsPtr(run obj.Object) unsafe.Pointer

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

func CTRunGetStringIndicesPtr(run obj.Object) unsafe.Pointer

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

func CTTextTabCreate(alignment CTTextAlignment, location float64, options obj.Object) obj.Object

CTTextTabCreate calls the CoreText framework function CTTextTabCreate.

func CTTextTabGetLocation

func CTTextTabGetLocation(tab obj.Object) float64

CTTextTabGetLocation calls the CoreText framework function CTTextTabGetLocation.

func CTTextTabGetOptions

func CTTextTabGetOptions(tab obj.Object) obj.Object

CTTextTabGetOptions calls the CoreText framework function CTTextTabGetOptions.

func CTTextTabGetTypeID

func CTTextTabGetTypeID() int

CTTextTabGetTypeID calls the CoreText framework function CTTextTabGetTypeID.

func CTTypesetterCreateLine

func CTTypesetterCreateLine(typesetter obj.Object, stringRange corefoundation.CFRange) obj.Object

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

func CTTypesetterCreateWithAttributedString(str obj.Object) obj.Object

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

func CTTypesetterSuggestClusterBreak(typesetter obj.Object, startIndex int, width float64) int

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

func CTTypesetterSuggestLineBreak(typesetter obj.Object, startIndex int, width float64) int

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

func KCTAdaptiveImageProviderAttributeName() obj.Object

KCTAdaptiveImageProviderAttributeName returns the value of the constant kCTAdaptiveImageProviderAttributeName.

func KCTBackgroundColorAttributeName

func KCTBackgroundColorAttributeName() obj.Object

KCTBackgroundColorAttributeName returns the value of the constant kCTBackgroundColorAttributeName.

func KCTBaselineClassAttributeName

func KCTBaselineClassAttributeName() obj.Object

KCTBaselineClassAttributeName returns the value of the constant kCTBaselineClassAttributeName.

func KCTBaselineClassHanging

func KCTBaselineClassHanging() obj.Object

KCTBaselineClassHanging returns the value of the constant kCTBaselineClassHanging.

func KCTBaselineClassIdeographicCentered

func KCTBaselineClassIdeographicCentered() obj.Object

KCTBaselineClassIdeographicCentered returns the value of the constant kCTBaselineClassIdeographicCentered.

func KCTBaselineClassIdeographicHigh

func KCTBaselineClassIdeographicHigh() obj.Object

KCTBaselineClassIdeographicHigh returns the value of the constant kCTBaselineClassIdeographicHigh.

func KCTBaselineClassIdeographicLow

func KCTBaselineClassIdeographicLow() obj.Object

KCTBaselineClassIdeographicLow returns the value of the constant kCTBaselineClassIdeographicLow.

func KCTBaselineClassMath

func KCTBaselineClassMath() obj.Object

KCTBaselineClassMath returns the value of the constant kCTBaselineClassMath.

func KCTBaselineClassRoman

func KCTBaselineClassRoman() obj.Object

KCTBaselineClassRoman returns the value of the constant kCTBaselineClassRoman.

func KCTBaselineInfoAttributeName

func KCTBaselineInfoAttributeName() obj.Object

KCTBaselineInfoAttributeName returns the value of the constant kCTBaselineInfoAttributeName.

func KCTBaselineOffsetAttributeName

func KCTBaselineOffsetAttributeName() obj.Object

KCTBaselineOffsetAttributeName returns the value of the constant kCTBaselineOffsetAttributeName.

func KCTBaselineOriginalFont

func KCTBaselineOriginalFont() obj.Object

KCTBaselineOriginalFont returns the value of the constant kCTBaselineOriginalFont.

func KCTBaselineReferenceFont

func KCTBaselineReferenceFont() obj.Object

KCTBaselineReferenceFont returns the value of the constant kCTBaselineReferenceFont.

func KCTBaselineReferenceInfoAttributeName

func KCTBaselineReferenceInfoAttributeName() obj.Object

KCTBaselineReferenceInfoAttributeName returns the value of the constant kCTBaselineReferenceInfoAttributeName.

func KCTCharacterShapeAttributeName

func KCTCharacterShapeAttributeName() obj.Object

KCTCharacterShapeAttributeName returns the value of the constant kCTCharacterShapeAttributeName.

func KCTFontAttributeName

func KCTFontAttributeName() obj.Object

KCTFontAttributeName returns the value of the constant kCTFontAttributeName.

func KCTFontBaselineAdjustAttribute

func KCTFontBaselineAdjustAttribute() obj.Object

KCTFontBaselineAdjustAttribute returns the value of the constant kCTFontBaselineAdjustAttribute.

func KCTFontCascadeListAttribute

func KCTFontCascadeListAttribute() obj.Object

KCTFontCascadeListAttribute returns the value of the constant kCTFontCascadeListAttribute.

func KCTFontCharacterSetAttribute

func KCTFontCharacterSetAttribute() obj.Object

KCTFontCharacterSetAttribute returns the value of the constant kCTFontCharacterSetAttribute.

func KCTFontCollectionDisallowAutoActivationOption

func KCTFontCollectionDisallowAutoActivationOption() obj.Object

KCTFontCollectionDisallowAutoActivationOption returns the value of the constant kCTFontCollectionDisallowAutoActivationOption.

func KCTFontCollectionIncludeDisabledFontsOption

func KCTFontCollectionIncludeDisabledFontsOption() obj.Object

KCTFontCollectionIncludeDisabledFontsOption returns the value of the constant kCTFontCollectionIncludeDisabledFontsOption.

func KCTFontCollectionRemoveDuplicatesOption

func KCTFontCollectionRemoveDuplicatesOption() obj.Object

KCTFontCollectionRemoveDuplicatesOption returns the value of the constant kCTFontCollectionRemoveDuplicatesOption.

func KCTFontCopyrightNameKey

func KCTFontCopyrightNameKey() obj.Object

KCTFontCopyrightNameKey returns the value of the constant kCTFontCopyrightNameKey.

func KCTFontDescriptionNameKey

func KCTFontDescriptionNameKey() obj.Object

KCTFontDescriptionNameKey returns the value of the constant kCTFontDescriptionNameKey.

func KCTFontDescriptorLanguageAttribute

func KCTFontDescriptorLanguageAttribute() obj.Object

KCTFontDescriptorLanguageAttribute returns the value of the constant kCTFontDescriptorLanguageAttribute.

func KCTFontDescriptorMatchingCurrentAssetSize

func KCTFontDescriptorMatchingCurrentAssetSize() obj.Object

KCTFontDescriptorMatchingCurrentAssetSize returns the value of the constant kCTFontDescriptorMatchingCurrentAssetSize.

func KCTFontDescriptorMatchingDescriptors

func KCTFontDescriptorMatchingDescriptors() obj.Object

KCTFontDescriptorMatchingDescriptors returns the value of the constant kCTFontDescriptorMatchingDescriptors.

func KCTFontDescriptorMatchingError

func KCTFontDescriptorMatchingError() obj.Object

KCTFontDescriptorMatchingError returns the value of the constant kCTFontDescriptorMatchingError.

func KCTFontDescriptorMatchingPercentage

func KCTFontDescriptorMatchingPercentage() obj.Object

KCTFontDescriptorMatchingPercentage returns the value of the constant kCTFontDescriptorMatchingPercentage.

func KCTFontDescriptorMatchingResult

func KCTFontDescriptorMatchingResult() obj.Object

KCTFontDescriptorMatchingResult returns the value of the constant kCTFontDescriptorMatchingResult.

func KCTFontDescriptorMatchingSourceDescriptor

func KCTFontDescriptorMatchingSourceDescriptor() obj.Object

KCTFontDescriptorMatchingSourceDescriptor returns the value of the constant kCTFontDescriptorMatchingSourceDescriptor.

func KCTFontDescriptorMatchingTotalAssetSize

func KCTFontDescriptorMatchingTotalAssetSize() obj.Object

KCTFontDescriptorMatchingTotalAssetSize returns the value of the constant kCTFontDescriptorMatchingTotalAssetSize.

func KCTFontDescriptorMatchingTotalDownloadedSize

func KCTFontDescriptorMatchingTotalDownloadedSize() obj.Object

KCTFontDescriptorMatchingTotalDownloadedSize returns the value of the constant kCTFontDescriptorMatchingTotalDownloadedSize.

func KCTFontDesignerNameKey

func KCTFontDesignerNameKey() obj.Object

KCTFontDesignerNameKey returns the value of the constant kCTFontDesignerNameKey.

func KCTFontDesignerURLNameKey

func KCTFontDesignerURLNameKey() obj.Object

KCTFontDesignerURLNameKey returns the value of the constant kCTFontDesignerURLNameKey.

func KCTFontDisplayNameAttribute

func KCTFontDisplayNameAttribute() obj.Object

KCTFontDisplayNameAttribute returns the value of the constant kCTFontDisplayNameAttribute.

func KCTFontDownloadableAttribute

func KCTFontDownloadableAttribute() obj.Object

KCTFontDownloadableAttribute returns the value of the constant kCTFontDownloadableAttribute.

func KCTFontDownloadedAttribute

func KCTFontDownloadedAttribute() obj.Object

KCTFontDownloadedAttribute returns the value of the constant kCTFontDownloadedAttribute.

func KCTFontEnabledAttribute

func KCTFontEnabledAttribute() obj.Object

KCTFontEnabledAttribute returns the value of the constant kCTFontEnabledAttribute.

func KCTFontFamilyNameAttribute

func KCTFontFamilyNameAttribute() obj.Object

KCTFontFamilyNameAttribute returns the value of the constant kCTFontFamilyNameAttribute.

func KCTFontFamilyNameKey

func KCTFontFamilyNameKey() obj.Object

KCTFontFamilyNameKey returns the value of the constant kCTFontFamilyNameKey.

func KCTFontFeatureSampleTextKey

func KCTFontFeatureSampleTextKey() obj.Object

KCTFontFeatureSampleTextKey returns the value of the constant kCTFontFeatureSampleTextKey.

func KCTFontFeatureSelectorDefaultKey

func KCTFontFeatureSelectorDefaultKey() obj.Object

KCTFontFeatureSelectorDefaultKey returns the value of the constant kCTFontFeatureSelectorDefaultKey.

func KCTFontFeatureSelectorIdentifierKey

func KCTFontFeatureSelectorIdentifierKey() obj.Object

KCTFontFeatureSelectorIdentifierKey returns the value of the constant kCTFontFeatureSelectorIdentifierKey.

func KCTFontFeatureSelectorNameKey

func KCTFontFeatureSelectorNameKey() obj.Object

KCTFontFeatureSelectorNameKey returns the value of the constant kCTFontFeatureSelectorNameKey.

func KCTFontFeatureSelectorSettingKey

func KCTFontFeatureSelectorSettingKey() obj.Object

KCTFontFeatureSelectorSettingKey returns the value of the constant kCTFontFeatureSelectorSettingKey.

func KCTFontFeatureSettingsAttribute

func KCTFontFeatureSettingsAttribute() obj.Object

KCTFontFeatureSettingsAttribute returns the value of the constant kCTFontFeatureSettingsAttribute.

func KCTFontFeatureTooltipTextKey

func KCTFontFeatureTooltipTextKey() obj.Object

KCTFontFeatureTooltipTextKey returns the value of the constant kCTFontFeatureTooltipTextKey.

func KCTFontFeatureTypeExclusiveKey

func KCTFontFeatureTypeExclusiveKey() obj.Object

KCTFontFeatureTypeExclusiveKey returns the value of the constant kCTFontFeatureTypeExclusiveKey.

func KCTFontFeatureTypeIdentifierKey

func KCTFontFeatureTypeIdentifierKey() obj.Object

KCTFontFeatureTypeIdentifierKey returns the value of the constant kCTFontFeatureTypeIdentifierKey.

func KCTFontFeatureTypeNameKey

func KCTFontFeatureTypeNameKey() obj.Object

KCTFontFeatureTypeNameKey returns the value of the constant kCTFontFeatureTypeNameKey.

func KCTFontFeatureTypeSelectorsKey

func KCTFontFeatureTypeSelectorsKey() obj.Object

KCTFontFeatureTypeSelectorsKey returns the value of the constant kCTFontFeatureTypeSelectorsKey.

func KCTFontFeaturesAttribute

func KCTFontFeaturesAttribute() obj.Object

KCTFontFeaturesAttribute returns the value of the constant kCTFontFeaturesAttribute.

func KCTFontFixedAdvanceAttribute

func KCTFontFixedAdvanceAttribute() obj.Object

KCTFontFixedAdvanceAttribute returns the value of the constant kCTFontFixedAdvanceAttribute.

func KCTFontFormatAttribute

func KCTFontFormatAttribute() obj.Object

KCTFontFormatAttribute returns the value of the constant kCTFontFormatAttribute.

func KCTFontFullNameKey

func KCTFontFullNameKey() obj.Object

KCTFontFullNameKey returns the value of the constant kCTFontFullNameKey.

func KCTFontLanguagesAttribute

func KCTFontLanguagesAttribute() obj.Object

KCTFontLanguagesAttribute returns the value of the constant kCTFontLanguagesAttribute.

func KCTFontLicenseNameKey

func KCTFontLicenseNameKey() obj.Object

KCTFontLicenseNameKey returns the value of the constant kCTFontLicenseNameKey.

func KCTFontLicenseURLNameKey

func KCTFontLicenseURLNameKey() obj.Object

KCTFontLicenseURLNameKey returns the value of the constant kCTFontLicenseURLNameKey.

func KCTFontMacintoshEncodingsAttribute

func KCTFontMacintoshEncodingsAttribute() obj.Object

KCTFontMacintoshEncodingsAttribute returns the value of the constant kCTFontMacintoshEncodingsAttribute.

func KCTFontManagerBundleIdentifier

func KCTFontManagerBundleIdentifier() obj.Object

KCTFontManagerBundleIdentifier returns the value of the constant kCTFontManagerBundleIdentifier.

func KCTFontManagerErrorDomain

func KCTFontManagerErrorDomain() obj.Object

KCTFontManagerErrorDomain returns the value of the constant kCTFontManagerErrorDomain.

func KCTFontManagerErrorFontURLsKey

func KCTFontManagerErrorFontURLsKey() obj.Object

KCTFontManagerErrorFontURLsKey returns the value of the constant kCTFontManagerErrorFontURLsKey.

func KCTFontManagerRegisteredFontsChangedNotification

func KCTFontManagerRegisteredFontsChangedNotification() obj.Object

KCTFontManagerRegisteredFontsChangedNotification returns the value of the constant kCTFontManagerRegisteredFontsChangedNotification.

func KCTFontManufacturerNameKey

func KCTFontManufacturerNameKey() obj.Object

KCTFontManufacturerNameKey returns the value of the constant kCTFontManufacturerNameKey.

func KCTFontMatrixAttribute

func KCTFontMatrixAttribute() obj.Object

KCTFontMatrixAttribute returns the value of the constant kCTFontMatrixAttribute.

func KCTFontNameAttribute

func KCTFontNameAttribute() obj.Object

KCTFontNameAttribute returns the value of the constant kCTFontNameAttribute.

func KCTFontOpenTypeFeatureTag

func KCTFontOpenTypeFeatureTag() obj.Object

KCTFontOpenTypeFeatureTag returns the value of the constant kCTFontOpenTypeFeatureTag.

func KCTFontOpenTypeFeatureValue

func KCTFontOpenTypeFeatureValue() obj.Object

KCTFontOpenTypeFeatureValue returns the value of the constant kCTFontOpenTypeFeatureValue.

func KCTFontOpticalSizeAttribute

func KCTFontOpticalSizeAttribute() obj.Object

KCTFontOpticalSizeAttribute returns the value of the constant kCTFontOpticalSizeAttribute.

func KCTFontOrientationAttribute

func KCTFontOrientationAttribute() obj.Object

KCTFontOrientationAttribute returns the value of the constant kCTFontOrientationAttribute.

func KCTFontPostScriptCIDNameKey

func KCTFontPostScriptCIDNameKey() obj.Object

KCTFontPostScriptCIDNameKey returns the value of the constant kCTFontPostScriptCIDNameKey.

func KCTFontPostScriptNameKey

func KCTFontPostScriptNameKey() obj.Object

KCTFontPostScriptNameKey returns the value of the constant kCTFontPostScriptNameKey.

func KCTFontPriorityAttribute

func KCTFontPriorityAttribute() obj.Object

KCTFontPriorityAttribute returns the value of the constant kCTFontPriorityAttribute.

func KCTFontRegistrationScopeAttribute

func KCTFontRegistrationScopeAttribute() obj.Object

KCTFontRegistrationScopeAttribute returns the value of the constant kCTFontRegistrationScopeAttribute.

func KCTFontSampleTextNameKey

func KCTFontSampleTextNameKey() obj.Object

KCTFontSampleTextNameKey returns the value of the constant kCTFontSampleTextNameKey.

func KCTFontSizeAttribute

func KCTFontSizeAttribute() obj.Object

KCTFontSizeAttribute returns the value of the constant kCTFontSizeAttribute.

func KCTFontSlantTrait

func KCTFontSlantTrait() obj.Object

KCTFontSlantTrait returns the value of the constant kCTFontSlantTrait.

func KCTFontStyleNameAttribute

func KCTFontStyleNameAttribute() obj.Object

KCTFontStyleNameAttribute returns the value of the constant kCTFontStyleNameAttribute.

func KCTFontStyleNameKey

func KCTFontStyleNameKey() obj.Object

KCTFontStyleNameKey returns the value of the constant kCTFontStyleNameKey.

func KCTFontSubFamilyNameKey

func KCTFontSubFamilyNameKey() obj.Object

KCTFontSubFamilyNameKey returns the value of the constant kCTFontSubFamilyNameKey.

func KCTFontSymbolicTrait

func KCTFontSymbolicTrait() obj.Object

KCTFontSymbolicTrait returns the value of the constant kCTFontSymbolicTrait.

func KCTFontTrademarkNameKey

func KCTFontTrademarkNameKey() obj.Object

KCTFontTrademarkNameKey returns the value of the constant kCTFontTrademarkNameKey.

func KCTFontTraitsAttribute

func KCTFontTraitsAttribute() obj.Object

KCTFontTraitsAttribute returns the value of the constant kCTFontTraitsAttribute.

func KCTFontURLAttribute

func KCTFontURLAttribute() obj.Object

KCTFontURLAttribute returns the value of the constant kCTFontURLAttribute.

func KCTFontUniqueNameKey

func KCTFontUniqueNameKey() obj.Object

KCTFontUniqueNameKey returns the value of the constant kCTFontUniqueNameKey.

func KCTFontVariationAttribute

func KCTFontVariationAttribute() obj.Object

KCTFontVariationAttribute returns the value of the constant kCTFontVariationAttribute.

func KCTFontVariationAxesAttribute

func KCTFontVariationAxesAttribute() obj.Object

KCTFontVariationAxesAttribute returns the value of the constant kCTFontVariationAxesAttribute.

func KCTFontVariationAxisDefaultValueKey

func KCTFontVariationAxisDefaultValueKey() obj.Object

KCTFontVariationAxisDefaultValueKey returns the value of the constant kCTFontVariationAxisDefaultValueKey.

func KCTFontVariationAxisHiddenKey

func KCTFontVariationAxisHiddenKey() obj.Object

KCTFontVariationAxisHiddenKey returns the value of the constant kCTFontVariationAxisHiddenKey.

func KCTFontVariationAxisIdentifierKey

func KCTFontVariationAxisIdentifierKey() obj.Object

KCTFontVariationAxisIdentifierKey returns the value of the constant kCTFontVariationAxisIdentifierKey.

func KCTFontVariationAxisMaximumValueKey

func KCTFontVariationAxisMaximumValueKey() obj.Object

KCTFontVariationAxisMaximumValueKey returns the value of the constant kCTFontVariationAxisMaximumValueKey.

func KCTFontVariationAxisMinimumValueKey

func KCTFontVariationAxisMinimumValueKey() obj.Object

KCTFontVariationAxisMinimumValueKey returns the value of the constant kCTFontVariationAxisMinimumValueKey.

func KCTFontVariationAxisNameKey

func KCTFontVariationAxisNameKey() obj.Object

KCTFontVariationAxisNameKey returns the value of the constant kCTFontVariationAxisNameKey.

func KCTFontVendorURLNameKey

func KCTFontVendorURLNameKey() obj.Object

KCTFontVendorURLNameKey returns the value of the constant kCTFontVendorURLNameKey.

func KCTFontVersionNameKey

func KCTFontVersionNameKey() obj.Object

KCTFontVersionNameKey returns the value of the constant kCTFontVersionNameKey.

func KCTFontWeightTrait

func KCTFontWeightTrait() obj.Object

KCTFontWeightTrait returns the value of the constant kCTFontWeightTrait.

func KCTFontWidthTrait

func KCTFontWidthTrait() obj.Object

KCTFontWidthTrait returns the value of the constant kCTFontWidthTrait.

func KCTForegroundColorAttributeName

func KCTForegroundColorAttributeName() obj.Object

KCTForegroundColorAttributeName returns the value of the constant kCTForegroundColorAttributeName.

func KCTForegroundColorFromContextAttributeName

func KCTForegroundColorFromContextAttributeName() obj.Object

KCTForegroundColorFromContextAttributeName returns the value of the constant kCTForegroundColorFromContextAttributeName.

func KCTFrameClippingPathsAttributeName

func KCTFrameClippingPathsAttributeName() obj.Object

KCTFrameClippingPathsAttributeName returns the value of the constant kCTFrameClippingPathsAttributeName.

func KCTFramePathClippingPathAttributeName

func KCTFramePathClippingPathAttributeName() obj.Object

KCTFramePathClippingPathAttributeName returns the value of the constant kCTFramePathClippingPathAttributeName.

func KCTFramePathFillRuleAttributeName

func KCTFramePathFillRuleAttributeName() obj.Object

KCTFramePathFillRuleAttributeName returns the value of the constant kCTFramePathFillRuleAttributeName.

func KCTFramePathWidthAttributeName

func KCTFramePathWidthAttributeName() obj.Object

KCTFramePathWidthAttributeName returns the value of the constant kCTFramePathWidthAttributeName.

func KCTFrameProgressionAttributeName

func KCTFrameProgressionAttributeName() obj.Object

KCTFrameProgressionAttributeName returns the value of the constant kCTFrameProgressionAttributeName.

func KCTGlyphInfoAttributeName

func KCTGlyphInfoAttributeName() obj.Object

KCTGlyphInfoAttributeName returns the value of the constant kCTGlyphInfoAttributeName.

func KCTHorizontalInVerticalFormsAttributeName

func KCTHorizontalInVerticalFormsAttributeName() obj.Object

KCTHorizontalInVerticalFormsAttributeName returns the value of the constant kCTHorizontalInVerticalFormsAttributeName.

func KCTKernAttributeName

func KCTKernAttributeName() obj.Object

KCTKernAttributeName returns the value of the constant kCTKernAttributeName.

func KCTLanguageAttributeName

func KCTLanguageAttributeName() obj.Object

KCTLanguageAttributeName returns the value of the constant kCTLanguageAttributeName.

func KCTLigatureAttributeName

func KCTLigatureAttributeName() obj.Object

KCTLigatureAttributeName returns the value of the constant kCTLigatureAttributeName.

func KCTParagraphStyleAttributeName

func KCTParagraphStyleAttributeName() obj.Object

KCTParagraphStyleAttributeName returns the value of the constant kCTParagraphStyleAttributeName.

func KCTRubyAnnotationAttributeName

func KCTRubyAnnotationAttributeName() obj.Object

KCTRubyAnnotationAttributeName returns the value of the constant kCTRubyAnnotationAttributeName.

func KCTRubyAnnotationScaleToFitAttributeName

func KCTRubyAnnotationScaleToFitAttributeName() obj.Object

KCTRubyAnnotationScaleToFitAttributeName returns the value of the constant kCTRubyAnnotationScaleToFitAttributeName.

func KCTRubyAnnotationSizeFactorAttributeName

func KCTRubyAnnotationSizeFactorAttributeName() obj.Object

KCTRubyAnnotationSizeFactorAttributeName returns the value of the constant kCTRubyAnnotationSizeFactorAttributeName.

func KCTRunDelegateAttributeName

func KCTRunDelegateAttributeName() obj.Object

KCTRunDelegateAttributeName returns the value of the constant kCTRunDelegateAttributeName.

func KCTStrokeColorAttributeName

func KCTStrokeColorAttributeName() obj.Object

KCTStrokeColorAttributeName returns the value of the constant kCTStrokeColorAttributeName.

func KCTStrokeWidthAttributeName

func KCTStrokeWidthAttributeName() obj.Object

KCTStrokeWidthAttributeName returns the value of the constant kCTStrokeWidthAttributeName.

func KCTSuperscriptAttributeName

func KCTSuperscriptAttributeName() obj.Object

KCTSuperscriptAttributeName returns the value of the constant kCTSuperscriptAttributeName.

func KCTTabColumnTerminatorsAttributeName

func KCTTabColumnTerminatorsAttributeName() obj.Object

KCTTabColumnTerminatorsAttributeName returns the value of the constant kCTTabColumnTerminatorsAttributeName.

func KCTTrackingAttributeName

func KCTTrackingAttributeName() obj.Object

KCTTrackingAttributeName returns the value of the constant kCTTrackingAttributeName.

func KCTTypesetterOptionAllowUnboundedLayout

func KCTTypesetterOptionAllowUnboundedLayout() obj.Object

KCTTypesetterOptionAllowUnboundedLayout returns the value of the constant kCTTypesetterOptionAllowUnboundedLayout.

func KCTTypesetterOptionDisableBidiProcessing

func KCTTypesetterOptionDisableBidiProcessing() obj.Object

KCTTypesetterOptionDisableBidiProcessing returns the value of the constant kCTTypesetterOptionDisableBidiProcessing.

func KCTTypesetterOptionForcedEmbeddingLevel

func KCTTypesetterOptionForcedEmbeddingLevel() obj.Object

KCTTypesetterOptionForcedEmbeddingLevel returns the value of the constant kCTTypesetterOptionForcedEmbeddingLevel.

func KCTUnderlineColorAttributeName

func KCTUnderlineColorAttributeName() obj.Object

KCTUnderlineColorAttributeName returns the value of the constant kCTUnderlineColorAttributeName.

func KCTUnderlineStyleAttributeName

func KCTUnderlineStyleAttributeName() obj.Object

KCTUnderlineStyleAttributeName returns the value of the constant kCTUnderlineStyleAttributeName.

func KCTVerticalFormsAttributeName

func KCTVerticalFormsAttributeName() obj.Object

KCTVerticalFormsAttributeName returns the value of the constant kCTVerticalFormsAttributeName.

func KCTWritingDirectionAttributeName

func KCTWritingDirectionAttributeName() obj.Object

KCTWritingDirectionAttributeName returns the value of the constant kCTWritingDirectionAttributeName.

Types

type ALMXGlyphEntry

type ALMXGlyphEntry struct {
	GlyphIndexOffset  int16
	HorizontalAdvance int16
	XOffsetToHOrigin  int16
	VerticalAdvance   int16
	YOffsetToVOrigin  int16
}

type ALMXHeader

type ALMXHeader struct {
	Version    int
	Flags      uint16
	NMasters   uint16
	FirstGlyph uint16
	LastGlyph  uint16
	Lookup     SFNTLookupTable
}

type AnchorPoint

type AnchorPoint struct {
	X int16
	Y int16
}

type AnchorPointTable

type AnchorPointTable struct {
	NPoints uint
	Points  [1]AnchorPoint
}

type AnkrTable

type AnkrTable struct {
	Version                uint16
	Flags                  uint16
	LookupTableOffset      uint
	AnchorPointTableOffset uint
}

type BslnFormat0Part

type BslnFormat0Part struct {
	Deltas [32]int16
}

type BslnFormat1Part

type BslnFormat1Part struct {
	Deltas      [32]int16
	MappingData SFNTLookupTable
}

type BslnFormat2Part

type BslnFormat2Part struct {
	StdGlyph  uint16
	CtlPoints [32]int16
}

type BslnFormat3Part

type BslnFormat3Part struct {
	StdGlyph    uint16
	CtlPoints   [32]int16
	MappingData SFNTLookupTable
}

type BslnTable

type BslnTable struct {
	Version         int
	Format          uint16
	DefaultBaseline uint16
	Parts           unsafe.Pointer
}

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 CTFont

type CTFont struct{}

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

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

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

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 CTFrame

type CTFrame struct{}

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 CTLine

type CTLine 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 CTRun

type CTRun struct{}

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 CTTextTab

type CTTextTab struct{}

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 Clockid added in v0.17.0

type Clockid int64
const (
	ClockidRealtime           Clockid = 0
	ClockidMonotonic          Clockid = 6
	ClockidMonotonicRaw       Clockid = 4
	ClockidMonotonicRawApprox Clockid = 5
	ClockidUptimeRaw          Clockid = 8
	ClockidUptimeRawApprox    Clockid = 9
	ClockidProcessCputimeID   Clockid = 12
	ClockidThreadCputimeID    Clockid = 16
)

func (Clockid) String added in v0.17.0

func (e Clockid) String() string

String returns the Clockid 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

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 EntryID added in v0.17.0

type EntryID int64
const (
	EntryIDFirstEntry EntryID = 0
	EntryIDNextEntry  EntryID = -1
	EntryIDLastEntry  EntryID = -2
)

func (EntryID) String added in v0.17.0

func (e EntryID) String() string

String returns the EntryID constant's name, or its numeric form when the value is not a known constant.

type EvCmd

type EvCmd int64
const (
	EVNOP   EvCmd = 0
	EVHIDE  EvCmd = 1
	EVSHOW  EvCmd = 2
	EVMOVE  EvCmd = 3
	EVLEVEL EvCmd = 4
)

func (EvCmd) String

func (e EvCmd) String() string

String returns the EvCmd 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 Flag added in v0.17.0

type Flag int64
const (
	FlagFlagDeferInherit      Flag = 1
	FlagFlagNoInherit         Flag = 131072
	FlagEntryInherited        Flag = 16
	FlagEntryFileInherit      Flag = 32
	FlagEntryDirectoryInherit Flag = 64
	FlagEntryLimitInherit     Flag = 128
	FlagEntryOnlyInherit      Flag = 256
)

func (Flag) String added in v0.17.0

func (e Flag) String() string

String returns the Flag constant's name, or its numeric form when the value is not a known constant.

type FontVariation

type FontVariation struct {
	Name  uint
	Value int
}

type Idtype added in v0.17.0

type Idtype int64
const (
	IdtypeAll  Idtype = 0
	IdtypePid  Idtype = 1
	IdtypePgid Idtype = 2
)

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

String returns the Idtype constant's name, or its numeric form when the value is not a known constant.

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 JustPCActionSubrecord struct {
	TheClass uint16
	TheType  uint16
	Length   uint
	Data     uint
}

type JustPCConditionalAddAction

type JustPCConditionalAddAction struct {
	SubstThreshold int
	AddGlyph       uint16
	SubstGlyph     uint16
}

type JustPCDecompositionAction

type JustPCDecompositionAction struct {
	LowerLimit int
	UpperLimit int
	Order      uint16
	Count      uint16
	Glyphs     [1]uint16
}

type JustPCDuctilityAction

type JustPCDuctilityAction struct {
	DuctilityAxis  uint
	MinimumLimit   int
	NoStretchValue int
	MaximumLimit   int
}

type JustPCGlyphRepeatAddAction

type JustPCGlyphRepeatAddAction struct {
	Flags uint16
	Glyph uint16
}

type JustPostcompTable

type JustPostcompTable struct {
	LookupTable SFNTLookupTable
}

type JustTable

type JustTable struct {
	Version           int
	Format            uint16
	HorizHeaderOffset uint16
	VertHeaderOffset  uint16
}

type JustWidthDeltaEntry

type JustWidthDeltaEntry struct {
	JustClass         uint
	BeforeGrowLimit   int
	BeforeShrinkLimit int
	AfterGrowLimit    int
	AfterShrinkLimit  int
	GrowFlags         uint16
	ShrinkFlags       uint16
}

type JustWidthDeltaGroup

type JustWidthDeltaGroup struct {
	Count   uint
	Entries [1]JustWidthDeltaEntry
}

type KernIndexArrayHeader

type KernIndexArrayHeader struct {
	GlyphCount      uint16
	KernValueCount  uint8
	LeftClassCount  uint8
	RightClassCount uint8
	Flags           uint8
	KernValue       [1]int16
	LeftClass       [1]uint8
	RightClass      [1]uint8
	KernIndex       [1]uint8
}

type KernKerningPair

type KernKerningPair struct {
	Left  uint16
	Right uint16
}

type KernOffsetTable

type KernOffsetTable struct {
	FirstGlyph  uint16
	NGlyphs     uint16
	OffsetTable [1]uint16
}

type KernOrderedListEntry

type KernOrderedListEntry struct {
	Pair  KernKerningPair
	Value int16
}

type KernOrderedListHeader

type KernOrderedListHeader struct {
	NPairs        uint16
	SearchRange   uint16
	EntrySelector uint16
	RangeShift    uint16
	Table         [1]uint16
}

type KernSimpleArrayHeader

type KernSimpleArrayHeader struct {
	RowWidth         uint16
	LeftOffsetTable  uint16
	RightOffsetTable uint16
	TheArray         uint16
	FirstTable       [1]uint16
}

type KernStateEntry

type KernStateEntry struct {
	NewState uint16
	Flags    uint16
}

type KernStateHeader

type KernStateHeader struct {
	Header     STHeader
	ValueTable uint16
	FirstTable [1]uint8
}

type KernSubtableHeader

type KernSubtableHeader struct {
	Length     int
	StInfo     uint16
	TupleIndex int16
	FsHeader   unsafe.Pointer
}

type KernTableHeader

type KernTableHeader struct {
	Version       int
	NTables       int
	FirstSubtable [1]uint16
}

type KernVersion0Header

type KernVersion0Header struct {
	Version       uint16
	NTables       uint16
	FirstSubtable [1]uint16
}

type KernVersion0SubtableHeader

type KernVersion0SubtableHeader struct {
	Version  uint16
	Length   uint16
	StInfo   uint16
	FsHeader unsafe.Pointer
}

type KerxAnchorPointAction

type KerxAnchorPointAction struct {
	MarkAnchorPoint uint16
	CurrAnchorPoint uint16
}

type KerxControlPointAction

type KerxControlPointAction struct {
	MarkControlPoint uint16
	CurrControlPoint uint16
}

type KerxControlPointEntry

type KerxControlPointEntry struct {
	NewState    uint16
	Flags       uint16
	ActionIndex uint16
}

type KerxControlPointHeader

type KerxControlPointHeader struct {
	Header     STXHeader
	Flags      uint
	FirstTable [1]uint8
}

type KerxCoordinateAction

type KerxCoordinateAction struct {
	MarkX uint16
	MarkY uint16
	CurrX uint16
	CurrY uint16
}

type KerxIndexArrayHeader

type KerxIndexArrayHeader struct {
	Flags                  uint
	RowCount               uint16
	ColumnCount            uint16
	RowIndexTableOffset    uint
	ColumnIndexTableOffset uint
	KerningArrayOffset     uint
	KerningVectorOffset    uint
}

type KerxKerningPair

type KerxKerningPair struct {
	Left  uint16
	Right uint16
}

type KerxOrderedListEntry

type KerxOrderedListEntry struct {
	Pair  KerxKerningPair
	Value int16
}

type KerxOrderedListHeader

type KerxOrderedListHeader struct {
	NPairs        uint
	SearchRange   uint
	EntrySelector uint
	RangeShift    uint
	Table         [1]uint
}

type KerxSimpleArrayHeader

type KerxSimpleArrayHeader struct {
	RowWidth         uint
	LeftOffsetTable  uint
	RightOffsetTable uint
	TheArray         uint
	FirstTable       [1]uint
}

type KerxStateEntry

type KerxStateEntry struct {
	NewState   uint16
	Flags      uint16
	ValueIndex uint16
}

type KerxStateHeader

type KerxStateHeader struct {
	Header     STXHeader
	ValueTable uint
	FirstTable [1]uint8
}

type KerxSubtableHeader

type KerxSubtableHeader struct {
	Length     uint
	StInfo     uint
	TupleCount uint
	FsHeader   unsafe.Pointer
}

type KerxTableHeader

type KerxTableHeader struct {
	Version       int
	NTables       uint
	FirstSubtable [1]uint
}

type LcarCaretClassEntry

type LcarCaretClassEntry struct {
	Count    uint16
	Partials [1]uint16
}

type LcarCaretTable

type LcarCaretTable struct {
	Version int
	Format  uint16
	Lookup  SFNTLookupTable
}

type LtagStringRange

type LtagStringRange struct {
	Offset uint16
	Length uint16
}

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 MortContextualSubtable struct {
	Header                  STHeader
	SubstitutionTableOffset uint16
}

type MortFeatureEntry

type MortFeatureEntry struct {
	FeatureType     uint16
	FeatureSelector uint16
	EnableFlags     uint
	DisableFlags    uint
}

type MortInsertionSubtable

type MortInsertionSubtable struct {
	Header STHeader
}

type MortLigatureSubtable

type MortLigatureSubtable struct {
	Header                    STHeader
	LigatureActionTableOffset uint16
	ComponentTableOffset      uint16
	LigatureTableOffset       uint16
}

type MortRearrangementSubtable

type MortRearrangementSubtable struct {
	Header STHeader
}

type MortSubtable

type MortSubtable struct {
	Length   uint16
	Coverage uint16
	Flags    uint
	U        unsafe.Pointer
}

type MortSwashSubtable

type MortSwashSubtable struct {
	Lookup SFNTLookupTable
}

type MortTable

type MortTable struct {
	Version int
	NChains uint
	Chains  [1]MortChain
}

type MorxChain

type MorxChain struct {
	DefaultFlags   uint
	Length         uint
	NFeatures      uint
	NSubtables     uint
	FeatureEntries [1]MortFeatureEntry
}

type MorxContextualSubtable

type MorxContextualSubtable struct {
	Header                  STXHeader
	SubstitutionTableOffset uint
}

type MorxInsertionSubtable

type MorxInsertionSubtable struct {
	Header                    STXHeader
	InsertionGlyphTableOffset uint
}

type MorxLigatureSubtable

type MorxLigatureSubtable struct {
	Header                    STXHeader
	LigatureActionTableOffset uint
	ComponentTableOffset      uint
	LigatureTableOffset       uint
}

type MorxRearrangementSubtable

type MorxRearrangementSubtable struct {
	Header STXHeader
}

type MorxSubtable

type MorxSubtable struct {
	Length   uint
	Coverage uint
	Flags    uint
	U        unsafe.Pointer
}

type MorxTable

type MorxTable struct {
	Version int
	NChains uint
	Chains  [1]MorxChain
}

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
)

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

String returns the MpoFlags constant's name, or its numeric form when the value is not a known constant.

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 OSClockid added in v0.17.0

type OSClockid int64
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

String returns the OSClockid constant's name, or its numeric form when the value is not a known constant.

type OpbdSideValues

type OpbdSideValues struct {
	LeftSideShift   int16
	TopSideShift    int16
	RightSideShift  int16
	BottomSideShift int16
}

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
)

func (Perm) String added in v0.17.0

func (e Perm) String() string

String returns the Perm constant's name, or its numeric form when the value is not a known constant.

type PropLookupSegment

type PropLookupSegment struct {
	LastGlyph  uint16
	FirstGlyph uint16
	Value      uint16
}

type PropLookupSingle

type PropLookupSingle struct {
	Glyph uint16
	Props uint16
}

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 QosClass added in v0.17.0

type QosClass uint32
const (
	QosClassUserInteractive QosClass = 33
	QosClassUserInitiated   QosClass = 25
	QosClassDefault         QosClass = 21
	QosClassUtility         QosClass = 17
	QosClassBackground      QosClass = 9
	QosClassUnspecified     QosClass = 0
)

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

String returns the QosClass constant's name, or its numeric form when the value is not a known constant.

type ROTAGlyphEntry

type ROTAGlyphEntry struct {
	GlyphIndexOffset int16
	HBaselineOffset  int16
	VBaselineOffset  int16
}

type ROTAHeader

type ROTAHeader struct {
	Version    int
	Flags      uint16
	NMasters   uint16
	FirstGlyph uint16
	LastGlyph  uint16
	Lookup     SFNTLookupTable
}

type SFNTLookupArrayHeader

type SFNTLookupArrayHeader struct {
	LookupValues [1]uint16
}

type SFNTLookupBinarySearchHeader

type SFNTLookupBinarySearchHeader struct {
	UnitSize      uint16
	NUnits        uint16
	SearchRange   uint16
	EntrySelector uint16
	RangeShift    uint16
}

type SFNTLookupSegment

type SFNTLookupSegment struct {
	LastGlyph  uint16
	FirstGlyph uint16
	Value      [1]uint16
}

type SFNTLookupSegmentHeader

type SFNTLookupSegmentHeader struct {
	BinSearch SFNTLookupBinarySearchHeader
	Segments  [1]SFNTLookupSegment
}

type SFNTLookupSingle

type SFNTLookupSingle struct {
	Glyph uint16
	Value [1]uint16
}

type SFNTLookupSingleHeader

type SFNTLookupSingleHeader struct {
	BinSearch SFNTLookupBinarySearchHeader
	Entries   [1]SFNTLookupSingle
}

type SFNTLookupTable

type SFNTLookupTable struct {
	Format   uint16
	FsHeader unsafe.Pointer
}

type SFNTLookupTrimmedArrayHeader

type SFNTLookupTrimmedArrayHeader struct {
	FirstGlyph uint16
	Count      uint16
	ValueArray [1]uint16
}

type SFNTLookupVectorHeader

type SFNTLookupVectorHeader struct {
	ValueSize  uint16
	FirstGlyph uint16
	Count      uint16
	Values     [1]uint8
}

type STClassTable

type STClassTable struct {
	FirstGlyph uint16
	NGlyphs    uint16
	Classes    [1]uint8
}

type STEntryOne

type STEntryOne struct {
	NewState uint16
	Flags    uint16
	Offset1  uint16
}

type STEntryTwo

type STEntryTwo struct {
	NewState uint16
	Flags    uint16
	Offset1  uint16
	Offset2  uint16
}

type STEntryZero

type STEntryZero struct {
	NewState uint16
	Flags    uint16
}

type STHeader

type STHeader struct {
	Filler           uint8
	NClasses         uint8
	ClassTableOffset uint16
	StateArrayOffset uint16
	EntryTableOffset uint16
}

type STXEntryOne

type STXEntryOne struct {
	NewState uint16
	Flags    uint16
	Index1   uint16
}

type STXEntryTwo

type STXEntryTwo struct {
	NewState uint16
	Flags    uint16
	Index1   uint16
	Index2   uint16
}

type STXEntryZero

type STXEntryZero struct {
	NewState uint16
	Flags    uint16
}

type STXHeader

type STXHeader struct {
	NClasses         uint
	ClassTableOffset uint
	StateArrayOffset uint
	EntryTableOffset uint
}

type SfntCMapEncoding

type SfntCMapEncoding struct {
	PlatformID uint16
	ScriptID   uint16
	Offset     uint
}

type SfntCMapExtendedSubHeader

type SfntCMapExtendedSubHeader struct {
	Format   uint16
	Reserved uint16
	Length   uint
	Language uint
}

type SfntCMapHeader

type SfntCMapHeader struct {
	Version   uint16
	NumTables uint16
	Encoding  [1]SfntCMapEncoding
}

type SfntCMapSubHeader

type SfntCMapSubHeader struct {
	Format     uint16
	Length     uint16
	LanguageID uint16
}

type SfntDescriptorHeader

type SfntDescriptorHeader struct {
	Version         int
	DescriptorCount int
	Descriptor      [1]SfntFontDescriptor
}

type SfntDirectory

type SfntDirectory struct {
	Format        uint
	NumOffsets    uint16
	SearchRange   uint16
	EntrySelector uint16
	RangeShift    uint16
	Table         [1]SfntDirectoryEntry
}

type SfntDirectoryEntry

type SfntDirectoryEntry struct {
	TableTag uint
	CheckSum uint
	Offset   uint
	Length   uint
}

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 SfntFeatureName struct {
	FeatureType      uint16
	SettingCount     uint16
	OffsetToSettings int
	FeatureFlags     uint16
	NameID           int16
}

type SfntFontDescriptor

type SfntFontDescriptor struct {
	Name  uint
	Value int
}

type SfntFontFeatureSetting

type SfntFontFeatureSetting struct {
	Setting uint16
	NameID  int16
}

type SfntFontRunFeature

type SfntFontRunFeature struct {
	FeatureType uint16
	Setting     uint16
}

type SfntInstance

type SfntInstance struct {
	NameID int16
	Flags  int16
	Coord  [1]int
}

type SfntNameHeader

type SfntNameHeader struct {
	Format       uint16
	Count        uint16
	StringOffset uint16
	Rec          [1]SfntNameRecord
}

type SfntNameRecord

type SfntNameRecord struct {
	PlatformID uint16
	ScriptID   uint16
	LanguageID uint16
	NameID     uint16
	Length     uint16
	Offset     uint16
}

type SfntVariationAxis

type SfntVariationAxis struct {
	AxisTag      uint
	MinValue     int
	DefaultValue int
	MaxValue     int
	Flags        int16
	NameID       int16
}

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 Tag added in v0.17.0

type Tag int64
const (
	TagUndefinedTag  Tag = 0
	TagExtendedAllow Tag = 1
	TagExtendedDeny  Tag = 2
)

func (Tag) String added in v0.17.0

func (e Tag) String() string

String returns the Tag constant's name, or its numeric form when the value is not a known constant.

type TrakTable

type TrakTable struct {
	Version     int
	Format      uint16
	HorizOffset uint16
	VertOffset  uint16
}

type TrakTableData

type TrakTableData struct {
	NTracks         uint16
	NSizes          uint16
	SizeTableOffset uint
	TrakTable       [1]TrakTableEntry
}

type TrakTableEntry

type TrakTableEntry struct {
	Track          int
	NameTableIndex uint16
	SizesOffset    uint16
}

type Type added in v0.17.0

type Type int64
const (
	TypeExtended Type = 256
	TypeAccess   Type = 0
	TypeDefault  Type = 1
	TypeAfs      Type = 2
	TypeCoda     Type = 3
	TypeNtfs     Type = 4
	TypeNwfs     Type = 5
)

func (Type) String added in v0.17.0

func (e Type) String() string

String returns the Type constant's name, or its numeric form when the value is not a known constant.

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

String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL