CGContentToneMappingInfo
public static func == (a: CoreGraphics.CGContentToneMappingInfo, b: CoreGraphics.CGContentToneMappingInfo) -> Swift.Bool
CGContentToneMappingInfo
public func hash(into hasher: inout Swift.Hasher)
@_cdecl("CGFloatNearlyEqualToFloat")
internal func CGFloatNearlyEqualToFloat(_ lhs: CoreFoundation.CGFloat, _ rhs: CoreFoundation.CGFloat) -> Swift.Bool
@_cdecl("CGFloatNearlyEqualToFloatWithTolerance")
internal func CGFloatNearlyEqualToFloatWithTolerance(_ lhs: CoreFoundation.CGFloat, _ rhs: CoreFoundation.CGFloat, _ tolerance: CoreFoundation.CGFloat) -> Swift.Bool
@_cdecl("CGPointNearlyEqualToPoint")
internal func CGPointNearlyEqualToPoint(_ lhs: CoreFoundation.CGPoint, _ rhs: CoreFoundation.CGPoint) -> Swift.Bool
@_cdecl("CGPointNearlyEqualToPointWithTolerance")
internal func CGPointNearlyEqualToPointWithTolerance(_ lhs: CoreFoundation.CGPoint, _ rhs: CoreFoundation.CGPoint, _ tolerance: CoreFoundation.CGFloat) -> Swift.Bool
@_cdecl("CGRectNearlyEqualToRect")
internal func CGRectNearlyEqualToRect(_ lhs: CoreFoundation.CGRect, _ rhs: CoreFoundation.CGRect) -> Swift.Bool
@_cdecl("CGRectNearlyEqualToRectWithTolerance")
internal func CGRectNearlyEqualToRectWithTolerance(_ lhs: CoreFoundation.CGRect, _ rhs: CoreFoundation.CGRect, _ tolerance: CoreFoundation.CGFloat) -> Swift.Bool
@_cdecl("CGSizeNearlyEqualToSize")
internal func CGSizeNearlyEqualToSize(_ lhs: CoreFoundation.CGSize, _ rhs: CoreFoundation.CGSize) -> Swift.Bool
@_cdecl("CGSizeNearlyEqualToSizeWithTolerance")
internal func CGSizeNearlyEqualToSizeWithTolerance(_ lhs: CoreFoundation.CGSize, _ rhs: CoreFoundation.CGSize, _ tolerance: CoreFoundation.CGFloat) -> Swift.Bool
@_cdecl("CGVectorNearlyEqualToVector")
internal func CGVectorNearlyEqualToVector(_ lhs: CoreFoundation.CGVector, _ rhs: CoreFoundation.CGVector) -> Swift.Bool
@_cdecl("CGVectorNearlyEqualToVectorWithTolerance")
internal func CGVectorNearlyEqualToVectorWithTolerance(_ lhs: CoreFoundation.CGVector, _ rhs: CoreFoundation.CGVector, _ tolerance: CoreFoundation.CGFloat) -> Swift.Bool
extern CGColorRef _Nullable CGColorCreateWithContentHeadroom(float headroom, CGColorSpaceRef _Nullable space, CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha)
extern float CGColorGetContentHeadroom(CGColorRef _Nullable color)
extern CGShadingRef _Nullable CGShadingCreateAxialWithContentHeadroom(float headroom, CGColorSpaceRef _Nullable space, CGPoint start, CGPoint end, CGFunctionRef _Nullable function, bool extendStart, bool extendEnd)
extern CGShadingRef _Nullable CGShadingCreateRadialWithContentHeadroom(float headroom, CGColorSpaceRef _Nullable space, CGPoint start, CGFloat startRadius, CGPoint end, CGFloat endRadius, CGFunctionRef _Nullable function, bool extendStart, bool extendEnd)
extern float CGShadingGetContentHeadroom(CGShadingRef _Nullable shading)
extern CGContextRef _Nullable CGBitmapContextCreateAdaptive(size_t width, size_t height, CFDictionaryRef _Nullable auxiliaryInfo, bool (^ _Nullable onResolve)(const CGContentInfo * _Nonnull, CGBitmapParameters * _Nonnull), CGRenderingBufferProviderRef _Nullable (^ _Nullable onAllocate)(const CGContentInfo * _Nonnull, const CGBitmapParameters * _Nonnull), void (^ _Nullable onFree)(CGRenderingBufferProviderRef _Nonnull, const CGContentInfo * _Nonnull, const CGBitmapParameters * _Nonnull), void (^ _Nullable onError)(CFErrorRef _Nonnull, const CGContentInfo * _Nonnull, const CGBitmapParameters * _Nonnull))
extern CGGradientRef _Nullable CGGradientCreateWithContentHeadroom(float headroom, CGColorSpaceRef _Nullable space, const CGFloat * _Nullable components, const CGFloat * _Nullable locations, size_t count)
extern float CGGradientGetContentHeadroom(CGGradientRef _Nullable gradient)
extern CFDictionaryRef _Nonnull CGEXRToneMappingGammaGetDefaultOptions(void)
extern CGContentToneMappingInfo CGContextGetContentToneMappingInfo(CGContextRef _Nonnull c)
extern void CGContextSetContentToneMappingInfo(CGContextRef _Nonnull c, CGContentToneMappingInfo info)
extern void CGContextSynchronizeAttributes(CGContextRef _Nonnull c)
extern float CGImageCalculateContentHeadroom(CGImageRef _Nullable image)
extern float CGImageGetContentAverageLightLevel(CGImageRef _Nullable image)
extern float CGImageCalculateContentAverageLightLevel(CGImageRef _Nullable image)
extern CGImageRef _Nullable CGImageCreateCopyWithContentAverageLightLevel(CGImageRef _Nullable image, float avll)
extern CGImageRef _Nullable CGImageCreateCopyWithCalculatedHDRStats(CGImageRef _Nullable image)
extern CGRenderingBufferProviderRef _Nullable CGRenderingBufferProviderCreate(void * _Nullable info, size_t size, void * _Nullable (^ _Nonnull lockPointer)(void * _Nullable), void (^ _Nullable unlockPointer)(void * _Nullable, void * _Nonnull), void (^ _Nullable releaseInfo)(void * _Nullable))
extern CGRenderingBufferProviderRef _Nullable CGRenderingBufferProviderCreateWithCFData(CFMutableDataRef _Nonnull data)
extern size_t CGRenderingBufferProviderGetSize(CGRenderingBufferProviderRef _Nonnull provider)
extern void * _Nullable CGRenderingBufferLockBytePtr(CGRenderingBufferProviderRef _Nonnull provider)
extern void CGRenderingBufferUnlockBytePtr(CGRenderingBufferProviderRef _Nonnull provider)
extern CFTypeID CGRenderingBufferProviderGetTypeID(void)
CGContentToneMappingInfo
public var hashValue: Swift.Int
CGContentToneMappingInfo
public var id: CoreGraphics.CGToneMapping
CGContext
public var contentToneMappingInfo: CoreGraphics.CGContentToneMappingInfo
CGImageAlphaInfo
public static let allCases: [CoreGraphics.CGImageAlphaInfo]
CGImageByteOrderInfo
public static let allCases: [CoreGraphics.CGImageByteOrderInfo]
CGImageComponentInfo
public static let allCases: [CoreGraphics.CGImageComponentInfo]
CGImagePixelFormatInfo
public static let allCases: [CoreGraphics.CGImagePixelFormatInfo]
extern CF_REFINED_FOR_SWIFT CFStringRef kCGPreferredDynamicRange
extern CF_REFINED_FOR_SWIFT CFStringRef kCGDynamicRangeHigh
extern CF_REFINED_FOR_SWIFT CFStringRef kCGDynamicRangeConstrained
extern CF_REFINED_FOR_SWIFT CFStringRef kCGDynamicRangeStandard
extern CF_REFINED_FOR_SWIFT CFStringRef kCGContentAverageLightLevel
extern CF_REFINED_FOR_SWIFT CFStringRef kCGContentAverageLightLevelNits
_CGContextInit
public init?(width: Swift.Int, height: Swift.Int, auxiliaryInfo: CoreGraphics.CGContext.AuxiliaryInfo = CGContext.AuxiliaryInfo(), onResolve: ((CoreGraphics.CGContentInfo, inout CoreGraphics.CGBitmapParameters) -> Swift.Bool)? = nil, onAllocate: ((CoreGraphics.CGContentInfo, CoreGraphics.CGBitmapParameters) -> CoreGraphics.CGRenderingBufferProvider?)? = nil, onRelease: ((CoreGraphics.CGRenderingBufferProvider?, CoreGraphics.CGContentInfo, CoreGraphics.CGBitmapParameters) -> Swift.Void)? = nil, onError: ((Foundation.NSError, CoreGraphics.CGContentInfo, CoreGraphics.CGBitmapParameters) -> Swift.Void)? = nil)
_CGContextInit
public init?(width: Swift.Int, height: Swift.Int, auxiliaryInfo: CoreGraphics.CGContext.AuxiliaryInfo, onResolve: ((CoreGraphics.CGContentInfo, inout CoreGraphics.CGBitmapParameters) -> Swift.Bool)? = nil)
_CGRenderingBufferProviderInit
public init?<T>(info: T, size: Swift.Int) where T : CoreGraphics.CGRenderingBufferProvider.Info