Documentation
¶
Overview ¶
Package colorsync provides a fluent Go API over the macOS ColorSync framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Index ¶
- Constants
- func CGDisplayCreateUUIDFromDisplayID(displayID uint32) corefoundation.CFUUIDRef
- func CGDisplayGetDisplayIDFromUUID(uuid corefoundation.CFUUIDRef) uint32
- func ColorSyncAPIVersion() uint32
- func ColorSyncCMMCopyCMMIdentifier(arg ColorSyncCMMRef) corefoundation.CFStringRef
- func ColorSyncCMMCopyLocalizedName(arg ColorSyncCMMRef) corefoundation.CFStringRef
- func ColorSyncCMMGetBundle(arg ColorSyncCMMRef) corefoundation.CFBundleRef
- func ColorSyncCMMGetTypeID() int
- func ColorSyncCreateCodeFragment(profileSequence corefoundation.CFArrayRef, ...) obj.Object
- func ColorSyncDeviceCopyDeviceInfo(deviceClass corefoundation.CFStringRef, devID corefoundation.CFUUIDRef) corefoundation.CFDictionaryRef
- func ColorSyncDeviceSetCustomProfiles(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef, ...) bool
- func ColorSyncIterateDeviceProfiles(callBack unsafe.Pointer, userInfo unsafe.Pointer)
- func ColorSyncIterateInstalledCMMs(callBack unsafe.Pointer, userInfo unsafe.Pointer)
- func ColorSyncIterateInstalledProfiles(callBack unsafe.Pointer, userInfo unsafe.Pointer, err unsafe.Pointer) (seed uint32)
- func ColorSyncIterateInstalledProfilesWithOptions(callBack unsafe.Pointer, userInfo unsafe.Pointer, ...) (seed uint32)
- func ColorSyncProfileContainsTag(prof ColorSyncProfileRef, signature corefoundation.CFStringRef) bool
- func ColorSyncProfileCopyData(prof ColorSyncProfileRef) (obj.Object, error)
- func ColorSyncProfileCopyDescriptionString(prof ColorSyncProfileRef) corefoundation.CFStringRef
- func ColorSyncProfileCopyHeader(prof ColorSyncProfileRef) corefoundation.CFDataRef
- func ColorSyncProfileCopyTag(prof ColorSyncProfileRef, signature corefoundation.CFStringRef) corefoundation.CFDataRef
- func ColorSyncProfileCopyTagSignatures(prof ColorSyncProfileRef) corefoundation.CFArrayRef
- func ColorSyncProfileCreate(data corefoundation.CFDataRef) (obj.Object, error)
- func ColorSyncProfileCreateDisplayTransferTablesFromVCGT(profile ColorSyncProfileRef) (result corefoundation.CFDataRef, nSamplesPerChannel int)
- func ColorSyncProfileCreateWithURL(url corefoundation.CFURLRef) (obj.Object, error)
- func ColorSyncProfileCreateWithURLAndOptions(url corefoundation.CFURLRef, options corefoundation.CFDictionaryRef) (obj.Object, error)
- func ColorSyncProfileEstimateGamma(prof ColorSyncProfileRef) (obj.Object, error)
- func ColorSyncProfileEstimateGammaWithDisplayID(displayID int) (obj.Object, error)
- func ColorSyncProfileGetDisplayTransferFormulaFromVCGT(profile ColorSyncProfileRef) (ok bool, redMin float32, redMax float32, redGamma float32, greenMin float32, ...)
- func ColorSyncProfileGetTypeID() int
- func ColorSyncProfileGetURL(prof ColorSyncProfileRef) (obj.Object, error)
- func ColorSyncProfileInstall(profile ColorSyncProfileRef, domain corefoundation.CFStringRef, ...) error
- func ColorSyncProfileIsHLGBased(arg ColorSyncProfileRef) bool
- func ColorSyncProfileIsMatrixBased(arg ColorSyncProfileRef) bool
- func ColorSyncProfileIsPQBased(arg ColorSyncProfileRef) bool
- func ColorSyncProfileIsWideGamut(arg ColorSyncProfileRef) bool
- func ColorSyncProfileRemoveTag(prof ColorSyncMutableProfileRef, signature corefoundation.CFStringRef)
- func ColorSyncProfileSetHeader(prof ColorSyncMutableProfileRef, header corefoundation.CFDataRef)
- func ColorSyncProfileSetTag(prof ColorSyncMutableProfileRef, signature corefoundation.CFStringRef, ...)
- func ColorSyncProfileUninstall(profile ColorSyncProfileRef) error
- func ColorSyncProfileVerify(prof ColorSyncProfileRef, errors_ unsafe.Pointer) error
- func ColorSyncRegisterDevice(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef, ...) bool
- func ColorSyncTransformConvert(transform ColorSyncTransformRef, width int, height int, dst unsafe.Pointer, ...) bool
- func ColorSyncTransformCopyProperty(transform ColorSyncTransformRef, key obj.Object, ...) obj.Object
- func ColorSyncTransformGetProfileSequence(transform ColorSyncTransformRef) corefoundation.CFArrayRef
- func ColorSyncTransformGetTypeID() int
- func ColorSyncTransformSetProperty(transform ColorSyncTransformRef, key obj.Object, property obj.Object)
- func ColorSyncUnregisterDevice(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef) bool
- func KCMMApplyTransformProcName() obj.Object
- func KCMMCreateTransformPropertyProcName() obj.Object
- func KCMMInitializeLinkProfileProcName() obj.Object
- func KCMMInitializeTransformProcName() obj.Object
- func KColorSyncACESCGLinearProfile() obj.Object
- func KColorSyncAdobeRGB1998Profile() obj.Object
- func KColorSyncBestQuality() obj.Object
- func KColorSyncBlackPointCompensation() obj.Object
- func KColorSyncCameraDeviceClass() obj.Object
- func KColorSyncConversion1DLut() obj.Object
- func KColorSyncConversion3DLut() obj.Object
- func KColorSyncConversionBPC() obj.Object
- func KColorSyncConversionChannelID() obj.Object
- func KColorSyncConversionGridPoints() obj.Object
- func KColorSyncConversionInpChan() obj.Object
- func KColorSyncConversionMatrix() obj.Object
- func KColorSyncConversionNDLut() obj.Object
- func KColorSyncConversionOutChan() obj.Object
- func KColorSyncConversionParamCurve0() obj.Object
- func KColorSyncConversionParamCurve1() obj.Object
- func KColorSyncConversionParamCurve2() obj.Object
- func KColorSyncConversionParamCurve3() obj.Object
- func KColorSyncConversionParamCurve4() obj.Object
- func KColorSyncConvertQuality() obj.Object
- func KColorSyncConvertUseExtendedRange() obj.Object
- func KColorSyncCustomProfiles() obj.Object
- func KColorSyncDCIP3Profile() obj.Object
- func KColorSyncDeviceClass() obj.Object
- func KColorSyncDeviceDefaultProfileID() obj.Object
- func KColorSyncDeviceDescription() obj.Object
- func KColorSyncDeviceDescriptions() obj.Object
- func KColorSyncDeviceHostScope() obj.Object
- func KColorSyncDeviceID() obj.Object
- func KColorSyncDeviceModeDescription() obj.Object
- func KColorSyncDeviceModeDescriptions() obj.Object
- func KColorSyncDeviceProfileID() obj.Object
- func KColorSyncDeviceProfileIsCurrent() obj.Object
- func KColorSyncDeviceProfileIsDefault() obj.Object
- func KColorSyncDeviceProfileIsFactory() obj.Object
- func KColorSyncDeviceProfileURL() obj.Object
- func KColorSyncDeviceProfilesNotification() obj.Object
- func KColorSyncDeviceRegisteredNotification() obj.Object
- func KColorSyncDeviceUnregisteredNotification() obj.Object
- func KColorSyncDeviceUserScope() obj.Object
- func KColorSyncDisplayDeviceClass() obj.Object
- func KColorSyncDisplayDeviceProfilesNotification() obj.Object
- func KColorSyncDisplayP3Profile() obj.Object
- func KColorSyncDoNotSubstituteProfiles() obj.Object
- func KColorSyncDraftQuality() obj.Object
- func KColorSyncExtendedRange() obj.Object
- func KColorSyncFactoryProfiles() obj.Object
- func KColorSyncFixedPointRange() obj.Object
- func KColorSyncGenericCMYKProfile() obj.Object
- func KColorSyncGenericGrayGamma22Profile() obj.Object
- func KColorSyncGenericGrayProfile() obj.Object
- func KColorSyncGenericLabProfile() obj.Object
- func KColorSyncGenericRGBProfile() obj.Object
- func KColorSyncGenericXYZProfile() obj.Object
- func KColorSyncHDRDerivative() obj.Object
- func KColorSyncHLGDerivative() obj.Object
- func KColorSyncITUR709Profile() obj.Object
- func KColorSyncITUR2020Profile() obj.Object
- func KColorSyncNormalQuality() obj.Object
- func KColorSyncPQDerivative() obj.Object
- func KColorSyncPreferredCMM() obj.Object
- func KColorSyncPrinterDeviceClass() obj.Object
- func KColorSyncProfile() obj.Object
- func KColorSyncProfileCacheSeed() obj.Object
- func KColorSyncProfileClass() obj.Object
- func KColorSyncProfileColorSpace() obj.Object
- func KColorSyncProfileComputerDomain() obj.Object
- func KColorSyncProfileDescription() obj.Object
- func KColorSyncProfileHeader() obj.Object
- func KColorSyncProfileHostScope() obj.Object
- func KColorSyncProfileIsValid() obj.Object
- func KColorSyncProfileMD5Digest() obj.Object
- func KColorSyncProfilePCS() obj.Object
- func KColorSyncProfileRepositoryChangeNotification() obj.Object
- func KColorSyncProfileURL() obj.Object
- func KColorSyncProfileUserDomain() obj.Object
- func KColorSyncProfileUserScope() obj.Object
- func KColorSyncROMMRGBProfile() obj.Object
- func KColorSyncRegistrationUpdateWindowServer() obj.Object
- func KColorSyncRenderingIntent() obj.Object
- func KColorSyncRenderingIntentAbsolute() obj.Object
- func KColorSyncRenderingIntentPerceptual() obj.Object
- func KColorSyncRenderingIntentRelative() obj.Object
- func KColorSyncRenderingIntentSaturation() obj.Object
- func KColorSyncRenderingIntentUseProfileHeader() obj.Object
- func KColorSyncSRGBProfile() obj.Object
- func KColorSyncScannerDeviceClass() obj.Object
- func KColorSyncSigAToB0Tag() obj.Object
- func KColorSyncSigAToB1Tag() obj.Object
- func KColorSyncSigAToB2Tag() obj.Object
- func KColorSyncSigAbstractClass() obj.Object
- func KColorSyncSigBToA0Tag() obj.Object
- func KColorSyncSigBToA1Tag() obj.Object
- func KColorSyncSigBToA2Tag() obj.Object
- func KColorSyncSigBlueColorantTag() obj.Object
- func KColorSyncSigBlueTRCTag() obj.Object
- func KColorSyncSigCmykData() obj.Object
- func KColorSyncSigColorSpaceClass() obj.Object
- func KColorSyncSigCopyrightTag() obj.Object
- func KColorSyncSigDeviceMfgDescTag() obj.Object
- func KColorSyncSigDeviceModelDescTag() obj.Object
- func KColorSyncSigDisplayClass() obj.Object
- func KColorSyncSigGamutTag() obj.Object
- func KColorSyncSigGrayData() obj.Object
- func KColorSyncSigGrayTRCTag() obj.Object
- func KColorSyncSigGreenColorantTag() obj.Object
- func KColorSyncSigGreenTRCTag() obj.Object
- func KColorSyncSigInputClass() obj.Object
- func KColorSyncSigLabData() obj.Object
- func KColorSyncSigLinkClass() obj.Object
- func KColorSyncSigMediaBlackPointTag() obj.Object
- func KColorSyncSigMediaWhitePointTag() obj.Object
- func KColorSyncSigNamedColor2Tag() obj.Object
- func KColorSyncSigNamedColorClass() obj.Object
- func KColorSyncSigOutputClass() obj.Object
- func KColorSyncSigPreview0Tag() obj.Object
- func KColorSyncSigPreview1Tag() obj.Object
- func KColorSyncSigPreview2Tag() obj.Object
- func KColorSyncSigProfileDescriptionTag() obj.Object
- func KColorSyncSigProfileSequenceDescTag() obj.Object
- func KColorSyncSigRedColorantTag() obj.Object
- func KColorSyncSigRedTRCTag() obj.Object
- func KColorSyncSigRgbData() obj.Object
- func KColorSyncSigTechnologyTag() obj.Object
- func KColorSyncSigViewingCondDescTag() obj.Object
- func KColorSyncSigViewingConditionsTag() obj.Object
- func KColorSyncSigXYZData() obj.Object
- func KColorSyncTransformCodeFragmentMD5() obj.Object
- func KColorSyncTransformCodeFragmentType() obj.Object
- func KColorSyncTransformCreator() obj.Object
- func KColorSyncTransformDeviceToDevice() obj.Object
- func KColorSyncTransformDeviceToPCS() obj.Object
- func KColorSyncTransformDstSpace() obj.Object
- func KColorSyncTransformFullConversionData() obj.Object
- func KColorSyncTransformGamutCheck() obj.Object
- func KColorSyncTransformInfo() obj.Object
- func KColorSyncTransformPCSToDevice() obj.Object
- func KColorSyncTransformPCSToPCS() obj.Object
- func KColorSyncTransformParametricConversionData() obj.Object
- func KColorSyncTransformProfileSequnce() obj.Object
- func KColorSyncTransformSimplifiedConversionData() obj.Object
- func KColorSyncTransformSrcSpace() obj.Object
- func KColorSyncTransformTag() obj.Object
- func KColorSyncTransformUseITU709OETF() obj.Object
- func KColorSyncWaitForCacheReply() obj.Object
- func KColorSyncWebSafeColorsProfile() obj.Object
- type Clockid
- type ColorSyncAlphaInfo
- type ColorSyncCMM
- type ColorSyncCMMRef
- type ColorSyncDataDepth
- type ColorSyncMD5
- type ColorSyncMutableProfileRef
- type ColorSyncProfile
- type ColorSyncProfileRef
- func ColorSyncProfileCreateDeviceProfile(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef, ...) ColorSyncProfileRef
- func ColorSyncProfileCreateLink(profileInfo corefoundation.CFArrayRef, options corefoundation.CFDictionaryRef) ColorSyncProfileRef
- func ColorSyncProfileCreateWithDisplayID(displayID uint32) ColorSyncProfileRef
- func ColorSyncProfileCreateWithName(name corefoundation.CFStringRef) ColorSyncProfileRef
- type ColorSyncTransform
- type ColorSyncTransformRef
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type FilesecProperty
- type Flag
- type Idtype
- type MpoFlags
- type OSClockid
- type Perm
- type PtrauthKey
- type QosClass
- type Tag
- type Type
Constants ¶
const ( KColorSyncAlphaInfoMask = 31 KColorSyncByteOrder16Big = 12288 KColorSyncByteOrder16Little = 4096 KColorSyncByteOrder32Big = 16384 KColorSyncByteOrder32Little = 8192 KColorSyncByteOrderDefault = 0 KColorSyncByteOrderMask = 28672 )
Variables ¶
This section is empty.
Functions ¶
func CGDisplayCreateUUIDFromDisplayID ¶
func CGDisplayCreateUUIDFromDisplayID(displayID uint32) corefoundation.CFUUIDRef
CGDisplayCreateUUIDFromDisplayID calls the ColorSync framework function CGDisplayCreateUUIDFromDisplayID.
func CGDisplayGetDisplayIDFromUUID ¶
func CGDisplayGetDisplayIDFromUUID(uuid corefoundation.CFUUIDRef) uint32
CGDisplayGetDisplayIDFromUUID calls the ColorSync framework function CGDisplayGetDisplayIDFromUUID.
func ColorSyncAPIVersion ¶
func ColorSyncAPIVersion() uint32
ColorSyncAPIVersion calls the ColorSync framework function ColorSyncAPIVersion.
func ColorSyncCMMCopyCMMIdentifier ¶
func ColorSyncCMMCopyCMMIdentifier(arg ColorSyncCMMRef) corefoundation.CFStringRef
ColorSyncCMMCopyCMMIdentifier calls the ColorSync framework function ColorSyncCMMCopyCMMIdentifier.
func ColorSyncCMMCopyLocalizedName ¶
func ColorSyncCMMCopyLocalizedName(arg ColorSyncCMMRef) corefoundation.CFStringRef
ColorSyncCMMCopyLocalizedName calls the ColorSync framework function ColorSyncCMMCopyLocalizedName.
func ColorSyncCMMGetBundle ¶
func ColorSyncCMMGetBundle(arg ColorSyncCMMRef) corefoundation.CFBundleRef
ColorSyncCMMGetBundle calls the ColorSync framework function ColorSyncCMMGetBundle.
func ColorSyncCMMGetTypeID ¶
func ColorSyncCMMGetTypeID() int
ColorSyncCMMGetTypeID calls the ColorSync framework function ColorSyncCMMGetTypeID.
func ColorSyncCreateCodeFragment ¶
func ColorSyncCreateCodeFragment(profileSequence corefoundation.CFArrayRef, options corefoundation.CFDictionaryRef) obj.Object
ColorSyncCreateCodeFragment calls the ColorSync framework function ColorSyncCreateCodeFragment.
func ColorSyncDeviceCopyDeviceInfo ¶
func ColorSyncDeviceCopyDeviceInfo(deviceClass corefoundation.CFStringRef, devID corefoundation.CFUUIDRef) corefoundation.CFDictionaryRef
ColorSyncDeviceCopyDeviceInfo calls the ColorSync framework function ColorSyncDeviceCopyDeviceInfo.
func ColorSyncDeviceSetCustomProfiles ¶
func ColorSyncDeviceSetCustomProfiles(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef, profileInfo corefoundation.CFDictionaryRef) bool
ColorSyncDeviceSetCustomProfiles calls the ColorSync framework function ColorSyncDeviceSetCustomProfiles.
func ColorSyncIterateDeviceProfiles ¶
ColorSyncIterateDeviceProfiles calls the ColorSync framework function ColorSyncIterateDeviceProfiles.
func ColorSyncIterateInstalledCMMs ¶
ColorSyncIterateInstalledCMMs calls the ColorSync framework function ColorSyncIterateInstalledCMMs.
func ColorSyncIterateInstalledProfiles ¶
func ColorSyncIterateInstalledProfiles(callBack unsafe.Pointer, userInfo unsafe.Pointer, err unsafe.Pointer) (seed uint32)
ColorSyncIterateInstalledProfiles calls the ColorSync framework function ColorSyncIterateInstalledProfiles.
func ColorSyncIterateInstalledProfilesWithOptions ¶
func ColorSyncIterateInstalledProfilesWithOptions(callBack unsafe.Pointer, userInfo unsafe.Pointer, options corefoundation.CFDictionaryRef, err unsafe.Pointer) (seed uint32)
ColorSyncIterateInstalledProfilesWithOptions calls the ColorSync framework function ColorSyncIterateInstalledProfilesWithOptions.
func ColorSyncProfileContainsTag ¶
func ColorSyncProfileContainsTag(prof ColorSyncProfileRef, signature corefoundation.CFStringRef) bool
ColorSyncProfileContainsTag calls the ColorSync framework function ColorSyncProfileContainsTag.
func ColorSyncProfileCopyData ¶
func ColorSyncProfileCopyData(prof ColorSyncProfileRef) (obj.Object, error)
func ColorSyncProfileCopyDescriptionString ¶
func ColorSyncProfileCopyDescriptionString(prof ColorSyncProfileRef) corefoundation.CFStringRef
ColorSyncProfileCopyDescriptionString calls the ColorSync framework function ColorSyncProfileCopyDescriptionString.
func ColorSyncProfileCopyHeader ¶
func ColorSyncProfileCopyHeader(prof ColorSyncProfileRef) corefoundation.CFDataRef
ColorSyncProfileCopyHeader calls the ColorSync framework function ColorSyncProfileCopyHeader.
func ColorSyncProfileCopyTag ¶
func ColorSyncProfileCopyTag(prof ColorSyncProfileRef, signature corefoundation.CFStringRef) corefoundation.CFDataRef
ColorSyncProfileCopyTag calls the ColorSync framework function ColorSyncProfileCopyTag.
func ColorSyncProfileCopyTagSignatures ¶
func ColorSyncProfileCopyTagSignatures(prof ColorSyncProfileRef) corefoundation.CFArrayRef
ColorSyncProfileCopyTagSignatures calls the ColorSync framework function ColorSyncProfileCopyTagSignatures.
func ColorSyncProfileCreate ¶
func ColorSyncProfileCreate(data corefoundation.CFDataRef) (obj.Object, error)
func ColorSyncProfileCreateDisplayTransferTablesFromVCGT ¶
func ColorSyncProfileCreateDisplayTransferTablesFromVCGT(profile ColorSyncProfileRef) (result corefoundation.CFDataRef, nSamplesPerChannel int)
ColorSyncProfileCreateDisplayTransferTablesFromVCGT calls the ColorSync framework function ColorSyncProfileCreateDisplayTransferTablesFromVCGT.
func ColorSyncProfileCreateWithURL ¶
func ColorSyncProfileCreateWithURL(url corefoundation.CFURLRef) (obj.Object, error)
func ColorSyncProfileCreateWithURLAndOptions ¶
func ColorSyncProfileCreateWithURLAndOptions(url corefoundation.CFURLRef, options corefoundation.CFDictionaryRef) (obj.Object, error)
func ColorSyncProfileEstimateGamma ¶
func ColorSyncProfileEstimateGamma(prof ColorSyncProfileRef) (obj.Object, error)
func ColorSyncProfileGetDisplayTransferFormulaFromVCGT ¶
func ColorSyncProfileGetDisplayTransferFormulaFromVCGT(profile ColorSyncProfileRef) (ok bool, redMin float32, redMax float32, redGamma float32, greenMin float32, greenMax float32, greenGamma float32, blueMin float32, blueMax float32, blueGamma float32)
ColorSyncProfileGetDisplayTransferFormulaFromVCGT calls the ColorSync framework function ColorSyncProfileGetDisplayTransferFormulaFromVCGT.
func ColorSyncProfileGetTypeID ¶
func ColorSyncProfileGetTypeID() int
ColorSyncProfileGetTypeID calls the ColorSync framework function ColorSyncProfileGetTypeID.
func ColorSyncProfileGetURL ¶
func ColorSyncProfileGetURL(prof ColorSyncProfileRef) (obj.Object, error)
func ColorSyncProfileInstall ¶
func ColorSyncProfileInstall(profile ColorSyncProfileRef, domain corefoundation.CFStringRef, subpath corefoundation.CFStringRef) error
func ColorSyncProfileIsHLGBased ¶
func ColorSyncProfileIsHLGBased(arg ColorSyncProfileRef) bool
ColorSyncProfileIsHLGBased calls the ColorSync framework function ColorSyncProfileIsHLGBased.
func ColorSyncProfileIsMatrixBased ¶
func ColorSyncProfileIsMatrixBased(arg ColorSyncProfileRef) bool
ColorSyncProfileIsMatrixBased calls the ColorSync framework function ColorSyncProfileIsMatrixBased.
func ColorSyncProfileIsPQBased ¶
func ColorSyncProfileIsPQBased(arg ColorSyncProfileRef) bool
ColorSyncProfileIsPQBased calls the ColorSync framework function ColorSyncProfileIsPQBased.
func ColorSyncProfileIsWideGamut ¶
func ColorSyncProfileIsWideGamut(arg ColorSyncProfileRef) bool
ColorSyncProfileIsWideGamut calls the ColorSync framework function ColorSyncProfileIsWideGamut.
func ColorSyncProfileRemoveTag ¶
func ColorSyncProfileRemoveTag(prof ColorSyncMutableProfileRef, signature corefoundation.CFStringRef)
ColorSyncProfileRemoveTag calls the ColorSync framework function ColorSyncProfileRemoveTag.
func ColorSyncProfileSetHeader ¶
func ColorSyncProfileSetHeader(prof ColorSyncMutableProfileRef, header corefoundation.CFDataRef)
ColorSyncProfileSetHeader calls the ColorSync framework function ColorSyncProfileSetHeader.
func ColorSyncProfileSetTag ¶
func ColorSyncProfileSetTag(prof ColorSyncMutableProfileRef, signature corefoundation.CFStringRef, data corefoundation.CFDataRef)
ColorSyncProfileSetTag calls the ColorSync framework function ColorSyncProfileSetTag.
func ColorSyncProfileUninstall ¶
func ColorSyncProfileUninstall(profile ColorSyncProfileRef) error
func ColorSyncProfileVerify ¶
func ColorSyncProfileVerify(prof ColorSyncProfileRef, errors_ unsafe.Pointer) error
func ColorSyncRegisterDevice ¶
func ColorSyncRegisterDevice(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef, deviceInfo corefoundation.CFDictionaryRef) bool
ColorSyncRegisterDevice calls the ColorSync framework function ColorSyncRegisterDevice.
func ColorSyncTransformConvert ¶
func ColorSyncTransformConvert(transform ColorSyncTransformRef, width int, height int, dst unsafe.Pointer, dstDepth ColorSyncDataDepth, dstLayout uint32, dstBytesPerRow int, src unsafe.Pointer, srcDepth ColorSyncDataDepth, srcLayout uint32, srcBytesPerRow int, options corefoundation.CFDictionaryRef) bool
ColorSyncTransformConvert calls the ColorSync framework function ColorSyncTransformConvert.
func ColorSyncTransformCopyProperty ¶
func ColorSyncTransformCopyProperty(transform ColorSyncTransformRef, key obj.Object, options corefoundation.CFDictionaryRef) obj.Object
ColorSyncTransformCopyProperty calls the ColorSync framework function ColorSyncTransformCopyProperty.
func ColorSyncTransformGetProfileSequence ¶
func ColorSyncTransformGetProfileSequence(transform ColorSyncTransformRef) corefoundation.CFArrayRef
ColorSyncTransformGetProfileSequence calls the ColorSync framework function ColorSyncTransformGetProfileSequence.
func ColorSyncTransformGetTypeID ¶
func ColorSyncTransformGetTypeID() int
ColorSyncTransformGetTypeID calls the ColorSync framework function ColorSyncTransformGetTypeID.
func ColorSyncTransformSetProperty ¶
func ColorSyncTransformSetProperty(transform ColorSyncTransformRef, key obj.Object, property obj.Object)
ColorSyncTransformSetProperty calls the ColorSync framework function ColorSyncTransformSetProperty.
func ColorSyncUnregisterDevice ¶
func ColorSyncUnregisterDevice(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef) bool
ColorSyncUnregisterDevice calls the ColorSync framework function ColorSyncUnregisterDevice.
func KCMMApplyTransformProcName ¶
KCMMApplyTransformProcName returns the value of the constant kCMMApplyTransformProcName.
func KCMMCreateTransformPropertyProcName ¶
KCMMCreateTransformPropertyProcName returns the value of the constant kCMMCreateTransformPropertyProcName.
func KCMMInitializeLinkProfileProcName ¶
KCMMInitializeLinkProfileProcName returns the value of the constant kCMMInitializeLinkProfileProcName.
func KCMMInitializeTransformProcName ¶
KCMMInitializeTransformProcName returns the value of the constant kCMMInitializeTransformProcName.
func KColorSyncACESCGLinearProfile ¶
KColorSyncACESCGLinearProfile returns the value of the constant kColorSyncACESCGLinearProfile.
func KColorSyncAdobeRGB1998Profile ¶
KColorSyncAdobeRGB1998Profile returns the value of the constant kColorSyncAdobeRGB1998Profile.
func KColorSyncBestQuality ¶
KColorSyncBestQuality returns the value of the constant kColorSyncBestQuality.
func KColorSyncBlackPointCompensation ¶
KColorSyncBlackPointCompensation returns the value of the constant kColorSyncBlackPointCompensation.
func KColorSyncCameraDeviceClass ¶
KColorSyncCameraDeviceClass returns the value of the constant kColorSyncCameraDeviceClass.
func KColorSyncConversion1DLut ¶
KColorSyncConversion1DLut returns the value of the constant kColorSyncConversion1DLut.
func KColorSyncConversion3DLut ¶
KColorSyncConversion3DLut returns the value of the constant kColorSyncConversion3DLut.
func KColorSyncConversionBPC ¶
KColorSyncConversionBPC returns the value of the constant kColorSyncConversionBPC.
func KColorSyncConversionChannelID ¶
KColorSyncConversionChannelID returns the value of the constant kColorSyncConversionChannelID.
func KColorSyncConversionGridPoints ¶
KColorSyncConversionGridPoints returns the value of the constant kColorSyncConversionGridPoints.
func KColorSyncConversionInpChan ¶
KColorSyncConversionInpChan returns the value of the constant kColorSyncConversionInpChan.
func KColorSyncConversionMatrix ¶
KColorSyncConversionMatrix returns the value of the constant kColorSyncConversionMatrix.
func KColorSyncConversionNDLut ¶
KColorSyncConversionNDLut returns the value of the constant kColorSyncConversionNDLut.
func KColorSyncConversionOutChan ¶
KColorSyncConversionOutChan returns the value of the constant kColorSyncConversionOutChan.
func KColorSyncConversionParamCurve0 ¶
KColorSyncConversionParamCurve0 returns the value of the constant kColorSyncConversionParamCurve0.
func KColorSyncConversionParamCurve1 ¶
KColorSyncConversionParamCurve1 returns the value of the constant kColorSyncConversionParamCurve1.
func KColorSyncConversionParamCurve2 ¶
KColorSyncConversionParamCurve2 returns the value of the constant kColorSyncConversionParamCurve2.
func KColorSyncConversionParamCurve3 ¶
KColorSyncConversionParamCurve3 returns the value of the constant kColorSyncConversionParamCurve3.
func KColorSyncConversionParamCurve4 ¶
KColorSyncConversionParamCurve4 returns the value of the constant kColorSyncConversionParamCurve4.
func KColorSyncConvertQuality ¶
KColorSyncConvertQuality returns the value of the constant kColorSyncConvertQuality.
func KColorSyncConvertUseExtendedRange ¶
KColorSyncConvertUseExtendedRange returns the value of the constant kColorSyncConvertUseExtendedRange.
func KColorSyncCustomProfiles ¶
KColorSyncCustomProfiles returns the value of the constant kColorSyncCustomProfiles.
func KColorSyncDCIP3Profile ¶
KColorSyncDCIP3Profile returns the value of the constant kColorSyncDCIP3Profile.
func KColorSyncDeviceClass ¶
KColorSyncDeviceClass returns the value of the constant kColorSyncDeviceClass.
func KColorSyncDeviceDefaultProfileID ¶
KColorSyncDeviceDefaultProfileID returns the value of the constant kColorSyncDeviceDefaultProfileID.
func KColorSyncDeviceDescription ¶
KColorSyncDeviceDescription returns the value of the constant kColorSyncDeviceDescription.
func KColorSyncDeviceDescriptions ¶
KColorSyncDeviceDescriptions returns the value of the constant kColorSyncDeviceDescriptions.
func KColorSyncDeviceHostScope ¶
KColorSyncDeviceHostScope returns the value of the constant kColorSyncDeviceHostScope.
func KColorSyncDeviceID ¶
KColorSyncDeviceID returns the value of the constant kColorSyncDeviceID.
func KColorSyncDeviceModeDescription ¶
KColorSyncDeviceModeDescription returns the value of the constant kColorSyncDeviceModeDescription.
func KColorSyncDeviceModeDescriptions ¶
KColorSyncDeviceModeDescriptions returns the value of the constant kColorSyncDeviceModeDescriptions.
func KColorSyncDeviceProfileID ¶
KColorSyncDeviceProfileID returns the value of the constant kColorSyncDeviceProfileID.
func KColorSyncDeviceProfileIsCurrent ¶
KColorSyncDeviceProfileIsCurrent returns the value of the constant kColorSyncDeviceProfileIsCurrent.
func KColorSyncDeviceProfileIsDefault ¶
KColorSyncDeviceProfileIsDefault returns the value of the constant kColorSyncDeviceProfileIsDefault.
func KColorSyncDeviceProfileIsFactory ¶
KColorSyncDeviceProfileIsFactory returns the value of the constant kColorSyncDeviceProfileIsFactory.
func KColorSyncDeviceProfileURL ¶
KColorSyncDeviceProfileURL returns the value of the constant kColorSyncDeviceProfileURL.
func KColorSyncDeviceProfilesNotification ¶
KColorSyncDeviceProfilesNotification returns the value of the constant kColorSyncDeviceProfilesNotification.
func KColorSyncDeviceRegisteredNotification ¶
KColorSyncDeviceRegisteredNotification returns the value of the constant kColorSyncDeviceRegisteredNotification.
func KColorSyncDeviceUnregisteredNotification ¶
KColorSyncDeviceUnregisteredNotification returns the value of the constant kColorSyncDeviceUnregisteredNotification.
func KColorSyncDeviceUserScope ¶
KColorSyncDeviceUserScope returns the value of the constant kColorSyncDeviceUserScope.
func KColorSyncDisplayDeviceClass ¶
KColorSyncDisplayDeviceClass returns the value of the constant kColorSyncDisplayDeviceClass.
func KColorSyncDisplayDeviceProfilesNotification ¶
KColorSyncDisplayDeviceProfilesNotification returns the value of the constant kColorSyncDisplayDeviceProfilesNotification.
func KColorSyncDisplayP3Profile ¶
KColorSyncDisplayP3Profile returns the value of the constant kColorSyncDisplayP3Profile.
func KColorSyncDoNotSubstituteProfiles ¶
KColorSyncDoNotSubstituteProfiles returns the value of the constant kColorSyncDoNotSubstituteProfiles.
func KColorSyncDraftQuality ¶
KColorSyncDraftQuality returns the value of the constant kColorSyncDraftQuality.
func KColorSyncExtendedRange ¶
KColorSyncExtendedRange returns the value of the constant kColorSyncExtendedRange.
func KColorSyncFactoryProfiles ¶
KColorSyncFactoryProfiles returns the value of the constant kColorSyncFactoryProfiles.
func KColorSyncFixedPointRange ¶
KColorSyncFixedPointRange returns the value of the constant kColorSyncFixedPointRange.
func KColorSyncGenericCMYKProfile ¶
KColorSyncGenericCMYKProfile returns the value of the constant kColorSyncGenericCMYKProfile.
func KColorSyncGenericGrayGamma22Profile ¶
KColorSyncGenericGrayGamma22Profile returns the value of the constant kColorSyncGenericGrayGamma22Profile.
func KColorSyncGenericGrayProfile ¶
KColorSyncGenericGrayProfile returns the value of the constant kColorSyncGenericGrayProfile.
func KColorSyncGenericLabProfile ¶
KColorSyncGenericLabProfile returns the value of the constant kColorSyncGenericLabProfile.
func KColorSyncGenericRGBProfile ¶
KColorSyncGenericRGBProfile returns the value of the constant kColorSyncGenericRGBProfile.
func KColorSyncGenericXYZProfile ¶
KColorSyncGenericXYZProfile returns the value of the constant kColorSyncGenericXYZProfile.
func KColorSyncHDRDerivative ¶
KColorSyncHDRDerivative returns the value of the constant kColorSyncHDRDerivative.
func KColorSyncHLGDerivative ¶
KColorSyncHLGDerivative returns the value of the constant kColorSyncHLGDerivative.
func KColorSyncITUR709Profile ¶
KColorSyncITUR709Profile returns the value of the constant kColorSyncITUR709Profile.
func KColorSyncITUR2020Profile ¶
KColorSyncITUR2020Profile returns the value of the constant kColorSyncITUR2020Profile.
func KColorSyncNormalQuality ¶
KColorSyncNormalQuality returns the value of the constant kColorSyncNormalQuality.
func KColorSyncPQDerivative ¶
KColorSyncPQDerivative returns the value of the constant kColorSyncPQDerivative.
func KColorSyncPreferredCMM ¶
KColorSyncPreferredCMM returns the value of the constant kColorSyncPreferredCMM.
func KColorSyncPrinterDeviceClass ¶
KColorSyncPrinterDeviceClass returns the value of the constant kColorSyncPrinterDeviceClass.
func KColorSyncProfile ¶
KColorSyncProfile returns the value of the constant kColorSyncProfile.
func KColorSyncProfileCacheSeed ¶
KColorSyncProfileCacheSeed returns the value of the constant kColorSyncProfileCacheSeed.
func KColorSyncProfileClass ¶
KColorSyncProfileClass returns the value of the constant kColorSyncProfileClass.
func KColorSyncProfileColorSpace ¶
KColorSyncProfileColorSpace returns the value of the constant kColorSyncProfileColorSpace.
func KColorSyncProfileComputerDomain ¶
KColorSyncProfileComputerDomain returns the value of the constant kColorSyncProfileComputerDomain.
func KColorSyncProfileDescription ¶
KColorSyncProfileDescription returns the value of the constant kColorSyncProfileDescription.
func KColorSyncProfileHeader ¶
KColorSyncProfileHeader returns the value of the constant kColorSyncProfileHeader.
func KColorSyncProfileHostScope ¶
KColorSyncProfileHostScope returns the value of the constant kColorSyncProfileHostScope.
func KColorSyncProfileIsValid ¶
KColorSyncProfileIsValid returns the value of the constant kColorSyncProfileIsValid.
func KColorSyncProfileMD5Digest ¶
KColorSyncProfileMD5Digest returns the value of the constant kColorSyncProfileMD5Digest.
func KColorSyncProfilePCS ¶
KColorSyncProfilePCS returns the value of the constant kColorSyncProfilePCS.
func KColorSyncProfileRepositoryChangeNotification ¶
KColorSyncProfileRepositoryChangeNotification returns the value of the constant kColorSyncProfileRepositoryChangeNotification.
func KColorSyncProfileURL ¶
KColorSyncProfileURL returns the value of the constant kColorSyncProfileURL.
func KColorSyncProfileUserDomain ¶
KColorSyncProfileUserDomain returns the value of the constant kColorSyncProfileUserDomain.
func KColorSyncProfileUserScope ¶
KColorSyncProfileUserScope returns the value of the constant kColorSyncProfileUserScope.
func KColorSyncROMMRGBProfile ¶
KColorSyncROMMRGBProfile returns the value of the constant kColorSyncROMMRGBProfile.
func KColorSyncRegistrationUpdateWindowServer ¶
KColorSyncRegistrationUpdateWindowServer returns the value of the constant kColorSyncRegistrationUpdateWindowServer.
func KColorSyncRenderingIntent ¶
KColorSyncRenderingIntent returns the value of the constant kColorSyncRenderingIntent.
func KColorSyncRenderingIntentAbsolute ¶
KColorSyncRenderingIntentAbsolute returns the value of the constant kColorSyncRenderingIntentAbsolute.
func KColorSyncRenderingIntentPerceptual ¶
KColorSyncRenderingIntentPerceptual returns the value of the constant kColorSyncRenderingIntentPerceptual.
func KColorSyncRenderingIntentRelative ¶
KColorSyncRenderingIntentRelative returns the value of the constant kColorSyncRenderingIntentRelative.
func KColorSyncRenderingIntentSaturation ¶
KColorSyncRenderingIntentSaturation returns the value of the constant kColorSyncRenderingIntentSaturation.
func KColorSyncRenderingIntentUseProfileHeader ¶
KColorSyncRenderingIntentUseProfileHeader returns the value of the constant kColorSyncRenderingIntentUseProfileHeader.
func KColorSyncSRGBProfile ¶
KColorSyncSRGBProfile returns the value of the constant kColorSyncSRGBProfile.
func KColorSyncScannerDeviceClass ¶
KColorSyncScannerDeviceClass returns the value of the constant kColorSyncScannerDeviceClass.
func KColorSyncSigAToB0Tag ¶
KColorSyncSigAToB0Tag returns the value of the constant kColorSyncSigAToB0Tag.
func KColorSyncSigAToB1Tag ¶
KColorSyncSigAToB1Tag returns the value of the constant kColorSyncSigAToB1Tag.
func KColorSyncSigAToB2Tag ¶
KColorSyncSigAToB2Tag returns the value of the constant kColorSyncSigAToB2Tag.
func KColorSyncSigAbstractClass ¶
KColorSyncSigAbstractClass returns the value of the constant kColorSyncSigAbstractClass.
func KColorSyncSigBToA0Tag ¶
KColorSyncSigBToA0Tag returns the value of the constant kColorSyncSigBToA0Tag.
func KColorSyncSigBToA1Tag ¶
KColorSyncSigBToA1Tag returns the value of the constant kColorSyncSigBToA1Tag.
func KColorSyncSigBToA2Tag ¶
KColorSyncSigBToA2Tag returns the value of the constant kColorSyncSigBToA2Tag.
func KColorSyncSigBlueColorantTag ¶
KColorSyncSigBlueColorantTag returns the value of the constant kColorSyncSigBlueColorantTag.
func KColorSyncSigBlueTRCTag ¶
KColorSyncSigBlueTRCTag returns the value of the constant kColorSyncSigBlueTRCTag.
func KColorSyncSigCmykData ¶
KColorSyncSigCmykData returns the value of the constant kColorSyncSigCmykData.
func KColorSyncSigColorSpaceClass ¶
KColorSyncSigColorSpaceClass returns the value of the constant kColorSyncSigColorSpaceClass.
func KColorSyncSigCopyrightTag ¶
KColorSyncSigCopyrightTag returns the value of the constant kColorSyncSigCopyrightTag.
func KColorSyncSigDeviceMfgDescTag ¶
KColorSyncSigDeviceMfgDescTag returns the value of the constant kColorSyncSigDeviceMfgDescTag.
func KColorSyncSigDeviceModelDescTag ¶
KColorSyncSigDeviceModelDescTag returns the value of the constant kColorSyncSigDeviceModelDescTag.
func KColorSyncSigDisplayClass ¶
KColorSyncSigDisplayClass returns the value of the constant kColorSyncSigDisplayClass.
func KColorSyncSigGamutTag ¶
KColorSyncSigGamutTag returns the value of the constant kColorSyncSigGamutTag.
func KColorSyncSigGrayData ¶
KColorSyncSigGrayData returns the value of the constant kColorSyncSigGrayData.
func KColorSyncSigGrayTRCTag ¶
KColorSyncSigGrayTRCTag returns the value of the constant kColorSyncSigGrayTRCTag.
func KColorSyncSigGreenColorantTag ¶
KColorSyncSigGreenColorantTag returns the value of the constant kColorSyncSigGreenColorantTag.
func KColorSyncSigGreenTRCTag ¶
KColorSyncSigGreenTRCTag returns the value of the constant kColorSyncSigGreenTRCTag.
func KColorSyncSigInputClass ¶
KColorSyncSigInputClass returns the value of the constant kColorSyncSigInputClass.
func KColorSyncSigLabData ¶
KColorSyncSigLabData returns the value of the constant kColorSyncSigLabData.
func KColorSyncSigLinkClass ¶
KColorSyncSigLinkClass returns the value of the constant kColorSyncSigLinkClass.
func KColorSyncSigMediaBlackPointTag ¶
KColorSyncSigMediaBlackPointTag returns the value of the constant kColorSyncSigMediaBlackPointTag.
func KColorSyncSigMediaWhitePointTag ¶
KColorSyncSigMediaWhitePointTag returns the value of the constant kColorSyncSigMediaWhitePointTag.
func KColorSyncSigNamedColor2Tag ¶
KColorSyncSigNamedColor2Tag returns the value of the constant kColorSyncSigNamedColor2Tag.
func KColorSyncSigNamedColorClass ¶
KColorSyncSigNamedColorClass returns the value of the constant kColorSyncSigNamedColorClass.
func KColorSyncSigOutputClass ¶
KColorSyncSigOutputClass returns the value of the constant kColorSyncSigOutputClass.
func KColorSyncSigPreview0Tag ¶
KColorSyncSigPreview0Tag returns the value of the constant kColorSyncSigPreview0Tag.
func KColorSyncSigPreview1Tag ¶
KColorSyncSigPreview1Tag returns the value of the constant kColorSyncSigPreview1Tag.
func KColorSyncSigPreview2Tag ¶
KColorSyncSigPreview2Tag returns the value of the constant kColorSyncSigPreview2Tag.
func KColorSyncSigProfileDescriptionTag ¶
KColorSyncSigProfileDescriptionTag returns the value of the constant kColorSyncSigProfileDescriptionTag.
func KColorSyncSigProfileSequenceDescTag ¶
KColorSyncSigProfileSequenceDescTag returns the value of the constant kColorSyncSigProfileSequenceDescTag.
func KColorSyncSigRedColorantTag ¶
KColorSyncSigRedColorantTag returns the value of the constant kColorSyncSigRedColorantTag.
func KColorSyncSigRedTRCTag ¶
KColorSyncSigRedTRCTag returns the value of the constant kColorSyncSigRedTRCTag.
func KColorSyncSigRgbData ¶
KColorSyncSigRgbData returns the value of the constant kColorSyncSigRgbData.
func KColorSyncSigTechnologyTag ¶
KColorSyncSigTechnologyTag returns the value of the constant kColorSyncSigTechnologyTag.
func KColorSyncSigViewingCondDescTag ¶
KColorSyncSigViewingCondDescTag returns the value of the constant kColorSyncSigViewingCondDescTag.
func KColorSyncSigViewingConditionsTag ¶
KColorSyncSigViewingConditionsTag returns the value of the constant kColorSyncSigViewingConditionsTag.
func KColorSyncSigXYZData ¶
KColorSyncSigXYZData returns the value of the constant kColorSyncSigXYZData.
func KColorSyncTransformCodeFragmentMD5 ¶
KColorSyncTransformCodeFragmentMD5 returns the value of the constant kColorSyncTransformCodeFragmentMD5.
func KColorSyncTransformCodeFragmentType ¶
KColorSyncTransformCodeFragmentType returns the value of the constant kColorSyncTransformCodeFragmentType.
func KColorSyncTransformCreator ¶
KColorSyncTransformCreator returns the value of the constant kColorSyncTransformCreator.
func KColorSyncTransformDeviceToDevice ¶
KColorSyncTransformDeviceToDevice returns the value of the constant kColorSyncTransformDeviceToDevice.
func KColorSyncTransformDeviceToPCS ¶
KColorSyncTransformDeviceToPCS returns the value of the constant kColorSyncTransformDeviceToPCS.
func KColorSyncTransformDstSpace ¶
KColorSyncTransformDstSpace returns the value of the constant kColorSyncTransformDstSpace.
func KColorSyncTransformFullConversionData ¶
KColorSyncTransformFullConversionData returns the value of the constant kColorSyncTransformFullConversionData.
func KColorSyncTransformGamutCheck ¶
KColorSyncTransformGamutCheck returns the value of the constant kColorSyncTransformGamutCheck.
func KColorSyncTransformInfo ¶
KColorSyncTransformInfo returns the value of the constant kColorSyncTransformInfo.
func KColorSyncTransformPCSToDevice ¶
KColorSyncTransformPCSToDevice returns the value of the constant kColorSyncTransformPCSToDevice.
func KColorSyncTransformPCSToPCS ¶
KColorSyncTransformPCSToPCS returns the value of the constant kColorSyncTransformPCSToPCS.
func KColorSyncTransformParametricConversionData ¶
KColorSyncTransformParametricConversionData returns the value of the constant kColorSyncTransformParametricConversionData.
func KColorSyncTransformProfileSequnce ¶
KColorSyncTransformProfileSequnce returns the value of the constant kColorSyncTransformProfileSequnce.
func KColorSyncTransformSimplifiedConversionData ¶
KColorSyncTransformSimplifiedConversionData returns the value of the constant kColorSyncTransformSimplifiedConversionData.
func KColorSyncTransformSrcSpace ¶
KColorSyncTransformSrcSpace returns the value of the constant kColorSyncTransformSrcSpace.
func KColorSyncTransformTag ¶
KColorSyncTransformTag returns the value of the constant kColorSyncTransformTag.
func KColorSyncTransformUseITU709OETF ¶
KColorSyncTransformUseITU709OETF returns the value of the constant kColorSyncTransformUseITU709OETF.
func KColorSyncWaitForCacheReply ¶
KColorSyncWaitForCacheReply returns the value of the constant kColorSyncWaitForCacheReply.
func KColorSyncWebSafeColorsProfile ¶
KColorSyncWebSafeColorsProfile returns the value of the constant kColorSyncWebSafeColorsProfile.
Types ¶
type ColorSyncAlphaInfo ¶
type ColorSyncAlphaInfo int32
const ( KColorSyncAlphaNone ColorSyncAlphaInfo = 0 KColorSyncAlphaPremultipliedLast ColorSyncAlphaInfo = 1 KColorSyncAlphaPremultipliedFirst ColorSyncAlphaInfo = 2 KColorSyncAlphaLast ColorSyncAlphaInfo = 3 KColorSyncAlphaFirst ColorSyncAlphaInfo = 4 KColorSyncAlphaNoneSkipLast ColorSyncAlphaInfo = 5 KColorSyncAlphaNoneSkipFirst ColorSyncAlphaInfo = 6 )
func (ColorSyncAlphaInfo) String ¶
func (e ColorSyncAlphaInfo) String() string
String returns the ColorSyncAlphaInfo constant's name, or its numeric form when the value is not a known constant.
type ColorSyncCMM ¶
type ColorSyncCMM struct{}
type ColorSyncCMMRef ¶ added in v0.18.0
ColorSyncCMMRef is a handle for the opaque ColorSyncCMMRef type.
func ColorSyncCMMCreate ¶
func ColorSyncCMMCreate(cmmBundle corefoundation.CFBundleRef) ColorSyncCMMRef
ColorSyncCMMCreate calls the ColorSync framework function ColorSyncCMMCreate.
func (ColorSyncCMMRef) IsNil ¶ added in v0.18.0
func (h ColorSyncCMMRef) IsNil() bool
IsNil reports whether ColorSyncCMMRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type ColorSyncDataDepth ¶
type ColorSyncDataDepth int32
const ( KColorSync1BitGamut ColorSyncDataDepth = 1 KColorSync8BitInteger ColorSyncDataDepth = 2 KColorSync16BitInteger ColorSyncDataDepth = 3 KColorSync16BitFloat ColorSyncDataDepth = 4 KColorSync32BitInteger ColorSyncDataDepth = 5 KColorSync32BitNamedColorIndex ColorSyncDataDepth = 6 KColorSync32BitFloat ColorSyncDataDepth = 7 KColorSync10BitInteger ColorSyncDataDepth = 8 )
func (ColorSyncDataDepth) String ¶
func (e ColorSyncDataDepth) String() string
String returns the ColorSyncDataDepth constant's name, or its numeric form when the value is not a known constant.
type ColorSyncMD5 ¶
type ColorSyncMD5 struct {
Digest [16]uint8
}
func ColorSyncProfileGetMD5 ¶
func ColorSyncProfileGetMD5(prof ColorSyncProfileRef) ColorSyncMD5
ColorSyncProfileGetMD5 calls the ColorSync framework function ColorSyncProfileGetMD5.
type ColorSyncMutableProfileRef ¶ added in v0.18.0
ColorSyncMutableProfileRef is a handle for the opaque ColorSyncMutableProfileRef type.
func ColorSyncProfileCreateMutable ¶
func ColorSyncProfileCreateMutable() ColorSyncMutableProfileRef
ColorSyncProfileCreateMutable calls the ColorSync framework function ColorSyncProfileCreateMutable.
func ColorSyncProfileCreateMutableCopy ¶
func ColorSyncProfileCreateMutableCopy(prof ColorSyncProfileRef) ColorSyncMutableProfileRef
ColorSyncProfileCreateMutableCopy calls the ColorSync framework function ColorSyncProfileCreateMutableCopy.
func (ColorSyncMutableProfileRef) IsNil ¶ added in v0.18.0
func (h ColorSyncMutableProfileRef) IsNil() bool
IsNil reports whether ColorSyncMutableProfileRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type ColorSyncProfile ¶
type ColorSyncProfile struct{}
type ColorSyncProfileRef ¶ added in v0.18.0
ColorSyncProfileRef is a handle for the opaque ColorSyncProfileRef type.
func ColorSyncProfileCreateDeviceProfile ¶
func ColorSyncProfileCreateDeviceProfile(deviceClass corefoundation.CFStringRef, deviceID corefoundation.CFUUIDRef, profileID obj.Object) ColorSyncProfileRef
ColorSyncProfileCreateDeviceProfile calls the ColorSync framework function ColorSyncProfileCreateDeviceProfile.
func ColorSyncProfileCreateLink ¶
func ColorSyncProfileCreateLink(profileInfo corefoundation.CFArrayRef, options corefoundation.CFDictionaryRef) ColorSyncProfileRef
ColorSyncProfileCreateLink calls the ColorSync framework function ColorSyncProfileCreateLink.
func ColorSyncProfileCreateWithDisplayID ¶
func ColorSyncProfileCreateWithDisplayID(displayID uint32) ColorSyncProfileRef
ColorSyncProfileCreateWithDisplayID calls the ColorSync framework function ColorSyncProfileCreateWithDisplayID.
func ColorSyncProfileCreateWithName ¶
func ColorSyncProfileCreateWithName(name corefoundation.CFStringRef) ColorSyncProfileRef
ColorSyncProfileCreateWithName calls the ColorSync framework function ColorSyncProfileCreateWithName.
func (ColorSyncProfileRef) IsNil ¶ added in v0.18.0
func (h ColorSyncProfileRef) IsNil() bool
IsNil reports whether ColorSyncProfileRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type ColorSyncTransform ¶
type ColorSyncTransform struct{}
type ColorSyncTransformRef ¶ added in v0.18.0
ColorSyncTransformRef is a handle for the opaque ColorSyncTransformRef type.
func ColorSyncTransformCreate ¶
func ColorSyncTransformCreate(profileSequence corefoundation.CFArrayRef, options corefoundation.CFDictionaryRef) ColorSyncTransformRef
ColorSyncTransformCreate calls the ColorSync framework function ColorSyncTransformCreate.
func (ColorSyncTransformRef) IsNil ¶ added in v0.18.0
func (h ColorSyncTransformRef) IsNil() bool
IsNil reports whether ColorSyncTransformRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int32
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type MpoFlags ¶ added in v0.17.0
type MpoFlags uint32
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type Perm ¶ added in v0.17.0
type Perm int32
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int32
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.