Skip to content

CoreGraphics tvOS xcode16.0 b4

Rolf Bjarne Kvinge edited this page Aug 14, 2024 · 3 revisions

#CoreGraphics.framework https://github.com/xamarin/xamarin-macios/pull/21033

diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h	2024-06-29 00:07:15
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h	2024-07-12 03:06:53
@@ -390,6 +390,16 @@
 CG_EXTERN CGColorSpaceRef __nullable CGColorSpaceGetBaseColorSpace(CGColorSpaceRef cg_nullable space)
   API_AVAILABLE(macos(10.5), ios(2.0));
 
+/* Similar to 'CGColorSpaceGetBaseColorSpace' if `space' is a pattern or indexed
+   color space, in which case the retained base color space is returned.
+   In the case of a color space containing image specific metadata associated with
+   the gain map, a new color space without the metadata will be returned.
+   For all other color spaces this function will return NULL.
+*/
+
+CG_EXTERN CGColorSpaceRef CGColorSpaceCopyBaseColorSpace(CGColorSpaceRef space)
+API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0));
+
 /* Return the number of entries in the color table of `space' if `space' is
    an indexed color space; otherwise, return 0. To determine whether a color
    space is an indexed color space, use `CGColorSpaceGetModel'. */
Clone this wiki locally