@octane-xplat/macos-renderer 0.13.0 → 0.15.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/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
|
@@ -0,0 +1,3676 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
|
|
3
|
+
declare const kCGPDFContextOutputIntents: interop.Pointer
|
|
4
|
+
|
|
5
|
+
declare const kCGColorSpaceDCIP3: interop.Pointer
|
|
6
|
+
|
|
7
|
+
declare const kCGFontVariationAxisMinValue: interop.Pointer
|
|
8
|
+
|
|
9
|
+
declare const kCGColorSpaceExtendedSRGB: interop.Pointer
|
|
10
|
+
|
|
11
|
+
declare const kCGWindowLayer: interop.Pointer
|
|
12
|
+
|
|
13
|
+
declare const kCGPDFContextEncryptionKeyLength: interop.Pointer
|
|
14
|
+
|
|
15
|
+
declare const kCGColorSpaceITUR_709: interop.Pointer
|
|
16
|
+
|
|
17
|
+
declare const kCGWindowBackingLocationVideoMemory: interop.Pointer
|
|
18
|
+
|
|
19
|
+
declare const kCGWindowMemoryUsage: interop.Pointer
|
|
20
|
+
|
|
21
|
+
declare const kCGColorSpaceExtendedRange: interop.Pointer
|
|
22
|
+
|
|
23
|
+
declare const kCGDisplayStreamMinimumFrameTime: interop.Pointer
|
|
24
|
+
|
|
25
|
+
declare const kCGPDFTagPropertyTitleText: interop.Pointer
|
|
26
|
+
|
|
27
|
+
declare const kCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995: interop.Pointer
|
|
28
|
+
|
|
29
|
+
declare const kCGDisplayStreamYCbCrMatrix_ITU_R_601_4: interop.Pointer
|
|
30
|
+
|
|
31
|
+
declare const kCGDisplayStreamYCbCrMatrix: interop.Pointer
|
|
32
|
+
|
|
33
|
+
declare const kCGDisplayStreamColorSpace: interop.Pointer
|
|
34
|
+
|
|
35
|
+
declare const kCGDisplayStreamPreserveAspectRatio: interop.Pointer
|
|
36
|
+
|
|
37
|
+
declare const kCGDisplayStreamDestinationRect: interop.Pointer
|
|
38
|
+
|
|
39
|
+
declare const kCGDisplayStreamSourceRect: interop.Pointer
|
|
40
|
+
|
|
41
|
+
declare const kCGWindowIsOnscreen: interop.Pointer
|
|
42
|
+
|
|
43
|
+
declare const kCGWindowOwnerPID: interop.Pointer
|
|
44
|
+
|
|
45
|
+
declare const kCGWindowAlpha: interop.Pointer
|
|
46
|
+
|
|
47
|
+
declare const kCGWindowSharingState: interop.Pointer
|
|
48
|
+
|
|
49
|
+
declare const kCGWindowStoreType: interop.Pointer
|
|
50
|
+
|
|
51
|
+
declare const kCGWindowNumber: interop.Pointer
|
|
52
|
+
|
|
53
|
+
declare const kCGPDFTagPropertyAlternativeText: interop.Pointer
|
|
54
|
+
|
|
55
|
+
declare const kCGPDFTagPropertyActualText: interop.Pointer
|
|
56
|
+
|
|
57
|
+
declare const kCGPDFContextCreatePDFA: interop.Pointer
|
|
58
|
+
|
|
59
|
+
declare const kCGPDFContextCreateLinearizedPDF: interop.Pointer
|
|
60
|
+
|
|
61
|
+
declare const kCGPDFContextAccessPermissions: interop.Pointer
|
|
62
|
+
|
|
63
|
+
declare const kCGPDFXRegistryName: interop.Pointer
|
|
64
|
+
|
|
65
|
+
declare const kCGPDFXOutputConditionIdentifier: interop.Pointer
|
|
66
|
+
|
|
67
|
+
declare const kCGPDFXOutputIntentSubtype: interop.Pointer
|
|
68
|
+
|
|
69
|
+
declare const kCGPDFContextOutputIntent: interop.Pointer
|
|
70
|
+
|
|
71
|
+
declare const kCGPDFContextAllowsPrinting: interop.Pointer
|
|
72
|
+
|
|
73
|
+
declare const kCGPDFContextOwnerPassword: interop.Pointer
|
|
74
|
+
|
|
75
|
+
declare const kCGPDFContextCreator: interop.Pointer
|
|
76
|
+
|
|
77
|
+
declare const kCGPDFContextKeywords: interop.Pointer
|
|
78
|
+
|
|
79
|
+
declare const kCGPDFContextSubject: interop.Pointer
|
|
80
|
+
|
|
81
|
+
declare const kCGPDFContextAuthor: interop.Pointer
|
|
82
|
+
|
|
83
|
+
declare const kCGPDFContextArtBox: interop.Pointer
|
|
84
|
+
|
|
85
|
+
declare const kCGPDFContextTrimBox: interop.Pointer
|
|
86
|
+
|
|
87
|
+
declare const kCGPDFContextBleedBox: interop.Pointer
|
|
88
|
+
|
|
89
|
+
declare const kCGPDFContextCropBox: interop.Pointer
|
|
90
|
+
|
|
91
|
+
declare const kCGColorConversionTRCSize: interop.Pointer
|
|
92
|
+
|
|
93
|
+
declare const kCGColorConversionBlackPointCompensation: interop.Pointer
|
|
94
|
+
|
|
95
|
+
declare const kCGColorSpaceAdobeRGB1998: interop.Pointer
|
|
96
|
+
|
|
97
|
+
declare const CGSizeZero: CGSize
|
|
98
|
+
|
|
99
|
+
declare const kCGWindowName: interop.Pointer
|
|
100
|
+
|
|
101
|
+
declare const kCGPDFOutlineTitle: interop.Pointer
|
|
102
|
+
|
|
103
|
+
declare const kCGColorSpaceDisplayP3_HLG: interop.Pointer
|
|
104
|
+
|
|
105
|
+
declare const kCGPDFContextMediaBox: interop.Pointer
|
|
106
|
+
|
|
107
|
+
declare const kCGPDFOutlineDestinationRect: interop.Pointer
|
|
108
|
+
|
|
109
|
+
declare const kCGPDFOutlineChildren: interop.Pointer
|
|
110
|
+
|
|
111
|
+
declare const kCGBitmapByteOrder32Host: interop.Enum<typeof CGBitmapInfo>
|
|
112
|
+
|
|
113
|
+
declare const kCGBitmapByteOrder16Host: interop.Enum<typeof CGBitmapInfo>
|
|
114
|
+
|
|
115
|
+
declare const kCGFontVariationAxisMaxValue: interop.Pointer
|
|
116
|
+
|
|
117
|
+
declare const kCGFontVariationAxisName: interop.Pointer
|
|
118
|
+
|
|
119
|
+
declare const kCGGlyphMax: number
|
|
120
|
+
|
|
121
|
+
declare const kCGFontIndexInvalid: number
|
|
122
|
+
|
|
123
|
+
declare const kCGFontIndexMax: number
|
|
124
|
+
|
|
125
|
+
declare const kCGColorClear: interop.Pointer
|
|
126
|
+
|
|
127
|
+
declare const kCGColorBlack: interop.Pointer
|
|
128
|
+
|
|
129
|
+
declare const kCGColorSpaceExtendedLinearGray: interop.Pointer
|
|
130
|
+
|
|
131
|
+
declare const kCGColorSpaceLinearGray: interop.Pointer
|
|
132
|
+
|
|
133
|
+
declare const kCGColorSpaceExtendedGray: interop.Pointer
|
|
134
|
+
|
|
135
|
+
declare const kCGColorSpaceLinearSRGB: interop.Pointer
|
|
136
|
+
|
|
137
|
+
declare const kCGColorSpaceITUR_2020_PQ_EOTF: interop.Pointer
|
|
138
|
+
|
|
139
|
+
declare const kCGColorSpaceDisplayP3_PQ_EOTF: interop.Pointer
|
|
140
|
+
|
|
141
|
+
declare const kCGColorSpaceITUR_2020_HLG: interop.Pointer
|
|
142
|
+
|
|
143
|
+
declare const kCGColorSpaceITUR_2020_PQ: interop.Pointer
|
|
144
|
+
|
|
145
|
+
declare const kCGColorSpaceITUR_2100_PQ: interop.Pointer
|
|
146
|
+
|
|
147
|
+
declare const kCGColorSpaceExtendedLinearDisplayP3: interop.Pointer
|
|
148
|
+
|
|
149
|
+
declare const kCGColorSpaceExtendedDisplayP3: interop.Pointer
|
|
150
|
+
|
|
151
|
+
declare const kCGColorSpaceROMMRGB: interop.Pointer
|
|
152
|
+
|
|
153
|
+
declare const kCGColorSpaceACESCGLinear: interop.Pointer
|
|
154
|
+
|
|
155
|
+
declare const kCGColorSpaceGenericLab: interop.Pointer
|
|
156
|
+
|
|
157
|
+
declare const kCGColorSpaceGenericXYZ: interop.Pointer
|
|
158
|
+
|
|
159
|
+
declare const kCGColorSpaceSRGB: interop.Pointer
|
|
160
|
+
|
|
161
|
+
declare const kCGColorSpaceGenericCMYK: interop.Pointer
|
|
162
|
+
|
|
163
|
+
declare const kCGColorSpaceGenericRGB: interop.Pointer
|
|
164
|
+
|
|
165
|
+
declare const CGAffineTransformIdentity: CGAffineTransform
|
|
166
|
+
|
|
167
|
+
declare const kCGPDFXInfo: interop.Pointer
|
|
168
|
+
|
|
169
|
+
declare const kCGAdaptiveMaximumBitDepth: interop.Pointer
|
|
170
|
+
|
|
171
|
+
declare const kCGPDFOutlineDestination: interop.Pointer
|
|
172
|
+
|
|
173
|
+
declare const kCGDisplayStreamShowCursor: interop.Pointer
|
|
174
|
+
|
|
175
|
+
declare const kCGColorSpaceDisplayP3: interop.Pointer
|
|
176
|
+
|
|
177
|
+
declare const kCGPDFContextTitle: interop.Pointer
|
|
178
|
+
|
|
179
|
+
declare const kCGWindowWorkspace: interop.Pointer
|
|
180
|
+
|
|
181
|
+
declare const kCGDisplayShowDuplicateLowResolutionModes: interop.Pointer
|
|
182
|
+
|
|
183
|
+
declare const kCGColorSpaceGenericGrayGamma2_2: interop.Pointer
|
|
184
|
+
|
|
185
|
+
declare const kCGWindowOwnerName: interop.Pointer
|
|
186
|
+
|
|
187
|
+
declare const kCGPDFTagPropertyLanguageText: interop.Pointer
|
|
188
|
+
|
|
189
|
+
declare const kCGPDFXOutputCondition: interop.Pointer
|
|
190
|
+
|
|
191
|
+
declare const kCGColorSpaceExtendedLinearSRGB: interop.Pointer
|
|
192
|
+
|
|
193
|
+
declare const kCGColorSpaceGenericGray: interop.Pointer
|
|
194
|
+
|
|
195
|
+
declare const kCGPDFXDestinationOutputProfile: interop.Pointer
|
|
196
|
+
|
|
197
|
+
declare const kCGColorWhite: interop.Pointer
|
|
198
|
+
|
|
199
|
+
declare const CGPointZero: CGPoint
|
|
200
|
+
|
|
201
|
+
declare const kCGPDFContextAllowsCopying: interop.Pointer
|
|
202
|
+
|
|
203
|
+
declare const kCGFontVariationAxisDefaultValue: interop.Pointer
|
|
204
|
+
|
|
205
|
+
declare const kCGColorSpaceExtendedITUR_2020: interop.Pointer
|
|
206
|
+
|
|
207
|
+
declare const kCGDisplayStreamQueueDepth: interop.Pointer
|
|
208
|
+
|
|
209
|
+
declare const kCGColorSpaceITUR_2020: interop.Pointer
|
|
210
|
+
|
|
211
|
+
declare const kCGColorSpaceITUR_2100_HLG: interop.Pointer
|
|
212
|
+
|
|
213
|
+
declare const CGRectZero: CGRect
|
|
214
|
+
|
|
215
|
+
declare const kCGColorSpaceDisplayP3_PQ: interop.Pointer
|
|
216
|
+
|
|
217
|
+
declare const kCGDisplayStreamYCbCrMatrix_ITU_R_709_2: interop.Pointer
|
|
218
|
+
|
|
219
|
+
declare const kCGPDFContextUserPassword: interop.Pointer
|
|
220
|
+
|
|
221
|
+
declare const kCGWindowBounds: interop.Pointer
|
|
222
|
+
|
|
223
|
+
declare const CGRectNull: CGRect
|
|
224
|
+
|
|
225
|
+
declare const kCGColorSpaceExtendedLinearITUR_2020: interop.Pointer
|
|
226
|
+
|
|
227
|
+
declare const CGRectInfinite: CGRect
|
|
228
|
+
|
|
229
|
+
declare const kCGColorSpaceGenericRGBLinear: interop.Pointer
|
|
230
|
+
|
|
231
|
+
declare const CGEventTapLocation: {
|
|
232
|
+
HID: 0
|
|
233
|
+
Session: 1
|
|
234
|
+
AnnotatedSession: 2
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
declare const CGInterpolationQuality: {
|
|
238
|
+
Default: 0
|
|
239
|
+
None: 1
|
|
240
|
+
Low: 2
|
|
241
|
+
Medium: 4
|
|
242
|
+
High: 3
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
declare const CGLineJoin: {
|
|
246
|
+
Miter: 0
|
|
247
|
+
Round: 1
|
|
248
|
+
Bevel: 2
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
declare const CGConfigureOption: {
|
|
252
|
+
ForAppOnly: 0
|
|
253
|
+
ForSession: 1
|
|
254
|
+
Permanently: 2
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
declare const CGPDFBox: {
|
|
258
|
+
Media: 0
|
|
259
|
+
Crop: 1
|
|
260
|
+
Bleed: 2
|
|
261
|
+
Trim: 3
|
|
262
|
+
Art: 4
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
declare const CGEventSourceStateID: {
|
|
266
|
+
Private: -1
|
|
267
|
+
CombinedSessionState: 0
|
|
268
|
+
HIDSystemState: 1
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
declare const CGImagePixelFormatInfo: {
|
|
272
|
+
Mask: 983040
|
|
273
|
+
Packed: 0
|
|
274
|
+
RGB555: 65536
|
|
275
|
+
RGB565: 131072
|
|
276
|
+
RGB101010: 196608
|
|
277
|
+
RGBCIF10: 262144
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
declare const CGError: {
|
|
281
|
+
Success: 0
|
|
282
|
+
Failure: 1000
|
|
283
|
+
IllegalArgument: 1001
|
|
284
|
+
InvalidConnection: 1002
|
|
285
|
+
InvalidContext: 1003
|
|
286
|
+
CannotComplete: 1004
|
|
287
|
+
NotImplemented: 1006
|
|
288
|
+
RangeCheck: 1007
|
|
289
|
+
TypeCheck: 1008
|
|
290
|
+
InvalidOperation: 1010
|
|
291
|
+
NoneAvailable: 1011
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
declare const CGPatternTiling: {
|
|
295
|
+
NoDistortion: 0
|
|
296
|
+
ConstantSpacingMinimalDistortion: 1
|
|
297
|
+
ConstantSpacing: 2
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
declare const CGEventMouseSubtype: {
|
|
301
|
+
Default: 0
|
|
302
|
+
TabletPoint: 1
|
|
303
|
+
TabletProximity: 2
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
declare const CGPDFDataFormat: {
|
|
307
|
+
Raw: 0
|
|
308
|
+
JPEGEncoded: 1
|
|
309
|
+
JPEG2000: 2
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
declare const CGComponent: {
|
|
313
|
+
Unknown: 0
|
|
314
|
+
Integer8Bit: 1
|
|
315
|
+
Integer10Bit: 6
|
|
316
|
+
Integer16Bit: 2
|
|
317
|
+
Integer32Bit: 3
|
|
318
|
+
Float16Bit: 5
|
|
319
|
+
Float32Bit: 4
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
declare const CGPDFObjectType: {
|
|
323
|
+
Null: 1
|
|
324
|
+
Boolean: 2
|
|
325
|
+
Integer: 3
|
|
326
|
+
Real: 4
|
|
327
|
+
Name: 5
|
|
328
|
+
String: 6
|
|
329
|
+
Array: 7
|
|
330
|
+
Dictionary: 8
|
|
331
|
+
Stream: 9
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
declare const CGWindowListOption: {
|
|
335
|
+
OptionAll: 0
|
|
336
|
+
OptionOnScreenOnly: 1
|
|
337
|
+
OptionOnScreenAboveWindow: 2
|
|
338
|
+
OptionOnScreenBelowWindow: 4
|
|
339
|
+
OptionIncludingWindow: 8
|
|
340
|
+
ExcludeDesktopElements: 16
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
declare const CGEventTapPlacement: {
|
|
344
|
+
HeadInsert: 0
|
|
345
|
+
TailAppend: 1
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
declare const CGEventField: {
|
|
349
|
+
MouseEventNumber: 0
|
|
350
|
+
MouseEventClickState: 1
|
|
351
|
+
MouseEventPressure: 2
|
|
352
|
+
MouseEventButtonNumber: 3
|
|
353
|
+
MouseEventDeltaX: 4
|
|
354
|
+
MouseEventDeltaY: 5
|
|
355
|
+
MouseEventInstantMouser: 6
|
|
356
|
+
MouseEventSubtype: 7
|
|
357
|
+
KeyboardEventAutorepeat: 8
|
|
358
|
+
KeyboardEventKeycode: 9
|
|
359
|
+
KeyboardEventKeyboardType: 10
|
|
360
|
+
ScrollWheelEventDeltaAxis1: 11
|
|
361
|
+
ScrollWheelEventDeltaAxis2: 12
|
|
362
|
+
ScrollWheelEventDeltaAxis3: 13
|
|
363
|
+
ScrollWheelEventFixedPtDeltaAxis1: 93
|
|
364
|
+
ScrollWheelEventFixedPtDeltaAxis2: 94
|
|
365
|
+
ScrollWheelEventFixedPtDeltaAxis3: 95
|
|
366
|
+
ScrollWheelEventPointDeltaAxis1: 96
|
|
367
|
+
ScrollWheelEventPointDeltaAxis2: 97
|
|
368
|
+
ScrollWheelEventPointDeltaAxis3: 98
|
|
369
|
+
ScrollWheelEventScrollPhase: 99
|
|
370
|
+
ScrollWheelEventScrollCount: 100
|
|
371
|
+
ScrollWheelEventMomentumPhase: 123
|
|
372
|
+
ScrollWheelEventInstantMouser: 14
|
|
373
|
+
TabletEventPointX: 15
|
|
374
|
+
TabletEventPointY: 16
|
|
375
|
+
TabletEventPointZ: 17
|
|
376
|
+
TabletEventPointButtons: 18
|
|
377
|
+
TabletEventPointPressure: 19
|
|
378
|
+
TabletEventTiltX: 20
|
|
379
|
+
TabletEventTiltY: 21
|
|
380
|
+
TabletEventRotation: 22
|
|
381
|
+
TabletEventTangentialPressure: 23
|
|
382
|
+
TabletEventDeviceID: 24
|
|
383
|
+
TabletEventVendor1: 25
|
|
384
|
+
TabletEventVendor2: 26
|
|
385
|
+
TabletEventVendor3: 27
|
|
386
|
+
TabletProximityEventVendorID: 28
|
|
387
|
+
TabletProximityEventTabletID: 29
|
|
388
|
+
TabletProximityEventPointerID: 30
|
|
389
|
+
TabletProximityEventDeviceID: 31
|
|
390
|
+
TabletProximityEventSystemTabletID: 32
|
|
391
|
+
TabletProximityEventVendorPointerType: 33
|
|
392
|
+
TabletProximityEventVendorPointerSerialNumber: 34
|
|
393
|
+
TabletProximityEventVendorUniqueID: 35
|
|
394
|
+
TabletProximityEventCapabilityMask: 36
|
|
395
|
+
TabletProximityEventPointerType: 37
|
|
396
|
+
TabletProximityEventEnterProximity: 38
|
|
397
|
+
EventTargetProcessSerialNumber: 39
|
|
398
|
+
EventTargetUnixProcessID: 40
|
|
399
|
+
EventSourceUnixProcessID: 41
|
|
400
|
+
EventSourceUserData: 42
|
|
401
|
+
EventSourceUserID: 43
|
|
402
|
+
EventSourceGroupID: 44
|
|
403
|
+
EventSourceStateID: 45
|
|
404
|
+
ScrollWheelEventIsContinuous: 88
|
|
405
|
+
MouseEventWindowUnderMousePointer: 91
|
|
406
|
+
MouseEventWindowUnderMousePointerThatCanHandleThisEvent: 92
|
|
407
|
+
EventUnacceleratedPointerMovementX: 170
|
|
408
|
+
EventUnacceleratedPointerMovementY: 171
|
|
409
|
+
ScrollWheelEventMomentumOptionPhase: 173
|
|
410
|
+
ScrollWheelEventAcceleratedDeltaAxis1: 176
|
|
411
|
+
ScrollWheelEventAcceleratedDeltaAxis2: 175
|
|
412
|
+
ScrollWheelEventRawDeltaAxis1: 178
|
|
413
|
+
ScrollWheelEventRawDeltaAxis2: 177
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
declare const CGEventFlags: {
|
|
417
|
+
AlphaShift: 65536
|
|
418
|
+
Shift: 131072
|
|
419
|
+
Control: 262144
|
|
420
|
+
Alternate: 524288
|
|
421
|
+
Command: 1048576
|
|
422
|
+
Help: 4194304
|
|
423
|
+
SecondaryFn: 8388608
|
|
424
|
+
NumericPad: 2097152
|
|
425
|
+
NonCoalesced: 256
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
declare const CGGesturePhase: {
|
|
429
|
+
None: 0
|
|
430
|
+
Began: 1
|
|
431
|
+
Changed: 2
|
|
432
|
+
Ended: 4
|
|
433
|
+
Cancelled: 8
|
|
434
|
+
MayBegin: 128
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
declare const CGDisplayStreamFrameStatus: {
|
|
438
|
+
FrameComplete: 0
|
|
439
|
+
FrameIdle: 1
|
|
440
|
+
FrameBlank: 2
|
|
441
|
+
Stopped: 3
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
declare const CGDisplayStreamUpdateRectType: {
|
|
445
|
+
Refreshed: 0
|
|
446
|
+
Moved: 1
|
|
447
|
+
Dirty: 2
|
|
448
|
+
ReducedDirty: 3
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
declare const CGWindowLevelKey: {
|
|
452
|
+
BaseWindowLevelKey: 0
|
|
453
|
+
MinimumWindowLevelKey: 1
|
|
454
|
+
DesktopWindowLevelKey: 2
|
|
455
|
+
BackstopMenuLevelKey: 3
|
|
456
|
+
NormalWindowLevelKey: 4
|
|
457
|
+
FloatingWindowLevelKey: 5
|
|
458
|
+
TornOffMenuWindowLevelKey: 6
|
|
459
|
+
DockWindowLevelKey: 7
|
|
460
|
+
MainMenuWindowLevelKey: 8
|
|
461
|
+
StatusWindowLevelKey: 9
|
|
462
|
+
ModalPanelWindowLevelKey: 10
|
|
463
|
+
PopUpMenuWindowLevelKey: 11
|
|
464
|
+
DraggingWindowLevelKey: 12
|
|
465
|
+
ScreenSaverWindowLevelKey: 13
|
|
466
|
+
MaximumWindowLevelKey: 14
|
|
467
|
+
OverlayWindowLevelKey: 15
|
|
468
|
+
HelpWindowLevelKey: 16
|
|
469
|
+
UtilityWindowLevelKey: 17
|
|
470
|
+
DesktopIconWindowLevelKey: 18
|
|
471
|
+
CursorWindowLevelKey: 19
|
|
472
|
+
AssistiveTechHighWindowLevelKey: 20
|
|
473
|
+
NumberOfWindowLevelKeys: 21
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
declare const CGWindowBackingType: {
|
|
477
|
+
Retained: 0
|
|
478
|
+
Nonretained: 1
|
|
479
|
+
Buffered: 2
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
declare const CGWindowSharingType: {
|
|
483
|
+
None: 0
|
|
484
|
+
ReadOnly: 1
|
|
485
|
+
ReadWrite: 2
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
declare const CGBitmapLayout: {
|
|
489
|
+
AlphaOnly: 0
|
|
490
|
+
Gray: 1
|
|
491
|
+
GrayAlpha: 2
|
|
492
|
+
RGBA: 3
|
|
493
|
+
ARGB: 4
|
|
494
|
+
RGBX: 5
|
|
495
|
+
XRGB: 6
|
|
496
|
+
BGRA: 7
|
|
497
|
+
BGRX: 8
|
|
498
|
+
ABGR: 9
|
|
499
|
+
XBGR: 10
|
|
500
|
+
CMYK: 11
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
declare const CGColorModel: {
|
|
504
|
+
NoColorant: 0
|
|
505
|
+
Gray: 1
|
|
506
|
+
RGB: 2
|
|
507
|
+
CMYK: 4
|
|
508
|
+
Lab: 8
|
|
509
|
+
DeviceN: 16
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
declare const CGCaptureOptions: {
|
|
513
|
+
Options: 0
|
|
514
|
+
Fill: 1
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
declare const CGColorSpaceModel: {
|
|
518
|
+
Unknown: -1
|
|
519
|
+
Monochrome: 0
|
|
520
|
+
RGB: 1
|
|
521
|
+
CMYK: 2
|
|
522
|
+
Lab: 3
|
|
523
|
+
DeviceN: 4
|
|
524
|
+
Indexed: 5
|
|
525
|
+
Pattern: 6
|
|
526
|
+
XYZ: 7
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
declare const CGBlendMode: {
|
|
530
|
+
Normal: 0
|
|
531
|
+
Multiply: 1
|
|
532
|
+
Screen: 2
|
|
533
|
+
Overlay: 3
|
|
534
|
+
Darken: 4
|
|
535
|
+
Lighten: 5
|
|
536
|
+
ColorDodge: 6
|
|
537
|
+
ColorBurn: 7
|
|
538
|
+
SoftLight: 8
|
|
539
|
+
HardLight: 9
|
|
540
|
+
Difference: 10
|
|
541
|
+
Exclusion: 11
|
|
542
|
+
Hue: 12
|
|
543
|
+
Saturation: 13
|
|
544
|
+
Color: 14
|
|
545
|
+
Luminosity: 15
|
|
546
|
+
Clear: 16
|
|
547
|
+
Copy: 17
|
|
548
|
+
SourceIn: 18
|
|
549
|
+
SourceOut: 19
|
|
550
|
+
SourceAtop: 20
|
|
551
|
+
DestinationOver: 21
|
|
552
|
+
DestinationIn: 22
|
|
553
|
+
DestinationOut: 23
|
|
554
|
+
DestinationAtop: 24
|
|
555
|
+
XOR: 25
|
|
556
|
+
PlusDarker: 26
|
|
557
|
+
PlusLighter: 27
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
declare const CGTextEncoding: {
|
|
561
|
+
FontSpecific: 0
|
|
562
|
+
MacRoman: 1
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
declare const CGPathDrawingMode: {
|
|
566
|
+
Fill: 0
|
|
567
|
+
EOFill: 1
|
|
568
|
+
Stroke: 2
|
|
569
|
+
FillStroke: 3
|
|
570
|
+
EOFillStroke: 4
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
declare const CGImageAlphaInfo: {
|
|
574
|
+
None: 0
|
|
575
|
+
PremultipliedLast: 1
|
|
576
|
+
PremultipliedFirst: 2
|
|
577
|
+
Last: 3
|
|
578
|
+
First: 4
|
|
579
|
+
NoneSkipLast: 5
|
|
580
|
+
NoneSkipFirst: 6
|
|
581
|
+
Only: 7
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
declare const CGGradientDrawingOptions: {
|
|
585
|
+
BeforeStart: 1
|
|
586
|
+
AfterEnd: 2
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
declare const CGGlyphDeprecatedEnum: {
|
|
590
|
+
Min: 0
|
|
591
|
+
Max: 1
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
declare const CGColorRenderingIntent: {
|
|
595
|
+
Default: 0
|
|
596
|
+
AbsoluteColorimetric: 1
|
|
597
|
+
RelativeColorimetric: 2
|
|
598
|
+
Perceptual: 3
|
|
599
|
+
Saturation: 4
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
declare const CGEventTapOptions: {
|
|
603
|
+
Default: 0
|
|
604
|
+
ListenOnly: 1
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
declare const CGFontPostScriptFormat: {
|
|
608
|
+
Type1: 1
|
|
609
|
+
Type3: 3
|
|
610
|
+
Type42: 42
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
declare const CGMouseButton: {
|
|
614
|
+
Left: 0
|
|
615
|
+
Right: 1
|
|
616
|
+
Center: 2
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
declare const CGEventSuppressionState: {
|
|
620
|
+
EventSuppressionStateSuppressionInterval: 0
|
|
621
|
+
EventSuppressionStateRemoteMouseDrag: 1
|
|
622
|
+
NumberOfEventSuppressionStates: 2
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
declare const CGEventFilterMask: {
|
|
626
|
+
LocalMouse: 1
|
|
627
|
+
LocalKeyboard: 2
|
|
628
|
+
SystemDefined: 4
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
declare const CGPDFAccessPermissions: {
|
|
632
|
+
LowQualityPrinting: 1
|
|
633
|
+
HighQualityPrinting: 2
|
|
634
|
+
DocumentChanges: 4
|
|
635
|
+
DocumentAssembly: 8
|
|
636
|
+
ContentCopying: 16
|
|
637
|
+
ContentAccessibility: 32
|
|
638
|
+
Commenting: 64
|
|
639
|
+
FormFieldEntry: 128
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
declare const CGDisplayChangeSummaryFlags: {
|
|
643
|
+
BeginConfiguration: 1
|
|
644
|
+
Moved: 2
|
|
645
|
+
SetMain: 4
|
|
646
|
+
SetMode: 8
|
|
647
|
+
Add: 16
|
|
648
|
+
Remove: 32
|
|
649
|
+
Enabled: 256
|
|
650
|
+
Disabled: 512
|
|
651
|
+
Mirror: 1024
|
|
652
|
+
UnMirror: 2048
|
|
653
|
+
DesktopShapeChanged: 4096
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
declare const CGBitmapInfo: {
|
|
657
|
+
AlphaInfoMask: 31
|
|
658
|
+
ComponentInfoMask: 3840
|
|
659
|
+
ByteOrderInfoMask: 28672
|
|
660
|
+
PixelFormatInfoMask: 983040
|
|
661
|
+
FloatInfoMask: 3840
|
|
662
|
+
ByteOrderMask: 28672
|
|
663
|
+
FloatComponents: 256
|
|
664
|
+
ByteOrderDefault: 0
|
|
665
|
+
ByteOrder16Little: 4096
|
|
666
|
+
ByteOrder32Little: 8192
|
|
667
|
+
ByteOrder16Big: 12288
|
|
668
|
+
ByteOrder32Big: 16384
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
declare const CGImageByteOrderInfo: {
|
|
672
|
+
OrderMask: 28672
|
|
673
|
+
OrderDefault: 0
|
|
674
|
+
Order16Little: 4096
|
|
675
|
+
Order32Little: 8192
|
|
676
|
+
Order16Big: 12288
|
|
677
|
+
Order32Big: 16384
|
|
678
|
+
Order16Host: 4096
|
|
679
|
+
Order32Host: 8192
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
declare const CGScrollPhase: {
|
|
683
|
+
Began: 1
|
|
684
|
+
Changed: 2
|
|
685
|
+
Ended: 4
|
|
686
|
+
Cancelled: 8
|
|
687
|
+
MayBegin: 128
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
declare const CGPDFTagType: {
|
|
691
|
+
Document: 100
|
|
692
|
+
Part: 101
|
|
693
|
+
Art: 102
|
|
694
|
+
Section: 103
|
|
695
|
+
Div: 104
|
|
696
|
+
BlockQuote: 105
|
|
697
|
+
Caption: 106
|
|
698
|
+
TOC: 107
|
|
699
|
+
TOCI: 108
|
|
700
|
+
Index: 109
|
|
701
|
+
NonStructure: 110
|
|
702
|
+
Private: 111
|
|
703
|
+
Paragraph: 200
|
|
704
|
+
Header: 201
|
|
705
|
+
Header1: 202
|
|
706
|
+
Header2: 203
|
|
707
|
+
Header3: 204
|
|
708
|
+
Header4: 205
|
|
709
|
+
Header5: 206
|
|
710
|
+
Header6: 207
|
|
711
|
+
List: 300
|
|
712
|
+
ListItem: 301
|
|
713
|
+
Label: 302
|
|
714
|
+
ListBody: 303
|
|
715
|
+
Table: 400
|
|
716
|
+
TableRow: 401
|
|
717
|
+
TableHeaderCell: 402
|
|
718
|
+
TableDataCell: 403
|
|
719
|
+
TableHeader: 404
|
|
720
|
+
TableBody: 405
|
|
721
|
+
TableFooter: 406
|
|
722
|
+
Span: 500
|
|
723
|
+
Quote: 501
|
|
724
|
+
Note: 502
|
|
725
|
+
Reference: 503
|
|
726
|
+
Bibliography: 504
|
|
727
|
+
Code: 505
|
|
728
|
+
Link: 506
|
|
729
|
+
Annotation: 507
|
|
730
|
+
Ruby: 600
|
|
731
|
+
RubyBaseText: 601
|
|
732
|
+
RubyAnnotationText: 602
|
|
733
|
+
RubyPunctuation: 603
|
|
734
|
+
Warichu: 604
|
|
735
|
+
WarichuText: 605
|
|
736
|
+
WarichuPunctiation: 606
|
|
737
|
+
Figure: 700
|
|
738
|
+
Formula: 701
|
|
739
|
+
Form: 702
|
|
740
|
+
Object: 800
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
declare const CGImageComponentInfo: {
|
|
744
|
+
Integer: 0
|
|
745
|
+
Float: 256
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
declare const CGLineCap: {
|
|
749
|
+
Butt: 0
|
|
750
|
+
Round: 1
|
|
751
|
+
Square: 2
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
declare const CGMomentumScrollPhase: {
|
|
755
|
+
None: 0
|
|
756
|
+
Begin: 1
|
|
757
|
+
Continue: 2
|
|
758
|
+
End: 3
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
declare const CGEventType: {
|
|
762
|
+
Null: 0
|
|
763
|
+
LeftMouseDown: 1
|
|
764
|
+
LeftMouseUp: 2
|
|
765
|
+
RightMouseDown: 3
|
|
766
|
+
RightMouseUp: 4
|
|
767
|
+
MouseMoved: 5
|
|
768
|
+
LeftMouseDragged: 6
|
|
769
|
+
RightMouseDragged: 7
|
|
770
|
+
KeyDown: 10
|
|
771
|
+
KeyUp: 11
|
|
772
|
+
FlagsChanged: 12
|
|
773
|
+
ScrollWheel: 22
|
|
774
|
+
TabletPointer: 23
|
|
775
|
+
TabletProximity: 24
|
|
776
|
+
OtherMouseDown: 25
|
|
777
|
+
OtherMouseUp: 26
|
|
778
|
+
OtherMouseDragged: 27
|
|
779
|
+
TapDisabledByTimeout: -2
|
|
780
|
+
TapDisabledByUserInput: -1
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
declare const CGScreenUpdateOperation: {
|
|
784
|
+
Refresh: 0
|
|
785
|
+
Move: 1
|
|
786
|
+
ReducedDirtyRectangleCount: -2147483648
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
declare const CGWindowImageOption: {
|
|
790
|
+
Default: 0
|
|
791
|
+
BoundsIgnoreFraming: 1
|
|
792
|
+
ShouldBeOpaque: 2
|
|
793
|
+
OnlyShadows: 4
|
|
794
|
+
BestResolution: 8
|
|
795
|
+
NominalResolution: 16
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
declare const CGColorConversionInfoTransformType: {
|
|
799
|
+
From: 0
|
|
800
|
+
To: 1
|
|
801
|
+
Apply: 2
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
declare const CGPathElementType: {
|
|
805
|
+
MoveToPoint: 0
|
|
806
|
+
AddLineToPoint: 1
|
|
807
|
+
AddQuadCurveToPoint: 2
|
|
808
|
+
AddCurveToPoint: 3
|
|
809
|
+
CloseSubpath: 4
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
declare const CGTextDrawingMode: {
|
|
813
|
+
Fill: 0
|
|
814
|
+
Stroke: 1
|
|
815
|
+
FillStroke: 2
|
|
816
|
+
Invisible: 3
|
|
817
|
+
FillClip: 4
|
|
818
|
+
StrokeClip: 5
|
|
819
|
+
FillStrokeClip: 6
|
|
820
|
+
Clip: 7
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
declare const CGScrollEventUnit: {
|
|
824
|
+
Pixel: 0
|
|
825
|
+
Line: 1
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
declare class CGContentToneMappingInfo {
|
|
829
|
+
constructor(init?: CGContentToneMappingInfo)
|
|
830
|
+
method: interop.Enum<typeof CGToneMapping>
|
|
831
|
+
options: interop.Object | null
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
declare class CGDataProvider {
|
|
835
|
+
constructor(init?: CGDataProvider)
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
declare class CGPath {
|
|
839
|
+
constructor(init?: CGPath)
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
declare class CGDataConsumerCallbacks {
|
|
843
|
+
constructor(init?: CGDataConsumerCallbacks)
|
|
844
|
+
putBytes: (
|
|
845
|
+
p1: interop.PointerConvertible,
|
|
846
|
+
p2: interop.PointerConvertible,
|
|
847
|
+
p3: number,
|
|
848
|
+
) => number | null
|
|
849
|
+
releaseConsumer: (p1: interop.PointerConvertible) => void | null
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
declare class CGPDFStream {
|
|
853
|
+
constructor(init?: CGPDFStream)
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
declare class CGDataConsumer {
|
|
857
|
+
constructor(init?: CGDataConsumer)
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
declare class CGPDFDictionary {
|
|
861
|
+
constructor(init?: CGPDFDictionary)
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
declare class CGColorDataFormat {
|
|
865
|
+
constructor(init?: CGColorDataFormat)
|
|
866
|
+
version: number
|
|
867
|
+
colorspace_info: interop.Object | null
|
|
868
|
+
bitmap_info: interop.Enum<typeof CGBitmapInfo>
|
|
869
|
+
bits_per_component: number
|
|
870
|
+
bytes_per_row: number
|
|
871
|
+
intent: interop.Enum<typeof CGColorRenderingIntent>
|
|
872
|
+
decode: interop.Pointer
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
declare class CGDisplayStreamUpdate {
|
|
876
|
+
constructor(init?: CGDisplayStreamUpdate)
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
declare class CGFunctionCallbacks {
|
|
880
|
+
constructor(init?: CGFunctionCallbacks)
|
|
881
|
+
version: number
|
|
882
|
+
evaluate: (
|
|
883
|
+
p1: interop.PointerConvertible,
|
|
884
|
+
p2: interop.PointerConvertible,
|
|
885
|
+
p3: interop.PointerConvertible,
|
|
886
|
+
) => void | null
|
|
887
|
+
releaseInfo: (p1: interop.PointerConvertible) => void | null
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
declare class CGPSConverterCallbacks {
|
|
891
|
+
constructor(init?: CGPSConverterCallbacks)
|
|
892
|
+
version: number
|
|
893
|
+
beginDocument: (p1: interop.PointerConvertible) => void | null
|
|
894
|
+
endDocument: (p1: interop.PointerConvertible, p2: boolean) => void | null
|
|
895
|
+
beginPage: (
|
|
896
|
+
p1: interop.PointerConvertible,
|
|
897
|
+
p2: number,
|
|
898
|
+
p3: interop.PointerConvertible,
|
|
899
|
+
) => void | null
|
|
900
|
+
endPage: (
|
|
901
|
+
p1: interop.PointerConvertible,
|
|
902
|
+
p2: number,
|
|
903
|
+
p3: interop.PointerConvertible,
|
|
904
|
+
) => void | null
|
|
905
|
+
noteProgress: (p1: interop.PointerConvertible) => void | null
|
|
906
|
+
noteMessage: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => void | null
|
|
907
|
+
releaseInfo: (p1: interop.PointerConvertible) => void | null
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
declare class __CGEventSource {
|
|
911
|
+
constructor(init?: __CGEventSource)
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
declare class __CGEventTapProxy {
|
|
915
|
+
constructor(init?: __CGEventTapProxy)
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
declare class CGDisplayStream {
|
|
919
|
+
constructor(init?: CGDisplayStream)
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
declare class _CGDisplayConfigRef {
|
|
923
|
+
constructor(init?: _CGDisplayConfigRef)
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
declare class CGPDFOperatorTable {
|
|
927
|
+
constructor(init?: CGPDFOperatorTable)
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
declare class CGPDFStructureElement {
|
|
931
|
+
constructor(init?: CGPDFStructureElement)
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
declare class CGPDFContentStream {
|
|
935
|
+
constructor(init?: CGPDFContentStream)
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
declare class CGLayer {
|
|
939
|
+
constructor(init?: CGLayer)
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
declare class CGColorConversionInfo {
|
|
943
|
+
constructor(init?: CGColorConversionInfo)
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
declare class CGBitmapParameters {
|
|
947
|
+
constructor(init?: CGBitmapParameters)
|
|
948
|
+
width: number
|
|
949
|
+
height: number
|
|
950
|
+
bytesPerPixel: number
|
|
951
|
+
alignedBytesPerRow: number
|
|
952
|
+
component: interop.Enum<typeof CGComponent>
|
|
953
|
+
layout: interop.Enum<typeof CGBitmapLayout>
|
|
954
|
+
format: interop.Enum<typeof CGImagePixelFormatInfo>
|
|
955
|
+
colorSpace: interop.Object | null
|
|
956
|
+
hasPremultipliedAlpha: boolean
|
|
957
|
+
byteOrder: number
|
|
958
|
+
edrTargetHeadroom: number
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
declare class CGRenderingBufferProvider {
|
|
962
|
+
constructor(init?: CGRenderingBufferProvider)
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
declare class CGDisplayMode {
|
|
966
|
+
constructor(init?: CGDisplayMode)
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
declare class CGDataProviderSequentialCallbacks {
|
|
970
|
+
constructor(init?: CGDataProviderSequentialCallbacks)
|
|
971
|
+
version: number
|
|
972
|
+
getBytes: (
|
|
973
|
+
p1: interop.PointerConvertible,
|
|
974
|
+
p2: interop.PointerConvertible,
|
|
975
|
+
p3: number,
|
|
976
|
+
) => number | null
|
|
977
|
+
skipForward: (p1: interop.PointerConvertible, p2: number) => number | null
|
|
978
|
+
rewind: (p1: interop.PointerConvertible) => void | null
|
|
979
|
+
releaseInfo: (p1: interop.PointerConvertible) => void | null
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
declare class CGGradient {
|
|
983
|
+
constructor(init?: CGGradient)
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
declare class CGPDFScanner {
|
|
987
|
+
constructor(init?: CGPDFScanner)
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
declare class CGPDFDocument {
|
|
991
|
+
constructor(init?: CGPDFDocument)
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
declare class CGImage {
|
|
995
|
+
constructor(init?: CGImage)
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
declare class ColorSyncProfile {
|
|
999
|
+
constructor(init?: ColorSyncProfile)
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
declare class CGPDFMarkedContentItem {
|
|
1003
|
+
constructor(init?: CGPDFMarkedContentItem)
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
declare class CGShading {
|
|
1007
|
+
constructor(init?: CGShading)
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
declare class CGPatternCallbacks {
|
|
1011
|
+
constructor(init?: CGPatternCallbacks)
|
|
1012
|
+
version: number
|
|
1013
|
+
drawPattern: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => void | null
|
|
1014
|
+
releaseInfo: (p1: interop.PointerConvertible) => void | null
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
declare class CGPattern {
|
|
1018
|
+
constructor(init?: CGPattern)
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
declare class CGContext {
|
|
1022
|
+
constructor(init?: CGContext)
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
declare class CGColorBufferFormat {
|
|
1026
|
+
constructor(init?: CGColorBufferFormat)
|
|
1027
|
+
version: number
|
|
1028
|
+
bitmapInfo: interop.Enum<typeof CGBitmapInfo>
|
|
1029
|
+
bitsPerComponent: number
|
|
1030
|
+
bitsPerPixel: number
|
|
1031
|
+
bytesPerRow: number
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
declare class CGPDFPage {
|
|
1035
|
+
constructor(init?: CGPDFPage)
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
declare class __CGEventTapInformation {
|
|
1039
|
+
constructor(init?: __CGEventTapInformation)
|
|
1040
|
+
eventTapID: number
|
|
1041
|
+
tapPoint: interop.Enum<typeof CGEventTapLocation>
|
|
1042
|
+
options: interop.Enum<typeof CGEventTapOptions>
|
|
1043
|
+
eventsOfInterest: number
|
|
1044
|
+
tappingProcess: number
|
|
1045
|
+
processBeingTapped: number
|
|
1046
|
+
enabled: boolean
|
|
1047
|
+
minUsecLatency: number
|
|
1048
|
+
avgUsecLatency: number
|
|
1049
|
+
maxUsecLatency: number
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
declare class CGContentInfo {
|
|
1053
|
+
constructor(init?: CGContentInfo)
|
|
1054
|
+
deepestImageComponent: interop.Enum<typeof CGComponent>
|
|
1055
|
+
contentColorModels: interop.Enum<typeof CGColorModel>
|
|
1056
|
+
hasWideGamut: boolean
|
|
1057
|
+
hasTransparency: boolean
|
|
1058
|
+
largestContentHeadroom: number
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
declare class CGPDFObject {
|
|
1062
|
+
constructor(init?: CGPDFObject)
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
declare class CGPDFArray {
|
|
1066
|
+
constructor(init?: CGPDFArray)
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
declare class CGPathElement {
|
|
1070
|
+
constructor(init?: CGPathElement)
|
|
1071
|
+
type: interop.Enum<typeof CGPathElementType>
|
|
1072
|
+
points: interop.Pointer
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
declare class CGPDFString {
|
|
1076
|
+
constructor(init?: CGPDFString)
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
declare class CGColorSpace {
|
|
1080
|
+
constructor(init?: CGColorSpace)
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
declare class CGScreenUpdateMoveDelta {
|
|
1084
|
+
constructor(init?: CGScreenUpdateMoveDelta)
|
|
1085
|
+
dX: number
|
|
1086
|
+
dY: number
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
declare class __IOSurface {
|
|
1090
|
+
constructor(init?: __IOSurface)
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
declare class CGDeviceColor {
|
|
1094
|
+
constructor(init?: CGDeviceColor)
|
|
1095
|
+
red: number
|
|
1096
|
+
green: number
|
|
1097
|
+
blue: number
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
declare class __CGEvent {
|
|
1101
|
+
constructor(init?: __CGEvent)
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
declare class CGPSConverter {
|
|
1105
|
+
constructor(init?: CGPSConverter)
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
declare class CGFont {
|
|
1109
|
+
constructor(init?: CGFont)
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
declare class CGColor {
|
|
1113
|
+
constructor(init?: CGColor)
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
declare class CGFunction {
|
|
1117
|
+
constructor(init?: CGFunction)
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
declare class CGDataProviderDirectCallbacks {
|
|
1121
|
+
constructor(init?: CGDataProviderDirectCallbacks)
|
|
1122
|
+
version: number
|
|
1123
|
+
getBytePointer: (p1: interop.PointerConvertible) => interop.Pointer | null
|
|
1124
|
+
releaseBytePointer: (
|
|
1125
|
+
p1: interop.PointerConvertible,
|
|
1126
|
+
p2: interop.PointerConvertible,
|
|
1127
|
+
) => void | null
|
|
1128
|
+
getBytesAtPosition: (
|
|
1129
|
+
p1: interop.PointerConvertible,
|
|
1130
|
+
p2: interop.PointerConvertible,
|
|
1131
|
+
p3: number,
|
|
1132
|
+
p4: number,
|
|
1133
|
+
) => number | null
|
|
1134
|
+
releaseInfo: (p1: interop.PointerConvertible) => void | null
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
declare function CGRectGetMinX(rect: CGRect): number
|
|
1138
|
+
|
|
1139
|
+
declare function CGRectGetMidX(rect: CGRect): number
|
|
1140
|
+
|
|
1141
|
+
declare function CGRectGetMaxX(rect: CGRect): number
|
|
1142
|
+
|
|
1143
|
+
declare function CGRectGetMinY(rect: CGRect): number
|
|
1144
|
+
|
|
1145
|
+
declare function CGRectGetMidY(rect: CGRect): number
|
|
1146
|
+
|
|
1147
|
+
declare function CGRectGetMaxY(rect: CGRect): number
|
|
1148
|
+
|
|
1149
|
+
declare function CGRectGetWidth(rect: CGRect): number
|
|
1150
|
+
|
|
1151
|
+
declare function CGRectGetHeight(rect: CGRect): number
|
|
1152
|
+
|
|
1153
|
+
declare function CGPointEqualToPoint(point1: CGPoint, point2: CGPoint): boolean
|
|
1154
|
+
|
|
1155
|
+
declare function CGSizeEqualToSize(size1: CGSize, size2: CGSize): boolean
|
|
1156
|
+
|
|
1157
|
+
declare function CGRectEqualToRect(rect1: CGRect, rect2: CGRect): boolean
|
|
1158
|
+
|
|
1159
|
+
declare function CGRectStandardize(rect: CGRect): CGRect
|
|
1160
|
+
|
|
1161
|
+
declare function CGRectIsEmpty(rect: CGRect): boolean
|
|
1162
|
+
|
|
1163
|
+
declare function CGRectIsNull(rect: CGRect): boolean
|
|
1164
|
+
|
|
1165
|
+
declare function CGRectIsInfinite(rect: CGRect): boolean
|
|
1166
|
+
|
|
1167
|
+
declare function CGRectInset(rect: CGRect, dx: number, dy: number): CGRect
|
|
1168
|
+
|
|
1169
|
+
declare function CGRectIntegral(rect: CGRect): CGRect
|
|
1170
|
+
|
|
1171
|
+
declare function CGRectUnion(r1: CGRect, r2: CGRect): CGRect
|
|
1172
|
+
|
|
1173
|
+
declare function CGRectIntersection(r1: CGRect, r2: CGRect): CGRect
|
|
1174
|
+
|
|
1175
|
+
declare function CGRectOffset(rect: CGRect, dx: number, dy: number): CGRect
|
|
1176
|
+
|
|
1177
|
+
declare function CGRectDivide(
|
|
1178
|
+
rect: CGRect,
|
|
1179
|
+
slice: interop.PointerConvertible,
|
|
1180
|
+
remainder: interop.PointerConvertible,
|
|
1181
|
+
amount: number,
|
|
1182
|
+
edge: interop.Enum<typeof CGRectEdge>,
|
|
1183
|
+
): void
|
|
1184
|
+
|
|
1185
|
+
declare function CGRectContainsPoint(rect: CGRect, point: CGPoint): boolean
|
|
1186
|
+
|
|
1187
|
+
declare function CGRectContainsRect(rect1: CGRect, rect2: CGRect): boolean
|
|
1188
|
+
|
|
1189
|
+
declare function CGRectIntersectsRect(rect1: CGRect, rect2: CGRect): boolean
|
|
1190
|
+
|
|
1191
|
+
declare function CGPointCreateDictionaryRepresentation(point: CGPoint): interop.Object
|
|
1192
|
+
|
|
1193
|
+
declare function CGPointMakeWithDictionaryRepresentation(
|
|
1194
|
+
dict: interop.Object,
|
|
1195
|
+
point: interop.PointerConvertible,
|
|
1196
|
+
): boolean
|
|
1197
|
+
|
|
1198
|
+
declare function CGSizeCreateDictionaryRepresentation(size: CGSize): interop.Object
|
|
1199
|
+
|
|
1200
|
+
declare function CGSizeMakeWithDictionaryRepresentation(
|
|
1201
|
+
dict: interop.Object,
|
|
1202
|
+
size: interop.PointerConvertible,
|
|
1203
|
+
): boolean
|
|
1204
|
+
|
|
1205
|
+
declare function CGRectCreateDictionaryRepresentation(p1: CGRect): interop.Object
|
|
1206
|
+
|
|
1207
|
+
declare function CGRectMakeWithDictionaryRepresentation(
|
|
1208
|
+
dict: interop.Object,
|
|
1209
|
+
rect: interop.PointerConvertible,
|
|
1210
|
+
): boolean
|
|
1211
|
+
|
|
1212
|
+
declare function CGAffineTransformMake(
|
|
1213
|
+
a: number,
|
|
1214
|
+
b: number,
|
|
1215
|
+
c: number,
|
|
1216
|
+
d: number,
|
|
1217
|
+
tx: number,
|
|
1218
|
+
ty: number,
|
|
1219
|
+
): CGAffineTransform
|
|
1220
|
+
|
|
1221
|
+
declare function CGAffineTransformMakeTranslation(tx: number, ty: number): CGAffineTransform
|
|
1222
|
+
|
|
1223
|
+
declare function CGAffineTransformMakeScale(sx: number, sy: number): CGAffineTransform
|
|
1224
|
+
|
|
1225
|
+
declare function CGAffineTransformMakeRotation(angle: number): CGAffineTransform
|
|
1226
|
+
|
|
1227
|
+
declare function CGAffineTransformIsIdentity(t: CGAffineTransform): boolean
|
|
1228
|
+
|
|
1229
|
+
declare function CGAffineTransformTranslate(
|
|
1230
|
+
t: CGAffineTransform,
|
|
1231
|
+
tx: number,
|
|
1232
|
+
ty: number,
|
|
1233
|
+
): CGAffineTransform
|
|
1234
|
+
|
|
1235
|
+
declare function CGAffineTransformScale(
|
|
1236
|
+
t: CGAffineTransform,
|
|
1237
|
+
sx: number,
|
|
1238
|
+
sy: number,
|
|
1239
|
+
): CGAffineTransform
|
|
1240
|
+
|
|
1241
|
+
declare function CGAffineTransformRotate(t: CGAffineTransform, angle: number): CGAffineTransform
|
|
1242
|
+
|
|
1243
|
+
declare function CGAffineTransformInvert(t: CGAffineTransform): CGAffineTransform
|
|
1244
|
+
|
|
1245
|
+
declare function CGAffineTransformConcat(
|
|
1246
|
+
t1: CGAffineTransform,
|
|
1247
|
+
t2: CGAffineTransform,
|
|
1248
|
+
): CGAffineTransform
|
|
1249
|
+
|
|
1250
|
+
declare function CGAffineTransformEqualToTransform(
|
|
1251
|
+
t1: CGAffineTransform,
|
|
1252
|
+
t2: CGAffineTransform,
|
|
1253
|
+
): boolean
|
|
1254
|
+
|
|
1255
|
+
declare function CGPointApplyAffineTransform(point: CGPoint, t: CGAffineTransform): CGPoint
|
|
1256
|
+
|
|
1257
|
+
declare function CGSizeApplyAffineTransform(size: CGSize, t: CGAffineTransform): CGSize
|
|
1258
|
+
|
|
1259
|
+
declare function CGRectApplyAffineTransform(rect: CGRect, t: CGAffineTransform): CGRect
|
|
1260
|
+
|
|
1261
|
+
declare function CGDataProviderGetTypeID(): number
|
|
1262
|
+
|
|
1263
|
+
declare function CGDataProviderCreateSequential(
|
|
1264
|
+
info: interop.PointerConvertible,
|
|
1265
|
+
callbacks: interop.PointerConvertible,
|
|
1266
|
+
): interop.Object
|
|
1267
|
+
|
|
1268
|
+
declare function CGDataProviderCreateDirect(
|
|
1269
|
+
info: interop.PointerConvertible,
|
|
1270
|
+
size: number,
|
|
1271
|
+
callbacks: interop.PointerConvertible,
|
|
1272
|
+
): interop.Object
|
|
1273
|
+
|
|
1274
|
+
declare function CGDataProviderCreateWithData(
|
|
1275
|
+
info: interop.PointerConvertible,
|
|
1276
|
+
data: interop.PointerConvertible,
|
|
1277
|
+
size: number,
|
|
1278
|
+
releaseData: (p1: interop.PointerConvertible, p2: interop.PointerConvertible, p3: number) => void,
|
|
1279
|
+
): interop.Object
|
|
1280
|
+
|
|
1281
|
+
declare function CGDataProviderCreateWithCFData(data: interop.Object): interop.Object
|
|
1282
|
+
|
|
1283
|
+
declare function CGDataProviderCreateWithURL(url: interop.Object): interop.Object
|
|
1284
|
+
|
|
1285
|
+
declare function CGDataProviderCreateWithFilename(filename: string): interop.Object
|
|
1286
|
+
|
|
1287
|
+
declare function CGDataProviderRetain(provider: interop.Object): interop.Object
|
|
1288
|
+
|
|
1289
|
+
declare function CGDataProviderRelease(provider: interop.Object): void
|
|
1290
|
+
|
|
1291
|
+
declare function CGDataProviderCopyData(provider: interop.Object): interop.Object
|
|
1292
|
+
|
|
1293
|
+
declare function CGDataProviderGetInfo(provider: interop.Object): interop.Pointer
|
|
1294
|
+
|
|
1295
|
+
declare function CGColorSpaceCreateDeviceGray(): interop.Object
|
|
1296
|
+
|
|
1297
|
+
declare function CGColorSpaceCreateDeviceRGB(): interop.Object
|
|
1298
|
+
|
|
1299
|
+
declare function CGColorSpaceCreateDeviceCMYK(): interop.Object
|
|
1300
|
+
|
|
1301
|
+
declare function CGColorSpaceCreateCalibratedGray(
|
|
1302
|
+
whitePoint: interop.PointerConvertible,
|
|
1303
|
+
blackPoint: interop.PointerConvertible,
|
|
1304
|
+
gamma: number,
|
|
1305
|
+
): interop.Object
|
|
1306
|
+
|
|
1307
|
+
declare function CGColorSpaceCreateCalibratedRGB(
|
|
1308
|
+
whitePoint: interop.PointerConvertible,
|
|
1309
|
+
blackPoint: interop.PointerConvertible,
|
|
1310
|
+
gamma: interop.PointerConvertible,
|
|
1311
|
+
matrix: interop.PointerConvertible,
|
|
1312
|
+
): interop.Object
|
|
1313
|
+
|
|
1314
|
+
declare function CGColorSpaceCreateLab(
|
|
1315
|
+
whitePoint: interop.PointerConvertible,
|
|
1316
|
+
blackPoint: interop.PointerConvertible,
|
|
1317
|
+
range: interop.PointerConvertible,
|
|
1318
|
+
): interop.Object
|
|
1319
|
+
|
|
1320
|
+
declare function CGColorSpaceCreateWithICCData(data: interop.Object): interop.Object
|
|
1321
|
+
|
|
1322
|
+
declare function CGColorSpaceCreateICCBased(
|
|
1323
|
+
nComponents: number,
|
|
1324
|
+
range: interop.PointerConvertible,
|
|
1325
|
+
profile: interop.Object,
|
|
1326
|
+
alternate: interop.Object,
|
|
1327
|
+
): interop.Object
|
|
1328
|
+
|
|
1329
|
+
declare function CGColorSpaceCreateIndexed(
|
|
1330
|
+
baseSpace: interop.Object,
|
|
1331
|
+
lastIndex: number,
|
|
1332
|
+
colorTable: interop.PointerConvertible,
|
|
1333
|
+
): interop.Object
|
|
1334
|
+
|
|
1335
|
+
declare function CGColorSpaceCreatePattern(baseSpace: interop.Object): interop.Object
|
|
1336
|
+
|
|
1337
|
+
declare function CGColorSpaceCreateWithName(name: interop.Object): interop.Object
|
|
1338
|
+
|
|
1339
|
+
declare function CGColorSpaceRetain(space: interop.Object): interop.Object
|
|
1340
|
+
|
|
1341
|
+
declare function CGColorSpaceRelease(space: interop.Object): void
|
|
1342
|
+
|
|
1343
|
+
declare function CGColorSpaceGetName(space: interop.Object): interop.Object
|
|
1344
|
+
|
|
1345
|
+
declare function CGColorSpaceCopyName(space: interop.Object): interop.Object
|
|
1346
|
+
|
|
1347
|
+
declare function CGColorSpaceGetTypeID(): number
|
|
1348
|
+
|
|
1349
|
+
declare function CGColorSpaceGetNumberOfComponents(space: interop.Object): number
|
|
1350
|
+
|
|
1351
|
+
declare function CGColorSpaceGetModel(space: interop.Object): interop.Enum<typeof CGColorSpaceModel>
|
|
1352
|
+
|
|
1353
|
+
declare function CGColorSpaceGetBaseColorSpace(space: interop.Object): interop.Object
|
|
1354
|
+
|
|
1355
|
+
declare function CGColorSpaceGetColorTableCount(space: interop.Object): number
|
|
1356
|
+
|
|
1357
|
+
declare function CGColorSpaceGetColorTable(
|
|
1358
|
+
space: interop.Object,
|
|
1359
|
+
table: interop.PointerConvertible,
|
|
1360
|
+
): void
|
|
1361
|
+
|
|
1362
|
+
declare function CGColorSpaceCopyICCData(space: interop.Object): interop.Object
|
|
1363
|
+
|
|
1364
|
+
declare function CGColorSpaceIsWideGamutRGB(p1: interop.Object): boolean
|
|
1365
|
+
|
|
1366
|
+
declare function CGColorSpaceIsHDR(p1: interop.Object): boolean
|
|
1367
|
+
|
|
1368
|
+
declare function CGColorSpaceUsesITUR_2100TF(p1: interop.Object): boolean
|
|
1369
|
+
|
|
1370
|
+
declare function CGColorSpaceSupportsOutput(space: interop.Object): boolean
|
|
1371
|
+
|
|
1372
|
+
declare function CGColorSpaceCopyPropertyList(space: interop.Object): interop.Object
|
|
1373
|
+
|
|
1374
|
+
declare function CGColorSpaceCreateWithPropertyList(plist: interop.Object): interop.Object
|
|
1375
|
+
|
|
1376
|
+
declare function CGColorSpaceUsesExtendedRange(space: interop.Object): boolean
|
|
1377
|
+
|
|
1378
|
+
declare function CGColorSpaceCreateLinearized(space: interop.Object): interop.Object
|
|
1379
|
+
|
|
1380
|
+
declare function CGColorSpaceCreateExtended(space: interop.Object): interop.Object
|
|
1381
|
+
|
|
1382
|
+
declare function CGColorSpaceCreateExtendedLinearized(space: interop.Object): interop.Object
|
|
1383
|
+
|
|
1384
|
+
declare function CGColorSpaceCreateWithICCProfile(data: interop.Object): interop.Object
|
|
1385
|
+
|
|
1386
|
+
declare function CGColorSpaceCopyICCProfile(space: interop.Object): interop.Object
|
|
1387
|
+
|
|
1388
|
+
declare function CGColorSpaceCreateWithPlatformColorSpace(
|
|
1389
|
+
ref: interop.PointerConvertible,
|
|
1390
|
+
): interop.Object
|
|
1391
|
+
|
|
1392
|
+
declare function CGPatternGetTypeID(): number
|
|
1393
|
+
|
|
1394
|
+
declare function CGPatternCreate(
|
|
1395
|
+
info: interop.PointerConvertible,
|
|
1396
|
+
bounds: CGRect,
|
|
1397
|
+
matrix: CGAffineTransform,
|
|
1398
|
+
xStep: number,
|
|
1399
|
+
yStep: number,
|
|
1400
|
+
tiling: interop.Enum<typeof CGPatternTiling>,
|
|
1401
|
+
isColored: boolean,
|
|
1402
|
+
callbacks: interop.PointerConvertible,
|
|
1403
|
+
): interop.Object
|
|
1404
|
+
|
|
1405
|
+
declare function CGPatternRetain(pattern: interop.Object): interop.Object
|
|
1406
|
+
|
|
1407
|
+
declare function CGPatternRelease(pattern: interop.Object): void
|
|
1408
|
+
|
|
1409
|
+
declare function CGColorCreate(
|
|
1410
|
+
space: interop.Object,
|
|
1411
|
+
components: interop.PointerConvertible,
|
|
1412
|
+
): interop.Object
|
|
1413
|
+
|
|
1414
|
+
declare function CGColorCreateGenericGray(gray: number, alpha: number): interop.Object
|
|
1415
|
+
|
|
1416
|
+
declare function CGColorCreateGenericRGB(
|
|
1417
|
+
red: number,
|
|
1418
|
+
green: number,
|
|
1419
|
+
blue: number,
|
|
1420
|
+
alpha: number,
|
|
1421
|
+
): interop.Object
|
|
1422
|
+
|
|
1423
|
+
declare function CGColorCreateGenericCMYK(
|
|
1424
|
+
cyan: number,
|
|
1425
|
+
magenta: number,
|
|
1426
|
+
yellow: number,
|
|
1427
|
+
black: number,
|
|
1428
|
+
alpha: number,
|
|
1429
|
+
): interop.Object
|
|
1430
|
+
|
|
1431
|
+
declare function CGColorCreateGenericGrayGamma2_2(gray: number, alpha: number): interop.Object
|
|
1432
|
+
|
|
1433
|
+
declare function CGColorCreateSRGB(
|
|
1434
|
+
red: number,
|
|
1435
|
+
green: number,
|
|
1436
|
+
blue: number,
|
|
1437
|
+
alpha: number,
|
|
1438
|
+
): interop.Object
|
|
1439
|
+
|
|
1440
|
+
declare function CGColorGetConstantColor(colorName: interop.Object): interop.Object
|
|
1441
|
+
|
|
1442
|
+
declare function CGColorCreateWithPattern(
|
|
1443
|
+
space: interop.Object,
|
|
1444
|
+
pattern: interop.Object,
|
|
1445
|
+
components: interop.PointerConvertible,
|
|
1446
|
+
): interop.Object
|
|
1447
|
+
|
|
1448
|
+
declare function CGColorCreateCopy(color: interop.Object): interop.Object
|
|
1449
|
+
|
|
1450
|
+
declare function CGColorCreateCopyWithAlpha(color: interop.Object, alpha: number): interop.Object
|
|
1451
|
+
|
|
1452
|
+
declare function CGColorCreateCopyByMatchingToColorSpace(
|
|
1453
|
+
p1: interop.Object,
|
|
1454
|
+
intent: interop.Enum<typeof CGColorRenderingIntent>,
|
|
1455
|
+
color: interop.Object,
|
|
1456
|
+
options: interop.Object,
|
|
1457
|
+
): interop.Object
|
|
1458
|
+
|
|
1459
|
+
declare function CGColorRetain(color: interop.Object): interop.Object
|
|
1460
|
+
|
|
1461
|
+
declare function CGColorRelease(color: interop.Object): void
|
|
1462
|
+
|
|
1463
|
+
declare function CGColorEqualToColor(color1: interop.Object, color2: interop.Object): boolean
|
|
1464
|
+
|
|
1465
|
+
declare function CGColorGetNumberOfComponents(color: interop.Object): number
|
|
1466
|
+
|
|
1467
|
+
declare function CGColorGetComponents(color: interop.Object): interop.Pointer
|
|
1468
|
+
|
|
1469
|
+
declare function CGColorGetAlpha(color: interop.Object): number
|
|
1470
|
+
|
|
1471
|
+
declare function CGColorGetColorSpace(color: interop.Object): interop.Object
|
|
1472
|
+
|
|
1473
|
+
declare function CGColorGetPattern(color: interop.Object): interop.Object
|
|
1474
|
+
|
|
1475
|
+
declare function CGColorGetTypeID(): number
|
|
1476
|
+
|
|
1477
|
+
declare function CGFontGetTypeID(): number
|
|
1478
|
+
|
|
1479
|
+
declare function CGFontCreateWithPlatformFont(
|
|
1480
|
+
platformFontReference: interop.PointerConvertible,
|
|
1481
|
+
): interop.Object
|
|
1482
|
+
|
|
1483
|
+
declare function CGFontCreateWithDataProvider(provider: interop.Object): interop.Object
|
|
1484
|
+
|
|
1485
|
+
declare function CGFontCreateWithFontName(name: interop.Object): interop.Object
|
|
1486
|
+
|
|
1487
|
+
declare function CGFontCreateCopyWithVariations(
|
|
1488
|
+
font: interop.Object,
|
|
1489
|
+
variations: interop.Object,
|
|
1490
|
+
): interop.Object
|
|
1491
|
+
|
|
1492
|
+
declare function CGFontRetain(font: interop.Object): interop.Object
|
|
1493
|
+
|
|
1494
|
+
declare function CGFontRelease(font: interop.Object): void
|
|
1495
|
+
|
|
1496
|
+
declare function CGFontGetNumberOfGlyphs(font: interop.Object): number
|
|
1497
|
+
|
|
1498
|
+
declare function CGFontGetUnitsPerEm(font: interop.Object): number
|
|
1499
|
+
|
|
1500
|
+
declare function CGFontCopyPostScriptName(font: interop.Object): interop.Object
|
|
1501
|
+
|
|
1502
|
+
declare function CGFontCopyFullName(font: interop.Object): interop.Object
|
|
1503
|
+
|
|
1504
|
+
declare function CGFontGetAscent(font: interop.Object): number
|
|
1505
|
+
|
|
1506
|
+
declare function CGFontGetDescent(font: interop.Object): number
|
|
1507
|
+
|
|
1508
|
+
declare function CGFontGetLeading(font: interop.Object): number
|
|
1509
|
+
|
|
1510
|
+
declare function CGFontGetCapHeight(font: interop.Object): number
|
|
1511
|
+
|
|
1512
|
+
declare function CGFontGetXHeight(font: interop.Object): number
|
|
1513
|
+
|
|
1514
|
+
declare function CGFontGetFontBBox(font: interop.Object): CGRect
|
|
1515
|
+
|
|
1516
|
+
declare function CGFontGetItalicAngle(font: interop.Object): number
|
|
1517
|
+
|
|
1518
|
+
declare function CGFontGetStemV(font: interop.Object): number
|
|
1519
|
+
|
|
1520
|
+
declare function CGFontCopyVariationAxes(font: interop.Object): interop.Object
|
|
1521
|
+
|
|
1522
|
+
declare function CGFontCopyVariations(font: interop.Object): interop.Object
|
|
1523
|
+
|
|
1524
|
+
declare function CGFontGetGlyphAdvances(
|
|
1525
|
+
font: interop.Object,
|
|
1526
|
+
glyphs: interop.PointerConvertible,
|
|
1527
|
+
count: number,
|
|
1528
|
+
advances: interop.PointerConvertible,
|
|
1529
|
+
): boolean
|
|
1530
|
+
|
|
1531
|
+
declare function CGFontGetGlyphBBoxes(
|
|
1532
|
+
font: interop.Object,
|
|
1533
|
+
glyphs: interop.PointerConvertible,
|
|
1534
|
+
count: number,
|
|
1535
|
+
bboxes: interop.PointerConvertible,
|
|
1536
|
+
): boolean
|
|
1537
|
+
|
|
1538
|
+
declare function CGFontGetGlyphWithGlyphName(font: interop.Object, name: interop.Object): number
|
|
1539
|
+
|
|
1540
|
+
declare function CGFontCopyGlyphNameForGlyph(font: interop.Object, glyph: number): interop.Object
|
|
1541
|
+
|
|
1542
|
+
declare function CGFontCanCreatePostScriptSubset(
|
|
1543
|
+
font: interop.Object,
|
|
1544
|
+
format: interop.Enum<typeof CGFontPostScriptFormat>,
|
|
1545
|
+
): boolean
|
|
1546
|
+
|
|
1547
|
+
declare function CGFontCreatePostScriptSubset(
|
|
1548
|
+
font: interop.Object,
|
|
1549
|
+
subsetName: interop.Object,
|
|
1550
|
+
format: interop.Enum<typeof CGFontPostScriptFormat>,
|
|
1551
|
+
glyphs: interop.PointerConvertible,
|
|
1552
|
+
count: number,
|
|
1553
|
+
encoding: interop.PointerConvertible,
|
|
1554
|
+
): interop.Object
|
|
1555
|
+
|
|
1556
|
+
declare function CGFontCreatePostScriptEncoding(
|
|
1557
|
+
font: interop.Object,
|
|
1558
|
+
encoding: interop.PointerConvertible,
|
|
1559
|
+
): interop.Object
|
|
1560
|
+
|
|
1561
|
+
declare function CGFontCopyTableTags(font: interop.Object): interop.Object
|
|
1562
|
+
|
|
1563
|
+
declare function CGFontCopyTableForTag(font: interop.Object, tag: number): interop.Object
|
|
1564
|
+
|
|
1565
|
+
declare function CGGradientGetTypeID(): number
|
|
1566
|
+
|
|
1567
|
+
declare function CGGradientCreateWithColorComponents(
|
|
1568
|
+
space: interop.Object,
|
|
1569
|
+
components: interop.PointerConvertible,
|
|
1570
|
+
locations: interop.PointerConvertible,
|
|
1571
|
+
count: number,
|
|
1572
|
+
): interop.Object
|
|
1573
|
+
|
|
1574
|
+
declare function CGGradientCreateWithColors(
|
|
1575
|
+
space: interop.Object,
|
|
1576
|
+
colors: interop.Object,
|
|
1577
|
+
locations: interop.PointerConvertible,
|
|
1578
|
+
): interop.Object
|
|
1579
|
+
|
|
1580
|
+
declare function CGGradientRetain(gradient: interop.Object): interop.Object
|
|
1581
|
+
|
|
1582
|
+
declare function CGGradientRelease(gradient: interop.Object): void
|
|
1583
|
+
|
|
1584
|
+
declare function CGImageGetTypeID(): number
|
|
1585
|
+
|
|
1586
|
+
declare function CGImageCreate(
|
|
1587
|
+
width: number,
|
|
1588
|
+
height: number,
|
|
1589
|
+
bitsPerComponent: number,
|
|
1590
|
+
bitsPerPixel: number,
|
|
1591
|
+
bytesPerRow: number,
|
|
1592
|
+
space: interop.Object,
|
|
1593
|
+
bitmapInfo: interop.Enum<typeof CGBitmapInfo>,
|
|
1594
|
+
provider: interop.Object,
|
|
1595
|
+
decode: interop.PointerConvertible,
|
|
1596
|
+
shouldInterpolate: boolean,
|
|
1597
|
+
intent: interop.Enum<typeof CGColorRenderingIntent>,
|
|
1598
|
+
): interop.Object
|
|
1599
|
+
|
|
1600
|
+
declare function CGImageMaskCreate(
|
|
1601
|
+
width: number,
|
|
1602
|
+
height: number,
|
|
1603
|
+
bitsPerComponent: number,
|
|
1604
|
+
bitsPerPixel: number,
|
|
1605
|
+
bytesPerRow: number,
|
|
1606
|
+
provider: interop.Object,
|
|
1607
|
+
decode: interop.PointerConvertible,
|
|
1608
|
+
shouldInterpolate: boolean,
|
|
1609
|
+
): interop.Object
|
|
1610
|
+
|
|
1611
|
+
declare function CGImageCreateCopy(image: interop.Object): interop.Object
|
|
1612
|
+
|
|
1613
|
+
declare function CGImageCreateWithJPEGDataProvider(
|
|
1614
|
+
source: interop.Object,
|
|
1615
|
+
decode: interop.PointerConvertible,
|
|
1616
|
+
shouldInterpolate: boolean,
|
|
1617
|
+
intent: interop.Enum<typeof CGColorRenderingIntent>,
|
|
1618
|
+
): interop.Object
|
|
1619
|
+
|
|
1620
|
+
declare function CGImageCreateWithPNGDataProvider(
|
|
1621
|
+
source: interop.Object,
|
|
1622
|
+
decode: interop.PointerConvertible,
|
|
1623
|
+
shouldInterpolate: boolean,
|
|
1624
|
+
intent: interop.Enum<typeof CGColorRenderingIntent>,
|
|
1625
|
+
): interop.Object
|
|
1626
|
+
|
|
1627
|
+
declare function CGImageCreateWithImageInRect(image: interop.Object, rect: CGRect): interop.Object
|
|
1628
|
+
|
|
1629
|
+
declare function CGImageCreateWithMask(image: interop.Object, mask: interop.Object): interop.Object
|
|
1630
|
+
|
|
1631
|
+
declare function CGImageCreateWithMaskingColors(
|
|
1632
|
+
image: interop.Object,
|
|
1633
|
+
components: interop.PointerConvertible,
|
|
1634
|
+
): interop.Object
|
|
1635
|
+
|
|
1636
|
+
declare function CGImageCreateCopyWithColorSpace(
|
|
1637
|
+
image: interop.Object,
|
|
1638
|
+
space: interop.Object,
|
|
1639
|
+
): interop.Object
|
|
1640
|
+
|
|
1641
|
+
declare function CGImageRetain(image: interop.Object): interop.Object
|
|
1642
|
+
|
|
1643
|
+
declare function CGImageRelease(image: interop.Object): void
|
|
1644
|
+
|
|
1645
|
+
declare function CGImageIsMask(image: interop.Object): boolean
|
|
1646
|
+
|
|
1647
|
+
declare function CGImageGetWidth(image: interop.Object): number
|
|
1648
|
+
|
|
1649
|
+
declare function CGImageGetHeight(image: interop.Object): number
|
|
1650
|
+
|
|
1651
|
+
declare function CGImageGetBitsPerComponent(image: interop.Object): number
|
|
1652
|
+
|
|
1653
|
+
declare function CGImageGetBitsPerPixel(image: interop.Object): number
|
|
1654
|
+
|
|
1655
|
+
declare function CGImageGetBytesPerRow(image: interop.Object): number
|
|
1656
|
+
|
|
1657
|
+
declare function CGImageGetColorSpace(image: interop.Object): interop.Object
|
|
1658
|
+
|
|
1659
|
+
declare function CGImageGetAlphaInfo(image: interop.Object): interop.Enum<typeof CGImageAlphaInfo>
|
|
1660
|
+
|
|
1661
|
+
declare function CGImageGetDataProvider(image: interop.Object): interop.Object
|
|
1662
|
+
|
|
1663
|
+
declare function CGImageGetDecode(image: interop.Object): interop.Pointer
|
|
1664
|
+
|
|
1665
|
+
declare function CGImageGetShouldInterpolate(image: interop.Object): boolean
|
|
1666
|
+
|
|
1667
|
+
declare function CGImageGetRenderingIntent(
|
|
1668
|
+
image: interop.Object,
|
|
1669
|
+
): interop.Enum<typeof CGColorRenderingIntent>
|
|
1670
|
+
|
|
1671
|
+
declare function CGImageGetBitmapInfo(image: interop.Object): interop.Enum<typeof CGBitmapInfo>
|
|
1672
|
+
|
|
1673
|
+
declare function CGImageGetByteOrderInfo(
|
|
1674
|
+
image: interop.Object,
|
|
1675
|
+
): interop.Enum<typeof CGImageByteOrderInfo>
|
|
1676
|
+
|
|
1677
|
+
declare function CGImageGetPixelFormatInfo(
|
|
1678
|
+
image: interop.Object,
|
|
1679
|
+
): interop.Enum<typeof CGImagePixelFormatInfo>
|
|
1680
|
+
|
|
1681
|
+
declare function CGImageGetUTType(image: interop.Object): interop.Object
|
|
1682
|
+
|
|
1683
|
+
declare function CGPathGetTypeID(): number
|
|
1684
|
+
|
|
1685
|
+
declare function CGPathCreateMutable(): interop.Object
|
|
1686
|
+
|
|
1687
|
+
declare function CGPathCreateCopy(path: interop.Object): interop.Object
|
|
1688
|
+
|
|
1689
|
+
declare function CGPathCreateCopyByTransformingPath(
|
|
1690
|
+
path: interop.Object,
|
|
1691
|
+
transform: interop.PointerConvertible,
|
|
1692
|
+
): interop.Object
|
|
1693
|
+
|
|
1694
|
+
declare function CGPathCreateMutableCopy(path: interop.Object): interop.Object
|
|
1695
|
+
|
|
1696
|
+
declare function CGPathCreateMutableCopyByTransformingPath(
|
|
1697
|
+
path: interop.Object,
|
|
1698
|
+
transform: interop.PointerConvertible,
|
|
1699
|
+
): interop.Object
|
|
1700
|
+
|
|
1701
|
+
declare function CGPathCreateWithRect(
|
|
1702
|
+
rect: CGRect,
|
|
1703
|
+
transform: interop.PointerConvertible,
|
|
1704
|
+
): interop.Object
|
|
1705
|
+
|
|
1706
|
+
declare function CGPathCreateWithEllipseInRect(
|
|
1707
|
+
rect: CGRect,
|
|
1708
|
+
transform: interop.PointerConvertible,
|
|
1709
|
+
): interop.Object
|
|
1710
|
+
|
|
1711
|
+
declare function CGPathCreateWithRoundedRect(
|
|
1712
|
+
rect: CGRect,
|
|
1713
|
+
cornerWidth: number,
|
|
1714
|
+
cornerHeight: number,
|
|
1715
|
+
transform: interop.PointerConvertible,
|
|
1716
|
+
): interop.Object
|
|
1717
|
+
|
|
1718
|
+
declare function CGPathAddRoundedRect(
|
|
1719
|
+
path: interop.Object,
|
|
1720
|
+
transform: interop.PointerConvertible,
|
|
1721
|
+
rect: CGRect,
|
|
1722
|
+
cornerWidth: number,
|
|
1723
|
+
cornerHeight: number,
|
|
1724
|
+
): void
|
|
1725
|
+
|
|
1726
|
+
declare function CGPathCreateCopyByDashingPath(
|
|
1727
|
+
path: interop.Object,
|
|
1728
|
+
transform: interop.PointerConvertible,
|
|
1729
|
+
phase: number,
|
|
1730
|
+
lengths: interop.PointerConvertible,
|
|
1731
|
+
count: number,
|
|
1732
|
+
): interop.Object
|
|
1733
|
+
|
|
1734
|
+
declare function CGPathCreateCopyByStrokingPath(
|
|
1735
|
+
path: interop.Object,
|
|
1736
|
+
transform: interop.PointerConvertible,
|
|
1737
|
+
lineWidth: number,
|
|
1738
|
+
lineCap: interop.Enum<typeof CGLineCap>,
|
|
1739
|
+
lineJoin: interop.Enum<typeof CGLineJoin>,
|
|
1740
|
+
miterLimit: number,
|
|
1741
|
+
): interop.Object
|
|
1742
|
+
|
|
1743
|
+
declare function CGPathRetain(path: interop.Object): interop.Object
|
|
1744
|
+
|
|
1745
|
+
declare function CGPathRelease(path: interop.Object): void
|
|
1746
|
+
|
|
1747
|
+
declare function CGPathEqualToPath(path1: interop.Object, path2: interop.Object): boolean
|
|
1748
|
+
|
|
1749
|
+
declare function CGPathMoveToPoint(
|
|
1750
|
+
path: interop.Object,
|
|
1751
|
+
m: interop.PointerConvertible,
|
|
1752
|
+
x: number,
|
|
1753
|
+
y: number,
|
|
1754
|
+
): void
|
|
1755
|
+
|
|
1756
|
+
declare function CGPathAddLineToPoint(
|
|
1757
|
+
path: interop.Object,
|
|
1758
|
+
m: interop.PointerConvertible,
|
|
1759
|
+
x: number,
|
|
1760
|
+
y: number,
|
|
1761
|
+
): void
|
|
1762
|
+
|
|
1763
|
+
declare function CGPathAddQuadCurveToPoint(
|
|
1764
|
+
path: interop.Object,
|
|
1765
|
+
m: interop.PointerConvertible,
|
|
1766
|
+
cpx: number,
|
|
1767
|
+
cpy: number,
|
|
1768
|
+
x: number,
|
|
1769
|
+
y: number,
|
|
1770
|
+
): void
|
|
1771
|
+
|
|
1772
|
+
declare function CGPathAddCurveToPoint(
|
|
1773
|
+
path: interop.Object,
|
|
1774
|
+
m: interop.PointerConvertible,
|
|
1775
|
+
cp1x: number,
|
|
1776
|
+
cp1y: number,
|
|
1777
|
+
cp2x: number,
|
|
1778
|
+
cp2y: number,
|
|
1779
|
+
x: number,
|
|
1780
|
+
y: number,
|
|
1781
|
+
): void
|
|
1782
|
+
|
|
1783
|
+
declare function CGPathCloseSubpath(path: interop.Object): void
|
|
1784
|
+
|
|
1785
|
+
declare function CGPathAddRect(
|
|
1786
|
+
path: interop.Object,
|
|
1787
|
+
m: interop.PointerConvertible,
|
|
1788
|
+
rect: CGRect,
|
|
1789
|
+
): void
|
|
1790
|
+
|
|
1791
|
+
declare function CGPathAddRects(
|
|
1792
|
+
path: interop.Object,
|
|
1793
|
+
m: interop.PointerConvertible,
|
|
1794
|
+
rects: interop.PointerConvertible,
|
|
1795
|
+
count: number,
|
|
1796
|
+
): void
|
|
1797
|
+
|
|
1798
|
+
declare function CGPathAddLines(
|
|
1799
|
+
path: interop.Object,
|
|
1800
|
+
m: interop.PointerConvertible,
|
|
1801
|
+
points: interop.PointerConvertible,
|
|
1802
|
+
count: number,
|
|
1803
|
+
): void
|
|
1804
|
+
|
|
1805
|
+
declare function CGPathAddEllipseInRect(
|
|
1806
|
+
path: interop.Object,
|
|
1807
|
+
m: interop.PointerConvertible,
|
|
1808
|
+
rect: CGRect,
|
|
1809
|
+
): void
|
|
1810
|
+
|
|
1811
|
+
declare function CGPathAddRelativeArc(
|
|
1812
|
+
path: interop.Object,
|
|
1813
|
+
matrix: interop.PointerConvertible,
|
|
1814
|
+
x: number,
|
|
1815
|
+
y: number,
|
|
1816
|
+
radius: number,
|
|
1817
|
+
startAngle: number,
|
|
1818
|
+
delta: number,
|
|
1819
|
+
): void
|
|
1820
|
+
|
|
1821
|
+
declare function CGPathAddArc(
|
|
1822
|
+
path: interop.Object,
|
|
1823
|
+
m: interop.PointerConvertible,
|
|
1824
|
+
x: number,
|
|
1825
|
+
y: number,
|
|
1826
|
+
radius: number,
|
|
1827
|
+
startAngle: number,
|
|
1828
|
+
endAngle: number,
|
|
1829
|
+
clockwise: boolean,
|
|
1830
|
+
): void
|
|
1831
|
+
|
|
1832
|
+
declare function CGPathAddArcToPoint(
|
|
1833
|
+
path: interop.Object,
|
|
1834
|
+
m: interop.PointerConvertible,
|
|
1835
|
+
x1: number,
|
|
1836
|
+
y1: number,
|
|
1837
|
+
x2: number,
|
|
1838
|
+
y2: number,
|
|
1839
|
+
radius: number,
|
|
1840
|
+
): void
|
|
1841
|
+
|
|
1842
|
+
declare function CGPathAddPath(
|
|
1843
|
+
path1: interop.Object,
|
|
1844
|
+
m: interop.PointerConvertible,
|
|
1845
|
+
path2: interop.Object,
|
|
1846
|
+
): void
|
|
1847
|
+
|
|
1848
|
+
declare function CGPathIsEmpty(path: interop.Object): boolean
|
|
1849
|
+
|
|
1850
|
+
declare function CGPathIsRect(path: interop.Object, rect: interop.PointerConvertible): boolean
|
|
1851
|
+
|
|
1852
|
+
declare function CGPathGetCurrentPoint(path: interop.Object): CGPoint
|
|
1853
|
+
|
|
1854
|
+
declare function CGPathGetBoundingBox(path: interop.Object): CGRect
|
|
1855
|
+
|
|
1856
|
+
declare function CGPathGetPathBoundingBox(path: interop.Object): CGRect
|
|
1857
|
+
|
|
1858
|
+
declare function CGPathContainsPoint(
|
|
1859
|
+
path: interop.Object,
|
|
1860
|
+
m: interop.PointerConvertible,
|
|
1861
|
+
point: CGPoint,
|
|
1862
|
+
eoFill: boolean,
|
|
1863
|
+
): boolean
|
|
1864
|
+
|
|
1865
|
+
declare function CGPathApply(
|
|
1866
|
+
path: interop.Object,
|
|
1867
|
+
info: interop.PointerConvertible,
|
|
1868
|
+
function$: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => void,
|
|
1869
|
+
): void
|
|
1870
|
+
|
|
1871
|
+
declare function CGPathApplyWithBlock(
|
|
1872
|
+
path: interop.Object,
|
|
1873
|
+
block: (p1: interop.PointerConvertible) => void,
|
|
1874
|
+
): void
|
|
1875
|
+
|
|
1876
|
+
declare function CGPDFObjectGetType(
|
|
1877
|
+
object: interop.PointerConvertible,
|
|
1878
|
+
): interop.Enum<typeof CGPDFObjectType>
|
|
1879
|
+
|
|
1880
|
+
declare function CGPDFObjectGetValue(
|
|
1881
|
+
object: interop.PointerConvertible,
|
|
1882
|
+
type: interop.Enum<typeof CGPDFObjectType>,
|
|
1883
|
+
value: interop.PointerConvertible,
|
|
1884
|
+
): boolean
|
|
1885
|
+
|
|
1886
|
+
declare function CGPDFStreamGetDictionary(stream: interop.PointerConvertible): interop.Pointer
|
|
1887
|
+
|
|
1888
|
+
declare function CGPDFStreamCopyData(
|
|
1889
|
+
stream: interop.PointerConvertible,
|
|
1890
|
+
format: interop.PointerConvertible,
|
|
1891
|
+
): interop.Object
|
|
1892
|
+
|
|
1893
|
+
declare function CGPDFStringGetLength(string: interop.PointerConvertible): number
|
|
1894
|
+
|
|
1895
|
+
declare function CGPDFStringGetBytePtr(string: interop.PointerConvertible): interop.Pointer
|
|
1896
|
+
|
|
1897
|
+
declare function CGPDFStringCopyTextString(string: interop.PointerConvertible): interop.Object
|
|
1898
|
+
|
|
1899
|
+
declare function CGPDFStringCopyDate(string: interop.PointerConvertible): interop.Object
|
|
1900
|
+
|
|
1901
|
+
declare function CGPDFArrayGetCount(array: interop.PointerConvertible): number
|
|
1902
|
+
|
|
1903
|
+
declare function CGPDFArrayGetObject(
|
|
1904
|
+
array: interop.PointerConvertible,
|
|
1905
|
+
index: number,
|
|
1906
|
+
value: interop.PointerConvertible,
|
|
1907
|
+
): boolean
|
|
1908
|
+
|
|
1909
|
+
declare function CGPDFArrayGetNull(array: interop.PointerConvertible, index: number): boolean
|
|
1910
|
+
|
|
1911
|
+
declare function CGPDFArrayGetBoolean(
|
|
1912
|
+
array: interop.PointerConvertible,
|
|
1913
|
+
index: number,
|
|
1914
|
+
value: interop.PointerConvertible,
|
|
1915
|
+
): boolean
|
|
1916
|
+
|
|
1917
|
+
declare function CGPDFArrayGetInteger(
|
|
1918
|
+
array: interop.PointerConvertible,
|
|
1919
|
+
index: number,
|
|
1920
|
+
value: interop.PointerConvertible,
|
|
1921
|
+
): boolean
|
|
1922
|
+
|
|
1923
|
+
declare function CGPDFArrayGetNumber(
|
|
1924
|
+
array: interop.PointerConvertible,
|
|
1925
|
+
index: number,
|
|
1926
|
+
value: interop.PointerConvertible,
|
|
1927
|
+
): boolean
|
|
1928
|
+
|
|
1929
|
+
declare function CGPDFArrayGetName(
|
|
1930
|
+
array: interop.PointerConvertible,
|
|
1931
|
+
index: number,
|
|
1932
|
+
value: interop.PointerConvertible,
|
|
1933
|
+
): boolean
|
|
1934
|
+
|
|
1935
|
+
declare function CGPDFArrayGetString(
|
|
1936
|
+
array: interop.PointerConvertible,
|
|
1937
|
+
index: number,
|
|
1938
|
+
value: interop.PointerConvertible,
|
|
1939
|
+
): boolean
|
|
1940
|
+
|
|
1941
|
+
declare function CGPDFArrayGetArray(
|
|
1942
|
+
array: interop.PointerConvertible,
|
|
1943
|
+
index: number,
|
|
1944
|
+
value: interop.PointerConvertible,
|
|
1945
|
+
): boolean
|
|
1946
|
+
|
|
1947
|
+
declare function CGPDFArrayGetDictionary(
|
|
1948
|
+
array: interop.PointerConvertible,
|
|
1949
|
+
index: number,
|
|
1950
|
+
value: interop.PointerConvertible,
|
|
1951
|
+
): boolean
|
|
1952
|
+
|
|
1953
|
+
declare function CGPDFArrayGetStream(
|
|
1954
|
+
array: interop.PointerConvertible,
|
|
1955
|
+
index: number,
|
|
1956
|
+
value: interop.PointerConvertible,
|
|
1957
|
+
): boolean
|
|
1958
|
+
|
|
1959
|
+
declare function CGPDFArrayApplyBlock(
|
|
1960
|
+
array: interop.PointerConvertible,
|
|
1961
|
+
block: (p1: number, p2: interop.PointerConvertible, p3: interop.PointerConvertible) => boolean,
|
|
1962
|
+
info: interop.PointerConvertible,
|
|
1963
|
+
): void
|
|
1964
|
+
|
|
1965
|
+
declare function CGPDFDictionaryGetCount(dict: interop.PointerConvertible): number
|
|
1966
|
+
|
|
1967
|
+
declare function CGPDFDictionaryGetObject(
|
|
1968
|
+
dict: interop.PointerConvertible,
|
|
1969
|
+
key: string,
|
|
1970
|
+
value: interop.PointerConvertible,
|
|
1971
|
+
): boolean
|
|
1972
|
+
|
|
1973
|
+
declare function CGPDFDictionaryGetBoolean(
|
|
1974
|
+
dict: interop.PointerConvertible,
|
|
1975
|
+
key: string,
|
|
1976
|
+
value: interop.PointerConvertible,
|
|
1977
|
+
): boolean
|
|
1978
|
+
|
|
1979
|
+
declare function CGPDFDictionaryGetInteger(
|
|
1980
|
+
dict: interop.PointerConvertible,
|
|
1981
|
+
key: string,
|
|
1982
|
+
value: interop.PointerConvertible,
|
|
1983
|
+
): boolean
|
|
1984
|
+
|
|
1985
|
+
declare function CGPDFDictionaryGetNumber(
|
|
1986
|
+
dict: interop.PointerConvertible,
|
|
1987
|
+
key: string,
|
|
1988
|
+
value: interop.PointerConvertible,
|
|
1989
|
+
): boolean
|
|
1990
|
+
|
|
1991
|
+
declare function CGPDFDictionaryGetName(
|
|
1992
|
+
dict: interop.PointerConvertible,
|
|
1993
|
+
key: string,
|
|
1994
|
+
value: interop.PointerConvertible,
|
|
1995
|
+
): boolean
|
|
1996
|
+
|
|
1997
|
+
declare function CGPDFDictionaryGetString(
|
|
1998
|
+
dict: interop.PointerConvertible,
|
|
1999
|
+
key: string,
|
|
2000
|
+
value: interop.PointerConvertible,
|
|
2001
|
+
): boolean
|
|
2002
|
+
|
|
2003
|
+
declare function CGPDFDictionaryGetArray(
|
|
2004
|
+
dict: interop.PointerConvertible,
|
|
2005
|
+
key: string,
|
|
2006
|
+
value: interop.PointerConvertible,
|
|
2007
|
+
): boolean
|
|
2008
|
+
|
|
2009
|
+
declare function CGPDFDictionaryGetDictionary(
|
|
2010
|
+
dict: interop.PointerConvertible,
|
|
2011
|
+
key: string,
|
|
2012
|
+
value: interop.PointerConvertible,
|
|
2013
|
+
): boolean
|
|
2014
|
+
|
|
2015
|
+
declare function CGPDFDictionaryGetStream(
|
|
2016
|
+
dict: interop.PointerConvertible,
|
|
2017
|
+
key: string,
|
|
2018
|
+
value: interop.PointerConvertible,
|
|
2019
|
+
): boolean
|
|
2020
|
+
|
|
2021
|
+
declare function CGPDFDictionaryApplyFunction(
|
|
2022
|
+
dict: interop.PointerConvertible,
|
|
2023
|
+
function$: (p1: string, p2: interop.PointerConvertible, p3: interop.PointerConvertible) => void,
|
|
2024
|
+
info: interop.PointerConvertible,
|
|
2025
|
+
): void
|
|
2026
|
+
|
|
2027
|
+
declare function CGPDFDictionaryApplyBlock(
|
|
2028
|
+
dict: interop.PointerConvertible,
|
|
2029
|
+
block: (p1: string, p2: interop.PointerConvertible, p3: interop.PointerConvertible) => boolean,
|
|
2030
|
+
info: interop.PointerConvertible,
|
|
2031
|
+
): void
|
|
2032
|
+
|
|
2033
|
+
declare function CGPDFPageRetain(page: interop.Object): interop.Object
|
|
2034
|
+
|
|
2035
|
+
declare function CGPDFPageRelease(page: interop.Object): void
|
|
2036
|
+
|
|
2037
|
+
declare function CGPDFPageGetDocument(page: interop.Object): interop.Object
|
|
2038
|
+
|
|
2039
|
+
declare function CGPDFPageGetPageNumber(page: interop.Object): number
|
|
2040
|
+
|
|
2041
|
+
declare function CGPDFPageGetBoxRect(
|
|
2042
|
+
page: interop.Object,
|
|
2043
|
+
box: interop.Enum<typeof CGPDFBox>,
|
|
2044
|
+
): CGRect
|
|
2045
|
+
|
|
2046
|
+
declare function CGPDFPageGetRotationAngle(page: interop.Object): number
|
|
2047
|
+
|
|
2048
|
+
declare function CGPDFPageGetDrawingTransform(
|
|
2049
|
+
page: interop.Object,
|
|
2050
|
+
box: interop.Enum<typeof CGPDFBox>,
|
|
2051
|
+
rect: CGRect,
|
|
2052
|
+
rotate: number,
|
|
2053
|
+
preserveAspectRatio: boolean,
|
|
2054
|
+
): CGAffineTransform
|
|
2055
|
+
|
|
2056
|
+
declare function CGPDFPageGetDictionary(page: interop.Object): interop.Pointer
|
|
2057
|
+
|
|
2058
|
+
declare function CGPDFPageGetTypeID(): number
|
|
2059
|
+
|
|
2060
|
+
declare function CGPDFDocumentCreateWithProvider(provider: interop.Object): interop.Object
|
|
2061
|
+
|
|
2062
|
+
declare function CGPDFDocumentCreateWithURL(url: interop.Object): interop.Object
|
|
2063
|
+
|
|
2064
|
+
declare function CGPDFDocumentRetain(document: interop.Object): interop.Object
|
|
2065
|
+
|
|
2066
|
+
declare function CGPDFDocumentRelease(document: interop.Object): void
|
|
2067
|
+
|
|
2068
|
+
declare function CGPDFDocumentGetVersion(
|
|
2069
|
+
document: interop.Object,
|
|
2070
|
+
majorVersion: interop.PointerConvertible,
|
|
2071
|
+
minorVersion: interop.PointerConvertible,
|
|
2072
|
+
): void
|
|
2073
|
+
|
|
2074
|
+
declare function CGPDFDocumentIsEncrypted(document: interop.Object): boolean
|
|
2075
|
+
|
|
2076
|
+
declare function CGPDFDocumentUnlockWithPassword(
|
|
2077
|
+
document: interop.Object,
|
|
2078
|
+
password: string,
|
|
2079
|
+
): boolean
|
|
2080
|
+
|
|
2081
|
+
declare function CGPDFDocumentIsUnlocked(document: interop.Object): boolean
|
|
2082
|
+
|
|
2083
|
+
declare function CGPDFDocumentAllowsPrinting(document: interop.Object): boolean
|
|
2084
|
+
|
|
2085
|
+
declare function CGPDFDocumentAllowsCopying(document: interop.Object): boolean
|
|
2086
|
+
|
|
2087
|
+
declare function CGPDFDocumentGetNumberOfPages(document: interop.Object): number
|
|
2088
|
+
|
|
2089
|
+
declare function CGPDFDocumentGetPage(document: interop.Object, pageNumber: number): interop.Object
|
|
2090
|
+
|
|
2091
|
+
declare function CGPDFDocumentGetCatalog(document: interop.Object): interop.Pointer
|
|
2092
|
+
|
|
2093
|
+
declare function CGPDFDocumentGetInfo(document: interop.Object): interop.Pointer
|
|
2094
|
+
|
|
2095
|
+
declare function CGPDFDocumentGetID(document: interop.Object): interop.Pointer
|
|
2096
|
+
|
|
2097
|
+
declare function CGPDFDocumentGetTypeID(): number
|
|
2098
|
+
|
|
2099
|
+
declare function CGPDFDocumentGetOutline(document: interop.Object): interop.Object
|
|
2100
|
+
|
|
2101
|
+
declare function CGPDFDocumentGetAccessPermissions(
|
|
2102
|
+
document: interop.Object,
|
|
2103
|
+
): interop.Enum<typeof CGPDFAccessPermissions>
|
|
2104
|
+
|
|
2105
|
+
declare function CGPDFDocumentGetMediaBox(document: interop.Object, page: number): CGRect
|
|
2106
|
+
|
|
2107
|
+
declare function CGPDFDocumentGetCropBox(document: interop.Object, page: number): CGRect
|
|
2108
|
+
|
|
2109
|
+
declare function CGPDFDocumentGetBleedBox(document: interop.Object, page: number): CGRect
|
|
2110
|
+
|
|
2111
|
+
declare function CGPDFDocumentGetTrimBox(document: interop.Object, page: number): CGRect
|
|
2112
|
+
|
|
2113
|
+
declare function CGPDFDocumentGetArtBox(document: interop.Object, page: number): CGRect
|
|
2114
|
+
|
|
2115
|
+
declare function CGPDFDocumentGetRotationAngle(document: interop.Object, page: number): number
|
|
2116
|
+
|
|
2117
|
+
declare function CGFunctionGetTypeID(): number
|
|
2118
|
+
|
|
2119
|
+
declare function CGFunctionCreate(
|
|
2120
|
+
info: interop.PointerConvertible,
|
|
2121
|
+
domainDimension: number,
|
|
2122
|
+
domain: interop.PointerConvertible,
|
|
2123
|
+
rangeDimension: number,
|
|
2124
|
+
range: interop.PointerConvertible,
|
|
2125
|
+
callbacks: interop.PointerConvertible,
|
|
2126
|
+
): interop.Object
|
|
2127
|
+
|
|
2128
|
+
declare function CGFunctionRetain(function$: interop.Object): interop.Object
|
|
2129
|
+
|
|
2130
|
+
declare function CGFunctionRelease(function$: interop.Object): void
|
|
2131
|
+
|
|
2132
|
+
declare function CGShadingGetTypeID(): number
|
|
2133
|
+
|
|
2134
|
+
declare function CGShadingCreateAxial(
|
|
2135
|
+
space: interop.Object,
|
|
2136
|
+
start: CGPoint,
|
|
2137
|
+
end: CGPoint,
|
|
2138
|
+
function$: interop.Object,
|
|
2139
|
+
extendStart: boolean,
|
|
2140
|
+
extendEnd: boolean,
|
|
2141
|
+
): interop.Object
|
|
2142
|
+
|
|
2143
|
+
declare function CGShadingCreateRadial(
|
|
2144
|
+
space: interop.Object,
|
|
2145
|
+
start: CGPoint,
|
|
2146
|
+
startRadius: number,
|
|
2147
|
+
end: CGPoint,
|
|
2148
|
+
endRadius: number,
|
|
2149
|
+
function$: interop.Object,
|
|
2150
|
+
extendStart: boolean,
|
|
2151
|
+
extendEnd: boolean,
|
|
2152
|
+
): interop.Object
|
|
2153
|
+
|
|
2154
|
+
declare function CGShadingRetain(shading: interop.Object): interop.Object
|
|
2155
|
+
|
|
2156
|
+
declare function CGShadingRelease(shading: interop.Object): void
|
|
2157
|
+
|
|
2158
|
+
declare function CGContextGetTypeID(): number
|
|
2159
|
+
|
|
2160
|
+
declare function CGContextSaveGState(c: interop.Object): void
|
|
2161
|
+
|
|
2162
|
+
declare function CGContextRestoreGState(c: interop.Object): void
|
|
2163
|
+
|
|
2164
|
+
declare function CGContextScaleCTM(c: interop.Object, sx: number, sy: number): void
|
|
2165
|
+
|
|
2166
|
+
declare function CGContextTranslateCTM(c: interop.Object, tx: number, ty: number): void
|
|
2167
|
+
|
|
2168
|
+
declare function CGContextRotateCTM(c: interop.Object, angle: number): void
|
|
2169
|
+
|
|
2170
|
+
declare function CGContextConcatCTM(c: interop.Object, transform: CGAffineTransform): void
|
|
2171
|
+
|
|
2172
|
+
declare function CGContextGetCTM(c: interop.Object): CGAffineTransform
|
|
2173
|
+
|
|
2174
|
+
declare function CGContextSetLineWidth(c: interop.Object, width: number): void
|
|
2175
|
+
|
|
2176
|
+
declare function CGContextSetLineCap(c: interop.Object, cap: interop.Enum<typeof CGLineCap>): void
|
|
2177
|
+
|
|
2178
|
+
declare function CGContextSetLineJoin(
|
|
2179
|
+
c: interop.Object,
|
|
2180
|
+
join: interop.Enum<typeof CGLineJoin>,
|
|
2181
|
+
): void
|
|
2182
|
+
|
|
2183
|
+
declare function CGContextSetMiterLimit(c: interop.Object, limit: number): void
|
|
2184
|
+
|
|
2185
|
+
declare function CGContextSetLineDash(
|
|
2186
|
+
c: interop.Object,
|
|
2187
|
+
phase: number,
|
|
2188
|
+
lengths: interop.PointerConvertible,
|
|
2189
|
+
count: number,
|
|
2190
|
+
): void
|
|
2191
|
+
|
|
2192
|
+
declare function CGContextSetFlatness(c: interop.Object, flatness: number): void
|
|
2193
|
+
|
|
2194
|
+
declare function CGContextSetAlpha(c: interop.Object, alpha: number): void
|
|
2195
|
+
|
|
2196
|
+
declare function CGContextSetBlendMode(
|
|
2197
|
+
c: interop.Object,
|
|
2198
|
+
mode: interop.Enum<typeof CGBlendMode>,
|
|
2199
|
+
): void
|
|
2200
|
+
|
|
2201
|
+
declare function CGContextBeginPath(c: interop.Object): void
|
|
2202
|
+
|
|
2203
|
+
declare function CGContextMoveToPoint(c: interop.Object, x: number, y: number): void
|
|
2204
|
+
|
|
2205
|
+
declare function CGContextAddLineToPoint(c: interop.Object, x: number, y: number): void
|
|
2206
|
+
|
|
2207
|
+
declare function CGContextAddCurveToPoint(
|
|
2208
|
+
c: interop.Object,
|
|
2209
|
+
cp1x: number,
|
|
2210
|
+
cp1y: number,
|
|
2211
|
+
cp2x: number,
|
|
2212
|
+
cp2y: number,
|
|
2213
|
+
x: number,
|
|
2214
|
+
y: number,
|
|
2215
|
+
): void
|
|
2216
|
+
|
|
2217
|
+
declare function CGContextAddQuadCurveToPoint(
|
|
2218
|
+
c: interop.Object,
|
|
2219
|
+
cpx: number,
|
|
2220
|
+
cpy: number,
|
|
2221
|
+
x: number,
|
|
2222
|
+
y: number,
|
|
2223
|
+
): void
|
|
2224
|
+
|
|
2225
|
+
declare function CGContextClosePath(c: interop.Object): void
|
|
2226
|
+
|
|
2227
|
+
declare function CGContextAddRect(c: interop.Object, rect: CGRect): void
|
|
2228
|
+
|
|
2229
|
+
declare function CGContextAddRects(
|
|
2230
|
+
c: interop.Object,
|
|
2231
|
+
rects: interop.PointerConvertible,
|
|
2232
|
+
count: number,
|
|
2233
|
+
): void
|
|
2234
|
+
|
|
2235
|
+
declare function CGContextAddLines(
|
|
2236
|
+
c: interop.Object,
|
|
2237
|
+
points: interop.PointerConvertible,
|
|
2238
|
+
count: number,
|
|
2239
|
+
): void
|
|
2240
|
+
|
|
2241
|
+
declare function CGContextAddEllipseInRect(c: interop.Object, rect: CGRect): void
|
|
2242
|
+
|
|
2243
|
+
declare function CGContextAddArc(
|
|
2244
|
+
c: interop.Object,
|
|
2245
|
+
x: number,
|
|
2246
|
+
y: number,
|
|
2247
|
+
radius: number,
|
|
2248
|
+
startAngle: number,
|
|
2249
|
+
endAngle: number,
|
|
2250
|
+
clockwise: number,
|
|
2251
|
+
): void
|
|
2252
|
+
|
|
2253
|
+
declare function CGContextAddArcToPoint(
|
|
2254
|
+
c: interop.Object,
|
|
2255
|
+
x1: number,
|
|
2256
|
+
y1: number,
|
|
2257
|
+
x2: number,
|
|
2258
|
+
y2: number,
|
|
2259
|
+
radius: number,
|
|
2260
|
+
): void
|
|
2261
|
+
|
|
2262
|
+
declare function CGContextAddPath(c: interop.Object, path: interop.Object): void
|
|
2263
|
+
|
|
2264
|
+
declare function CGContextReplacePathWithStrokedPath(c: interop.Object): void
|
|
2265
|
+
|
|
2266
|
+
declare function CGContextIsPathEmpty(c: interop.Object): boolean
|
|
2267
|
+
|
|
2268
|
+
declare function CGContextGetPathCurrentPoint(c: interop.Object): CGPoint
|
|
2269
|
+
|
|
2270
|
+
declare function CGContextGetPathBoundingBox(c: interop.Object): CGRect
|
|
2271
|
+
|
|
2272
|
+
declare function CGContextCopyPath(c: interop.Object): interop.Object
|
|
2273
|
+
|
|
2274
|
+
declare function CGContextPathContainsPoint(
|
|
2275
|
+
c: interop.Object,
|
|
2276
|
+
point: CGPoint,
|
|
2277
|
+
mode: interop.Enum<typeof CGPathDrawingMode>,
|
|
2278
|
+
): boolean
|
|
2279
|
+
|
|
2280
|
+
declare function CGContextDrawPath(
|
|
2281
|
+
c: interop.Object,
|
|
2282
|
+
mode: interop.Enum<typeof CGPathDrawingMode>,
|
|
2283
|
+
): void
|
|
2284
|
+
|
|
2285
|
+
declare function CGContextFillPath(c: interop.Object): void
|
|
2286
|
+
|
|
2287
|
+
declare function CGContextEOFillPath(c: interop.Object): void
|
|
2288
|
+
|
|
2289
|
+
declare function CGContextStrokePath(c: interop.Object): void
|
|
2290
|
+
|
|
2291
|
+
declare function CGContextFillRect(c: interop.Object, rect: CGRect): void
|
|
2292
|
+
|
|
2293
|
+
declare function CGContextFillRects(
|
|
2294
|
+
c: interop.Object,
|
|
2295
|
+
rects: interop.PointerConvertible,
|
|
2296
|
+
count: number,
|
|
2297
|
+
): void
|
|
2298
|
+
|
|
2299
|
+
declare function CGContextStrokeRect(c: interop.Object, rect: CGRect): void
|
|
2300
|
+
|
|
2301
|
+
declare function CGContextStrokeRectWithWidth(c: interop.Object, rect: CGRect, width: number): void
|
|
2302
|
+
|
|
2303
|
+
declare function CGContextClearRect(c: interop.Object, rect: CGRect): void
|
|
2304
|
+
|
|
2305
|
+
declare function CGContextFillEllipseInRect(c: interop.Object, rect: CGRect): void
|
|
2306
|
+
|
|
2307
|
+
declare function CGContextStrokeEllipseInRect(c: interop.Object, rect: CGRect): void
|
|
2308
|
+
|
|
2309
|
+
declare function CGContextStrokeLineSegments(
|
|
2310
|
+
c: interop.Object,
|
|
2311
|
+
points: interop.PointerConvertible,
|
|
2312
|
+
count: number,
|
|
2313
|
+
): void
|
|
2314
|
+
|
|
2315
|
+
declare function CGContextClip(c: interop.Object): void
|
|
2316
|
+
|
|
2317
|
+
declare function CGContextEOClip(c: interop.Object): void
|
|
2318
|
+
|
|
2319
|
+
declare function CGContextResetClip(c: interop.Object): void
|
|
2320
|
+
|
|
2321
|
+
declare function CGContextClipToMask(c: interop.Object, rect: CGRect, mask: interop.Object): void
|
|
2322
|
+
|
|
2323
|
+
declare function CGContextGetClipBoundingBox(c: interop.Object): CGRect
|
|
2324
|
+
|
|
2325
|
+
declare function CGContextClipToRect(c: interop.Object, rect: CGRect): void
|
|
2326
|
+
|
|
2327
|
+
declare function CGContextClipToRects(
|
|
2328
|
+
c: interop.Object,
|
|
2329
|
+
rects: interop.PointerConvertible,
|
|
2330
|
+
count: number,
|
|
2331
|
+
): void
|
|
2332
|
+
|
|
2333
|
+
declare function CGContextSetFillColorWithColor(c: interop.Object, color: interop.Object): void
|
|
2334
|
+
|
|
2335
|
+
declare function CGContextSetStrokeColorWithColor(c: interop.Object, color: interop.Object): void
|
|
2336
|
+
|
|
2337
|
+
declare function CGContextSetFillColorSpace(c: interop.Object, space: interop.Object): void
|
|
2338
|
+
|
|
2339
|
+
declare function CGContextSetStrokeColorSpace(c: interop.Object, space: interop.Object): void
|
|
2340
|
+
|
|
2341
|
+
declare function CGContextSetFillColor(
|
|
2342
|
+
c: interop.Object,
|
|
2343
|
+
components: interop.PointerConvertible,
|
|
2344
|
+
): void
|
|
2345
|
+
|
|
2346
|
+
declare function CGContextSetStrokeColor(
|
|
2347
|
+
c: interop.Object,
|
|
2348
|
+
components: interop.PointerConvertible,
|
|
2349
|
+
): void
|
|
2350
|
+
|
|
2351
|
+
declare function CGContextSetFillPattern(
|
|
2352
|
+
c: interop.Object,
|
|
2353
|
+
pattern: interop.Object,
|
|
2354
|
+
components: interop.PointerConvertible,
|
|
2355
|
+
): void
|
|
2356
|
+
|
|
2357
|
+
declare function CGContextSetStrokePattern(
|
|
2358
|
+
c: interop.Object,
|
|
2359
|
+
pattern: interop.Object,
|
|
2360
|
+
components: interop.PointerConvertible,
|
|
2361
|
+
): void
|
|
2362
|
+
|
|
2363
|
+
declare function CGContextSetPatternPhase(c: interop.Object, phase: CGSize): void
|
|
2364
|
+
|
|
2365
|
+
declare function CGContextSetGrayFillColor(c: interop.Object, gray: number, alpha: number): void
|
|
2366
|
+
|
|
2367
|
+
declare function CGContextSetGrayStrokeColor(c: interop.Object, gray: number, alpha: number): void
|
|
2368
|
+
|
|
2369
|
+
declare function CGContextSetRGBFillColor(
|
|
2370
|
+
c: interop.Object,
|
|
2371
|
+
red: number,
|
|
2372
|
+
green: number,
|
|
2373
|
+
blue: number,
|
|
2374
|
+
alpha: number,
|
|
2375
|
+
): void
|
|
2376
|
+
|
|
2377
|
+
declare function CGContextSetRGBStrokeColor(
|
|
2378
|
+
c: interop.Object,
|
|
2379
|
+
red: number,
|
|
2380
|
+
green: number,
|
|
2381
|
+
blue: number,
|
|
2382
|
+
alpha: number,
|
|
2383
|
+
): void
|
|
2384
|
+
|
|
2385
|
+
declare function CGContextSetCMYKFillColor(
|
|
2386
|
+
c: interop.Object,
|
|
2387
|
+
cyan: number,
|
|
2388
|
+
magenta: number,
|
|
2389
|
+
yellow: number,
|
|
2390
|
+
black: number,
|
|
2391
|
+
alpha: number,
|
|
2392
|
+
): void
|
|
2393
|
+
|
|
2394
|
+
declare function CGContextSetCMYKStrokeColor(
|
|
2395
|
+
c: interop.Object,
|
|
2396
|
+
cyan: number,
|
|
2397
|
+
magenta: number,
|
|
2398
|
+
yellow: number,
|
|
2399
|
+
black: number,
|
|
2400
|
+
alpha: number,
|
|
2401
|
+
): void
|
|
2402
|
+
|
|
2403
|
+
declare function CGContextSetRenderingIntent(
|
|
2404
|
+
c: interop.Object,
|
|
2405
|
+
intent: interop.Enum<typeof CGColorRenderingIntent>,
|
|
2406
|
+
): void
|
|
2407
|
+
|
|
2408
|
+
declare function CGContextDrawImage(c: interop.Object, rect: CGRect, image: interop.Object): void
|
|
2409
|
+
|
|
2410
|
+
declare function CGContextDrawTiledImage(
|
|
2411
|
+
c: interop.Object,
|
|
2412
|
+
rect: CGRect,
|
|
2413
|
+
image: interop.Object,
|
|
2414
|
+
): void
|
|
2415
|
+
|
|
2416
|
+
declare function CGContextGetInterpolationQuality(
|
|
2417
|
+
c: interop.Object,
|
|
2418
|
+
): interop.Enum<typeof CGInterpolationQuality>
|
|
2419
|
+
|
|
2420
|
+
declare function CGContextSetInterpolationQuality(
|
|
2421
|
+
c: interop.Object,
|
|
2422
|
+
quality: interop.Enum<typeof CGInterpolationQuality>,
|
|
2423
|
+
): void
|
|
2424
|
+
|
|
2425
|
+
declare function CGContextSetShadowWithColor(
|
|
2426
|
+
c: interop.Object,
|
|
2427
|
+
offset: CGSize,
|
|
2428
|
+
blur: number,
|
|
2429
|
+
color: interop.Object,
|
|
2430
|
+
): void
|
|
2431
|
+
|
|
2432
|
+
declare function CGContextSetShadow(c: interop.Object, offset: CGSize, blur: number): void
|
|
2433
|
+
|
|
2434
|
+
declare function CGContextDrawLinearGradient(
|
|
2435
|
+
c: interop.Object,
|
|
2436
|
+
gradient: interop.Object,
|
|
2437
|
+
startPoint: CGPoint,
|
|
2438
|
+
endPoint: CGPoint,
|
|
2439
|
+
options: interop.Enum<typeof CGGradientDrawingOptions>,
|
|
2440
|
+
): void
|
|
2441
|
+
|
|
2442
|
+
declare function CGContextDrawRadialGradient(
|
|
2443
|
+
c: interop.Object,
|
|
2444
|
+
gradient: interop.Object,
|
|
2445
|
+
startCenter: CGPoint,
|
|
2446
|
+
startRadius: number,
|
|
2447
|
+
endCenter: CGPoint,
|
|
2448
|
+
endRadius: number,
|
|
2449
|
+
options: interop.Enum<typeof CGGradientDrawingOptions>,
|
|
2450
|
+
): void
|
|
2451
|
+
|
|
2452
|
+
declare function CGContextDrawShading(c: interop.Object, shading: interop.Object): void
|
|
2453
|
+
|
|
2454
|
+
declare function CGContextSetCharacterSpacing(c: interop.Object, spacing: number): void
|
|
2455
|
+
|
|
2456
|
+
declare function CGContextSetTextPosition(c: interop.Object, x: number, y: number): void
|
|
2457
|
+
|
|
2458
|
+
declare function CGContextGetTextPosition(c: interop.Object): CGPoint
|
|
2459
|
+
|
|
2460
|
+
declare function CGContextSetTextMatrix(c: interop.Object, t: CGAffineTransform): void
|
|
2461
|
+
|
|
2462
|
+
declare function CGContextGetTextMatrix(c: interop.Object): CGAffineTransform
|
|
2463
|
+
|
|
2464
|
+
declare function CGContextSetTextDrawingMode(
|
|
2465
|
+
c: interop.Object,
|
|
2466
|
+
mode: interop.Enum<typeof CGTextDrawingMode>,
|
|
2467
|
+
): void
|
|
2468
|
+
|
|
2469
|
+
declare function CGContextSetFont(c: interop.Object, font: interop.Object): void
|
|
2470
|
+
|
|
2471
|
+
declare function CGContextSetFontSize(c: interop.Object, size: number): void
|
|
2472
|
+
|
|
2473
|
+
declare function CGContextShowGlyphsAtPositions(
|
|
2474
|
+
c: interop.Object,
|
|
2475
|
+
glyphs: interop.PointerConvertible,
|
|
2476
|
+
Lpositions: interop.PointerConvertible,
|
|
2477
|
+
count: number,
|
|
2478
|
+
): void
|
|
2479
|
+
|
|
2480
|
+
declare function CGContextDrawPDFPage(c: interop.Object, page: interop.Object): void
|
|
2481
|
+
|
|
2482
|
+
declare function CGContextBeginPage(c: interop.Object, mediaBox: interop.PointerConvertible): void
|
|
2483
|
+
|
|
2484
|
+
declare function CGContextEndPage(c: interop.Object): void
|
|
2485
|
+
|
|
2486
|
+
declare function CGContextRetain(c: interop.Object): interop.Object
|
|
2487
|
+
|
|
2488
|
+
declare function CGContextRelease(c: interop.Object): void
|
|
2489
|
+
|
|
2490
|
+
declare function CGContextFlush(c: interop.Object): void
|
|
2491
|
+
|
|
2492
|
+
declare function CGContextSynchronize(c: interop.Object): void
|
|
2493
|
+
|
|
2494
|
+
declare function CGContextSetShouldAntialias(c: interop.Object, shouldAntialias: boolean): void
|
|
2495
|
+
|
|
2496
|
+
declare function CGContextSetAllowsAntialiasing(
|
|
2497
|
+
c: interop.Object,
|
|
2498
|
+
allowsAntialiasing: boolean,
|
|
2499
|
+
): void
|
|
2500
|
+
|
|
2501
|
+
declare function CGContextSetShouldSmoothFonts(c: interop.Object, shouldSmoothFonts: boolean): void
|
|
2502
|
+
|
|
2503
|
+
declare function CGContextSetAllowsFontSmoothing(
|
|
2504
|
+
c: interop.Object,
|
|
2505
|
+
allowsFontSmoothing: boolean,
|
|
2506
|
+
): void
|
|
2507
|
+
|
|
2508
|
+
declare function CGContextSetShouldSubpixelPositionFonts(
|
|
2509
|
+
c: interop.Object,
|
|
2510
|
+
shouldSubpixelPositionFonts: boolean,
|
|
2511
|
+
): void
|
|
2512
|
+
|
|
2513
|
+
declare function CGContextSetAllowsFontSubpixelPositioning(
|
|
2514
|
+
c: interop.Object,
|
|
2515
|
+
allowsFontSubpixelPositioning: boolean,
|
|
2516
|
+
): void
|
|
2517
|
+
|
|
2518
|
+
declare function CGContextSetShouldSubpixelQuantizeFonts(
|
|
2519
|
+
c: interop.Object,
|
|
2520
|
+
shouldSubpixelQuantizeFonts: boolean,
|
|
2521
|
+
): void
|
|
2522
|
+
|
|
2523
|
+
declare function CGContextSetAllowsFontSubpixelQuantization(
|
|
2524
|
+
c: interop.Object,
|
|
2525
|
+
allowsFontSubpixelQuantization: boolean,
|
|
2526
|
+
): void
|
|
2527
|
+
|
|
2528
|
+
declare function CGContextBeginTransparencyLayer(
|
|
2529
|
+
c: interop.Object,
|
|
2530
|
+
auxiliaryInfo: interop.Object,
|
|
2531
|
+
): void
|
|
2532
|
+
|
|
2533
|
+
declare function CGContextBeginTransparencyLayerWithRect(
|
|
2534
|
+
c: interop.Object,
|
|
2535
|
+
rect: CGRect,
|
|
2536
|
+
auxInfo: interop.Object,
|
|
2537
|
+
): void
|
|
2538
|
+
|
|
2539
|
+
declare function CGContextEndTransparencyLayer(c: interop.Object): void
|
|
2540
|
+
|
|
2541
|
+
declare function CGContextGetUserSpaceToDeviceSpaceTransform(c: interop.Object): CGAffineTransform
|
|
2542
|
+
|
|
2543
|
+
declare function CGContextConvertPointToDeviceSpace(c: interop.Object, point: CGPoint): CGPoint
|
|
2544
|
+
|
|
2545
|
+
declare function CGContextConvertPointToUserSpace(c: interop.Object, point: CGPoint): CGPoint
|
|
2546
|
+
|
|
2547
|
+
declare function CGContextConvertSizeToDeviceSpace(c: interop.Object, size: CGSize): CGSize
|
|
2548
|
+
|
|
2549
|
+
declare function CGContextConvertSizeToUserSpace(c: interop.Object, size: CGSize): CGSize
|
|
2550
|
+
|
|
2551
|
+
declare function CGContextConvertRectToDeviceSpace(c: interop.Object, rect: CGRect): CGRect
|
|
2552
|
+
|
|
2553
|
+
declare function CGContextConvertRectToUserSpace(c: interop.Object, rect: CGRect): CGRect
|
|
2554
|
+
|
|
2555
|
+
declare function CGContextSelectFont(
|
|
2556
|
+
c: interop.Object,
|
|
2557
|
+
name: string,
|
|
2558
|
+
size: number,
|
|
2559
|
+
textEncoding: interop.Enum<typeof CGTextEncoding>,
|
|
2560
|
+
): void
|
|
2561
|
+
|
|
2562
|
+
declare function CGContextShowText(c: interop.Object, string: string, length: number): void
|
|
2563
|
+
|
|
2564
|
+
declare function CGContextShowTextAtPoint(
|
|
2565
|
+
c: interop.Object,
|
|
2566
|
+
x: number,
|
|
2567
|
+
y: number,
|
|
2568
|
+
string: string,
|
|
2569
|
+
length: number,
|
|
2570
|
+
): void
|
|
2571
|
+
|
|
2572
|
+
declare function CGContextShowGlyphs(
|
|
2573
|
+
c: interop.Object,
|
|
2574
|
+
g: interop.PointerConvertible,
|
|
2575
|
+
count: number,
|
|
2576
|
+
): void
|
|
2577
|
+
|
|
2578
|
+
declare function CGContextShowGlyphsAtPoint(
|
|
2579
|
+
c: interop.Object,
|
|
2580
|
+
x: number,
|
|
2581
|
+
y: number,
|
|
2582
|
+
glyphs: interop.PointerConvertible,
|
|
2583
|
+
count: number,
|
|
2584
|
+
): void
|
|
2585
|
+
|
|
2586
|
+
declare function CGContextShowGlyphsWithAdvances(
|
|
2587
|
+
c: interop.Object,
|
|
2588
|
+
glyphs: interop.PointerConvertible,
|
|
2589
|
+
advances: interop.PointerConvertible,
|
|
2590
|
+
count: number,
|
|
2591
|
+
): void
|
|
2592
|
+
|
|
2593
|
+
declare function CGContextDrawPDFDocument(
|
|
2594
|
+
c: interop.Object,
|
|
2595
|
+
rect: CGRect,
|
|
2596
|
+
document: interop.Object,
|
|
2597
|
+
page: number,
|
|
2598
|
+
): void
|
|
2599
|
+
|
|
2600
|
+
declare function CGBitmapContextCreateWithData(
|
|
2601
|
+
data: interop.PointerConvertible,
|
|
2602
|
+
width: number,
|
|
2603
|
+
height: number,
|
|
2604
|
+
bitsPerComponent: number,
|
|
2605
|
+
bytesPerRow: number,
|
|
2606
|
+
space: interop.Object,
|
|
2607
|
+
bitmapInfo: interop.Enum<typeof CGBitmapInfo>,
|
|
2608
|
+
releaseCallback: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => void,
|
|
2609
|
+
releaseInfo: interop.PointerConvertible,
|
|
2610
|
+
): interop.Object
|
|
2611
|
+
|
|
2612
|
+
declare function CGBitmapContextCreate(
|
|
2613
|
+
data: interop.PointerConvertible,
|
|
2614
|
+
width: number,
|
|
2615
|
+
height: number,
|
|
2616
|
+
bitsPerComponent: number,
|
|
2617
|
+
bytesPerRow: number,
|
|
2618
|
+
space: interop.Object,
|
|
2619
|
+
bitmapInfo: interop.Enum<typeof CGBitmapInfo>,
|
|
2620
|
+
): interop.Object
|
|
2621
|
+
|
|
2622
|
+
declare function CGBitmapContextGetData(context: interop.Object): interop.Pointer
|
|
2623
|
+
|
|
2624
|
+
declare function CGBitmapContextGetWidth(context: interop.Object): number
|
|
2625
|
+
|
|
2626
|
+
declare function CGBitmapContextGetHeight(context: interop.Object): number
|
|
2627
|
+
|
|
2628
|
+
declare function CGBitmapContextGetBitsPerComponent(context: interop.Object): number
|
|
2629
|
+
|
|
2630
|
+
declare function CGBitmapContextGetBitsPerPixel(context: interop.Object): number
|
|
2631
|
+
|
|
2632
|
+
declare function CGBitmapContextGetBytesPerRow(context: interop.Object): number
|
|
2633
|
+
|
|
2634
|
+
declare function CGBitmapContextGetColorSpace(context: interop.Object): interop.Object
|
|
2635
|
+
|
|
2636
|
+
declare function CGBitmapContextGetAlphaInfo(
|
|
2637
|
+
context: interop.Object,
|
|
2638
|
+
): interop.Enum<typeof CGImageAlphaInfo>
|
|
2639
|
+
|
|
2640
|
+
declare function CGBitmapContextGetBitmapInfo(
|
|
2641
|
+
context: interop.Object,
|
|
2642
|
+
): interop.Enum<typeof CGBitmapInfo>
|
|
2643
|
+
|
|
2644
|
+
declare function CGBitmapContextCreateImage(context: interop.Object): interop.Object
|
|
2645
|
+
|
|
2646
|
+
declare function CGColorConversionInfoGetTypeID(): number
|
|
2647
|
+
|
|
2648
|
+
declare function CGColorConversionInfoCreate(
|
|
2649
|
+
src: interop.Object,
|
|
2650
|
+
dst: interop.Object,
|
|
2651
|
+
): interop.Pointer
|
|
2652
|
+
|
|
2653
|
+
declare function CGColorConversionInfoCreateWithOptions(
|
|
2654
|
+
src: interop.Object,
|
|
2655
|
+
dst: interop.Object,
|
|
2656
|
+
options: interop.Object,
|
|
2657
|
+
): interop.Pointer
|
|
2658
|
+
|
|
2659
|
+
declare function CGColorConversionInfoCreateFromList(
|
|
2660
|
+
options: interop.Object,
|
|
2661
|
+
p2: interop.Object,
|
|
2662
|
+
p3: interop.Enum<typeof CGColorConversionInfoTransformType>,
|
|
2663
|
+
p4: interop.Enum<typeof CGColorRenderingIntent>,
|
|
2664
|
+
): interop.Pointer
|
|
2665
|
+
|
|
2666
|
+
declare function CGColorConversionInfoCreateFromListWithArguments(
|
|
2667
|
+
options: interop.Object,
|
|
2668
|
+
p2: interop.Object,
|
|
2669
|
+
p3: interop.Enum<typeof CGColorConversionInfoTransformType>,
|
|
2670
|
+
p4: interop.Enum<typeof CGColorRenderingIntent>,
|
|
2671
|
+
p5: string,
|
|
2672
|
+
): interop.Pointer
|
|
2673
|
+
|
|
2674
|
+
declare function CGConvertColorDataWithFormat(
|
|
2675
|
+
width: number,
|
|
2676
|
+
height: number,
|
|
2677
|
+
dst_data: interop.PointerConvertible,
|
|
2678
|
+
dst_format: CGColorDataFormat,
|
|
2679
|
+
src_data: interop.PointerConvertible,
|
|
2680
|
+
src_format: CGColorDataFormat,
|
|
2681
|
+
options: interop.Object,
|
|
2682
|
+
): boolean
|
|
2683
|
+
|
|
2684
|
+
declare function CGDataConsumerGetTypeID(): number
|
|
2685
|
+
|
|
2686
|
+
declare function CGDataConsumerCreate(
|
|
2687
|
+
info: interop.PointerConvertible,
|
|
2688
|
+
cbks: interop.PointerConvertible,
|
|
2689
|
+
): interop.Object
|
|
2690
|
+
|
|
2691
|
+
declare function CGDataConsumerCreateWithURL(url: interop.Object): interop.Object
|
|
2692
|
+
|
|
2693
|
+
declare function CGDataConsumerCreateWithCFData(data: interop.Object): interop.Object
|
|
2694
|
+
|
|
2695
|
+
declare function CGDataConsumerRetain(consumer: interop.Object): interop.Object
|
|
2696
|
+
|
|
2697
|
+
declare function CGDataConsumerRelease(consumer: interop.Object): void
|
|
2698
|
+
|
|
2699
|
+
declare function CGErrorSetCallback(callback: () => void): void
|
|
2700
|
+
|
|
2701
|
+
declare function CGLayerCreateWithContext(
|
|
2702
|
+
context: interop.Object,
|
|
2703
|
+
size: CGSize,
|
|
2704
|
+
auxiliaryInfo: interop.Object,
|
|
2705
|
+
): interop.Object
|
|
2706
|
+
|
|
2707
|
+
declare function CGLayerRetain(layer: interop.Object): interop.Object
|
|
2708
|
+
|
|
2709
|
+
declare function CGLayerRelease(layer: interop.Object): void
|
|
2710
|
+
|
|
2711
|
+
declare function CGLayerGetSize(layer: interop.Object): CGSize
|
|
2712
|
+
|
|
2713
|
+
declare function CGLayerGetContext(layer: interop.Object): interop.Object
|
|
2714
|
+
|
|
2715
|
+
declare function CGContextDrawLayerInRect(
|
|
2716
|
+
context: interop.Object,
|
|
2717
|
+
rect: CGRect,
|
|
2718
|
+
layer: interop.Object,
|
|
2719
|
+
): void
|
|
2720
|
+
|
|
2721
|
+
declare function CGContextDrawLayerAtPoint(
|
|
2722
|
+
context: interop.Object,
|
|
2723
|
+
point: CGPoint,
|
|
2724
|
+
layer: interop.Object,
|
|
2725
|
+
): void
|
|
2726
|
+
|
|
2727
|
+
declare function CGLayerGetTypeID(): number
|
|
2728
|
+
|
|
2729
|
+
declare function CGPDFContentStreamCreateWithPage(page: interop.Object): interop.Pointer
|
|
2730
|
+
|
|
2731
|
+
declare function CGPDFContentStreamCreateWithStream(
|
|
2732
|
+
stream: interop.PointerConvertible,
|
|
2733
|
+
streamResources: interop.PointerConvertible,
|
|
2734
|
+
parent: interop.PointerConvertible,
|
|
2735
|
+
): interop.Pointer
|
|
2736
|
+
|
|
2737
|
+
declare function CGPDFContentStreamRetain(cs: interop.PointerConvertible): interop.Pointer
|
|
2738
|
+
|
|
2739
|
+
declare function CGPDFContentStreamRelease(cs: interop.PointerConvertible): void
|
|
2740
|
+
|
|
2741
|
+
declare function CGPDFContentStreamGetStreams(cs: interop.PointerConvertible): interop.Object
|
|
2742
|
+
|
|
2743
|
+
declare function CGPDFContentStreamGetResource(
|
|
2744
|
+
cs: interop.PointerConvertible,
|
|
2745
|
+
category: string,
|
|
2746
|
+
name: string,
|
|
2747
|
+
): interop.Pointer
|
|
2748
|
+
|
|
2749
|
+
declare function CGPDFContextCreate(
|
|
2750
|
+
consumer: interop.Object,
|
|
2751
|
+
mediaBox: interop.PointerConvertible,
|
|
2752
|
+
auxiliaryInfo: interop.Object,
|
|
2753
|
+
): interop.Object
|
|
2754
|
+
|
|
2755
|
+
declare function CGPDFContextCreateWithURL(
|
|
2756
|
+
url: interop.Object,
|
|
2757
|
+
mediaBox: interop.PointerConvertible,
|
|
2758
|
+
auxiliaryInfo: interop.Object,
|
|
2759
|
+
): interop.Object
|
|
2760
|
+
|
|
2761
|
+
declare function CGPDFContextClose(context: interop.Object): void
|
|
2762
|
+
|
|
2763
|
+
declare function CGPDFContextBeginPage(context: interop.Object, pageInfo: interop.Object): void
|
|
2764
|
+
|
|
2765
|
+
declare function CGPDFContextEndPage(context: interop.Object): void
|
|
2766
|
+
|
|
2767
|
+
declare function CGPDFContextAddDocumentMetadata(
|
|
2768
|
+
context: interop.Object,
|
|
2769
|
+
metadata: interop.Object,
|
|
2770
|
+
): void
|
|
2771
|
+
|
|
2772
|
+
declare function CGPDFContextSetParentTree(
|
|
2773
|
+
context: interop.Object,
|
|
2774
|
+
parentTreeDictionary: interop.PointerConvertible,
|
|
2775
|
+
): void
|
|
2776
|
+
|
|
2777
|
+
declare function CGPDFContextSetIDTree(
|
|
2778
|
+
context: interop.Object,
|
|
2779
|
+
IDTreeDictionary: interop.PointerConvertible,
|
|
2780
|
+
): void
|
|
2781
|
+
|
|
2782
|
+
declare function CGPDFContextSetPageTagStructureTree(
|
|
2783
|
+
context: interop.Object,
|
|
2784
|
+
pageTagStructureTreeDictionary: interop.Object,
|
|
2785
|
+
): void
|
|
2786
|
+
|
|
2787
|
+
declare function CGPDFContextSetURLForRect(
|
|
2788
|
+
context: interop.Object,
|
|
2789
|
+
url: interop.Object,
|
|
2790
|
+
rect: CGRect,
|
|
2791
|
+
): void
|
|
2792
|
+
|
|
2793
|
+
declare function CGPDFContextAddDestinationAtPoint(
|
|
2794
|
+
context: interop.Object,
|
|
2795
|
+
name: interop.Object,
|
|
2796
|
+
point: CGPoint,
|
|
2797
|
+
): void
|
|
2798
|
+
|
|
2799
|
+
declare function CGPDFContextSetDestinationForRect(
|
|
2800
|
+
context: interop.Object,
|
|
2801
|
+
name: interop.Object,
|
|
2802
|
+
rect: CGRect,
|
|
2803
|
+
): void
|
|
2804
|
+
|
|
2805
|
+
declare function CGPDFContextSetOutline(context: interop.Object, outline: interop.Object): void
|
|
2806
|
+
|
|
2807
|
+
declare function CGPDFTagTypeGetName(tagType: interop.Enum<typeof CGPDFTagType>): string
|
|
2808
|
+
|
|
2809
|
+
declare function CGPDFContextBeginTag(
|
|
2810
|
+
context: interop.Object,
|
|
2811
|
+
tagType: interop.Enum<typeof CGPDFTagType>,
|
|
2812
|
+
tagProperties: interop.Object,
|
|
2813
|
+
): void
|
|
2814
|
+
|
|
2815
|
+
declare function CGPDFContextEndTag(context: interop.Object): void
|
|
2816
|
+
|
|
2817
|
+
declare function CGPDFScannerCreate(
|
|
2818
|
+
cs: interop.PointerConvertible,
|
|
2819
|
+
table: interop.PointerConvertible,
|
|
2820
|
+
info: interop.PointerConvertible,
|
|
2821
|
+
): interop.Pointer
|
|
2822
|
+
|
|
2823
|
+
declare function CGPDFScannerRetain(scanner: interop.PointerConvertible): interop.Pointer
|
|
2824
|
+
|
|
2825
|
+
declare function CGPDFScannerRelease(scanner: interop.PointerConvertible): void
|
|
2826
|
+
|
|
2827
|
+
declare function CGPDFScannerScan(scanner: interop.PointerConvertible): boolean
|
|
2828
|
+
|
|
2829
|
+
declare function CGPDFScannerGetContentStream(scanner: interop.PointerConvertible): interop.Pointer
|
|
2830
|
+
|
|
2831
|
+
declare function CGPDFScannerPopObject(
|
|
2832
|
+
scanner: interop.PointerConvertible,
|
|
2833
|
+
value: interop.PointerConvertible,
|
|
2834
|
+
): boolean
|
|
2835
|
+
|
|
2836
|
+
declare function CGPDFScannerPopBoolean(
|
|
2837
|
+
scanner: interop.PointerConvertible,
|
|
2838
|
+
value: interop.PointerConvertible,
|
|
2839
|
+
): boolean
|
|
2840
|
+
|
|
2841
|
+
declare function CGPDFScannerPopInteger(
|
|
2842
|
+
scanner: interop.PointerConvertible,
|
|
2843
|
+
value: interop.PointerConvertible,
|
|
2844
|
+
): boolean
|
|
2845
|
+
|
|
2846
|
+
declare function CGPDFScannerPopNumber(
|
|
2847
|
+
scanner: interop.PointerConvertible,
|
|
2848
|
+
value: interop.PointerConvertible,
|
|
2849
|
+
): boolean
|
|
2850
|
+
|
|
2851
|
+
declare function CGPDFScannerPopName(
|
|
2852
|
+
scanner: interop.PointerConvertible,
|
|
2853
|
+
value: interop.PointerConvertible,
|
|
2854
|
+
): boolean
|
|
2855
|
+
|
|
2856
|
+
declare function CGPDFScannerPopString(
|
|
2857
|
+
scanner: interop.PointerConvertible,
|
|
2858
|
+
value: interop.PointerConvertible,
|
|
2859
|
+
): boolean
|
|
2860
|
+
|
|
2861
|
+
declare function CGPDFScannerPopArray(
|
|
2862
|
+
scanner: interop.PointerConvertible,
|
|
2863
|
+
value: interop.PointerConvertible,
|
|
2864
|
+
): boolean
|
|
2865
|
+
|
|
2866
|
+
declare function CGPDFScannerPopDictionary(
|
|
2867
|
+
scanner: interop.PointerConvertible,
|
|
2868
|
+
value: interop.PointerConvertible,
|
|
2869
|
+
): boolean
|
|
2870
|
+
|
|
2871
|
+
declare function CGPDFScannerPopStream(
|
|
2872
|
+
scanner: interop.PointerConvertible,
|
|
2873
|
+
value: interop.PointerConvertible,
|
|
2874
|
+
): boolean
|
|
2875
|
+
|
|
2876
|
+
declare function CGPDFScannerStop(s: interop.PointerConvertible): void
|
|
2877
|
+
|
|
2878
|
+
declare function CGPDFOperatorTableCreate(): interop.Pointer
|
|
2879
|
+
|
|
2880
|
+
declare function CGPDFOperatorTableRetain(table: interop.PointerConvertible): interop.Pointer
|
|
2881
|
+
|
|
2882
|
+
declare function CGPDFOperatorTableRelease(table: interop.PointerConvertible): void
|
|
2883
|
+
|
|
2884
|
+
declare function CGPDFOperatorTableSetCallback(
|
|
2885
|
+
table: interop.PointerConvertible,
|
|
2886
|
+
name: string,
|
|
2887
|
+
callback: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => void,
|
|
2888
|
+
): void
|
|
2889
|
+
|
|
2890
|
+
declare function CGWindowListCopyWindowInfo(
|
|
2891
|
+
option: interop.Enum<typeof CGWindowListOption>,
|
|
2892
|
+
relativeToWindow: number,
|
|
2893
|
+
): interop.Object
|
|
2894
|
+
|
|
2895
|
+
declare function CGWindowListCreate(
|
|
2896
|
+
option: interop.Enum<typeof CGWindowListOption>,
|
|
2897
|
+
relativeToWindow: number,
|
|
2898
|
+
): interop.Object
|
|
2899
|
+
|
|
2900
|
+
declare function CGWindowListCreateDescriptionFromArray(windowArray: interop.Object): interop.Object
|
|
2901
|
+
|
|
2902
|
+
declare function CGWindowListCreateImage(
|
|
2903
|
+
screenBounds: CGRect,
|
|
2904
|
+
listOption: interop.Enum<typeof CGWindowListOption>,
|
|
2905
|
+
windowID: number,
|
|
2906
|
+
imageOption: interop.Enum<typeof CGWindowImageOption>,
|
|
2907
|
+
): interop.Object
|
|
2908
|
+
|
|
2909
|
+
declare function CGWindowListCreateImageFromArray(
|
|
2910
|
+
screenBounds: CGRect,
|
|
2911
|
+
windowArray: interop.Object,
|
|
2912
|
+
imageOption: interop.Enum<typeof CGWindowImageOption>,
|
|
2913
|
+
): interop.Object
|
|
2914
|
+
|
|
2915
|
+
declare function CGPreflightScreenCaptureAccess(): boolean
|
|
2916
|
+
|
|
2917
|
+
declare function CGRequestScreenCaptureAccess(): boolean
|
|
2918
|
+
|
|
2919
|
+
declare function CGWindowLevelForKey(key: interop.Enum<typeof CGWindowLevelKey>): number
|
|
2920
|
+
|
|
2921
|
+
declare function CGMainDisplayID(): number
|
|
2922
|
+
|
|
2923
|
+
declare function CGGetDisplaysWithPoint(
|
|
2924
|
+
point: CGPoint,
|
|
2925
|
+
maxDisplays: number,
|
|
2926
|
+
displays: interop.PointerConvertible,
|
|
2927
|
+
matchingDisplayCount: interop.PointerConvertible,
|
|
2928
|
+
): interop.Enum<typeof CGError>
|
|
2929
|
+
|
|
2930
|
+
declare function CGGetDisplaysWithRect(
|
|
2931
|
+
rect: CGRect,
|
|
2932
|
+
maxDisplays: number,
|
|
2933
|
+
displays: interop.PointerConvertible,
|
|
2934
|
+
matchingDisplayCount: interop.PointerConvertible,
|
|
2935
|
+
): interop.Enum<typeof CGError>
|
|
2936
|
+
|
|
2937
|
+
declare function CGGetDisplaysWithOpenGLDisplayMask(
|
|
2938
|
+
mask: number,
|
|
2939
|
+
maxDisplays: number,
|
|
2940
|
+
displays: interop.PointerConvertible,
|
|
2941
|
+
matchingDisplayCount: interop.PointerConvertible,
|
|
2942
|
+
): interop.Enum<typeof CGError>
|
|
2943
|
+
|
|
2944
|
+
declare function CGGetActiveDisplayList(
|
|
2945
|
+
maxDisplays: number,
|
|
2946
|
+
activeDisplays: interop.PointerConvertible,
|
|
2947
|
+
displayCount: interop.PointerConvertible,
|
|
2948
|
+
): interop.Enum<typeof CGError>
|
|
2949
|
+
|
|
2950
|
+
declare function CGGetOnlineDisplayList(
|
|
2951
|
+
maxDisplays: number,
|
|
2952
|
+
onlineDisplays: interop.PointerConvertible,
|
|
2953
|
+
displayCount: interop.PointerConvertible,
|
|
2954
|
+
): interop.Enum<typeof CGError>
|
|
2955
|
+
|
|
2956
|
+
declare function CGDisplayIDToOpenGLDisplayMask(display: number): number
|
|
2957
|
+
|
|
2958
|
+
declare function CGOpenGLDisplayMaskToDisplayID(mask: number): number
|
|
2959
|
+
|
|
2960
|
+
declare function CGDisplayBounds(display: number): CGRect
|
|
2961
|
+
|
|
2962
|
+
declare function CGDisplayPixelsWide(display: number): number
|
|
2963
|
+
|
|
2964
|
+
declare function CGDisplayPixelsHigh(display: number): number
|
|
2965
|
+
|
|
2966
|
+
declare function CGDisplayCopyAllDisplayModes(
|
|
2967
|
+
display: number,
|
|
2968
|
+
options: interop.Object,
|
|
2969
|
+
): interop.Object
|
|
2970
|
+
|
|
2971
|
+
declare function CGDisplayCopyDisplayMode(display: number): interop.Object
|
|
2972
|
+
|
|
2973
|
+
declare function CGDisplaySetDisplayMode(
|
|
2974
|
+
display: number,
|
|
2975
|
+
mode: interop.Object,
|
|
2976
|
+
options: interop.Object,
|
|
2977
|
+
): interop.Enum<typeof CGError>
|
|
2978
|
+
|
|
2979
|
+
declare function CGDisplayModeGetWidth(mode: interop.Object): number
|
|
2980
|
+
|
|
2981
|
+
declare function CGDisplayModeGetHeight(mode: interop.Object): number
|
|
2982
|
+
|
|
2983
|
+
declare function CGDisplayModeCopyPixelEncoding(mode: interop.Object): interop.Object
|
|
2984
|
+
|
|
2985
|
+
declare function CGDisplayModeGetRefreshRate(mode: interop.Object): number
|
|
2986
|
+
|
|
2987
|
+
declare function CGDisplayModeGetIOFlags(mode: interop.Object): number
|
|
2988
|
+
|
|
2989
|
+
declare function CGDisplayModeGetIODisplayModeID(mode: interop.Object): number
|
|
2990
|
+
|
|
2991
|
+
declare function CGDisplayModeIsUsableForDesktopGUI(mode: interop.Object): boolean
|
|
2992
|
+
|
|
2993
|
+
declare function CGDisplayModeGetTypeID(): number
|
|
2994
|
+
|
|
2995
|
+
declare function CGDisplayModeRetain(mode: interop.Object): interop.Object
|
|
2996
|
+
|
|
2997
|
+
declare function CGDisplayModeRelease(mode: interop.Object): void
|
|
2998
|
+
|
|
2999
|
+
declare function CGDisplayModeGetPixelWidth(mode: interop.Object): number
|
|
3000
|
+
|
|
3001
|
+
declare function CGDisplayModeGetPixelHeight(mode: interop.Object): number
|
|
3002
|
+
|
|
3003
|
+
declare function CGSetDisplayTransferByFormula(
|
|
3004
|
+
display: number,
|
|
3005
|
+
redMin: number,
|
|
3006
|
+
redMax: number,
|
|
3007
|
+
redGamma: number,
|
|
3008
|
+
greenMin: number,
|
|
3009
|
+
greenMax: number,
|
|
3010
|
+
greenGamma: number,
|
|
3011
|
+
blueMin: number,
|
|
3012
|
+
blueMax: number,
|
|
3013
|
+
blueGamma: number,
|
|
3014
|
+
): interop.Enum<typeof CGError>
|
|
3015
|
+
|
|
3016
|
+
declare function CGGetDisplayTransferByFormula(
|
|
3017
|
+
display: number,
|
|
3018
|
+
redMin: interop.PointerConvertible,
|
|
3019
|
+
redMax: interop.PointerConvertible,
|
|
3020
|
+
redGamma: interop.PointerConvertible,
|
|
3021
|
+
greenMin: interop.PointerConvertible,
|
|
3022
|
+
greenMax: interop.PointerConvertible,
|
|
3023
|
+
greenGamma: interop.PointerConvertible,
|
|
3024
|
+
blueMin: interop.PointerConvertible,
|
|
3025
|
+
blueMax: interop.PointerConvertible,
|
|
3026
|
+
blueGamma: interop.PointerConvertible,
|
|
3027
|
+
): interop.Enum<typeof CGError>
|
|
3028
|
+
|
|
3029
|
+
declare function CGDisplayGammaTableCapacity(display: number): number
|
|
3030
|
+
|
|
3031
|
+
declare function CGSetDisplayTransferByTable(
|
|
3032
|
+
display: number,
|
|
3033
|
+
tableSize: number,
|
|
3034
|
+
redTable: interop.PointerConvertible,
|
|
3035
|
+
greenTable: interop.PointerConvertible,
|
|
3036
|
+
blueTable: interop.PointerConvertible,
|
|
3037
|
+
): interop.Enum<typeof CGError>
|
|
3038
|
+
|
|
3039
|
+
declare function CGGetDisplayTransferByTable(
|
|
3040
|
+
display: number,
|
|
3041
|
+
capacity: number,
|
|
3042
|
+
redTable: interop.PointerConvertible,
|
|
3043
|
+
greenTable: interop.PointerConvertible,
|
|
3044
|
+
blueTable: interop.PointerConvertible,
|
|
3045
|
+
sampleCount: interop.PointerConvertible,
|
|
3046
|
+
): interop.Enum<typeof CGError>
|
|
3047
|
+
|
|
3048
|
+
declare function CGSetDisplayTransferByByteTable(
|
|
3049
|
+
display: number,
|
|
3050
|
+
tableSize: number,
|
|
3051
|
+
redTable: interop.PointerConvertible,
|
|
3052
|
+
greenTable: interop.PointerConvertible,
|
|
3053
|
+
blueTable: interop.PointerConvertible,
|
|
3054
|
+
): interop.Enum<typeof CGError>
|
|
3055
|
+
|
|
3056
|
+
declare function CGDisplayRestoreColorSyncSettings(): void
|
|
3057
|
+
|
|
3058
|
+
declare function CGDisplayIsCaptured(display: number): number
|
|
3059
|
+
|
|
3060
|
+
declare function CGDisplayCapture(display: number): interop.Enum<typeof CGError>
|
|
3061
|
+
|
|
3062
|
+
declare function CGDisplayCaptureWithOptions(
|
|
3063
|
+
display: number,
|
|
3064
|
+
options: interop.Enum<typeof CGCaptureOptions>,
|
|
3065
|
+
): interop.Enum<typeof CGError>
|
|
3066
|
+
|
|
3067
|
+
declare function CGDisplayRelease(display: number): interop.Enum<typeof CGError>
|
|
3068
|
+
|
|
3069
|
+
declare function CGCaptureAllDisplays(): interop.Enum<typeof CGError>
|
|
3070
|
+
|
|
3071
|
+
declare function CGCaptureAllDisplaysWithOptions(
|
|
3072
|
+
options: interop.Enum<typeof CGCaptureOptions>,
|
|
3073
|
+
): interop.Enum<typeof CGError>
|
|
3074
|
+
|
|
3075
|
+
declare function CGReleaseAllDisplays(): interop.Enum<typeof CGError>
|
|
3076
|
+
|
|
3077
|
+
declare function CGShieldingWindowID(display: number): number
|
|
3078
|
+
|
|
3079
|
+
declare function CGShieldingWindowLevel(): number
|
|
3080
|
+
|
|
3081
|
+
declare function CGDisplayCreateImage(displayID: number): interop.Object
|
|
3082
|
+
|
|
3083
|
+
declare function CGDisplayCreateImageForRect(display: number, rect: CGRect): interop.Object
|
|
3084
|
+
|
|
3085
|
+
declare function CGDisplayHideCursor(display: number): interop.Enum<typeof CGError>
|
|
3086
|
+
|
|
3087
|
+
declare function CGDisplayShowCursor(display: number): interop.Enum<typeof CGError>
|
|
3088
|
+
|
|
3089
|
+
declare function CGDisplayMoveCursorToPoint(
|
|
3090
|
+
display: number,
|
|
3091
|
+
point: CGPoint,
|
|
3092
|
+
): interop.Enum<typeof CGError>
|
|
3093
|
+
|
|
3094
|
+
declare function CGGetLastMouseDelta(
|
|
3095
|
+
deltaX: interop.PointerConvertible,
|
|
3096
|
+
deltaY: interop.PointerConvertible,
|
|
3097
|
+
): void
|
|
3098
|
+
|
|
3099
|
+
declare function CGDisplayGetDrawingContext(display: number): interop.Object
|
|
3100
|
+
|
|
3101
|
+
declare function CGDisplayAvailableModes(dsp: number): interop.Object
|
|
3102
|
+
|
|
3103
|
+
declare function CGDisplayBestModeForParameters(
|
|
3104
|
+
display: number,
|
|
3105
|
+
bitsPerPixel: number,
|
|
3106
|
+
width: number,
|
|
3107
|
+
height: number,
|
|
3108
|
+
exactMatch: interop.PointerConvertible,
|
|
3109
|
+
): interop.Object
|
|
3110
|
+
|
|
3111
|
+
declare function CGDisplayBestModeForParametersAndRefreshRate(
|
|
3112
|
+
display: number,
|
|
3113
|
+
bitsPerPixel: number,
|
|
3114
|
+
width: number,
|
|
3115
|
+
height: number,
|
|
3116
|
+
refreshRate: number,
|
|
3117
|
+
exactMatch: interop.PointerConvertible,
|
|
3118
|
+
): interop.Object
|
|
3119
|
+
|
|
3120
|
+
declare function CGDisplayCurrentMode(display: number): interop.Object
|
|
3121
|
+
|
|
3122
|
+
declare function CGDisplaySwitchToMode(
|
|
3123
|
+
display: number,
|
|
3124
|
+
mode: interop.Object,
|
|
3125
|
+
): interop.Enum<typeof CGError>
|
|
3126
|
+
|
|
3127
|
+
declare function CGBeginDisplayConfiguration(
|
|
3128
|
+
config: interop.PointerConvertible,
|
|
3129
|
+
): interop.Enum<typeof CGError>
|
|
3130
|
+
|
|
3131
|
+
declare function CGConfigureDisplayOrigin(
|
|
3132
|
+
config: interop.PointerConvertible,
|
|
3133
|
+
display: number,
|
|
3134
|
+
x: number,
|
|
3135
|
+
y: number,
|
|
3136
|
+
): interop.Enum<typeof CGError>
|
|
3137
|
+
|
|
3138
|
+
declare function CGConfigureDisplayWithDisplayMode(
|
|
3139
|
+
config: interop.PointerConvertible,
|
|
3140
|
+
display: number,
|
|
3141
|
+
mode: interop.Object,
|
|
3142
|
+
options: interop.Object,
|
|
3143
|
+
): interop.Enum<typeof CGError>
|
|
3144
|
+
|
|
3145
|
+
declare function CGConfigureDisplayStereoOperation(
|
|
3146
|
+
config: interop.PointerConvertible,
|
|
3147
|
+
display: number,
|
|
3148
|
+
stereo: number,
|
|
3149
|
+
forceBlueLine: number,
|
|
3150
|
+
): interop.Enum<typeof CGError>
|
|
3151
|
+
|
|
3152
|
+
declare function CGConfigureDisplayMirrorOfDisplay(
|
|
3153
|
+
config: interop.PointerConvertible,
|
|
3154
|
+
display: number,
|
|
3155
|
+
master: number,
|
|
3156
|
+
): interop.Enum<typeof CGError>
|
|
3157
|
+
|
|
3158
|
+
declare function CGCancelDisplayConfiguration(
|
|
3159
|
+
config: interop.PointerConvertible,
|
|
3160
|
+
): interop.Enum<typeof CGError>
|
|
3161
|
+
|
|
3162
|
+
declare function CGCompleteDisplayConfiguration(
|
|
3163
|
+
config: interop.PointerConvertible,
|
|
3164
|
+
option: interop.Enum<typeof CGConfigureOption>,
|
|
3165
|
+
): interop.Enum<typeof CGError>
|
|
3166
|
+
|
|
3167
|
+
declare function CGRestorePermanentDisplayConfiguration(): void
|
|
3168
|
+
|
|
3169
|
+
declare function CGDisplayRegisterReconfigurationCallback(
|
|
3170
|
+
callback: (
|
|
3171
|
+
p1: number,
|
|
3172
|
+
p2: interop.Enum<typeof CGDisplayChangeSummaryFlags>,
|
|
3173
|
+
p3: interop.PointerConvertible,
|
|
3174
|
+
) => void,
|
|
3175
|
+
userInfo: interop.PointerConvertible,
|
|
3176
|
+
): interop.Enum<typeof CGError>
|
|
3177
|
+
|
|
3178
|
+
declare function CGDisplayRemoveReconfigurationCallback(
|
|
3179
|
+
callback: (
|
|
3180
|
+
p1: number,
|
|
3181
|
+
p2: interop.Enum<typeof CGDisplayChangeSummaryFlags>,
|
|
3182
|
+
p3: interop.PointerConvertible,
|
|
3183
|
+
) => void,
|
|
3184
|
+
userInfo: interop.PointerConvertible,
|
|
3185
|
+
): interop.Enum<typeof CGError>
|
|
3186
|
+
|
|
3187
|
+
declare function CGDisplaySetStereoOperation(
|
|
3188
|
+
display: number,
|
|
3189
|
+
stereo: number,
|
|
3190
|
+
forceBlueLine: number,
|
|
3191
|
+
option: interop.Enum<typeof CGConfigureOption>,
|
|
3192
|
+
): interop.Enum<typeof CGError>
|
|
3193
|
+
|
|
3194
|
+
declare function CGDisplayIsActive(display: number): number
|
|
3195
|
+
|
|
3196
|
+
declare function CGDisplayIsAsleep(display: number): number
|
|
3197
|
+
|
|
3198
|
+
declare function CGDisplayIsOnline(display: number): number
|
|
3199
|
+
|
|
3200
|
+
declare function CGDisplayIsMain(display: number): number
|
|
3201
|
+
|
|
3202
|
+
declare function CGDisplayIsBuiltin(display: number): number
|
|
3203
|
+
|
|
3204
|
+
declare function CGDisplayIsInMirrorSet(display: number): number
|
|
3205
|
+
|
|
3206
|
+
declare function CGDisplayIsAlwaysInMirrorSet(display: number): number
|
|
3207
|
+
|
|
3208
|
+
declare function CGDisplayIsInHWMirrorSet(display: number): number
|
|
3209
|
+
|
|
3210
|
+
declare function CGDisplayMirrorsDisplay(display: number): number
|
|
3211
|
+
|
|
3212
|
+
declare function CGDisplayUsesOpenGLAcceleration(display: number): number
|
|
3213
|
+
|
|
3214
|
+
declare function CGDisplayIsStereo(display: number): number
|
|
3215
|
+
|
|
3216
|
+
declare function CGDisplayPrimaryDisplay(display: number): number
|
|
3217
|
+
|
|
3218
|
+
declare function CGDisplayUnitNumber(display: number): number
|
|
3219
|
+
|
|
3220
|
+
declare function CGDisplayVendorNumber(display: number): number
|
|
3221
|
+
|
|
3222
|
+
declare function CGDisplayModelNumber(display: number): number
|
|
3223
|
+
|
|
3224
|
+
declare function CGDisplaySerialNumber(display: number): number
|
|
3225
|
+
|
|
3226
|
+
declare function CGDisplayIOServicePort(display: number): number
|
|
3227
|
+
|
|
3228
|
+
declare function CGDisplayScreenSize(display: number): CGSize
|
|
3229
|
+
|
|
3230
|
+
declare function CGDisplayRotation(display: number): number
|
|
3231
|
+
|
|
3232
|
+
declare function CGDisplayCopyColorSpace(display: number): interop.Object
|
|
3233
|
+
|
|
3234
|
+
declare function CGConfigureDisplayMode(
|
|
3235
|
+
config: interop.PointerConvertible,
|
|
3236
|
+
display: number,
|
|
3237
|
+
mode: interop.Object,
|
|
3238
|
+
): interop.Enum<typeof CGError>
|
|
3239
|
+
|
|
3240
|
+
declare function CGConfigureDisplayFadeEffect(
|
|
3241
|
+
config: interop.PointerConvertible,
|
|
3242
|
+
fadeOutSeconds: number,
|
|
3243
|
+
fadeInSeconds: number,
|
|
3244
|
+
fadeRed: number,
|
|
3245
|
+
fadeGreen: number,
|
|
3246
|
+
fadeBlue: number,
|
|
3247
|
+
): interop.Enum<typeof CGError>
|
|
3248
|
+
|
|
3249
|
+
declare function CGAcquireDisplayFadeReservation(
|
|
3250
|
+
seconds: number,
|
|
3251
|
+
token: interop.PointerConvertible,
|
|
3252
|
+
): interop.Enum<typeof CGError>
|
|
3253
|
+
|
|
3254
|
+
declare function CGReleaseDisplayFadeReservation(token: number): interop.Enum<typeof CGError>
|
|
3255
|
+
|
|
3256
|
+
declare function CGDisplayFade(
|
|
3257
|
+
token: number,
|
|
3258
|
+
duration: number,
|
|
3259
|
+
startBlend: number,
|
|
3260
|
+
endBlend: number,
|
|
3261
|
+
redBlend: number,
|
|
3262
|
+
greenBlend: number,
|
|
3263
|
+
blueBlend: number,
|
|
3264
|
+
synchronous: number,
|
|
3265
|
+
): interop.Enum<typeof CGError>
|
|
3266
|
+
|
|
3267
|
+
declare function CGDisplayFadeOperationInProgress(): number
|
|
3268
|
+
|
|
3269
|
+
declare function CGDisplayStreamUpdateGetTypeID(): number
|
|
3270
|
+
|
|
3271
|
+
declare function CGDisplayStreamUpdateGetRects(
|
|
3272
|
+
updateRef: interop.Object,
|
|
3273
|
+
rectType: interop.Enum<typeof CGDisplayStreamUpdateRectType>,
|
|
3274
|
+
rectCount: interop.PointerConvertible,
|
|
3275
|
+
): interop.Pointer
|
|
3276
|
+
|
|
3277
|
+
declare function CGDisplayStreamUpdateCreateMergedUpdate(
|
|
3278
|
+
firstUpdate: interop.Object,
|
|
3279
|
+
secondUpdate: interop.Object,
|
|
3280
|
+
): interop.Object
|
|
3281
|
+
|
|
3282
|
+
declare function CGDisplayStreamUpdateGetMovedRectsDelta(
|
|
3283
|
+
updateRef: interop.Object,
|
|
3284
|
+
dx: interop.PointerConvertible,
|
|
3285
|
+
dy: interop.PointerConvertible,
|
|
3286
|
+
): void
|
|
3287
|
+
|
|
3288
|
+
declare function CGDisplayStreamUpdateGetDropCount(updateRef: interop.Object): number
|
|
3289
|
+
|
|
3290
|
+
declare function CGDisplayStreamGetTypeID(): number
|
|
3291
|
+
|
|
3292
|
+
declare function CGDisplayStreamCreate(
|
|
3293
|
+
display: number,
|
|
3294
|
+
outputWidth: number,
|
|
3295
|
+
outputHeight: number,
|
|
3296
|
+
pixelFormat: number,
|
|
3297
|
+
properties: interop.Object,
|
|
3298
|
+
handler: (
|
|
3299
|
+
p1: interop.Enum<typeof CGDisplayStreamFrameStatus>,
|
|
3300
|
+
p2: number,
|
|
3301
|
+
p3: interop.PointerConvertible,
|
|
3302
|
+
p4: interop.PointerConvertible,
|
|
3303
|
+
) => void,
|
|
3304
|
+
): interop.Object
|
|
3305
|
+
|
|
3306
|
+
declare function CGDisplayStreamCreateWithDispatchQueue(
|
|
3307
|
+
display: number,
|
|
3308
|
+
outputWidth: number,
|
|
3309
|
+
outputHeight: number,
|
|
3310
|
+
pixelFormat: number,
|
|
3311
|
+
properties: interop.Object,
|
|
3312
|
+
queue: NSObject,
|
|
3313
|
+
handler: (
|
|
3314
|
+
p1: interop.Enum<typeof CGDisplayStreamFrameStatus>,
|
|
3315
|
+
p2: number,
|
|
3316
|
+
p3: interop.PointerConvertible,
|
|
3317
|
+
p4: interop.PointerConvertible,
|
|
3318
|
+
) => void,
|
|
3319
|
+
): interop.Object
|
|
3320
|
+
|
|
3321
|
+
declare function CGDisplayStreamStart(displayStream: interop.Object): interop.Enum<typeof CGError>
|
|
3322
|
+
|
|
3323
|
+
declare function CGDisplayStreamStop(displayStream: interop.Object): interop.Enum<typeof CGError>
|
|
3324
|
+
|
|
3325
|
+
declare function CGDisplayStreamGetRunLoopSource(displayStream: interop.Object): interop.Object
|
|
3326
|
+
|
|
3327
|
+
declare function CGRegisterScreenRefreshCallback(
|
|
3328
|
+
callback: (p1: number, p2: interop.PointerConvertible, p3: interop.PointerConvertible) => void,
|
|
3329
|
+
userInfo: interop.PointerConvertible,
|
|
3330
|
+
): interop.Enum<typeof CGError>
|
|
3331
|
+
|
|
3332
|
+
declare function CGUnregisterScreenRefreshCallback(
|
|
3333
|
+
callback: (p1: number, p2: interop.PointerConvertible, p3: interop.PointerConvertible) => void,
|
|
3334
|
+
userInfo: interop.PointerConvertible,
|
|
3335
|
+
): void
|
|
3336
|
+
|
|
3337
|
+
declare function CGWaitForScreenRefreshRects(
|
|
3338
|
+
rects: interop.PointerConvertible,
|
|
3339
|
+
count: interop.PointerConvertible,
|
|
3340
|
+
): interop.Enum<typeof CGError>
|
|
3341
|
+
|
|
3342
|
+
declare function CGScreenRegisterMoveCallback(
|
|
3343
|
+
callback: (
|
|
3344
|
+
p1: CGScreenUpdateMoveDelta,
|
|
3345
|
+
p2: number,
|
|
3346
|
+
p3: interop.PointerConvertible,
|
|
3347
|
+
p4: interop.PointerConvertible,
|
|
3348
|
+
) => void,
|
|
3349
|
+
userInfo: interop.PointerConvertible,
|
|
3350
|
+
): interop.Enum<typeof CGError>
|
|
3351
|
+
|
|
3352
|
+
declare function CGScreenUnregisterMoveCallback(
|
|
3353
|
+
callback: (
|
|
3354
|
+
p1: CGScreenUpdateMoveDelta,
|
|
3355
|
+
p2: number,
|
|
3356
|
+
p3: interop.PointerConvertible,
|
|
3357
|
+
p4: interop.PointerConvertible,
|
|
3358
|
+
) => void,
|
|
3359
|
+
userInfo: interop.PointerConvertible,
|
|
3360
|
+
): void
|
|
3361
|
+
|
|
3362
|
+
declare function CGWaitForScreenUpdateRects(
|
|
3363
|
+
requestedOperations: interop.Enum<typeof CGScreenUpdateOperation>,
|
|
3364
|
+
currentOperation: interop.PointerConvertible,
|
|
3365
|
+
rects: interop.PointerConvertible,
|
|
3366
|
+
rectCount: interop.PointerConvertible,
|
|
3367
|
+
delta: interop.PointerConvertible,
|
|
3368
|
+
): interop.Enum<typeof CGError>
|
|
3369
|
+
|
|
3370
|
+
declare function CGReleaseScreenRefreshRects(rects: interop.PointerConvertible): void
|
|
3371
|
+
|
|
3372
|
+
declare function CGCursorIsVisible(): number
|
|
3373
|
+
|
|
3374
|
+
declare function CGCursorIsDrawnInFramebuffer(): number
|
|
3375
|
+
|
|
3376
|
+
declare function CGWarpMouseCursorPosition(newCursorPosition: CGPoint): interop.Enum<typeof CGError>
|
|
3377
|
+
|
|
3378
|
+
declare function CGAssociateMouseAndMouseCursorPosition(
|
|
3379
|
+
connected: number,
|
|
3380
|
+
): interop.Enum<typeof CGError>
|
|
3381
|
+
|
|
3382
|
+
declare function CGWindowServerCreateServerPort(): interop.Object
|
|
3383
|
+
|
|
3384
|
+
declare function CGEnableEventStateCombining(combineState: number): interop.Enum<typeof CGError>
|
|
3385
|
+
|
|
3386
|
+
declare function CGInhibitLocalEvents(inhibit: number): interop.Enum<typeof CGError>
|
|
3387
|
+
|
|
3388
|
+
declare function CGPostMouseEvent(
|
|
3389
|
+
mouseCursorPosition: CGPoint,
|
|
3390
|
+
updateMouseCursorPosition: number,
|
|
3391
|
+
buttonCount: number,
|
|
3392
|
+
mouseButtonDown: number,
|
|
3393
|
+
): interop.Enum<typeof CGError>
|
|
3394
|
+
|
|
3395
|
+
declare function CGPostScrollWheelEvent(
|
|
3396
|
+
wheelCount: number,
|
|
3397
|
+
wheel1: number,
|
|
3398
|
+
): interop.Enum<typeof CGError>
|
|
3399
|
+
|
|
3400
|
+
declare function CGPostKeyboardEvent(
|
|
3401
|
+
keyChar: number,
|
|
3402
|
+
virtualKey: number,
|
|
3403
|
+
keyDown: number,
|
|
3404
|
+
): interop.Enum<typeof CGError>
|
|
3405
|
+
|
|
3406
|
+
declare function CGSetLocalEventsFilterDuringSuppressionState(
|
|
3407
|
+
filter: interop.Enum<typeof CGEventFilterMask>,
|
|
3408
|
+
state: interop.Enum<typeof CGEventSuppressionState>,
|
|
3409
|
+
): interop.Enum<typeof CGError>
|
|
3410
|
+
|
|
3411
|
+
declare function CGSetLocalEventsSuppressionInterval(seconds: number): interop.Enum<typeof CGError>
|
|
3412
|
+
|
|
3413
|
+
declare function CGWindowServerCFMachPort(): interop.Object
|
|
3414
|
+
|
|
3415
|
+
declare function CGEventGetTypeID(): number
|
|
3416
|
+
|
|
3417
|
+
declare function CGEventCreate(source: interop.Object): interop.Object
|
|
3418
|
+
|
|
3419
|
+
declare function CGEventCreateData(allocator: interop.Object, event: interop.Object): interop.Object
|
|
3420
|
+
|
|
3421
|
+
declare function CGEventCreateFromData(
|
|
3422
|
+
allocator: interop.Object,
|
|
3423
|
+
data: interop.Object,
|
|
3424
|
+
): interop.Object
|
|
3425
|
+
|
|
3426
|
+
declare function CGEventCreateMouseEvent(
|
|
3427
|
+
source: interop.Object,
|
|
3428
|
+
mouseType: interop.Enum<typeof CGEventType>,
|
|
3429
|
+
mouseCursorPosition: CGPoint,
|
|
3430
|
+
mouseButton: interop.Enum<typeof CGMouseButton>,
|
|
3431
|
+
): interop.Object
|
|
3432
|
+
|
|
3433
|
+
declare function CGEventCreateKeyboardEvent(
|
|
3434
|
+
source: interop.Object,
|
|
3435
|
+
virtualKey: number,
|
|
3436
|
+
keyDown: boolean,
|
|
3437
|
+
): interop.Object
|
|
3438
|
+
|
|
3439
|
+
declare function CGEventCreateScrollWheelEvent(
|
|
3440
|
+
source: interop.Object,
|
|
3441
|
+
units: interop.Enum<typeof CGScrollEventUnit>,
|
|
3442
|
+
wheelCount: number,
|
|
3443
|
+
wheel1: number,
|
|
3444
|
+
): interop.Object
|
|
3445
|
+
|
|
3446
|
+
declare function CGEventCreateScrollWheelEvent2(
|
|
3447
|
+
source: interop.Object,
|
|
3448
|
+
units: interop.Enum<typeof CGScrollEventUnit>,
|
|
3449
|
+
wheelCount: number,
|
|
3450
|
+
wheel1: number,
|
|
3451
|
+
wheel2: number,
|
|
3452
|
+
wheel3: number,
|
|
3453
|
+
): interop.Object
|
|
3454
|
+
|
|
3455
|
+
declare function CGEventCreateCopy(event: interop.Object): interop.Object
|
|
3456
|
+
|
|
3457
|
+
declare function CGEventCreateSourceFromEvent(event: interop.Object): interop.Object
|
|
3458
|
+
|
|
3459
|
+
declare function CGEventSetSource(event: interop.Object, source: interop.Object): void
|
|
3460
|
+
|
|
3461
|
+
declare function CGEventGetType(event: interop.Object): interop.Enum<typeof CGEventType>
|
|
3462
|
+
|
|
3463
|
+
declare function CGEventSetType(event: interop.Object, type: interop.Enum<typeof CGEventType>): void
|
|
3464
|
+
|
|
3465
|
+
declare function CGEventGetTimestamp(event: interop.Object): number
|
|
3466
|
+
|
|
3467
|
+
declare function CGEventSetTimestamp(event: interop.Object, timestamp: number): void
|
|
3468
|
+
|
|
3469
|
+
declare function CGEventGetLocation(event: interop.Object): CGPoint
|
|
3470
|
+
|
|
3471
|
+
declare function CGEventGetUnflippedLocation(event: interop.Object): CGPoint
|
|
3472
|
+
|
|
3473
|
+
declare function CGEventSetLocation(event: interop.Object, location: CGPoint): void
|
|
3474
|
+
|
|
3475
|
+
declare function CGEventGetFlags(event: interop.Object): interop.Enum<typeof CGEventFlags>
|
|
3476
|
+
|
|
3477
|
+
declare function CGEventSetFlags(
|
|
3478
|
+
event: interop.Object,
|
|
3479
|
+
flags: interop.Enum<typeof CGEventFlags>,
|
|
3480
|
+
): void
|
|
3481
|
+
|
|
3482
|
+
declare function CGEventKeyboardGetUnicodeString(
|
|
3483
|
+
event: interop.Object,
|
|
3484
|
+
maxStringLength: number,
|
|
3485
|
+
actualStringLength: interop.PointerConvertible,
|
|
3486
|
+
unicodeString: interop.PointerConvertible,
|
|
3487
|
+
): void
|
|
3488
|
+
|
|
3489
|
+
declare function CGEventKeyboardSetUnicodeString(
|
|
3490
|
+
event: interop.Object,
|
|
3491
|
+
stringLength: number,
|
|
3492
|
+
unicodeString: interop.PointerConvertible,
|
|
3493
|
+
): void
|
|
3494
|
+
|
|
3495
|
+
declare function CGEventGetIntegerValueField(
|
|
3496
|
+
event: interop.Object,
|
|
3497
|
+
field: interop.Enum<typeof CGEventField>,
|
|
3498
|
+
): number
|
|
3499
|
+
|
|
3500
|
+
declare function CGEventSetIntegerValueField(
|
|
3501
|
+
event: interop.Object,
|
|
3502
|
+
field: interop.Enum<typeof CGEventField>,
|
|
3503
|
+
value: number,
|
|
3504
|
+
): void
|
|
3505
|
+
|
|
3506
|
+
declare function CGEventGetDoubleValueField(
|
|
3507
|
+
event: interop.Object,
|
|
3508
|
+
field: interop.Enum<typeof CGEventField>,
|
|
3509
|
+
): number
|
|
3510
|
+
|
|
3511
|
+
declare function CGEventSetDoubleValueField(
|
|
3512
|
+
event: interop.Object,
|
|
3513
|
+
field: interop.Enum<typeof CGEventField>,
|
|
3514
|
+
value: number,
|
|
3515
|
+
): void
|
|
3516
|
+
|
|
3517
|
+
declare function CGEventTapCreate(
|
|
3518
|
+
tap: interop.Enum<typeof CGEventTapLocation>,
|
|
3519
|
+
place: interop.Enum<typeof CGEventTapPlacement>,
|
|
3520
|
+
options: interop.Enum<typeof CGEventTapOptions>,
|
|
3521
|
+
eventsOfInterest: number,
|
|
3522
|
+
callback: (
|
|
3523
|
+
p1: interop.PointerConvertible,
|
|
3524
|
+
p2: interop.Enum<typeof CGEventType>,
|
|
3525
|
+
p3: interop.PointerConvertible,
|
|
3526
|
+
p4: interop.PointerConvertible,
|
|
3527
|
+
) => interop.Pointer,
|
|
3528
|
+
userInfo: interop.PointerConvertible,
|
|
3529
|
+
): interop.Object
|
|
3530
|
+
|
|
3531
|
+
declare function CGEventTapCreateForPSN(
|
|
3532
|
+
processSerialNumber: interop.PointerConvertible,
|
|
3533
|
+
place: interop.Enum<typeof CGEventTapPlacement>,
|
|
3534
|
+
options: interop.Enum<typeof CGEventTapOptions>,
|
|
3535
|
+
eventsOfInterest: number,
|
|
3536
|
+
callback: (
|
|
3537
|
+
p1: interop.PointerConvertible,
|
|
3538
|
+
p2: interop.Enum<typeof CGEventType>,
|
|
3539
|
+
p3: interop.PointerConvertible,
|
|
3540
|
+
p4: interop.PointerConvertible,
|
|
3541
|
+
) => interop.Pointer,
|
|
3542
|
+
userInfo: interop.PointerConvertible,
|
|
3543
|
+
): interop.Object
|
|
3544
|
+
|
|
3545
|
+
declare function CGEventTapCreateForPid(
|
|
3546
|
+
pid: number,
|
|
3547
|
+
place: interop.Enum<typeof CGEventTapPlacement>,
|
|
3548
|
+
options: interop.Enum<typeof CGEventTapOptions>,
|
|
3549
|
+
eventsOfInterest: number,
|
|
3550
|
+
callback: (
|
|
3551
|
+
p1: interop.PointerConvertible,
|
|
3552
|
+
p2: interop.Enum<typeof CGEventType>,
|
|
3553
|
+
p3: interop.PointerConvertible,
|
|
3554
|
+
p4: interop.PointerConvertible,
|
|
3555
|
+
) => interop.Pointer,
|
|
3556
|
+
userInfo: interop.PointerConvertible,
|
|
3557
|
+
): interop.Object
|
|
3558
|
+
|
|
3559
|
+
declare function CGEventTapEnable(tap: interop.Object, enable: boolean): void
|
|
3560
|
+
|
|
3561
|
+
declare function CGEventTapIsEnabled(tap: interop.Object): boolean
|
|
3562
|
+
|
|
3563
|
+
declare function CGEventTapPostEvent(proxy: interop.PointerConvertible, event: interop.Object): void
|
|
3564
|
+
|
|
3565
|
+
declare function CGEventPost(
|
|
3566
|
+
tap: interop.Enum<typeof CGEventTapLocation>,
|
|
3567
|
+
event: interop.Object,
|
|
3568
|
+
): void
|
|
3569
|
+
|
|
3570
|
+
declare function CGEventPostToPSN(
|
|
3571
|
+
processSerialNumber: interop.PointerConvertible,
|
|
3572
|
+
event: interop.Object,
|
|
3573
|
+
): void
|
|
3574
|
+
|
|
3575
|
+
declare function CGEventPostToPid(pid: number, event: interop.Object): void
|
|
3576
|
+
|
|
3577
|
+
declare function CGGetEventTapList(
|
|
3578
|
+
maxNumberOfTaps: number,
|
|
3579
|
+
tapList: interop.PointerConvertible,
|
|
3580
|
+
eventTapCount: interop.PointerConvertible,
|
|
3581
|
+
): interop.Enum<typeof CGError>
|
|
3582
|
+
|
|
3583
|
+
declare function CGPreflightListenEventAccess(): boolean
|
|
3584
|
+
|
|
3585
|
+
declare function CGRequestListenEventAccess(): boolean
|
|
3586
|
+
|
|
3587
|
+
declare function CGPreflightPostEventAccess(): boolean
|
|
3588
|
+
|
|
3589
|
+
declare function CGRequestPostEventAccess(): boolean
|
|
3590
|
+
|
|
3591
|
+
declare function CGEventSourceGetTypeID(): number
|
|
3592
|
+
|
|
3593
|
+
declare function CGEventSourceCreate(
|
|
3594
|
+
stateID: interop.Enum<typeof CGEventSourceStateID>,
|
|
3595
|
+
): interop.Object
|
|
3596
|
+
|
|
3597
|
+
declare function CGEventSourceGetKeyboardType(source: interop.Object): number
|
|
3598
|
+
|
|
3599
|
+
declare function CGEventSourceSetKeyboardType(source: interop.Object, keyboardType: number): void
|
|
3600
|
+
|
|
3601
|
+
declare function CGEventSourceGetPixelsPerLine(source: interop.Object): number
|
|
3602
|
+
|
|
3603
|
+
declare function CGEventSourceSetPixelsPerLine(source: interop.Object, pixelsPerLine: number): void
|
|
3604
|
+
|
|
3605
|
+
declare function CGEventSourceGetSourceStateID(
|
|
3606
|
+
source: interop.Object,
|
|
3607
|
+
): interop.Enum<typeof CGEventSourceStateID>
|
|
3608
|
+
|
|
3609
|
+
declare function CGEventSourceButtonState(
|
|
3610
|
+
stateID: interop.Enum<typeof CGEventSourceStateID>,
|
|
3611
|
+
button: interop.Enum<typeof CGMouseButton>,
|
|
3612
|
+
): boolean
|
|
3613
|
+
|
|
3614
|
+
declare function CGEventSourceKeyState(
|
|
3615
|
+
stateID: interop.Enum<typeof CGEventSourceStateID>,
|
|
3616
|
+
key: number,
|
|
3617
|
+
): boolean
|
|
3618
|
+
|
|
3619
|
+
declare function CGEventSourceFlagsState(
|
|
3620
|
+
stateID: interop.Enum<typeof CGEventSourceStateID>,
|
|
3621
|
+
): interop.Enum<typeof CGEventFlags>
|
|
3622
|
+
|
|
3623
|
+
declare function CGEventSourceSecondsSinceLastEventType(
|
|
3624
|
+
stateID: interop.Enum<typeof CGEventSourceStateID>,
|
|
3625
|
+
eventType: interop.Enum<typeof CGEventType>,
|
|
3626
|
+
): number
|
|
3627
|
+
|
|
3628
|
+
declare function CGEventSourceCounterForEventType(
|
|
3629
|
+
stateID: interop.Enum<typeof CGEventSourceStateID>,
|
|
3630
|
+
eventType: interop.Enum<typeof CGEventType>,
|
|
3631
|
+
): number
|
|
3632
|
+
|
|
3633
|
+
declare function CGEventSourceSetUserData(source: interop.Object, userData: number): void
|
|
3634
|
+
|
|
3635
|
+
declare function CGEventSourceGetUserData(source: interop.Object): number
|
|
3636
|
+
|
|
3637
|
+
declare function CGEventSourceSetLocalEventsFilterDuringSuppressionState(
|
|
3638
|
+
source: interop.Object,
|
|
3639
|
+
filter: interop.Enum<typeof CGEventFilterMask>,
|
|
3640
|
+
state: interop.Enum<typeof CGEventSuppressionState>,
|
|
3641
|
+
): void
|
|
3642
|
+
|
|
3643
|
+
declare function CGEventSourceGetLocalEventsFilterDuringSuppressionState(
|
|
3644
|
+
source: interop.Object,
|
|
3645
|
+
state: interop.Enum<typeof CGEventSuppressionState>,
|
|
3646
|
+
): interop.Enum<typeof CGEventFilterMask>
|
|
3647
|
+
|
|
3648
|
+
declare function CGEventSourceSetLocalEventsSuppressionInterval(
|
|
3649
|
+
source: interop.Object,
|
|
3650
|
+
seconds: number,
|
|
3651
|
+
): void
|
|
3652
|
+
|
|
3653
|
+
declare function CGEventSourceGetLocalEventsSuppressionInterval(source: interop.Object): number
|
|
3654
|
+
|
|
3655
|
+
declare function CGPSConverterCreate(
|
|
3656
|
+
info: interop.PointerConvertible,
|
|
3657
|
+
callbacks: interop.PointerConvertible,
|
|
3658
|
+
options: interop.Object,
|
|
3659
|
+
): interop.Object
|
|
3660
|
+
|
|
3661
|
+
declare function CGPSConverterConvert(
|
|
3662
|
+
converter: interop.Object,
|
|
3663
|
+
provider: interop.Object,
|
|
3664
|
+
consumer: interop.Object,
|
|
3665
|
+
options: interop.Object,
|
|
3666
|
+
): boolean
|
|
3667
|
+
|
|
3668
|
+
declare function CGPSConverterAbort(converter: interop.Object): boolean
|
|
3669
|
+
|
|
3670
|
+
declare function CGPSConverterIsConverting(converter: interop.Object): boolean
|
|
3671
|
+
|
|
3672
|
+
declare function CGPSConverterGetTypeID(): number
|
|
3673
|
+
|
|
3674
|
+
declare function CGSessionCopyCurrentDictionary(): interop.Object
|
|
3675
|
+
|
|
3676
|
+
declare function CGDirectDisplayCopyCurrentMetalDevice(display: number): MTLDevice
|