peachsim 0.1.1728 → 0.1.1744
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 +4 -0
- package/cli/app-catalog.ts +47 -23
- package/cli/app-fonts.ts +19 -1
- package/cli/command-registry.ts +3 -0
- package/cli/commands/control.ts +68 -16
- package/cli/commands/coverage-swift.ts +112 -4
- package/cli/commands/device.ts +3 -1
- package/cli/commands/doctor.ts +1 -4
- package/cli/commands/inspect/settling.ts +6 -1
- package/cli/commands/inspect/wait-ready.ts +22 -2
- package/cli/commands/package.ts +33 -21
- package/cli/commands/push.ts +56 -0
- package/cli/commands/serve.ts +9 -0
- package/cli/commands/shell-url.ts +41 -9
- package/cli/commands/swift.ts +1 -1
- package/cli/current-sim.ts +27 -0
- package/cli/drivers/linux-browser-libs.lock.json +323 -1
- package/cli/drivers/linux-browser-libs.ts +8 -6
- package/cli/drivers/playwright.ts +5 -1
- package/cli/internal-child.ts +11 -1
- package/cli/main.ts +6 -0
- package/cli/native-input.ts +1 -7
- package/cli/outbound-endpoints.ts +9 -1
- package/cli/packaged-app-launcher.ts +3 -1
- package/cli/scene-video.ts +28 -7
- package/cli/ws-bridge.ts +3 -1
- package/detox/index.ts +18 -5
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +5 -2
- package/dist-lib/auth/shared-session.cjs +5 -2
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +9932 -4561
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +30 -8
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +6886 -3303
- package/dist-lib/expo-swift-metadata.cjs +14 -2
- package/dist-lib/expo-swift-metadata.mjs +14 -2
- package/dist-lib/home-paths.cjs +7 -2
- package/dist-lib/host/bridge-host.cjs +8513 -3085
- package/dist-lib/host/fetch-proxy-handler.cjs +19 -7
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +6 -3
- package/dist-lib/index.cjs +175 -80
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +209 -32
- package/dist-lib/menu.cjs +7 -1
- package/dist-lib/menu.mjs +7 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +146 -76
- package/dist-lib/native-app-identity-project.cjs +76 -39
- package/dist-lib/native-app-identity-project.mjs +76 -39
- package/dist-lib/native-app-identity.cjs +10 -3
- package/dist-lib/native-app-identity.mjs +10 -3
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +5 -2
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +25 -23
- package/dist-lib/public-origins-lib.json +138 -80
- package/dist-lib/react-native-host-modules.cjs +5 -2
- package/dist-lib/react-native-host-modules.mjs +5 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +4 -1
- package/dist-lib/sdk.mjs +4 -1
- package/dist-lib/skills.cjs +41126 -36493
- package/dist-lib/swift-compile.cjs +2103 -444
- package/dist-lib/swift-compile.mjs +2025 -369
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +84 -24
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +6094 -2687
- package/dist-lib/vite.cjs +32 -10
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/screen-transition-math.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/cli-companion.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/canvaskit-renderer.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +7 -4
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +1 -3
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +0 -5
- package/dist-types/packages/peach-engine/src/engine/memory-counts.d.ts +8 -0
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +10 -1
- package/dist-types/packages/peach-engine/src/engine/paint-boundary.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +25 -3
- package/dist-types/packages/peach-engine/src/engine/scroll-platform.d.ts +1 -15
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +1 -3
- package/dist-types/packages/peach-engine/src/engine/text-first-baseline.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/engine/text-paragraph.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +23 -0
- package/dist-types/packages/peach-engine/src/ios/chrome-metrics.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/metro-identity-contract.d.ts +33 -0
- package/dist-types/packages/peach-engine/src/native-preview-bundle.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/preview/bundle-layout.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/remote-stream/scene-recording.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/metro-bundle-metadata.d.ts +28 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +21 -1
- package/dist-types/packages/peach-engine/src/render-worker/prepared-boot-bundle.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +15 -2
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/render-worker/test-bridge-protocol.d.ts +3 -3
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-frame-transaction.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-readback-scheduler.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +14 -1
- package/dist-types/packages/peach-engine/src/rolldown-bundle-inventory.d.ts +8 -1
- package/dist-types/packages/peach-engine/src/rolldown-production-fingerprint.d.ts +1 -4
- package/dist-types/packages/peach-engine/src/rolldown-production-module.d.ts +12 -0
- package/dist-types/packages/peach-engine/src/rolldown-production-roles.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/settings/devices.d.ts +6 -1
- package/dist-types/packages/peach-engine/src/settings/duo-fold-bus.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/shell-events.d.ts +4 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +8 -0
- package/kotlin/README.md +3 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +2 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccount.h +55 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountCredential.h +35 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountStore.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountType.h +53 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACError.h +37 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/Accounts.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/AccountsDefines.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h +1 -0
- package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h +257 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h +305 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h +204 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h +260 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h +164 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h +101 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h +510 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h +1132 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGConvertColorDataWithFormat.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h +83 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h +197 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEXRToneMappingGamma.h +36 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h +38 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h +312 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h +106 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h +123 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGITUToneMapping.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h +409 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h +78 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h +120 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h +55 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h +535 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h +133 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h +252 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFMarkedContentItem.h +37 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h +67 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h +51 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h +101 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h +123 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h +44 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h +52 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStructureElement.h +87 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h +441 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h +89 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGRenderingBufferProvider.h +49 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h +124 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGToneMapping.h +85 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +44 -252
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Modules/module.modulemap +1 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/CFNetworkErrors.h +257 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes +58 -9
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +992 -98
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/NSURLSession+Network.h +32 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/Network.h +51 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/advertise_descriptor.h +193 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browse_descriptor.h +163 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browse_result.h +207 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browser.h +285 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection.h +714 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection_group.h +629 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection_report.h +932 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/content_context.h +229 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/endpoint.h +390 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/error.h +135 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ethernet_channel.h +349 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/framer_options.h +1187 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/group_descriptor.h +184 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/interface.h +150 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ip_options.h +351 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/listener.h +438 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/nw_object.h +200 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/parameters.h +1205 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/path.h +392 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/path_monitor.h +216 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/privacy_context.h +188 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/protocol_options.h +126 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/proxy_config.h +357 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/quic_options.h +889 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/resolver_config.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/tcp_options.h +459 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/tls_options.h +115 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/txt_record.h +432 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/udp_options.h +112 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ws_options.h +743 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Modules/module.modulemap +9 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h +395 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h +132 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h +107 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h +153 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h +151 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h +40 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h +78 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h +1078 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h +97 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h +67 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h +65 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h +64 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h +135 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h +99 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h +67 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h +124 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h +138 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h +40 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h +78 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +19 -38
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h +1757 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h +19 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h +28 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h +114 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h +16 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h +47 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h +20 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h +13 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h +16 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h +84 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h +119 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h +66 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +161 -37
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h +76 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h +8 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h +78 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h +104 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h +19 -0
- package/sdk/ios/usr/include/dns_sd.h +3616 -0
- package/sdk/ios/usr/include/dnssd.modulemap +4 -0
- package/sdk/ios/usr/include/module.modulemap +1 -0
- package/sdk/ios/usr/include/os/signpost.h +414 -0
- package/sdk/ios/usr/include/os.modulemap +5 -0
- package/sdk/ios/usr/include/sys/socketvar.h +191 -0
- package/sdk/ios/usr/include/sys/vsock.h +84 -0
- package/sdk/ios/wasm/include/errno.h +4 -20
- package/sdk/ios/wasm/include/pthread.h +3 -0
- package/sdk/ios/wasm/include/setjmp.h +57 -0
- package/sdk/ios/wasm/include/sys/resource.h +2 -2
- package/sdk/native-hashes.json +3 -3
- package/skills/contrast/SKILL.md +6 -5
- package/skills/peach-debug/SKILL.md +68 -265
- package/skills/peach-debug/references/accessibility.md +37 -73
- package/skills/peach-debug/references/commands.md +2 -2
- package/skills/peach-debug/references/events.md +74 -0
- package/skills/peach-perf/SKILL.md +64 -402
- package/skills/peach-perf/references/presentation.md +46 -0
- package/skills/peach-perf/references/profiling.md +93 -0
- package/skills/peach-perf/references/render-counters.md +57 -0
- package/skills/peach-setup/SKILL.md +66 -217
- package/skills/peach-setup/references/native-config.md +35 -0
- package/skills/peach-setup/references/reporting.md +28 -0
- package/skills/peach-test/SKILL.md +68 -285
- package/skills/peach-test/references/detox.md +69 -0
- package/skills/peach-test/references/maestro.md +95 -0
- package/skills/peach-visual/SKILL.md +53 -106
- package/src/android-autolinking.ts +1 -0
- package/src/android-bridge-packages.ts +279 -0
- package/src/appPackageContract.ts +14 -1
- package/src/assetCatalogContract.ts +8 -1
- package/src/bridge-contract.ts +6 -0
- package/src/bundle-channel.mjs +152 -60
- package/src/cli-runtime.ts +3 -0
- package/src/configured-bundle-producer.ts +10 -0
- package/src/device-catalog.ts +68 -4
- package/src/expo-discovery-cache.ts +10 -3
- package/src/expo-kotlin-host.ts +97 -26
- package/src/expo-native-workspace.ts +211 -52
- package/src/expo-swift-host.ts +149 -123
- package/src/expo-swift-ready.ts +5 -1
- package/src/expo-widget-assets.ts +76 -0
- package/src/expoKotlinContract.ts +12 -2
- package/src/expoSwiftContract.ts +21 -2
- package/src/generated/swift-c-predefines.json +1 -1
- package/src/home-paths.ts +6 -1
- package/src/host/bridge-host.ts +5 -0
- package/src/host/fetch-proxy-handler.ts +10 -0
- package/src/host/websocket-proxy.ts +7 -2
- package/src/kotlin-host.ts +204 -30
- package/src/kotlinSdkContract.ts +2 -1
- package/src/menu.ts +7 -0
- package/src/native-prebuilt.ts +154 -0
- package/src/nitro-adapter.lock.json +261 -261
- package/src/nitro-adapter.ts +118 -50
- package/src/nitro-bundle.ts +134 -96
- package/src/nitro-compile.ts +16 -6
- package/src/nitro-dependencies.ts +43 -28
- package/src/nitro-source.ts +142 -30
- package/src/nitro-superset.lock.json +103 -0
- package/src/nitro-superset.ts +137 -0
- package/src/nitroAdapterContract.ts +146 -98
- package/src/nitroContract.ts +68 -21
- package/src/react-bridge-importers.ts +1 -0
- package/src/react-native-bridge-modules.ts +2 -0
- package/src/react-native-host-modules.ts +4 -1
- package/src/settingsContract.ts +37 -1
- package/src/storageSnapshotContract.ts +29 -81
- package/src/swift-compile.ts +315 -117
- package/src/swift-compiler-digest.ts +2 -0
- package/src/swift-coverage/indexdump.ts +22 -6
- package/src/swift-coverage/indexing.ts +4 -4
- package/src/swift-coverage/sdk.ts +104 -20
- package/src/swift-coverage/types.ts +34 -0
- package/src/swift-coverage/xcode-packages.ts +61 -1
- package/src/swift-coverage/xcode.ts +19 -13
- package/src/swift-cxx-reachable.ts +1 -1
- package/src/swift-distribution.lock.json +18 -13
- package/src/swift-distribution.ts +57 -26
- package/src/swift-host.ts +51 -35
- package/src/swift-link-roots.ts +45 -18
- package/src/swift-objc-compile.ts +78 -2
- package/src/swift-objc-standin.ts +3 -0
- package/src/swift-shared-sdk.ts +85 -1
- package/src/swift-standin-emit.ts +6 -1
- package/src/swift-standins.ts +403 -19
- package/src/swift-submit.ts +17 -1
- package/src/swift-toolchain.ts +98 -23
- package/src/swift-wasm-prune.ts +1629 -0
- package/src/turbo-bundle.ts +82 -0
- package/src/turbo-compile.ts +120 -0
- package/src/turbo-runtime.lock.json +69 -0
- package/src/turbo-source.ts +754 -0
- package/src/vite-plugin-one.ts +15 -3
- package/src/vite-plugin.ts +82 -23
- package/src/wasm-optimize.ts +34 -0
- package/src/worker-system-chunks.ts +3 -3
- package/src/xcode-project.ts +52 -0
- package/src/xcode-target-members.ts +12 -1
package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGRenderingBufferProvider.h
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* CoreGraphics - CGRenderingBufferProvider.h
|
|
2
|
+
Copyright (c) 2018 Apple Inc.
|
|
3
|
+
All rights reserved. */
|
|
4
|
+
|
|
5
|
+
#ifndef CGRENDERINGBUFFERPROVIDER_H_
|
|
6
|
+
#define CGRENDERINGBUFFERPROVIDER_H_
|
|
7
|
+
|
|
8
|
+
#include <CoreGraphics/CGBase.h>
|
|
9
|
+
#include <CoreFoundation/CoreFoundation.h>
|
|
10
|
+
|
|
11
|
+
typedef struct CF_BRIDGED_TYPE(id) CGRenderingBufferProvider* CGRenderingBufferProviderRef;
|
|
12
|
+
|
|
13
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
14
|
+
|
|
15
|
+
CF_ASSUME_NONNULL_BEGIN
|
|
16
|
+
|
|
17
|
+
CG_EXTERN CGRenderingBufferProviderRef __nullable CGRenderingBufferProviderCreate(void *__nullable info,
|
|
18
|
+
size_t size,
|
|
19
|
+
void* __nullable(^__nonnull lockPointer)(void* __nullable info),
|
|
20
|
+
void (^__nullable unlockPointer)(void* __nullable info, void* __nonnull pointer),
|
|
21
|
+
void (^__nullable releaseInfo)(void* __nullable info))
|
|
22
|
+
CF_REFINED_FOR_SWIFT
|
|
23
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
24
|
+
|
|
25
|
+
CG_EXTERN CGRenderingBufferProviderRef __nullable CGRenderingBufferProviderCreateWithCFData(CFMutableDataRef data)
|
|
26
|
+
CF_REFINED_FOR_SWIFT
|
|
27
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
28
|
+
|
|
29
|
+
CG_EXTERN size_t CGRenderingBufferProviderGetSize(CGRenderingBufferProviderRef provider)
|
|
30
|
+
CF_REFINED_FOR_SWIFT
|
|
31
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
32
|
+
|
|
33
|
+
CG_EXTERN void* __nullable CGRenderingBufferLockBytePtr(CGRenderingBufferProviderRef provider)
|
|
34
|
+
CF_REFINED_FOR_SWIFT
|
|
35
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
36
|
+
|
|
37
|
+
CG_EXTERN void CGRenderingBufferUnlockBytePtr(CGRenderingBufferProviderRef provider)
|
|
38
|
+
CF_REFINED_FOR_SWIFT
|
|
39
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
40
|
+
|
|
41
|
+
CG_EXTERN CFTypeID CGRenderingBufferProviderGetTypeID(void)
|
|
42
|
+
CF_REFINED_FOR_SWIFT
|
|
43
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
44
|
+
|
|
45
|
+
CF_ASSUME_NONNULL_END
|
|
46
|
+
|
|
47
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
48
|
+
|
|
49
|
+
#endif /* CGRENDERINGBUFFERPROVIDER_H_ */
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/* CoreGraphics - CGShading.h
|
|
2
|
+
Copyright (c) 2001-2011 Apple Inc.
|
|
3
|
+
All rights reserved. */
|
|
4
|
+
|
|
5
|
+
#ifndef CGSHADING_H_
|
|
6
|
+
#define CGSHADING_H_
|
|
7
|
+
|
|
8
|
+
#include <CoreFoundation/CFBase.h>
|
|
9
|
+
#include <CoreFoundation/CFAvailability.h>
|
|
10
|
+
#include <stdint.h>
|
|
11
|
+
|
|
12
|
+
typedef struct CF_BRIDGED_TYPE(id) CGShading *CGShadingRef;
|
|
13
|
+
|
|
14
|
+
#include <CoreGraphics/CGBase.h>
|
|
15
|
+
#include <CoreGraphics/CGColorSpace.h>
|
|
16
|
+
#include <CoreGraphics/CGFunction.h>
|
|
17
|
+
#include <CoreGraphics/CGGeometry.h>
|
|
18
|
+
#include <CoreFoundation/CFBase.h>
|
|
19
|
+
|
|
20
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
21
|
+
|
|
22
|
+
CF_ASSUME_NONNULL_BEGIN
|
|
23
|
+
|
|
24
|
+
/* Return the CFTypeID for CGShadingRefs. */
|
|
25
|
+
|
|
26
|
+
CG_EXTERN CFTypeID CGShadingGetTypeID(void)
|
|
27
|
+
API_AVAILABLE(macos(10.2), ios(2.0));
|
|
28
|
+
|
|
29
|
+
/* Create a shading defining a color blend which varies along a linear axis
|
|
30
|
+
between two endpoints and extends indefinitely perpendicular to that
|
|
31
|
+
axis. The shading may optionally extend beyond either endpoint by
|
|
32
|
+
continuing the boundary colors indefinitely. The color values are
|
|
33
|
+
specified in the color space `space'. The starting point of the axis is
|
|
34
|
+
`start' and the ending point of the axis is `end', both specified in the
|
|
35
|
+
shading's target coordinate space. The shading function, specified by
|
|
36
|
+
`function', is a 1-in, N-out function, where N is one more (for alpha)
|
|
37
|
+
than the number of color components in the shading's color space. The
|
|
38
|
+
input value 0 corresponds to the color at the starting point of the
|
|
39
|
+
shading; the input value 1 corresponds to the color at the ending point
|
|
40
|
+
of the shading. If `extendStart' is true, then the shading will extend
|
|
41
|
+
beyond the starting point of the axis. If `extendEnd' is true, then the
|
|
42
|
+
shading will extend beyond the ending point of the axis. The shading's
|
|
43
|
+
content headroom will be based on the `space' and determined by the system. */
|
|
44
|
+
|
|
45
|
+
CG_EXTERN CGShadingRef __nullable CGShadingCreateAxial(
|
|
46
|
+
CGColorSpaceRef cg_nullable space, CGPoint start, CGPoint end,
|
|
47
|
+
CGFunctionRef cg_nullable function, bool extendStart, bool extendEnd)
|
|
48
|
+
API_AVAILABLE(macos(10.2), ios(2.0));
|
|
49
|
+
|
|
50
|
+
/* Creates axial shading with a specified content headroom. The value of the `headroom'
|
|
51
|
+
will be adjusted as follows:
|
|
52
|
+
(headroom < 0.0f) ? 0.0f : (headroom > 0.0f && headroom < 1.0f) ? 1.0f : headroom.
|
|
53
|
+
The `space' must support HDR (is either HDR or extended range RGB). Creating an axial
|
|
54
|
+
shading wih the content headroom of 0.0 means that the headroom is unspecified, and this
|
|
55
|
+
will prevent tone mapping of the axial shading content to the destination. Meaning of
|
|
56
|
+
other parameters is the same as in CGShadingCreateAxial. */
|
|
57
|
+
|
|
58
|
+
CG_EXTERN CGShadingRef __nullable CGShadingCreateAxialWithContentHeadroom(
|
|
59
|
+
float headroom, CGColorSpaceRef cg_nullable space, CGPoint start, CGPoint end,
|
|
60
|
+
CGFunctionRef cg_nullable function, bool extendStart, bool extendEnd)
|
|
61
|
+
CF_SWIFT_NAME(CGShading.init(axialHeadroom:space:start:end:function:extendStart:extendEnd:))
|
|
62
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
63
|
+
|
|
64
|
+
/* Create a shading defining a color blend which varies between two circles.
|
|
65
|
+
The shading may optionally extend beyond either circle by continuing the
|
|
66
|
+
boundary colors. The color values are specified in the color space
|
|
67
|
+
`space'. The starting circle has radius `startRadius' and is centered at
|
|
68
|
+
`start', specified in the shading's target coordinate space. The ending
|
|
69
|
+
circle has radius `endRadius' and is centered at `end', specified in the
|
|
70
|
+
shading's target coordinate space. The shading function, specified by
|
|
71
|
+
`function', is a 1-in, N-out function, where N is one more (for alpha)
|
|
72
|
+
than the number of color components in the shading's color space. The
|
|
73
|
+
input value 0 corresponds to the color of the starting circle; the input
|
|
74
|
+
value 1 corresponds to the color of the ending circle. If `extendStart'
|
|
75
|
+
is true, then the shading will extend beyond the starting circle. If
|
|
76
|
+
`extendEnd' is true, then the shading will extend beyond the ending
|
|
77
|
+
circle. The shading's content headroom will be based on the `space'
|
|
78
|
+
and determined by the system. */
|
|
79
|
+
|
|
80
|
+
CG_EXTERN CGShadingRef __nullable CGShadingCreateRadial(
|
|
81
|
+
CGColorSpaceRef cg_nullable space,
|
|
82
|
+
CGPoint start, CGFloat startRadius, CGPoint end, CGFloat endRadius,
|
|
83
|
+
CGFunctionRef cg_nullable function, bool extendStart, bool extendEnd)
|
|
84
|
+
API_AVAILABLE(macos(10.2), ios(2.0));
|
|
85
|
+
|
|
86
|
+
/* Creates radial shading with a specified content headroom. The value of the `headroom'
|
|
87
|
+
will be adjusted as follows:
|
|
88
|
+
(headroom < 0.0f) ? 0.0f : (headroom > 0.0f && headroom < 1.0f) ? 1.0f : headroom.
|
|
89
|
+
The `space' must support HDR (is either HDR or extended range RGB). Creating an radial
|
|
90
|
+
shading wih the content headroom of 0.0 means that the headroom is unspecified, and this
|
|
91
|
+
will prevent tone mapping of the radial shading content to the destination. Meaning of
|
|
92
|
+
other parameters is the same as in CGShadingCreateRadial. */
|
|
93
|
+
|
|
94
|
+
CG_EXTERN CGShadingRef __nullable CGShadingCreateRadialWithContentHeadroom(
|
|
95
|
+
float headroom, CGColorSpaceRef cg_nullable space,
|
|
96
|
+
CGPoint start, CGFloat startRadius, CGPoint end, CGFloat endRadius,
|
|
97
|
+
CGFunctionRef cg_nullable function, bool extendStart, bool extendEnd)
|
|
98
|
+
CF_SWIFT_NAME(CGShading.init(radialHeadroom:space:start:startRadius:end:endRadius:function:extendStart:extendEnd:))
|
|
99
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
100
|
+
|
|
101
|
+
/* Equivalent to `CFRetain(shading)', except it doesn't crash (as CFRetain
|
|
102
|
+
does) if `shading' is NULL. */
|
|
103
|
+
|
|
104
|
+
CG_EXTERN CGShadingRef cg_nullable CGShadingRetain(CGShadingRef cg_nullable shading)
|
|
105
|
+
API_AVAILABLE(macos(10.2), ios(2.0));
|
|
106
|
+
|
|
107
|
+
/* Equivalent to `CFRelease(shading)', except it doesn't crash (as CFRelease
|
|
108
|
+
does) if `shading' is NULL. */
|
|
109
|
+
|
|
110
|
+
CG_EXTERN void CGShadingRelease(CGShadingRef cg_nullable shading)
|
|
111
|
+
API_AVAILABLE(macos(10.2), ios(2.0));
|
|
112
|
+
|
|
113
|
+
/* Return shading's content headroom, and return 0.0f if unknown or unspecified. */
|
|
114
|
+
|
|
115
|
+
CG_EXTERN float CGShadingGetContentHeadroom(CGShadingRef cg_nullable shading)
|
|
116
|
+
CF_SWIFT_NAME(getter:CGShading.contentHeadroom(self:))
|
|
117
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
CF_ASSUME_NONNULL_END
|
|
121
|
+
|
|
122
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
123
|
+
|
|
124
|
+
#endif /* CGSHADING_H_ */
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* CoreGraphics - CGToneMapping.h
|
|
2
|
+
Copyright (c) 2018-2025 Apple Inc.
|
|
3
|
+
All rights reserved. */
|
|
4
|
+
|
|
5
|
+
#ifndef CGTONEMAPPING_H_
|
|
6
|
+
#define CGTONEMAPPING_H_
|
|
7
|
+
|
|
8
|
+
#include <CoreFoundation/CoreFoundation.h>
|
|
9
|
+
#include <CoreFoundation/CFAvailability.h>
|
|
10
|
+
#include <stdint.h>
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
#include <CoreGraphics/CGEXRToneMappingGamma.h>
|
|
14
|
+
#include <CoreGraphics/CGITUToneMapping.h>
|
|
15
|
+
|
|
16
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
17
|
+
|
|
18
|
+
CF_ASSUME_NONNULL_BEGIN
|
|
19
|
+
|
|
20
|
+
#ifdef __cplusplus
|
|
21
|
+
extern "C" {
|
|
22
|
+
#endif
|
|
23
|
+
|
|
24
|
+
/*
|
|
25
|
+
* kCGToneMappingDefault = 0, A system default method will be used
|
|
26
|
+
* kCGToneMappingImageSpecificLumaScaling = 1, Implements tone mapping of HDR content associated with the CGImage gain map
|
|
27
|
+
* kCGToneMappingHeadroomAdaptiveGainCurve = 6, Impmement Headroom Adaptive Gain Curve as per ICC and SMPTE ST 2094-50;2026 specifications
|
|
28
|
+
* kCGToneMappingReferenceWhiteBased = 2, Implements a tone curve that preserves SDR contrast and rolls off HDR highlights
|
|
29
|
+
* kCGToneMappingITURecommended = 3, Implements tone mapping based on ITU-R specifications for HDR-to-SDR and SDR-to-HDR conversions assuming mastering peak of 1000 nits
|
|
30
|
+
* kCGToneMappingEXRGamma = 4, Implements Open EXR tone mapping gamma suitable for tone mapping images in extended linear sRGB color space to SDR
|
|
31
|
+
* kCGToneMappingNone = 5 Does not apply any tone mapping. Color converted values in extended color spaces will be clipped to SDR ([0.0-1.0]) range
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
typedef CF_ENUM (uint32_t, CGToneMapping) {
|
|
35
|
+
kCGToneMappingDefault = 0,
|
|
36
|
+
kCGToneMappingImageSpecificLumaScaling = 1,
|
|
37
|
+
kCGToneMappingHeadroomAdaptiveGainCurve API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), watchos(27.0)) = 6,
|
|
38
|
+
kCGToneMappingReferenceWhiteBased = 2,
|
|
39
|
+
kCGToneMappingITURecommended = 3,
|
|
40
|
+
kCGToneMappingEXRGamma = 4,
|
|
41
|
+
kCGToneMappingNone = 5
|
|
42
|
+
} API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0));
|
|
43
|
+
|
|
44
|
+
typedef struct {
|
|
45
|
+
CGToneMapping method;
|
|
46
|
+
CFDictionaryRef __nullable options;
|
|
47
|
+
} CGContentToneMappingInfo
|
|
48
|
+
CF_REFINED_FOR_SWIFT
|
|
49
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
50
|
+
|
|
51
|
+
/* Option keys and values for Preferred Dynamic Range.
|
|
52
|
+
* Applicable to kCGToneMappingDefault, kCGToneMappingImageSpecificLumaScaling and kCGToneMappingReferenceWhiteBased methods.
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
CG_EXTERN const CFStringRef __nonnull kCGPreferredDynamicRange
|
|
56
|
+
CF_REFINED_FOR_SWIFT
|
|
57
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
58
|
+
|
|
59
|
+
/* Legal values for kCGPreferredDynamicRange are the following strings. */
|
|
60
|
+
CG_EXTERN const CFStringRef __nonnull kCGDynamicRangeHigh
|
|
61
|
+
CF_REFINED_FOR_SWIFT
|
|
62
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
63
|
+
CG_EXTERN const CFStringRef __nonnull kCGDynamicRangeConstrained
|
|
64
|
+
CF_REFINED_FOR_SWIFT
|
|
65
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
66
|
+
CG_EXTERN const CFStringRef __nonnull kCGDynamicRangeStandard
|
|
67
|
+
CF_REFINED_FOR_SWIFT
|
|
68
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
69
|
+
|
|
70
|
+
CG_EXTERN const CFStringRef __nonnull kCGContentAverageLightLevel
|
|
71
|
+
CF_REFINED_FOR_SWIFT
|
|
72
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
73
|
+
CG_EXTERN const CFStringRef __nonnull kCGContentAverageLightLevelNits
|
|
74
|
+
CF_REFINED_FOR_SWIFT
|
|
75
|
+
API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
|
|
76
|
+
|
|
77
|
+
#ifdef __cplusplus
|
|
78
|
+
} /* extern "C" */
|
|
79
|
+
#endif
|
|
80
|
+
|
|
81
|
+
CF_ASSUME_NONNULL_END
|
|
82
|
+
|
|
83
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
84
|
+
|
|
85
|
+
#endif /* CGTONEMAPPING_H_ */
|
|
@@ -1,255 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
#
|
|
1
|
+
/* CoreGraphics - CoreGraphics.h
|
|
2
|
+
Copyright (c) 2000-2011 Apple Inc.
|
|
3
|
+
All rights reserved. */
|
|
4
|
+
|
|
5
|
+
#ifndef COREGRAPHICS_H_
|
|
6
|
+
#define COREGRAPHICS_H_
|
|
7
|
+
|
|
8
|
+
#include <CoreGraphics/CGBase.h>
|
|
9
|
+
|
|
10
|
+
#include <CoreGraphics/CGAffineTransform.h>
|
|
11
|
+
#include <CoreGraphics/CGBitmapContext.h>
|
|
12
|
+
#include <CoreGraphics/CGColor.h>
|
|
13
|
+
#include <CoreGraphics/CGToneMapping.h>
|
|
14
|
+
#include <CoreGraphics/CGEXRToneMappingGamma.h>
|
|
15
|
+
#include <CoreGraphics/CGITUToneMapping.h>
|
|
16
|
+
#include <CoreGraphics/CGColorConversionInfo.h>
|
|
17
|
+
#include <CoreGraphics/CGColorSpace.h>
|
|
18
|
+
#include <CoreGraphics/CGConvertColorDataWithFormat.h>
|
|
19
|
+
#include <CoreGraphics/CGContext.h>
|
|
20
|
+
#include <CoreGraphics/CGDataConsumer.h>
|
|
21
|
+
#include <CoreGraphics/CGDataProvider.h>
|
|
22
|
+
#include <CoreGraphics/CGError.h>
|
|
23
|
+
#include <CoreGraphics/CGFont.h>
|
|
24
|
+
#include <CoreGraphics/CGFunction.h>
|
|
6
25
|
#include <CoreGraphics/CGGeometry.h>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
kCGBlendModeSourceIn,
|
|
27
|
-
kCGBlendModeSourceOut,
|
|
28
|
-
kCGBlendModeSourceAtop,
|
|
29
|
-
kCGBlendModeDestinationOver,
|
|
30
|
-
kCGBlendModeDestinationIn,
|
|
31
|
-
kCGBlendModeDestinationOut,
|
|
32
|
-
kCGBlendModeDestinationAtop,
|
|
33
|
-
kCGBlendModeXOR,
|
|
34
|
-
kCGBlendModePlusDarker,
|
|
35
|
-
kCGBlendModePlusLighter
|
|
36
|
-
};
|
|
37
|
-
typedef CF_ENUM(uint32_t, CGImageAlphaInfo) {
|
|
38
|
-
kCGImageAlphaNone,
|
|
39
|
-
kCGImageAlphaPremultipliedLast,
|
|
40
|
-
kCGImageAlphaPremultipliedFirst,
|
|
41
|
-
kCGImageAlphaLast,
|
|
42
|
-
kCGImageAlphaFirst,
|
|
43
|
-
kCGImageAlphaNoneSkipLast,
|
|
44
|
-
kCGImageAlphaNoneSkipFirst,
|
|
45
|
-
kCGImageAlphaOnly
|
|
46
|
-
};
|
|
47
|
-
typedef CF_ENUM(uint32_t, CGImageComponentInfo) {
|
|
48
|
-
kCGImageComponentInteger = (0 << 8),
|
|
49
|
-
kCGImageComponentFloat = (1 << 8)
|
|
50
|
-
};
|
|
51
|
-
typedef CF_ENUM(uint32_t, CGImageByteOrderInfo) {
|
|
52
|
-
kCGImageByteOrderMask
|
|
53
|
-
= 0x7000,
|
|
54
|
-
kCGImageByteOrderDefault = (0 << 12),
|
|
55
|
-
kCGImageByteOrder16Little = (1 << 12),
|
|
56
|
-
kCGImageByteOrder32Little = (2 << 12),
|
|
57
|
-
kCGImageByteOrder16Big = (3 << 12),
|
|
58
|
-
kCGImageByteOrder32Big = (4 << 12),
|
|
59
|
-
#ifdef __BIG_ENDIAN__
|
|
60
|
-
kCGImageByteOrder16Host = kCGImageByteOrder16Big,
|
|
61
|
-
kCGImageByteOrder32Host = kCGImageByteOrder32Big
|
|
62
|
-
#else
|
|
63
|
-
kCGImageByteOrder16Host = kCGImageByteOrder16Little,
|
|
64
|
-
kCGImageByteOrder32Host = kCGImageByteOrder32Little
|
|
65
|
-
#endif
|
|
66
|
-
};
|
|
67
|
-
typedef CF_OPTIONS(uint32_t, CGBitmapInfo) {
|
|
68
|
-
kCGBitmapAlphaInfoMask = 0x1F,
|
|
69
|
-
kCGBitmapComponentInfoMask = 0xF00,
|
|
70
|
-
kCGBitmapByteOrderInfoMask = 0x7000,
|
|
71
|
-
kCGBitmapPixelFormatInfoMask = 0xF0000,
|
|
72
|
-
kCGBitmapFloatInfoMask = kCGBitmapComponentInfoMask,
|
|
73
|
-
kCGBitmapByteOrderMask = kCGBitmapByteOrderInfoMask,
|
|
74
|
-
kCGBitmapFloatComponents = kCGImageComponentFloat,
|
|
75
|
-
kCGBitmapByteOrderDefault = kCGImageByteOrderDefault,
|
|
76
|
-
kCGBitmapByteOrder16Little = kCGImageByteOrder16Little,
|
|
77
|
-
kCGBitmapByteOrder32Little = kCGImageByteOrder32Little,
|
|
78
|
-
kCGBitmapByteOrder16Big = kCGImageByteOrder16Big,
|
|
79
|
-
kCGBitmapByteOrder32Big = kCGImageByteOrder32Big
|
|
80
|
-
};
|
|
81
|
-
typedef struct __attribute__((objc_bridge(id))) CGColor *CGColorRef;
|
|
82
|
-
typedef struct __attribute__((objc_bridge(id))) CGImage *CGImageRef;
|
|
83
|
-
typedef struct __attribute__((objc_bridge(id))) CGDataProvider *CGDataProviderRef;
|
|
84
|
-
typedef struct __attribute__((objc_bridge(id))) CGDataConsumer *CGDataConsumerRef;
|
|
85
|
-
typedef struct __attribute__((objc_bridge(id))) CGPath *CGPathRef;
|
|
86
|
-
typedef struct __attribute__((objc_bridge(id))) CGPath *CGMutablePathRef;
|
|
87
|
-
typedef struct __attribute__((objc_bridge(id))) CGContext *CGContextRef;
|
|
88
|
-
typedef struct __attribute__((objc_bridge(id))) CGColorSpace *CGColorSpaceRef;
|
|
89
|
-
typedef const struct __attribute__((objc_bridge(id))) CGColorConversionInfo *CGColorConversionInfoRef;
|
|
90
|
-
#pragma clang arc_cf_code_audited begin
|
|
91
|
-
CG_EXTERN CGImageAlphaInfo CGImageGetAlphaInfo(CGImageRef _Nullable image) __attribute__((availability(ios, introduced=2.0)));
|
|
92
|
-
CG_EXTERN CGAffineTransform __attribute__((pure)) CGAffineTransformMakeRotation(CGFloat angle) __attribute__((availability(ios, introduced=2.0)));
|
|
93
|
-
CG_EXTERN CGRect __attribute__((pure)) CGRectApplyAffineTransform(CGRect rect, CGAffineTransform t) __attribute__((availability(ios, introduced=2.0)));
|
|
94
|
-
CG_EXTERN void CGContextAddEllipseInRect(CGContextRef _Nullable c, CGRect rect) __attribute__((availability(ios, introduced=2.0)));
|
|
95
|
-
CG_EXTERN void CGContextClip(CGContextRef _Nullable c) __attribute__((availability(ios, introduced=2.0)));
|
|
96
|
-
CG_EXTERN void CGContextTranslateCTM(CGContextRef _Nullable c, CGFloat tx, CGFloat ty) __attribute__((availability(ios, introduced=2.0)));
|
|
97
|
-
CG_EXTERN void CGContextRotateCTM(CGContextRef _Nullable c, CGFloat angle) __attribute__((availability(ios, introduced=2.0)));
|
|
98
|
-
CG_EXTERN const CGAffineTransform CGAffineTransformIdentity __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
99
|
-
CG_EXTERN CGAffineTransform __attribute__((pure)) CGAffineTransformRotate(CGAffineTransform t, CGFloat angle) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
100
|
-
CG_EXTERN CGAffineTransform __attribute__((pure)) CGAffineTransformScale(CGAffineTransform t, CGFloat sx, CGFloat sy) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
101
|
-
CG_EXTERN void CGContextDrawImage(CGContextRef _Nullable c, CGRect rect, CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
102
|
-
#pragma clang arc_cf_code_audited end
|
|
103
|
-
CG_EXTERN size_t CGImageGetHeight(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
104
|
-
CG_EXTERN size_t CGImageGetBytesPerRow(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
105
|
-
CG_EXTERN CFStringRef _Nullable CGImageGetUTType(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.11), availability(ios,introduced=9.0)));
|
|
106
|
-
typedef struct CF_BRIDGED_TYPE(id) CGPDFDocument *CGPDFDocumentRef;
|
|
107
|
-
typedef struct CF_BRIDGED_TYPE(id) CGPDFPage *CGPDFPageRef;
|
|
108
|
-
typedef CF_ENUM (int32_t, CGPDFBox) {
|
|
109
|
-
kCGPDFMediaBox = 0,
|
|
110
|
-
kCGPDFCropBox = 1,
|
|
111
|
-
kCGPDFBleedBox = 2,
|
|
112
|
-
kCGPDFTrimBox = 3,
|
|
113
|
-
kCGPDFArtBox = 4
|
|
114
|
-
};
|
|
115
|
-
CG_EXTERN void CGContextConcatCTM(CGContextRef _Nullable c, CGAffineTransform transform) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
116
|
-
CG_EXTERN void CGContextDrawPDFPage(CGContextRef _Nullable c, CGPDFPageRef _Nullable page) __attribute__((availability(macos,introduced=10.3), availability(ios,introduced=2.0)));
|
|
117
|
-
CG_EXTERN CGDataProviderRef _Nullable CGDataProviderCreateWithCFData( CFDataRef _Nullable data) __attribute__((availability(macos,introduced=10.4), availability(ios,introduced=2.0)));
|
|
118
|
-
CG_EXTERN CGPDFDocumentRef _Nullable CGPDFDocumentCreateWithProvider( CGDataProviderRef _Nullable provider) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
119
|
-
CG_EXTERN CGPDFDocumentRef _Nullable CGPDFDocumentCreateWithURL( CFURLRef _Nullable url) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
120
|
-
CG_EXTERN CGPDFPageRef _Nullable CGPDFDocumentGetPage( CGPDFDocumentRef _Nullable document, size_t pageNumber) __attribute__((availability(macos,introduced=10.3), availability(ios,introduced=2.0)));
|
|
121
|
-
CG_EXTERN CGPDFDocumentRef _Nullable CGPDFDocumentRetain( CGPDFDocumentRef _Nullable document) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
122
|
-
CG_EXTERN void CGPDFDocumentRelease(CGPDFDocumentRef _Nullable document) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
123
|
-
CG_EXTERN CGRect CGPDFPageGetBoxRect(CGPDFPageRef _Nullable page, CGPDFBox box) __attribute__((availability(macos,introduced=10.3), availability(ios,introduced=2.0)));
|
|
124
|
-
CG_EXTERN CGAffineTransform CGPDFPageGetDrawingTransform( CGPDFPageRef _Nullable page, CGPDFBox box, CGRect rect, int rotate, bool preserveAspectRatio) __attribute__((availability(macos,introduced=10.3), availability(ios,introduced=2.0)));
|
|
125
|
-
typedef CF_ENUM (int32_t, CGColorRenderingIntent) {
|
|
126
|
-
kCGRenderingIntentDefault,
|
|
127
|
-
kCGRenderingIntentAbsoluteColorimetric,
|
|
128
|
-
kCGRenderingIntentRelativeColorimetric,
|
|
129
|
-
kCGRenderingIntentPerceptual,
|
|
130
|
-
kCGRenderingIntentSaturation
|
|
131
|
-
};
|
|
132
|
-
extern CGImageRef _Nullable CGImageCreate(size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGColorSpaceRef _Nullable space, CGBitmapInfo bitmapInfo, CGDataProviderRef _Nullable provider, const CGFloat * _Nullable decode, bool shouldInterpolate, CGColorRenderingIntent intent) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
133
|
-
extern CGColorRenderingIntent CGImageGetRenderingIntent(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
134
|
-
extern CGBitmapInfo CGImageGetBitmapInfo(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.4), availability(ios,introduced=2.0)));
|
|
135
|
-
extern CGImageRef _Nullable CGImageRetain(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
136
|
-
extern void CGImageRelease(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
137
|
-
extern CFDataRef _Nullable CGDataProviderCopyData(CGDataProviderRef _Nullable provider) __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0)));
|
|
138
|
-
extern CFIndex CFDataGetLength(CFDataRef theData);
|
|
139
|
-
extern void CFDataGetBytes(CFDataRef theData, CFRange range, uint8_t *buffer);
|
|
140
|
-
// CFRangeMake lives in CoreFoundation's CFBase.h, which this umbrella
|
|
141
|
-
// imports above; the duplicate inline here would shadow the native owner.
|
|
142
|
-
CG_EXTERN CGAffineTransform CGAffineTransformMakeScale(CGFloat sx, CGFloat sy) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
143
|
-
CG_EXTERN void CGContextScaleCTM(CGContextRef _Nullable c, CGFloat sx, CGFloat sy) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
144
|
-
CG_EXTERN void CGDataProviderRelease(CGDataProviderRef _Nullable provider) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
145
|
-
CG_EXTERN size_t CGImageGetBitsPerComponent(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
146
|
-
CG_EXTERN size_t CGImageGetBitsPerPixel(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
147
|
-
CG_EXTERN CGColorSpaceRef _Nullable CGImageGetColorSpace(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
148
|
-
CG_EXTERN CGDataProviderRef _Nullable CGImageGetDataProvider(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
149
|
-
CG_EXTERN const CGFloat * _Nullable CGImageGetDecode(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
150
|
-
CG_EXTERN bool CGImageGetShouldInterpolate(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
151
|
-
CG_EXTERN size_t CGImageGetWidth(CGImageRef _Nullable image) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
152
|
-
typedef CF_ENUM (int32_t, CGColorSpaceModel) {
|
|
153
|
-
kCGColorSpaceModelUnknown = -1,
|
|
154
|
-
kCGColorSpaceModelMonochrome,
|
|
155
|
-
kCGColorSpaceModelRGB,
|
|
156
|
-
kCGColorSpaceModelCMYK,
|
|
157
|
-
kCGColorSpaceModelLab,
|
|
158
|
-
kCGColorSpaceModelDeviceN,
|
|
159
|
-
kCGColorSpaceModelIndexed,
|
|
160
|
-
kCGColorSpaceModelPattern,
|
|
161
|
-
kCGColorSpaceModelXYZ
|
|
162
|
-
};
|
|
163
|
-
typedef CF_ENUM (int32_t, CGInterpolationQuality) {
|
|
164
|
-
kCGInterpolationDefault = 0,
|
|
165
|
-
kCGInterpolationNone = 1,
|
|
166
|
-
kCGInterpolationLow = 2,
|
|
167
|
-
kCGInterpolationMedium = 4,
|
|
168
|
-
kCGInterpolationHigh = 3
|
|
169
|
-
};
|
|
170
|
-
typedef void (*CGDataProviderReleaseDataCallback)(void * __nullable info,
|
|
171
|
-
const void * data, size_t size);
|
|
172
|
-
CG_EXTERN CGAffineTransform CG_PURE CGAffineTransformConcat(CGAffineTransform t1,
|
|
173
|
-
CGAffineTransform t2) API_AVAILABLE(macos(10.0), ios(2.0));
|
|
174
|
-
CG_EXTERN CGAffineTransform CG_PURE CGAffineTransformMake(CGFloat a, CGFloat b,
|
|
175
|
-
CGFloat c, CGFloat d, CGFloat tx, CGFloat ty)
|
|
176
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
177
|
-
CG_EXTERN CGAffineTransform CG_PURE CGAffineTransformTranslate(CGAffineTransform t,
|
|
178
|
-
CGFloat tx, CGFloat ty) API_AVAILABLE(macos(10.0), ios(2.0));
|
|
179
|
-
CG_EXTERN CGContextRef __nullable CGBitmapContextCreate(void * __nullable data,
|
|
180
|
-
size_t width, size_t height, size_t bitsPerComponent, size_t bytesPerRow,
|
|
181
|
-
CGColorSpaceRef __nullable space, CGBitmapInfo bitmapInfo)
|
|
182
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
183
|
-
CG_EXTERN CGImageRef __nullable CGBitmapContextCreateImage(
|
|
184
|
-
CGContextRef cg_nullable context)
|
|
185
|
-
API_AVAILABLE(macos(10.4), ios(2.0));
|
|
186
|
-
CG_EXTERN CGFloat CGColorGetAlpha(CGColorRef cg_nullable color)
|
|
187
|
-
API_AVAILABLE(macos(10.3), ios(2.0));
|
|
188
|
-
CG_EXTERN CFDataRef __nullable CGColorSpaceCopyICCData(CGColorSpaceRef cg_nullable space)
|
|
189
|
-
API_AVAILABLE(macos(10.12), ios(10.0));
|
|
190
|
-
CG_EXTERN CFStringRef __nullable CGColorSpaceCopyName(CGColorSpaceRef cg_nullable space)
|
|
191
|
-
API_AVAILABLE(macos(10.6), ios(10.0));
|
|
192
|
-
CG_EXTERN CGColorSpaceRef __nullable CGColorSpaceCreateWithICCData(CFTypeRef cg_nullable data)
|
|
193
|
-
API_AVAILABLE(macos(10.12), ios(10.0));
|
|
194
|
-
CG_EXTERN CGColorSpaceRef __nullable CGColorSpaceCreateWithICCProfile(CFDataRef cg_nullable data)
|
|
195
|
-
API_DEPRECATED("No longer supported", macos(10.5,10.13), ios(2.0,11.0));
|
|
196
|
-
CG_EXTERN CGColorSpaceRef __nullable CGColorSpaceCreateWithName(CFStringRef cg_nullable name)
|
|
197
|
-
API_AVAILABLE(macos(10.2), ios(2.0));
|
|
198
|
-
CG_EXTERN CGColorSpaceModel CGColorSpaceGetModel(CGColorSpaceRef cg_nullable space)
|
|
199
|
-
API_AVAILABLE(macos(10.5), ios(2.0));
|
|
200
|
-
CG_EXTERN void CGColorSpaceRelease(CGColorSpaceRef cg_nullable CF_RELEASES_ARGUMENT space)
|
|
201
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
202
|
-
CG_EXTERN CGColorSpaceRef cg_nullable CGColorSpaceRetain(CGColorSpaceRef cg_nullable space)
|
|
203
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
204
|
-
CG_EXTERN bool CGColorSpaceUsesITUR_2100TF(CGColorSpaceRef)
|
|
205
|
-
API_AVAILABLE(macos(11.0), ios(14.0));
|
|
206
|
-
CG_EXTERN void CGContextAddRect(CGContextRef cg_nullable c, CGRect rect)
|
|
207
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
208
|
-
CG_EXTERN void CGContextClearRect(CGContextRef cg_nullable c, CGRect rect)
|
|
209
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
210
|
-
CG_EXTERN void CGContextFillRect(CGContextRef cg_nullable c, CGRect rect)
|
|
211
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
212
|
-
CG_EXTERN void CGContextRelease(CGContextRef cg_nullable c)
|
|
213
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
214
|
-
CG_EXTERN void CGContextRestoreGState(CGContextRef cg_nullable c)
|
|
215
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
216
|
-
CG_EXTERN void CGContextSaveGState(CGContextRef cg_nullable c)
|
|
217
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
218
|
-
CG_EXTERN void CGContextSetAllowsAntialiasing(CGContextRef cg_nullable c,
|
|
219
|
-
bool allowsAntialiasing)
|
|
220
|
-
API_AVAILABLE(macos(10.4), ios(2.0));
|
|
221
|
-
CG_EXTERN void CGContextSetBlendMode(CGContextRef cg_nullable c, CGBlendMode mode)
|
|
222
|
-
API_AVAILABLE(macos(10.4), ios(2.0));
|
|
223
|
-
CG_EXTERN void CGContextSetFillColorWithColor(CGContextRef cg_nullable c,
|
|
224
|
-
CGColorRef cg_nullable color)
|
|
225
|
-
API_AVAILABLE(macos(10.3), ios(2.0));
|
|
226
|
-
CG_EXTERN void CGContextSetInterpolationQuality(CGContextRef cg_nullable c,
|
|
227
|
-
CGInterpolationQuality quality)
|
|
228
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
229
|
-
CG_EXTERN void CGContextSetShouldAntialias(CGContextRef cg_nullable c,
|
|
230
|
-
bool shouldAntialias)
|
|
231
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
232
|
-
CG_EXTERN CGDataProviderRef __nullable CGDataProviderCreateWithData(
|
|
233
|
-
void * __nullable info, const void * cg_nullable data, size_t size,
|
|
234
|
-
CGDataProviderReleaseDataCallback cg_nullable releaseData)
|
|
235
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
236
|
-
CG_EXTERN CGImageRef __nullable CGImageCreateWithImageInRect(
|
|
237
|
-
CGImageRef cg_nullable image, CGRect rect)
|
|
238
|
-
API_AVAILABLE(macos(10.4), ios(2.0));
|
|
239
|
-
CG_EXTERN CGRect CGRectStandardize(CGRect rect) __attribute__ ((warn_unused_result))
|
|
240
|
-
API_AVAILABLE(macos(10.0), ios(2.0));
|
|
241
|
-
CG_EXTERN const CFStringRef kCGColorSpaceSRGB
|
|
242
|
-
API_AVAILABLE(macos(10.5), ios(9.0));
|
|
243
|
-
typedef CF_ENUM(uint32_t, CGImagePixelFormatInfo) {
|
|
244
|
-
kCGImagePixelFormatMask CG_SOFT_DEPRECATED_WITH_REPLACEMENT(kCGBitmapPixelFormatInfoMask)
|
|
245
|
-
= 0xF0000,
|
|
26
|
+
#include <CoreGraphics/CGGradient.h>
|
|
27
|
+
#include <CoreGraphics/CGImage.h>
|
|
28
|
+
#include <CoreGraphics/CGLayer.h>
|
|
29
|
+
#include <CoreGraphics/CGPDFArray.h>
|
|
30
|
+
#include <CoreGraphics/CGPDFContentStream.h>
|
|
31
|
+
#include <CoreGraphics/CGPDFMarkedContentItem.h>
|
|
32
|
+
#include <CoreGraphics/CGPDFStructureElement.h>
|
|
33
|
+
#include <CoreGraphics/CGPDFContext.h>
|
|
34
|
+
#include <CoreGraphics/CGPDFDictionary.h>
|
|
35
|
+
#include <CoreGraphics/CGPDFDocument.h>
|
|
36
|
+
#include <CoreGraphics/CGPDFObject.h>
|
|
37
|
+
#include <CoreGraphics/CGPDFOperatorTable.h>
|
|
38
|
+
#include <CoreGraphics/CGPDFPage.h>
|
|
39
|
+
#include <CoreGraphics/CGPDFScanner.h>
|
|
40
|
+
#include <CoreGraphics/CGPDFStream.h>
|
|
41
|
+
#include <CoreGraphics/CGPDFString.h>
|
|
42
|
+
#include <CoreGraphics/CGPath.h>
|
|
43
|
+
#include <CoreGraphics/CGPattern.h>
|
|
44
|
+
#include <CoreGraphics/CGShading.h>
|
|
246
45
|
|
|
247
|
-
kCGImagePixelFormatPacked = (0 << 16),
|
|
248
|
-
kCGImagePixelFormatRGB555 = (1 << 16),
|
|
249
|
-
kCGImagePixelFormatRGB565 = (2 << 16),
|
|
250
|
-
kCGImagePixelFormatRGB101010 = (3 << 16),
|
|
251
|
-
kCGImagePixelFormatRGBCIF10 = (4 << 16)
|
|
252
|
-
} API_AVAILABLE(macos(10.14), ios(12.0));
|
|
253
46
|
|
|
254
|
-
|
|
255
|
-
static const CGBitmapInfo kCGBitmapByteOrder32Host CG_SOFT_DEPRECATED_WITH_REPLACEMENT(kCGImageByteOrder32Host) = (CGBitmapInfo)kCGImageByteOrder32Host;
|
|
47
|
+
#endif /* COREGRAPHICS_H_ */
|