objcjs-types 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/objcjs-types.ts +31 -0
- package/dist/AVFoundation/functions.d.ts +21 -0
- package/dist/AVFoundation/functions.js +32 -0
- package/dist/Accessibility/functions.d.ts +16 -0
- package/dist/Accessibility/functions.js +35 -0
- package/dist/AddressBook/functions.d.ts +98 -0
- package/dist/AddressBook/functions.js +290 -0
- package/dist/AppKit/functions.d.ts +112 -0
- package/dist/AppKit/functions.js +272 -0
- package/dist/AudioToolbox/functions.d.ts +377 -0
- package/dist/AudioToolbox/functions.js +1124 -0
- package/dist/AuthenticationServices/functions.d.ts +2 -0
- package/dist/AuthenticationServices/functions.js +5 -0
- package/dist/BrowserEngineCore/functions.d.ts +3 -0
- package/dist/BrowserEngineCore/functions.js +11 -0
- package/dist/CoreAudio/functions.d.ts +60 -0
- package/dist/CoreAudio/functions.js +173 -0
- package/dist/CoreMIDI/functions.d.ts +96 -0
- package/dist/CoreMIDI/functions.js +287 -0
- package/dist/CoreML/functions.d.ts +2 -0
- package/dist/CoreML/functions.js +5 -0
- package/dist/CoreMediaIO/functions.d.ts +38 -0
- package/dist/CoreMediaIO/functions.js +107 -0
- package/dist/CoreText/functions.d.ts +209 -0
- package/dist/CoreText/functions.js +611 -0
- package/dist/CoreWLAN/functions.d.ts +23 -0
- package/dist/CoreWLAN/functions.js +56 -0
- package/dist/DeviceDiscoveryExtension/functions.d.ts +11 -0
- package/dist/DeviceDiscoveryExtension/functions.js +17 -0
- package/dist/DiscRecording/functions.d.ts +97 -0
- package/dist/DiscRecording/functions.js +290 -0
- package/dist/DiscRecordingUI/functions.d.ts +13 -0
- package/dist/DiscRecordingUI/functions.js +38 -0
- package/dist/ExceptionHandling/functions.d.ts +1 -0
- package/dist/ExceptionHandling/functions.js +5 -0
- package/dist/FSKit/functions.d.ts +4 -0
- package/dist/FSKit/functions.js +11 -0
- package/dist/Foundation/functions.d.ts +145 -0
- package/dist/Foundation/functions.js +386 -0
- package/dist/GLKit/functions.d.ts +51 -0
- package/dist/GLKit/functions.js +146 -0
- package/dist/GameController/functions.d.ts +18 -0
- package/dist/GameController/functions.js +44 -0
- package/dist/HealthKit/functions.d.ts +19 -0
- package/dist/HealthKit/functions.js +35 -0
- package/dist/IOSurface/functions.d.ts +53 -0
- package/dist/IOSurface/functions.js +155 -0
- package/dist/IOUSBHost/functions.d.ts +44 -0
- package/dist/IOUSBHost/functions.js +131 -0
- package/dist/InstantMessage/functions.d.ts +1 -0
- package/dist/InstantMessage/functions.js +5 -0
- package/dist/JavaRuntimeSupport/functions.d.ts +40 -0
- package/dist/JavaRuntimeSupport/functions.js +113 -0
- package/dist/JavaScriptCore/functions.d.ts +120 -0
- package/dist/JavaScriptCore/functions.js +359 -0
- package/dist/MLCompute/functions.d.ts +27 -0
- package/dist/MLCompute/functions.js +41 -0
- package/dist/MapKit/functions.d.ts +23 -0
- package/dist/MapKit/functions.js +56 -0
- package/dist/Matter/functions.d.ts +17 -0
- package/dist/Matter/functions.js +26 -0
- package/dist/MediaAccessibility/functions.d.ts +28 -0
- package/dist/MediaAccessibility/functions.js +83 -0
- package/dist/MediaPlayer/functions.d.ts +3 -0
- package/dist/MediaPlayer/functions.js +11 -0
- package/dist/Metal/functions.d.ts +14 -0
- package/dist/Metal/functions.js +26 -0
- package/dist/MetalKit/functions.d.ts +11 -0
- package/dist/MetalKit/functions.js +20 -0
- package/dist/MetalPerformanceShaders/functions.d.ts +7 -0
- package/dist/MetalPerformanceShaders/functions.js +14 -0
- package/dist/NearbyInteraction/functions.d.ts +3 -0
- package/dist/NearbyInteraction/functions.js +5 -0
- package/dist/ParavirtualizedGraphics/functions.d.ts +7 -0
- package/dist/ParavirtualizedGraphics/functions.js +14 -0
- package/dist/QuartzCore/functions.d.ts +19 -0
- package/dist/QuartzCore/functions.js +50 -0
- package/dist/SceneKit/functions.d.ts +17 -0
- package/dist/SceneKit/functions.js +38 -0
- package/dist/SensorKit/functions.d.ts +4 -0
- package/dist/SensorKit/functions.js +14 -0
- package/dist/ServiceManagement/functions.d.ts +7 -0
- package/dist/ServiceManagement/functions.js +20 -0
- package/dist/StoreKit/functions.d.ts +1 -0
- package/dist/StoreKit/functions.js +5 -0
- package/dist/VideoToolbox/functions.d.ts +81 -0
- package/dist/VideoToolbox/functions.js +236 -0
- package/dist/Vision/functions.d.ts +16 -0
- package/dist/Vision/functions.js +38 -0
- package/generator/ast-parser.ts +1368 -0
- package/generator/clang.ts +167 -0
- package/generator/custom.ts +936 -0
- package/generator/discover.ts +111 -0
- package/generator/emitter.ts +2020 -0
- package/generator/frameworks.ts +135 -0
- package/generator/index.ts +1334 -0
- package/generator/parse-worker.ts +263 -0
- package/generator/resolve-strings.ts +121 -0
- package/generator/struct-fields.ts +46 -0
- package/generator/templates/bind.ts +100 -0
- package/generator/templates/helpers.ts +70 -0
- package/generator/templates/nsdata.ts +97 -0
- package/generator/templates/osversion.ts +91 -0
- package/generator/type-mapper.ts +615 -0
- package/generator/worker-pool.ts +309 -0
- package/package.json +17 -4
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import type { NobjcObject } from "objc-js";
|
|
2
|
+
import type { _CTAdaptiveImageProviding } from "./CTAdaptiveImageProviding.js";
|
|
3
|
+
import type { CGAffineTransform } from "../structs/CGAffineTransform.js";
|
|
4
|
+
import type { CGPoint } from "../structs/CGPoint.js";
|
|
5
|
+
import type { CGRect } from "../structs/CGRect.js";
|
|
6
|
+
import type { CGSize } from "../structs/CGSize.js";
|
|
7
|
+
export declare function CTFontCollectionCopyExclusionDescriptors(collection: NobjcObject): NobjcObject | null;
|
|
8
|
+
export declare function CTFontCollectionCopyFontAttribute(collection: NobjcObject, attributeName: Uint8Array, options: NobjcObject): NobjcObject;
|
|
9
|
+
export declare function CTFontCollectionCopyFontAttributes(collection: NobjcObject, attributeNames: NobjcObject, options: NobjcObject): NobjcObject;
|
|
10
|
+
export declare function CTFontCollectionCopyQueryDescriptors(collection: NobjcObject): NobjcObject | null;
|
|
11
|
+
export declare function CTFontCollectionCreateCopyWithFontDescriptors(original: NobjcObject, queryDescriptors: NobjcObject | null, options: NobjcObject | null): NobjcObject;
|
|
12
|
+
export declare function CTFontCollectionCreateFromAvailableFonts(options: NobjcObject | null): NobjcObject;
|
|
13
|
+
export declare function CTFontCollectionCreateMatchingFontDescriptors(collection: NobjcObject): NobjcObject | null;
|
|
14
|
+
export declare function CTFontCollectionCreateMatchingFontDescriptorsForFamily(collection: NobjcObject, familyName: Uint8Array, options: NobjcObject | null): NobjcObject | null;
|
|
15
|
+
export declare function CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(collection: NobjcObject, sortCallback: NobjcObject | null, refCon: Uint8Array | null): NobjcObject | null;
|
|
16
|
+
export declare function CTFontCollectionCreateMatchingFontDescriptorsWithOptions(collection: NobjcObject, options: NobjcObject | null): NobjcObject | null;
|
|
17
|
+
export declare function CTFontCollectionCreateMutableCopy(original: NobjcObject): NobjcObject;
|
|
18
|
+
export declare function CTFontCollectionCreateWithFontDescriptors(queryDescriptors: NobjcObject | null, options: NobjcObject | null): NobjcObject;
|
|
19
|
+
export declare function CTFontCollectionGetTypeID(): number;
|
|
20
|
+
export declare function CTFontCollectionSetExclusionDescriptors(collection: NobjcObject, descriptors: NobjcObject | null): void;
|
|
21
|
+
export declare function CTFontCollectionSetQueryDescriptors(collection: NobjcObject, descriptors: NobjcObject | null): void;
|
|
22
|
+
export declare function CTFontCopyAttribute(font: NobjcObject, attribute: Uint8Array): NobjcObject;
|
|
23
|
+
export declare function CTFontCopyAvailableTables(font: NobjcObject, options: NobjcObject): NobjcObject | null;
|
|
24
|
+
export declare function CTFontCopyCharacterSet(font: NobjcObject): NobjcObject;
|
|
25
|
+
export declare function CTFontCopyDefaultCascadeListForLanguages(font: NobjcObject, languagePrefList: NobjcObject | null): NobjcObject | null;
|
|
26
|
+
export declare function CTFontCopyDisplayName(font: NobjcObject): NobjcObject;
|
|
27
|
+
export declare function CTFontCopyFamilyName(font: NobjcObject): NobjcObject;
|
|
28
|
+
export declare function CTFontCopyFeatures(font: NobjcObject): NobjcObject | null;
|
|
29
|
+
export declare function CTFontCopyFeatureSettings(font: NobjcObject): NobjcObject | null;
|
|
30
|
+
export declare function CTFontCopyFontDescriptor(font: NobjcObject): NobjcObject;
|
|
31
|
+
export declare function CTFontCopyFullName(font: NobjcObject): NobjcObject;
|
|
32
|
+
export declare function CTFontCopyGraphicsFont(font: NobjcObject, attributes: NobjcObject | null): NobjcObject;
|
|
33
|
+
export declare function CTFontCopyLocalizedName(font: NobjcObject, nameKey: Uint8Array, actualLanguage: NobjcObject | null): NobjcObject;
|
|
34
|
+
export declare function CTFontCopyName(font: NobjcObject, nameKey: Uint8Array): NobjcObject;
|
|
35
|
+
export declare function CTFontCopyNameForGlyph(font: NobjcObject, glyph: number): NobjcObject;
|
|
36
|
+
export declare function CTFontCopyPostScriptName(font: NobjcObject): NobjcObject;
|
|
37
|
+
export declare function CTFontCopySupportedLanguages(font: NobjcObject): NobjcObject;
|
|
38
|
+
export declare function CTFontCopyTable(font: NobjcObject, table: number, options: NobjcObject): NobjcObject | null;
|
|
39
|
+
export declare function CTFontCopyTraits(font: NobjcObject): NobjcObject;
|
|
40
|
+
export declare function CTFontCopyVariation(font: NobjcObject): NobjcObject | null;
|
|
41
|
+
export declare function CTFontCopyVariationAxes(font: NobjcObject): NobjcObject | null;
|
|
42
|
+
export declare function CTFontCreateCopyWithAttributes(font: NobjcObject, size: number, matrix: NobjcObject | null, attributes: NobjcObject | null): NobjcObject;
|
|
43
|
+
export declare function CTFontCreateCopyWithFamily(font: NobjcObject, size: number, matrix: NobjcObject | null, family: Uint8Array): NobjcObject | null;
|
|
44
|
+
export declare function CTFontCreateCopyWithSymbolicTraits(font: NobjcObject, size: number, matrix: NobjcObject | null, symTraitValue: NobjcObject, symTraitMask: NobjcObject): NobjcObject | null;
|
|
45
|
+
export declare function CTFontCreateForString(currentFont: NobjcObject, string_: Uint8Array, range: NobjcObject): NobjcObject;
|
|
46
|
+
export declare function CTFontCreateForStringWithLanguage(currentFont: NobjcObject, string_: Uint8Array, range: NobjcObject, language: Uint8Array | null): NobjcObject;
|
|
47
|
+
export declare function CTFontCreatePathForGlyph(font: NobjcObject, glyph: number, matrix: NobjcObject | null): NobjcObject;
|
|
48
|
+
export declare function CTFontCreateUIFontForLanguage(uiType: NobjcObject, size: number, language: Uint8Array | null): NobjcObject | null;
|
|
49
|
+
export declare function CTFontCreateWithFontDescriptor(descriptor: NobjcObject, size: number, matrix: NobjcObject | null): NobjcObject;
|
|
50
|
+
export declare function CTFontCreateWithFontDescriptorAndOptions(descriptor: NobjcObject, size: number, matrix: NobjcObject | null, options: NobjcObject): NobjcObject;
|
|
51
|
+
export declare function CTFontCreateWithGraphicsFont(graphicsFont: NobjcObject, size: number, matrix: NobjcObject | null, attributes: NobjcObject | null): NobjcObject;
|
|
52
|
+
export declare function CTFontCreateWithName(name: Uint8Array, size: number, matrix: NobjcObject | null): NobjcObject;
|
|
53
|
+
export declare function CTFontCreateWithNameAndOptions(name: Uint8Array, size: number, matrix: NobjcObject | null, options: NobjcObject): NobjcObject;
|
|
54
|
+
export declare function CTFontCreateWithPlatformFont(platformFont: number, size: number, matrix: NobjcObject | null, attributes: NobjcObject | null): NobjcObject | null;
|
|
55
|
+
export declare function CTFontCreateWithQuickdrawInstance(name: string | null, identifier: number, style: number, size: number): NobjcObject;
|
|
56
|
+
export declare function CTFontDescriptorCopyAttribute(descriptor: NobjcObject, attribute: Uint8Array): NobjcObject;
|
|
57
|
+
export declare function CTFontDescriptorCopyAttributes(descriptor: NobjcObject): NobjcObject;
|
|
58
|
+
export declare function CTFontDescriptorCopyLocalizedAttribute(descriptor: NobjcObject, attribute: Uint8Array, language: NobjcObject | null): NobjcObject;
|
|
59
|
+
export declare function CTFontDescriptorCreateCopyWithAttributes(original: NobjcObject, attributes: NobjcObject): NobjcObject;
|
|
60
|
+
export declare function CTFontDescriptorCreateCopyWithFamily(original: NobjcObject, family: Uint8Array): NobjcObject | null;
|
|
61
|
+
export declare function CTFontDescriptorCreateCopyWithFeature(original: NobjcObject, featureTypeIdentifier: NobjcObject, featureSelectorIdentifier: NobjcObject): NobjcObject;
|
|
62
|
+
export declare function CTFontDescriptorCreateCopyWithSymbolicTraits(original: NobjcObject, symTraitValue: NobjcObject, symTraitMask: NobjcObject): NobjcObject | null;
|
|
63
|
+
export declare function CTFontDescriptorCreateCopyWithVariation(original: NobjcObject, variationIdentifier: NobjcObject, variationValue: number): NobjcObject;
|
|
64
|
+
export declare function CTFontDescriptorCreateMatchingFontDescriptor(descriptor: NobjcObject, mandatoryAttributes: NobjcObject | null): NobjcObject | null;
|
|
65
|
+
export declare function CTFontDescriptorCreateMatchingFontDescriptors(descriptor: NobjcObject, mandatoryAttributes: NobjcObject | null): NobjcObject | null;
|
|
66
|
+
export declare function CTFontDescriptorCreateWithAttributes(attributes: NobjcObject): NobjcObject;
|
|
67
|
+
export declare function CTFontDescriptorCreateWithNameAndSize(name: Uint8Array, size: number): NobjcObject;
|
|
68
|
+
export declare function CTFontDescriptorGetTypeID(): number;
|
|
69
|
+
export declare function CTFontDescriptorMatchFontDescriptorsWithProgressHandler(descriptors: NobjcObject, mandatoryAttributes: NobjcObject | null, progressBlock: NobjcObject): boolean;
|
|
70
|
+
export declare function CTFontDrawGlyphs(font: NobjcObject, glyphs: NobjcObject, positions: NobjcObject, count: number, context: Uint8Array): void;
|
|
71
|
+
export declare function CTFontDrawImageFromAdaptiveImageProviderAtPoint(font: NobjcObject, provider: _CTAdaptiveImageProviding, point: CGPoint, context: Uint8Array): void;
|
|
72
|
+
export declare function CTFontGetAdvancesForGlyphs(font: NobjcObject, orientation: NobjcObject, glyphs: NobjcObject, advances: NobjcObject | null, count: number): number;
|
|
73
|
+
export declare function CTFontGetAscent(font: NobjcObject): number;
|
|
74
|
+
export declare function CTFontGetBoundingBox(font: NobjcObject): CGRect;
|
|
75
|
+
export declare function CTFontGetBoundingRectsForGlyphs(font: NobjcObject, orientation: NobjcObject, glyphs: NobjcObject, boundingRects: NobjcObject | null, count: number): CGRect;
|
|
76
|
+
export declare function CTFontGetCapHeight(font: NobjcObject): number;
|
|
77
|
+
export declare function CTFontGetDescent(font: NobjcObject): number;
|
|
78
|
+
export declare function CTFontGetGlyphCount(font: NobjcObject): number;
|
|
79
|
+
export declare function CTFontGetGlyphsForCharacters(font: NobjcObject, characters: NobjcObject, glyphs: NobjcObject, count: number): boolean;
|
|
80
|
+
export declare function CTFontGetGlyphWithName(font: NobjcObject, glyphName: Uint8Array): number;
|
|
81
|
+
export declare function CTFontGetLeading(font: NobjcObject): number;
|
|
82
|
+
export declare function CTFontGetLigatureCaretPositions(font: NobjcObject, glyph: number, positions: NobjcObject | null, maxPositions: number): number;
|
|
83
|
+
export declare function CTFontGetMatrix(font: NobjcObject): CGAffineTransform;
|
|
84
|
+
export declare function CTFontGetOpticalBoundsForGlyphs(font: NobjcObject, glyphs: NobjcObject, boundingRects: NobjcObject | null, count: number, options: number): CGRect;
|
|
85
|
+
export declare function CTFontGetPlatformFont(font: NobjcObject, attributes: NobjcObject | null): number;
|
|
86
|
+
export declare function CTFontGetSize(font: NobjcObject): number;
|
|
87
|
+
export declare function CTFontGetSlantAngle(font: NobjcObject): number;
|
|
88
|
+
export declare function CTFontGetStringEncoding(font: NobjcObject): number;
|
|
89
|
+
export declare function CTFontGetSymbolicTraits(font: NobjcObject): NobjcObject;
|
|
90
|
+
export declare function CTFontGetTypeID(): number;
|
|
91
|
+
export declare function CTFontGetTypographicBoundsForAdaptiveImageProvider(font: NobjcObject, provider: _CTAdaptiveImageProviding | null): CGRect;
|
|
92
|
+
export declare function CTFontGetUnderlinePosition(font: NobjcObject): number;
|
|
93
|
+
export declare function CTFontGetUnderlineThickness(font: NobjcObject): number;
|
|
94
|
+
export declare function CTFontGetUnitsPerEm(font: NobjcObject): number;
|
|
95
|
+
export declare function CTFontGetVerticalTranslationsForGlyphs(font: NobjcObject, glyphs: NobjcObject, translations: NobjcObject, count: number): void;
|
|
96
|
+
export declare function CTFontGetXHeight(font: NobjcObject): number;
|
|
97
|
+
export declare function CTFontHasTable(font: NobjcObject, tag: number): boolean;
|
|
98
|
+
export declare function CTFontManagerCompareFontFamilyNames(family1: Uint8Array, family2: Uint8Array, context: Uint8Array | null): NobjcObject;
|
|
99
|
+
export declare function CTFontManagerCopyAvailableFontFamilyNames(): NobjcObject;
|
|
100
|
+
export declare function CTFontManagerCopyAvailableFontURLs(): NobjcObject;
|
|
101
|
+
export declare function CTFontManagerCopyAvailablePostScriptNames(): NobjcObject;
|
|
102
|
+
export declare function CTFontManagerCopyRegisteredFontDescriptors(scope: NobjcObject, enabled: boolean): NobjcObject;
|
|
103
|
+
export declare function CTFontManagerCreateFontDescriptorFromData(data: NobjcObject): NobjcObject | null;
|
|
104
|
+
export declare function CTFontManagerCreateFontDescriptorsFromData(data: NobjcObject): NobjcObject;
|
|
105
|
+
export declare function CTFontManagerCreateFontDescriptorsFromURL(fileURL: NobjcObject): NobjcObject | null;
|
|
106
|
+
export declare function CTFontManagerCreateFontRequestRunLoopSource(sourceOrder: number, createMatchesCallback: NobjcObject): NobjcObject | null;
|
|
107
|
+
export declare function CTFontManagerEnableFontDescriptors(descriptors: NobjcObject, enable: boolean): void;
|
|
108
|
+
export declare function CTFontManagerGetAutoActivationSetting(bundleIdentifier: Uint8Array | null): NobjcObject;
|
|
109
|
+
export declare function CTFontManagerGetScopeForURL(fontURL: NobjcObject): NobjcObject;
|
|
110
|
+
export declare function CTFontManagerIsSupportedFont(fontURL: NobjcObject): boolean;
|
|
111
|
+
export declare function CTFontManagerRegisterFontDescriptors(fontDescriptors: NobjcObject, scope: NobjcObject, enabled: boolean, registrationHandler: NobjcObject | null): void;
|
|
112
|
+
export declare function CTFontManagerRegisterFontsForURL(fontURL: NobjcObject, scope: NobjcObject, error: NobjcObject | null): boolean;
|
|
113
|
+
export declare function CTFontManagerRegisterFontsForURLs(fontURLs: NobjcObject, scope: NobjcObject, errors: NobjcObject | null): boolean;
|
|
114
|
+
export declare function CTFontManagerRegisterFontsWithAssetNames(fontAssetNames: NobjcObject, bundle: NobjcObject | null, scope: NobjcObject, enabled: boolean, registrationHandler: NobjcObject | null): void;
|
|
115
|
+
export declare function CTFontManagerRegisterFontURLs(fontURLs: NobjcObject, scope: NobjcObject, enabled: boolean, registrationHandler: NobjcObject | null): void;
|
|
116
|
+
export declare function CTFontManagerRegisterGraphicsFont(font: NobjcObject, error: NobjcObject | null): boolean;
|
|
117
|
+
export declare function CTFontManagerRequestFonts(fontDescriptors: NobjcObject, completionHandler: NobjcObject): void;
|
|
118
|
+
export declare function CTFontManagerSetAutoActivationSetting(bundleIdentifier: Uint8Array | null, setting: NobjcObject): void;
|
|
119
|
+
export declare function CTFontManagerUnregisterFontDescriptors(fontDescriptors: NobjcObject, scope: NobjcObject, registrationHandler: NobjcObject | null): void;
|
|
120
|
+
export declare function CTFontManagerUnregisterFontsForURL(fontURL: NobjcObject, scope: NobjcObject, error: NobjcObject | null): boolean;
|
|
121
|
+
export declare function CTFontManagerUnregisterFontsForURLs(fontURLs: NobjcObject, scope: NobjcObject, errors: NobjcObject | null): boolean;
|
|
122
|
+
export declare function CTFontManagerUnregisterFontURLs(fontURLs: NobjcObject, scope: NobjcObject, registrationHandler: NobjcObject | null): void;
|
|
123
|
+
export declare function CTFontManagerUnregisterGraphicsFont(font: NobjcObject, error: NobjcObject | null): boolean;
|
|
124
|
+
export declare function CTFrameDraw(frame: NobjcObject, context: Uint8Array): void;
|
|
125
|
+
export declare function CTFrameGetFrameAttributes(frame: NobjcObject): NobjcObject | null;
|
|
126
|
+
export declare function CTFrameGetLineOrigins(frame: NobjcObject, range: NobjcObject, origins: NobjcObject): void;
|
|
127
|
+
export declare function CTFrameGetLines(frame: NobjcObject): NobjcObject;
|
|
128
|
+
export declare function CTFrameGetPath(frame: NobjcObject): NobjcObject;
|
|
129
|
+
export declare function CTFrameGetStringRange(frame: NobjcObject): NobjcObject;
|
|
130
|
+
export declare function CTFrameGetTypeID(): number;
|
|
131
|
+
export declare function CTFrameGetVisibleStringRange(frame: NobjcObject): NobjcObject;
|
|
132
|
+
export declare function CTFramesetterCreateFrame(framesetter: NobjcObject, stringRange: NobjcObject, path: Uint8Array, frameAttributes: NobjcObject | null): NobjcObject;
|
|
133
|
+
export declare function CTFramesetterCreateWithAttributedString(attrString: NobjcObject): NobjcObject;
|
|
134
|
+
export declare function CTFramesetterCreateWithTypesetter(typesetter: NobjcObject): NobjcObject;
|
|
135
|
+
export declare function CTFramesetterGetTypeID(): number;
|
|
136
|
+
export declare function CTFramesetterGetTypesetter(framesetter: NobjcObject): NobjcObject;
|
|
137
|
+
export declare function CTFramesetterSuggestFrameSizeWithConstraints(framesetter: NobjcObject, stringRange: NobjcObject, frameAttributes: NobjcObject | null, constraints: CGSize, fitRange: NobjcObject | null): CGSize;
|
|
138
|
+
export declare function CTGetCoreTextVersion(): number;
|
|
139
|
+
export declare function CTGlyphInfoCreateWithCharacterIdentifier(cid: number, collection: NobjcObject, baseString: Uint8Array): NobjcObject | null;
|
|
140
|
+
export declare function CTGlyphInfoCreateWithGlyph(glyph: number, font: NobjcObject, baseString: Uint8Array): NobjcObject | null;
|
|
141
|
+
export declare function CTGlyphInfoCreateWithGlyphName(glyphName: Uint8Array, font: NobjcObject, baseString: Uint8Array): NobjcObject | null;
|
|
142
|
+
export declare function CTGlyphInfoGetCharacterCollection(glyphInfo: NobjcObject): NobjcObject;
|
|
143
|
+
export declare function CTGlyphInfoGetCharacterIdentifier(glyphInfo: NobjcObject): number;
|
|
144
|
+
export declare function CTGlyphInfoGetGlyph(glyphInfo: NobjcObject): number;
|
|
145
|
+
export declare function CTGlyphInfoGetGlyphName(glyphInfo: NobjcObject): NobjcObject;
|
|
146
|
+
export declare function CTGlyphInfoGetTypeID(): number;
|
|
147
|
+
export declare function CTLineCreateJustifiedLine(line: NobjcObject, justificationFactor: number, justificationWidth: number): NobjcObject | null;
|
|
148
|
+
export declare function CTLineCreateTruncatedLine(line: NobjcObject, width: number, truncationType: NobjcObject, truncationToken: NobjcObject | null): NobjcObject | null;
|
|
149
|
+
export declare function CTLineCreateWithAttributedString(attrString: NobjcObject): NobjcObject;
|
|
150
|
+
export declare function CTLineDraw(line: NobjcObject, context: Uint8Array): void;
|
|
151
|
+
export declare function CTLineEnumerateCaretOffsets(line: NobjcObject, block: NobjcObject): void;
|
|
152
|
+
export declare function CTLineGetBoundsWithOptions(line: NobjcObject, options: NobjcObject): CGRect;
|
|
153
|
+
export declare function CTLineGetGlyphCount(line: NobjcObject): number;
|
|
154
|
+
export declare function CTLineGetGlyphRuns(line: NobjcObject): NobjcObject;
|
|
155
|
+
export declare function CTLineGetImageBounds(line: NobjcObject, context: Uint8Array | null): CGRect;
|
|
156
|
+
export declare function CTLineGetOffsetForStringIndex(line: NobjcObject, charIndex: number, secondaryOffset: NobjcObject | null): number;
|
|
157
|
+
export declare function CTLineGetPenOffsetForFlush(line: NobjcObject, flushFactor: number, flushWidth: number): number;
|
|
158
|
+
export declare function CTLineGetStringIndexForPosition(line: NobjcObject, position: CGPoint): number;
|
|
159
|
+
export declare function CTLineGetStringRange(line: NobjcObject): NobjcObject;
|
|
160
|
+
export declare function CTLineGetTrailingWhitespaceWidth(line: NobjcObject): number;
|
|
161
|
+
export declare function CTLineGetTypeID(): number;
|
|
162
|
+
export declare function CTLineGetTypographicBounds(line: NobjcObject, ascent: NobjcObject | null, descent: NobjcObject | null, leading: NobjcObject | null): number;
|
|
163
|
+
export declare function CTParagraphStyleCreate(settings: NobjcObject | null, settingCount: number): NobjcObject;
|
|
164
|
+
export declare function CTParagraphStyleCreateCopy(paragraphStyle: NobjcObject): NobjcObject;
|
|
165
|
+
export declare function CTParagraphStyleGetTypeID(): number;
|
|
166
|
+
export declare function CTParagraphStyleGetValueForSpecifier(paragraphStyle: NobjcObject, spec: NobjcObject, valueBufferSize: number, valueBuffer: Uint8Array): boolean;
|
|
167
|
+
export declare function CTRubyAnnotationCreate(alignment: NobjcObject, overhang: NobjcObject, sizeFactor: number, text: NobjcObject | null): NobjcObject;
|
|
168
|
+
export declare function CTRubyAnnotationCreateCopy(rubyAnnotation: NobjcObject): NobjcObject;
|
|
169
|
+
export declare function CTRubyAnnotationCreateWithAttributes(alignment: NobjcObject, overhang: NobjcObject, position: NobjcObject, string_: Uint8Array, attributes: NobjcObject): NobjcObject;
|
|
170
|
+
export declare function CTRubyAnnotationGetAlignment(rubyAnnotation: NobjcObject): NobjcObject;
|
|
171
|
+
export declare function CTRubyAnnotationGetOverhang(rubyAnnotation: NobjcObject): NobjcObject;
|
|
172
|
+
export declare function CTRubyAnnotationGetSizeFactor(rubyAnnotation: NobjcObject): number;
|
|
173
|
+
export declare function CTRubyAnnotationGetTextForPosition(rubyAnnotation: NobjcObject, position: NobjcObject): NobjcObject;
|
|
174
|
+
export declare function CTRubyAnnotationGetTypeID(): number;
|
|
175
|
+
export declare function CTRunDelegateCreate(callbacks: NobjcObject, refCon: Uint8Array | null): NobjcObject | null;
|
|
176
|
+
export declare function CTRunDelegateGetRefCon(runDelegate: NobjcObject): NobjcObject;
|
|
177
|
+
export declare function CTRunDelegateGetTypeID(): number;
|
|
178
|
+
export declare function CTRunDraw(run: NobjcObject, context: Uint8Array, range: NobjcObject): void;
|
|
179
|
+
export declare function CTRunGetAdvances(run: NobjcObject, range: NobjcObject, buffer: NobjcObject): void;
|
|
180
|
+
export declare function CTRunGetAdvancesPtr(run: NobjcObject): NobjcObject | null;
|
|
181
|
+
export declare function CTRunGetAttributes(run: NobjcObject): NobjcObject;
|
|
182
|
+
export declare function CTRunGetBaseAdvancesAndOrigins(runRef: NobjcObject, range: NobjcObject, advancesBuffer: NobjcObject | null, originsBuffer: NobjcObject | null): void;
|
|
183
|
+
export declare function CTRunGetGlyphCount(run: NobjcObject): number;
|
|
184
|
+
export declare function CTRunGetGlyphs(run: NobjcObject, range: NobjcObject, buffer: NobjcObject): void;
|
|
185
|
+
export declare function CTRunGetGlyphsPtr(run: NobjcObject): NobjcObject | null;
|
|
186
|
+
export declare function CTRunGetImageBounds(run: NobjcObject, context: Uint8Array | null, range: NobjcObject): CGRect;
|
|
187
|
+
export declare function CTRunGetPositions(run: NobjcObject, range: NobjcObject, buffer: NobjcObject): void;
|
|
188
|
+
export declare function CTRunGetPositionsPtr(run: NobjcObject): NobjcObject | null;
|
|
189
|
+
export declare function CTRunGetStatus(run: NobjcObject): NobjcObject;
|
|
190
|
+
export declare function CTRunGetStringIndices(run: NobjcObject, range: NobjcObject, buffer: NobjcObject): void;
|
|
191
|
+
export declare function CTRunGetStringIndicesPtr(run: NobjcObject): NobjcObject | null;
|
|
192
|
+
export declare function CTRunGetStringRange(run: NobjcObject): NobjcObject;
|
|
193
|
+
export declare function CTRunGetTextMatrix(run: NobjcObject): CGAffineTransform;
|
|
194
|
+
export declare function CTRunGetTypeID(): number;
|
|
195
|
+
export declare function CTRunGetTypographicBounds(run: NobjcObject, range: NobjcObject, ascent: NobjcObject | null, descent: NobjcObject | null, leading: NobjcObject | null): number;
|
|
196
|
+
export declare function CTTextTabCreate(alignment: NobjcObject, location: number, options: NobjcObject | null): NobjcObject;
|
|
197
|
+
export declare function CTTextTabGetAlignment(tab: NobjcObject): NobjcObject;
|
|
198
|
+
export declare function CTTextTabGetLocation(tab: NobjcObject): number;
|
|
199
|
+
export declare function CTTextTabGetOptions(tab: NobjcObject): NobjcObject | null;
|
|
200
|
+
export declare function CTTextTabGetTypeID(): number;
|
|
201
|
+
export declare function CTTypesetterCreateLine(typesetter: NobjcObject, stringRange: NobjcObject): NobjcObject;
|
|
202
|
+
export declare function CTTypesetterCreateLineWithOffset(typesetter: NobjcObject, stringRange: NobjcObject, offset: number): NobjcObject;
|
|
203
|
+
export declare function CTTypesetterCreateWithAttributedString(string_: NobjcObject): NobjcObject;
|
|
204
|
+
export declare function CTTypesetterCreateWithAttributedStringAndOptions(string_: NobjcObject, options: NobjcObject | null): NobjcObject | null;
|
|
205
|
+
export declare function CTTypesetterGetTypeID(): number;
|
|
206
|
+
export declare function CTTypesetterSuggestClusterBreak(typesetter: NobjcObject, startIndex: number, width: number): number;
|
|
207
|
+
export declare function CTTypesetterSuggestClusterBreakWithOffset(typesetter: NobjcObject, startIndex: number, width: number, offset: number): number;
|
|
208
|
+
export declare function CTTypesetterSuggestLineBreak(typesetter: NobjcObject, startIndex: number, width: number): number;
|
|
209
|
+
export declare function CTTypesetterSuggestLineBreakWithOffset(typesetter: NobjcObject, startIndex: number, width: number, offset: number): number;
|