API Differences in CoreGraphics in macOS 15.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in CoreGraphics in the macOS 15.0 SDK.

Table of Contents

Functions & Methods

CGContext
public func draw(_ image: CoreGraphics.CGImage, in rect: CoreFoundation.CGRect, by toneMapping: CoreGraphics.CGToneMapping = .default, options: CoreFoundation.CFDictionary?) -> Swift.Bool
extern CGColorSpaceRef _Nonnull CGColorSpaceCopyBaseColorSpace(CGColorSpaceRef _Nonnull space)
extern CGColorConversionInfoRef _Nullable CGColorConversionInfoCreateForToneMapping(CGColorSpaceRef _Nonnull from, float source_headroom, CGColorSpaceRef _Nonnull to, float target_headroom, CGToneMapping method, CFDictionaryRef _Nullable options, CFErrorRef _Nullable * _Nullable error)
extern bool CGColorConversionInfoConvertData(CGColorConversionInfoRef _Nonnull info, size_t width, size_t height, void * _Nonnull dst_data, CGColorBufferFormat dst_format, const void * _Nonnull src_data, CGColorBufferFormat src_format, CFDictionaryRef _Nullable options)
extern bool CGContextSetEDRTargetHeadroom(CGContextRef _Nonnull c, float headroom)
extern float CGContextGetEDRTargetHeadroom(CGContextRef _Nonnull c)
extern bool CGContextDrawImageApplyingToneMapping(CGContextRef _Nonnull c, CGRect r, CGImageRef _Nonnull image, CGToneMapping method, CFDictionaryRef _Nullable options)
extern CGImageRef _Nullable CGImageCreateWithContentHeadroom(float headroom, 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)
extern CGImageRef _Nullable CGImageCreateCopyWithContentHeadroom(float headroom, CGImageRef _Nullable image)
extern float CGImageGetContentHeadroom(CGImageRef _Nullable image)
extern bool CGImageShouldToneMap(CGImageRef _Nullable image)
extern bool CGImageContainsImageSpecificToneMappingMetadata(CGImageRef _Nullable image)

Conformances

CoreFoundation.CGAffineTransform
Swift.Hashable
CoreFoundation.CGPoint
Swift.Hashable
CoreFoundation.CGRect
Swift.Hashable
CoreFoundation.CGSize
Swift.Hashable
CoreFoundation.CGVector
Swift.Hashable

Properties & Constants

extern const CFStringRef _Nonnull kCGUse100nitsHLGOOTF
extern const CFStringRef _Nonnull kCGUseBT1886ForCoreVideoGamma
extern const CFStringRef _Nonnull kCGSkipBoostToHDR
extern const CFStringRef _Nonnull kCGColorSpaceCoreMedia709
extern const CFStringRef _Nonnull kCGEXRToneMappingGammaDefog
extern const CFStringRef _Nonnull kCGEXRToneMappingGammaExposure
extern const CFStringRef _Nonnull kCGEXRToneMappingGammaKneeLow
extern const CFStringRef _Nonnull kCGEXRToneMappingGammaKneeHigh
extern float kCGDefaultHDRImageContentHeadroom