applicationservices

package
v0.6.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package applicationservices provides Go bindings for the ApplicationServices framework.

Perform common application tasks.

This collection of documents provides the API reference for the Application Services framework, which includes several services that are essential to Carbon applications. The Application Services framework also includes support for a number of legacy technologies—such as QuickDraw and the Font Manager—that have been superseded with newer technologies like Quartz 2D and ATSUI.

Managers

Classes

  • ColorSyncCMM
  • ColorSyncMutableProfile
  • ColorSyncProfile
  • ColorSyncTransform
  • HIMutableShape
  • HIShape
  • Pasteboard
  • Translation
  • AXTextMarker
  • AXTextMarkerRange

Protocols

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AXAPIEnabled deprecated

func AXAPIEnabled() bool

AXAPIEnabled returns whether the accessibility API is enabled.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1462072-axapienabled

func AXIsProcessTrusted

func AXIsProcessTrusted() bool

AXIsProcessTrusted returns whether the current process is a trusted accessibility client.

See: https://developer.apple.com/documentation/applicationservices/1460720-axisprocesstrusted

func AXIsProcessTrustedWithOptions

func AXIsProcessTrustedWithOptions(options corefoundation.CFDictionaryRef) bool

AXIsProcessTrustedWithOptions returns whether the current process is a trusted accessibility client.

See: https://developer.apple.com/documentation/applicationservices/1459186-axisprocesstrustedwithoptions

func AXObserverGetRunLoopSource

func AXObserverGetRunLoopSource(observer AXObserverRef) corefoundation.CFRunLoopSourceRef

AXObserverGetRunLoopSource returns the observer's run loop source.

See: https://developer.apple.com/documentation/applicationservices/1459139-axobservergetrunloopsource

func AXObserverGetTypeID

func AXObserverGetTypeID() uint

AXObserverGetTypeID returns the unique type identifier for the AXObserverRef type.

See: https://developer.apple.com/documentation/applicationservices/1461244-axobservergettypeid

func AXUIElementGetTypeID

func AXUIElementGetTypeID() uint

AXUIElementGetTypeID returns the unique type identifier for the AXUIElementRef type.

See: https://developer.apple.com/documentation/applicationservices/1460085-axuielementgettypeid

func ContinueSpeech deprecated

func ContinueSpeech(chan_ *SpeechChannelRecord) int16

ContinueSpeech resumes speech paused by the PauseSpeechAt function.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1462728-continuespeech

func CopyPhonemesFromText deprecated

func CopyPhonemesFromText(chan_ *SpeechChannelRecord, text corefoundation.CFStringRef, phonemes *corefoundation.CFStringRef) int16

CopyPhonemesFromText converts the specified text string into its equivalent phonemic representation.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1460918-copyphonemesfromtext

func CopyProcessName deprecated

func CopyProcessName(arg0 *ProcessSerialNumber, arg1 corefoundation.CFStringRef) int32

CopyProcessName.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501067-copyprocessname

func CopySpeechProperty deprecated

func CopySpeechProperty(chan_ *SpeechChannelRecord, property corefoundation.CFStringRef, object *corefoundation.CFTypeRef) int16

CopySpeechProperty gets the value associated with the specified property of a speech channel.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1459075-copyspeechproperty

func DisposeSpeechChannel deprecated

func DisposeSpeechChannel(chan_ *SpeechChannelRecord) int16

DisposeSpeechChannel disposes of an existing speech channel.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1462081-disposespeechchannel

func DisposeSpeechDoneUPP deprecated

func DisposeSpeechDoneUPP(arg0 SpeechDoneUPP)

DisposeSpeechDoneUPP disposes of a universal procedure pointer (UPP) to a speech-donecallback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552237-disposespeechdoneupp

func DisposeSpeechErrorUPP deprecated

func DisposeSpeechErrorUPP(arg0 SpeechErrorUPP)

DisposeSpeechErrorUPP disposes of a universal procedure pointer (UPP) to anerror callback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552245-disposespeecherrorupp

func DisposeSpeechPhonemeUPP deprecated

func DisposeSpeechPhonemeUPP(arg0 SpeechPhonemeUPP)

DisposeSpeechPhonemeUPP disposes of a universal procedure pointer (UPP) to a phonemecallback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552226-disposespeechphonemeupp

func DisposeSpeechSyncUPP deprecated

func DisposeSpeechSyncUPP(arg0 SpeechSyncUPP)

DisposeSpeechSyncUPP disposes of a universal procedure pointer (UPP) to a synchronizationcallback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552219-disposespeechsyncupp

func DisposeSpeechTextDoneUPP deprecated

func DisposeSpeechTextDoneUPP(arg0 SpeechTextDoneUPP)

DisposeSpeechTextDoneUPP disposes of a universal procedure pointer (UPP) to a text-donecallback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552229-disposespeechtextdoneupp

func DisposeSpeechWordUPP deprecated

func DisposeSpeechWordUPP(arg0 SpeechWordUPP)

DisposeSpeechWordUPP disposes of a universal procedure pointer (UPP) to a wordcallback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552222-disposespeechwordupp

func ExitToShell deprecated

func ExitToShell()

ExitToShell.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1500985-exittoshell

func GetCurrentProcess deprecated

func GetCurrentProcess(arg0 *ProcessSerialNumber) int16

GetCurrentProcess.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501115-getcurrentprocess

func GetFrontProcess deprecated

func GetFrontProcess(arg0 *ProcessSerialNumber) int16

GetFrontProcess.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501050-getfrontprocess

func GetIndVoice deprecated

func GetIndVoice(index unsafe.Pointer, voice unsafe.Pointer) int16

GetIndVoice gets a voice specification structure for a voice bypassing an index to the GetIndVoice function.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1464595-getindvoice

func GetNextProcess deprecated

func GetNextProcess(arg0 *ProcessSerialNumber) int16

GetNextProcess.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501061-getnextprocess

func GetProcessBundleLocation deprecated

func GetProcessBundleLocation(arg0 *ProcessSerialNumber, arg1 unsafe.Pointer) int32

GetProcessBundleLocation.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501092-getprocessbundlelocation

func GetProcessForPID deprecated

func GetProcessForPID(arg0 int32, arg1 *ProcessSerialNumber) int32

GetProcessForPID.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501069-getprocessforpid

func GetProcessInformation deprecated

func GetProcessInformation(arg0 *ProcessSerialNumber, arg1 ProcessInfoRec) int16

GetProcessInformation.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501011-getprocessinformation

func GetProcessPID deprecated

func GetProcessPID(arg0 *ProcessSerialNumber, arg1 int32) int32

GetProcessPID.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1500992-getprocesspid

func GetSpeechInfo deprecated

func GetSpeechInfo(arg0 *SpeechChannelRecord, arg1 uint32) int16

GetSpeechInfo gets information about a designated speech channel.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552220-getspeechinfo

func GetSpeechPitch deprecated

func GetSpeechPitch(chan_ *SpeechChannelRecord, pitch *int32) int16

GetSpeechPitch gets a speech channel’s current speech pitch.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1464774-getspeechpitch

func GetSpeechRate deprecated

func GetSpeechRate(chan_ *SpeechChannelRecord, rate *int32) int16

GetSpeechRate gets a speech channel’s current speech rate.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1460797-getspeechrate

func GetVoiceDescription deprecated

func GetVoiceDescription(voice unsafe.Pointer, info unsafe.Pointer, infoLength unsafe.Pointer) int16

GetVoiceDescription gets a description of a voice by using the GetVoiceDescription function.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1463940-getvoicedescription

func GetVoiceInfo deprecated

func GetVoiceInfo(voice unsafe.Pointer, selector uint32, voiceInfo unsafe.Pointer) int16

GetVoiceInfo gets the same information about a voice that the GetVoiceDescription function provides,or to determine in which file and resource a voice is stored.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1461410-getvoiceinfo

func ICAddMapEntry deprecated

func ICAddMapEntry(arg0 ICInstance, arg1 unsafe.Pointer, arg2 ICMapEntry) int32

ICAddMapEntry.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578495-icaddmapentry

func ICAddProfile deprecated

func ICAddProfile(arg0 ICInstance, arg1 ICProfileID, arg2 ICProfileID) int32

ICAddProfile.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578498-icaddprofile

func ICBegin deprecated

func ICBegin(arg0 ICInstance, arg1 ICPerm) int32

ICBegin.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578517-icbegin

func ICCountMapEntries deprecated

func ICCountMapEntries(arg0 ICInstance, arg1 unsafe.Pointer, arg2 int) int32

ICCountMapEntries.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578509-iccountmapentries

func ICCountPref deprecated

func ICCountPref(arg0 ICInstance, arg1 int) int32

ICCountPref.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578542-iccountpref

func ICCountProfiles deprecated

func ICCountProfiles(arg0 ICInstance, arg1 int) int32

ICCountProfiles.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578494-iccountprofiles

func ICDeleteMapEntry deprecated

func ICDeleteMapEntry(arg0 ICInstance, arg1 unsafe.Pointer, arg2 int) int32

ICDeleteMapEntry.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578488-icdeletemapentry

func ICDeletePref deprecated

func ICDeletePref(arg0 ICInstance, arg1 unsafe.Pointer) int32

ICDeletePref.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578534-icdeletepref

func ICDeleteProfile deprecated

func ICDeleteProfile(arg0 ICInstance, arg1 ICProfileID) int32

ICDeleteProfile.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578483-icdeleteprofile

func ICEditPreferences deprecated

func ICEditPreferences(arg0 ICInstance, arg1 unsafe.Pointer) int32

ICEditPreferences.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578512-iceditpreferences

func ICEnd deprecated

func ICEnd(arg0 ICInstance) int32

ICEnd.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578544-icend

func ICFindPrefHandle deprecated

func ICFindPrefHandle(arg0 ICInstance, arg1 unsafe.Pointer, arg2 ICAttr, arg3 unsafe.Pointer) int32

ICFindPrefHandle.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578526-icfindprefhandle

func ICGetConfigName deprecated

func ICGetConfigName(arg0 ICInstance, arg1 bool, arg2 unsafe.Pointer) int32

ICGetConfigName.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578511-icgetconfigname

func ICGetCurrentProfile deprecated

func ICGetCurrentProfile(arg0 ICInstance, arg1 ICProfileID) int32

ICGetCurrentProfile.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578505-icgetcurrentprofile

func ICGetDefaultPref deprecated

func ICGetDefaultPref(arg0 ICInstance, arg1 unsafe.Pointer, arg2 unsafe.Pointer) int32

ICGetDefaultPref.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578528-icgetdefaultpref

func ICGetIndMapEntry deprecated

func ICGetIndMapEntry(arg0 ICInstance, arg1 unsafe.Pointer, arg2 int, arg3 int, arg4 ICMapEntry) int32

ICGetIndMapEntry.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578493-icgetindmapentry

func ICGetIndPref deprecated

func ICGetIndPref(arg0 ICInstance, arg1 int, arg2 unsafe.Pointer) int32

ICGetIndPref.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578503-icgetindpref

func ICGetIndProfile deprecated

func ICGetIndProfile(arg0 ICInstance, arg1 int, arg2 ICProfileID) int32

ICGetIndProfile.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578519-icgetindprofile

func ICGetMapEntry deprecated

func ICGetMapEntry(arg0 ICInstance, arg1 unsafe.Pointer, arg2 int, arg3 ICMapEntry) int32

ICGetMapEntry.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578510-icgetmapentry

func ICGetPerm deprecated

func ICGetPerm(arg0 ICInstance, arg1 ICPerm) int32

ICGetPerm.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578492-icgetperm

func ICGetPref deprecated

func ICGetPref(arg0 ICInstance, arg1 unsafe.Pointer, arg2 ICAttr, arg3 int) int32

ICGetPref.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578522-icgetpref

func ICGetPrefHandle deprecated

func ICGetPrefHandle(arg0 ICInstance, arg1 unsafe.Pointer, arg2 ICAttr, arg3 unsafe.Pointer) int32

ICGetPrefHandle.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578489-icgetprefhandle

func ICGetProfileName deprecated

func ICGetProfileName(arg0 ICInstance, arg1 ICProfileID, arg2 unsafe.Pointer) int32

ICGetProfileName.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578523-icgetprofilename

func ICGetSeed deprecated

func ICGetSeed(arg0 ICInstance, arg1 int) int32

ICGetSeed.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578514-icgetseed

func ICGetVersion deprecated

func ICGetVersion(arg0 ICInstance, arg1 int, arg2 uint32) int32

ICGetVersion.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578536-icgetversion

func ICLaunchURL deprecated

func ICLaunchURL(arg0 ICInstance, arg1 unsafe.Pointer, arg2 int, arg3 int, arg4 int) int32

ICLaunchURL.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578504-iclaunchurl

func ICMapEntriesFilename deprecated

func ICMapEntriesFilename(arg0 ICInstance, arg1 unsafe.Pointer, arg2 unsafe.Pointer, arg3 ICMapEntry) int32

ICMapEntriesFilename.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578539-icmapentriesfilename

func ICMapEntriesTypeCreator deprecated

func ICMapEntriesTypeCreator(arg0 ICInstance, arg1 unsafe.Pointer, arg2 uint32, arg3 uint32, arg4 unsafe.Pointer, arg5 ICMapEntry) int32

ICMapEntriesTypeCreator.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578486-icmapentriestypecreator

func ICMapFilename deprecated

func ICMapFilename(arg0 ICInstance, arg1 unsafe.Pointer, arg2 ICMapEntry) int32

ICMapFilename.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578490-icmapfilename

func ICMapTypeCreator deprecated

func ICMapTypeCreator(arg0 ICInstance, arg1 uint32, arg2 uint32, arg3 unsafe.Pointer, arg4 ICMapEntry) int32

ICMapTypeCreator.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578520-icmaptypecreator

func ICParseURL deprecated

func ICParseURL(arg0 ICInstance, arg1 unsafe.Pointer, arg2 int, arg3 int, arg4 int, arg5 unsafe.Pointer) int32

ICParseURL.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578515-icparseurl

func ICSetCurrentProfile deprecated

func ICSetCurrentProfile(arg0 ICInstance, arg1 ICProfileID) int32

ICSetCurrentProfile.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578485-icsetcurrentprofile

func ICSetMapEntry deprecated

func ICSetMapEntry(arg0 ICInstance, arg1 unsafe.Pointer, arg2 int, arg3 ICMapEntry) int32

ICSetMapEntry.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578540-icsetmapentry

func ICSetPref deprecated

func ICSetPref(arg0 ICInstance, arg1 unsafe.Pointer, arg2 ICAttr, arg3 int) int32

ICSetPref.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578533-icsetpref

func ICSetPrefHandle deprecated

func ICSetPrefHandle(arg0 ICInstance, arg1 unsafe.Pointer, arg2 ICAttr, arg3 unsafe.Pointer) int32

ICSetPrefHandle.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578545-icsetprefhandle

func ICSetProfileName deprecated

func ICSetProfileName(arg0 ICInstance, arg1 ICProfileID, arg2 unsafe.Pointer) int32

ICSetProfileName.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578501-icsetprofilename

func ICStart deprecated

func ICStart(arg0 ICInstance, arg1 uint32) int32

ICStart.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578513-icstart

func ICStop deprecated

func ICStop(arg0 ICInstance) int32

ICStop.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578518-icstop

func IconRefContainsCGPoint

func IconRefContainsCGPoint(testPt unsafe.Pointer, iconRect unsafe.Pointer, align IconAlignmentType, iconServicesUsageFlags unsafe.Pointer, theIconRef unsafe.Pointer) bool

IconRefContainsCGPoint.

See: https://developer.apple.com/documentation/applicationservices/1461049-iconrefcontainscgpoint

func IconRefIntersectsCGRect

func IconRefIntersectsCGRect(testRect unsafe.Pointer, iconRect unsafe.Pointer, align IconAlignmentType, iconServicesUsageFlags unsafe.Pointer, theIconRef unsafe.Pointer) bool

IconRefIntersectsCGRect.

See: https://developer.apple.com/documentation/applicationservices/1462553-iconrefintersectscgrect

func InvokeIconActionUPP

func InvokeIconActionUPP(theType uint32, theIcon unsafe.Pointer, yourDataPtr unsafe.Pointer, userUPP IconActionUPP) int16

InvokeIconActionUPP.

See: https://developer.apple.com/documentation/applicationservices/1464116-invokeiconactionupp

func InvokeSpeechDoneUPP deprecated

func InvokeSpeechDoneUPP(arg0 *SpeechChannelRecord, arg1 uintptr, arg2 SpeechDoneUPP)

InvokeSpeechDoneUPP invokes your speech-done callback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552215-invokespeechdoneupp

func InvokeSpeechErrorUPP deprecated

func InvokeSpeechErrorUPP(arg0 *SpeechChannelRecord, arg1 uintptr, arg2 int16, arg3 int, arg4 SpeechErrorUPP)

InvokeSpeechErrorUPP invokes your error callback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552214-invokespeecherrorupp

func InvokeSpeechPhonemeUPP deprecated

func InvokeSpeechPhonemeUPP(arg0 *SpeechChannelRecord, arg1 uintptr, arg2 int16, arg3 SpeechPhonemeUPP)

InvokeSpeechPhonemeUPP invokes your phoneme callback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552234-invokespeechphonemeupp

func InvokeSpeechSyncUPP deprecated

func InvokeSpeechSyncUPP(arg0 *SpeechChannelRecord, arg1 uintptr, arg2 uint32, arg3 SpeechSyncUPP)

InvokeSpeechSyncUPP invokes your synchronization callback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552243-invokespeechsyncupp

func InvokeSpeechTextDoneUPP deprecated

func InvokeSpeechTextDoneUPP(arg0 *SpeechChannelRecord, arg1 uintptr, arg2 unsafe.Pointer, arg3 uint, arg4 int32, arg5 SpeechTextDoneUPP)

InvokeSpeechTextDoneUPP invokes your text-done callback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552249-invokespeechtextdoneupp

func InvokeSpeechWordUPP deprecated

func InvokeSpeechWordUPP(arg0 *SpeechChannelRecord, arg1 uintptr, arg2 uint, arg3 uint16, arg4 SpeechWordUPP)

InvokeSpeechWordUPP invokes your word callback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552227-invokespeechwordupp

func IsProcessVisible deprecated

func IsProcessVisible(arg0 *ProcessSerialNumber) bool

IsProcessVisible.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501035-isprocessvisible

func KillProcess deprecated

func KillProcess(arg0 *ProcessSerialNumber) int16

KillProcess.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501110-killprocess

func LaunchApplication deprecated

func LaunchApplication(arg0 LaunchPBPtr) int16

LaunchApplication.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501089-launchapplication

func MakeVoiceSpec deprecated

func MakeVoiceSpec(creator uint32, id uint32, voice unsafe.Pointer) int16

MakeVoiceSpec sets the fields of a voice specification structure.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1461446-makevoicespec

func NewSpeechChannel deprecated

func NewSpeechChannel(voice unsafe.Pointer, chan_ **SpeechChannelRecord) int16

NewSpeechChannel creates a new speech channel.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1461367-newspeechchannel

func PMCGImageCreateWithEPSDataProvider

func PMCGImageCreateWithEPSDataProvider(epsDataProvider coregraphics.CGDataProviderRef, epsPreview coregraphics.CGImageRef) coregraphics.CGImageRef

PMCGImageCreateWithEPSDataProvider creates an image that references both the PostScript contents of EPS data and a preview (proxy) image for the data.

See: https://developer.apple.com/documentation/applicationservices/1462361-pmcgimagecreatewithepsdataprovid

func PMCopyAvailablePPDs

func PMCopyAvailablePPDs(domain PMPPDDomain, ppds *corefoundation.CFArrayRef) int32

PMCopyAvailablePPDs obtains the list of PostScript printer description (PPD) files in a PPD domain.

See: https://developer.apple.com/documentation/applicationservices/1464170-pmcopyavailableppds

func PMCopyLocalizedPPD

func PMCopyLocalizedPPD(ppd corefoundation.CFURLRef, localizedPPD *corefoundation.CFURLRef) int32

PMCopyLocalizedPPD obtains a localized PostScript printer description (PPD) file.

See: https://developer.apple.com/documentation/applicationservices/1459690-pmcopylocalizedppd

func PMCopyPPDData

func PMCopyPPDData(ppd corefoundation.CFURLRef, data *corefoundation.CFDataRef) int32

PMCopyPPDData obtains the uncompressed PPD data for a PostScript printer description (PPD) file.

See: https://developer.apple.com/documentation/applicationservices/1460345-pmcopyppddata

func PMCopyPageFormat

func PMCopyPageFormat(formatSrc uintptr, formatDest uintptr) int32

PMCopyPageFormat copies the settings from one page format object into another.

See: https://developer.apple.com/documentation/applicationservices/1464669-pmcopypageformat

func PMCopyPrintSettings

func PMCopyPrintSettings(settingSrc uintptr, settingDest uintptr) int32

PMCopyPrintSettings copies the settings from one print settings object into another.

See: https://developer.apple.com/documentation/applicationservices/1462491-pmcopyprintsettings

func PMCreateGenericPrinter

func PMCreateGenericPrinter(printer *uintptr) int32

PMCreateGenericPrinter creates a generic printer object.

See: https://developer.apple.com/documentation/applicationservices/1461960-pmcreategenericprinter

func PMCreatePageFormat

func PMCreatePageFormat(pageFormat *uintptr) int32

PMCreatePageFormat creates a new page format object.

See: https://developer.apple.com/documentation/applicationservices/1459485-pmcreatepageformat

func PMCreatePageFormatWithPMPaper

func PMCreatePageFormatWithPMPaper(pageFormat *uintptr, paper uintptr) int32

PMCreatePageFormatWithPMPaper creates a page format object with a specified paper.

See: https://developer.apple.com/documentation/applicationservices/1459274-pmcreatepageformatwithpmpaper

func PMCreatePrintSettings

func PMCreatePrintSettings(printSettings *uintptr) int32

PMCreatePrintSettings creates a new print settings object.

See: https://developer.apple.com/documentation/applicationservices/1463239-pmcreateprintsettings

func PMCreateSession

func PMCreateSession(printSession *PMPrintSession) int32

PMCreateSession creates and initializes a printing session object and creates a context for printing operations.

See: https://developer.apple.com/documentation/applicationservices/1463247-pmcreatesession

func PMGetAdjustedPageRect

func PMGetAdjustedPageRect(pageFormat uintptr, pageRect unsafe.Pointer) int32

PMGetAdjustedPageRect obtains the imageable area or page rectangle, taking into account orientation, application drawing resolution, and scaling settings.

See: https://developer.apple.com/documentation/applicationservices/1461543-pmgetadjustedpagerect

func PMGetAdjustedPaperRect

func PMGetAdjustedPaperRect(pageFormat uintptr, paperRect unsafe.Pointer) int32

PMGetAdjustedPaperRect obtains the rectangle defining the paper size, taking into account orientation, application drawing resolution, and scaling settings.

See: https://developer.apple.com/documentation/applicationservices/1459167-pmgetadjustedpaperrect

func PMGetCollate

func PMGetCollate(printSettings uintptr, collate unsafe.Pointer) int32

PMGetCollate obtains a Boolean value that indicates whether the job collate option is selected.

See: https://developer.apple.com/documentation/applicationservices/1464492-pmgetcollate

func PMGetCopies

func PMGetCopies(printSettings uintptr, copies *uint32) int32

PMGetCopies obtains the number of copies that the user requests to be printed.

See: https://developer.apple.com/documentation/applicationservices/1464480-pmgetcopies

func PMGetDuplex

func PMGetDuplex(printSettings uintptr, duplexSetting *PMDuplexMode) int32

PMGetDuplex obtains the selected duplex mode.

See: https://developer.apple.com/documentation/applicationservices/1458921-pmgetduplex

func PMGetFirstPage

func PMGetFirstPage(printSettings uintptr, first *uint32) int32

PMGetFirstPage obtains the number of the first page to be printed.

See: https://developer.apple.com/documentation/applicationservices/1460271-pmgetfirstpage

func PMGetLastPage

func PMGetLastPage(printSettings uintptr, last *uint32) int32

PMGetLastPage obtains the number of the last page to be printed.

See: https://developer.apple.com/documentation/applicationservices/1462747-pmgetlastpage

func PMGetOrientation

func PMGetOrientation(pageFormat uintptr, orientation *PMOrientation) int32

PMGetOrientation obtains the current setting for page orientation.

See: https://developer.apple.com/documentation/applicationservices/1459144-pmgetorientation

func PMGetPageFormatExtendedData

func PMGetPageFormatExtendedData(pageFormat uintptr, dataID uint32, size *uint32, extendedData unsafe.Pointer) int32

PMGetPageFormatExtendedData obtains extended page format data previously stored by your application.

See: https://developer.apple.com/documentation/applicationservices/1464455-pmgetpageformatextendeddata

func PMGetPageFormatPaper

func PMGetPageFormatPaper(format uintptr, paper *uintptr) int32

PMGetPageFormatPaper obtains the paper associated with a page format object.

See: https://developer.apple.com/documentation/applicationservices/1461319-pmgetpageformatpaper

func PMGetPageRange

func PMGetPageRange(printSettings uintptr, minPage *uint32, maxPage *uint32) int32

PMGetPageRange obtains the valid range of pages that can be printed.

See: https://developer.apple.com/documentation/applicationservices/1459324-pmgetpagerange

func PMGetScale

func PMGetScale(pageFormat uintptr, scale unsafe.Pointer) int32

PMGetScale obtains the scaling factor currently applied to the page and paper rectangles.

See: https://developer.apple.com/documentation/applicationservices/1458796-pmgetscale

func PMGetUnadjustedPageRect

func PMGetUnadjustedPageRect(pageFormat uintptr, pageRect unsafe.Pointer) int32

PMGetUnadjustedPageRect obtains the imageable area or page rectangle, unaffected by orientation, resolution, or scaling.

See: https://developer.apple.com/documentation/applicationservices/1462944-pmgetunadjustedpagerect

func PMGetUnadjustedPaperRect

func PMGetUnadjustedPaperRect(pageFormat uintptr, paperRect unsafe.Pointer) int32

PMGetUnadjustedPaperRect obtains the paper rectangle, unaffected by rotation, resolution, or scaling.

See: https://developer.apple.com/documentation/applicationservices/1462939-pmgetunadjustedpaperrect

func PMPageFormatCreateDataRepresentation

func PMPageFormatCreateDataRepresentation(pageFormat uintptr, data *corefoundation.CFDataRef, format PMDataFormat) int32

PMPageFormatCreateDataRepresentation creates a data representation of a page format object.

See: https://developer.apple.com/documentation/applicationservices/1464227-pmpageformatcreatedatarepresenta

func PMPageFormatCreateWithDataRepresentation

func PMPageFormatCreateWithDataRepresentation(data corefoundation.CFDataRef, pageFormat *uintptr) int32

PMPageFormatCreateWithDataRepresentation creates a page format object from a data representation.

See: https://developer.apple.com/documentation/applicationservices/1462876-pmpageformatcreatewithdatarepres

func PMPageFormatGetPrinterID

func PMPageFormatGetPrinterID(pageFormat uintptr, printerID *corefoundation.CFStringRef) int32

PMPageFormatGetPrinterID obtains the identifier of the formatting printer for a page format object.

See: https://developer.apple.com/documentation/applicationservices/1462961-pmpageformatgetprinterid

func PMPaperCreateCustom

func PMPaperCreateCustom(printer uintptr, id corefoundation.CFStringRef, name corefoundation.CFStringRef, width unsafe.Pointer, height unsafe.Pointer, margins *PMPaperMargins, paperP *uintptr) int32

PMPaperCreateCustom creates a custom paper object.

See: https://developer.apple.com/documentation/applicationservices/1459322-pmpapercreatecustom

func PMPaperCreateLocalizedName

func PMPaperCreateLocalizedName(paper uintptr, printer uintptr, paperName *corefoundation.CFStringRef) int32

PMPaperCreateLocalizedName obtains the localized name for a given paper.

See: https://developer.apple.com/documentation/applicationservices/1460981-pmpapercreatelocalizedname

func PMPaperGetHeight

func PMPaperGetHeight(paper uintptr, paperHeight unsafe.Pointer) int32

PMPaperGetHeight obtains the height of the sheet of paper represented by a paper object.

See: https://developer.apple.com/documentation/applicationservices/1460389-pmpapergetheight

func PMPaperGetID

func PMPaperGetID(paper uintptr, paperID *corefoundation.CFStringRef) int32

PMPaperGetID obtains the identifier of a paper object.

See: https://developer.apple.com/documentation/applicationservices/1462910-pmpapergetid

func PMPaperGetMargins

func PMPaperGetMargins(paper uintptr, paperMargins *PMPaperMargins) int32

PMPaperGetMargins obtains the margins describing the unprintable area of the sheet represented by a paper object.

See: https://developer.apple.com/documentation/applicationservices/1461994-pmpapergetmargins

func PMPaperGetPPDPaperName

func PMPaperGetPPDPaperName(paper uintptr, paperName *corefoundation.CFStringRef) int32

PMPaperGetPPDPaperName obtains the PPD paper name for a given paper.

See: https://developer.apple.com/documentation/applicationservices/1461039-pmpapergetppdpapername

func PMPaperGetPrinterID

func PMPaperGetPrinterID(paper uintptr, printerID *corefoundation.CFStringRef) int32

PMPaperGetPrinterID obtains the printer ID of the printer to which a given paper corresponds.

See: https://developer.apple.com/documentation/applicationservices/1461737-pmpapergetprinterid

func PMPaperGetWidth

func PMPaperGetWidth(paper uintptr, paperWidth unsafe.Pointer) int32

PMPaperGetWidth obtains the width of the sheet of paper represented by a paper object.

See: https://developer.apple.com/documentation/applicationservices/1459209-pmpapergetwidth

func PMPaperIsCustom

func PMPaperIsCustom(paper uintptr) bool

PMPaperIsCustom returns a Boolean value indicating whether a specified paper is a custom paper.

See: https://developer.apple.com/documentation/applicationservices/1459526-pmpaperiscustom

func PMPresetCopyName

func PMPresetCopyName(preset PMPreset, name *corefoundation.CFStringRef) int32

PMPresetCopyName obtains the localized name for a preset.

See: https://developer.apple.com/documentation/applicationservices/1460343-pmpresetcopyname

func PMPresetCreatePrintSettings

func PMPresetCreatePrintSettings(preset PMPreset, session PMPrintSession, printSettings *uintptr) int32

PMPresetCreatePrintSettings creates a print settings object with settings that correspond to a preset.

See: https://developer.apple.com/documentation/applicationservices/1463414-pmpresetcreateprintsettings

func PMPresetGetAttributes

func PMPresetGetAttributes(preset PMPreset, attributes *corefoundation.CFDictionaryRef) int32

PMPresetGetAttributes obtains the attributes of a preset.

See: https://developer.apple.com/documentation/applicationservices/1459042-pmpresetgetattributes

func PMPrintSettingsCopyAsDictionary

func PMPrintSettingsCopyAsDictionary(printSettings uintptr, settingsDictionary *corefoundation.CFDictionaryRef) int32

PMPrintSettingsCopyAsDictionary creates a dictionary that contains the settings in a print settings object.

See: https://developer.apple.com/documentation/applicationservices/1459088-pmprintsettingscopyasdictionary

func PMPrintSettingsCopyKeys

func PMPrintSettingsCopyKeys(printSettings uintptr, settingsKeys *corefoundation.CFArrayRef) int32

PMPrintSettingsCopyKeys obtains the keys for items in a print settings object.

See: https://developer.apple.com/documentation/applicationservices/1462730-pmprintsettingscopykeys

func PMPrintSettingsCreateDataRepresentation

func PMPrintSettingsCreateDataRepresentation(printSettings uintptr, data *corefoundation.CFDataRef, format PMDataFormat) int32

PMPrintSettingsCreateDataRepresentation creates a data representation of a print settings object.

See: https://developer.apple.com/documentation/applicationservices/1464570-pmprintsettingscreatedatareprese

func PMPrintSettingsCreateWithDataRepresentation

func PMPrintSettingsCreateWithDataRepresentation(data corefoundation.CFDataRef, printSettings *uintptr) int32

PMPrintSettingsCreateWithDataRepresentation creates a print settings object from a data representation.

See: https://developer.apple.com/documentation/applicationservices/1462203-pmprintsettingscreatewithdatarep

func PMPrintSettingsGetJobName

func PMPrintSettingsGetJobName(printSettings uintptr, name *corefoundation.CFStringRef) int32

PMPrintSettingsGetJobName obtains the name of a print job.

See: https://developer.apple.com/documentation/applicationservices/1459233-pmprintsettingsgetjobname

func PMPrintSettingsGetValue

func PMPrintSettingsGetValue(printSettings uintptr, key corefoundation.CFStringRef, value *corefoundation.CFTypeRef) int32

PMPrintSettingsGetValue obtains the value of a setting in a print settings object.

See: https://developer.apple.com/documentation/applicationservices/1460602-pmprintsettingsgetvalue

func PMPrintSettingsSetJobName

func PMPrintSettingsSetJobName(printSettings uintptr, name corefoundation.CFStringRef) int32

PMPrintSettingsSetJobName specifies the name of a print job.

See: https://developer.apple.com/documentation/applicationservices/1460149-pmprintsettingssetjobname

func PMPrintSettingsSetValue

func PMPrintSettingsSetValue(printSettings uintptr, key corefoundation.CFStringRef, value corefoundation.CFTypeRef, locked unsafe.Pointer) int32

PMPrintSettingsSetValue stores the value of a setting in a print settings object.

See: https://developer.apple.com/documentation/applicationservices/1461697-pmprintsettingssetvalue

func PMPrintSettingsToOptions

func PMPrintSettingsToOptions(settings uintptr, options string) int32

PMPrintSettingsToOptions converts print settings into a CUPS options string.

See: https://developer.apple.com/documentation/applicationservices/1459069-pmprintsettingstooptions

func PMPrintSettingsToOptionsWithPrinterAndPageFormat

func PMPrintSettingsToOptionsWithPrinterAndPageFormat(settings uintptr, printer uintptr, pageFormat uintptr, options string) int32

PMPrintSettingsToOptionsWithPrinterAndPageFormat converts print settings and page format data into a CUPS options string for a specified printer.

See: https://developer.apple.com/documentation/applicationservices/1459435-pmprintsettingstooptionswithprin

func PMPrinterCopyDescriptionURL

func PMPrinterCopyDescriptionURL(printer uintptr, descriptionType corefoundation.CFStringRef, fileURL *corefoundation.CFURLRef) int32

PMPrinterCopyDescriptionURL obtains the URL of the description file for a given printer.

See: https://developer.apple.com/documentation/applicationservices/1459187-pmprintercopydescriptionurl

func PMPrinterCopyDeviceURI

func PMPrinterCopyDeviceURI(printer uintptr, deviceURI *corefoundation.CFURLRef) int32

PMPrinterCopyDeviceURI obtains the device URI of a given printer.

See: https://developer.apple.com/documentation/applicationservices/1460543-pmprintercopydeviceuri

func PMPrinterCopyHostName

func PMPrinterCopyHostName(printer uintptr, hostNameP *corefoundation.CFStringRef) int32

PMPrinterCopyHostName obtains the name of the server hosting the print queue for a given printer.

See: https://developer.apple.com/documentation/applicationservices/1462076-pmprintercopyhostname

func PMPrinterCopyPresets

func PMPrinterCopyPresets(printer uintptr, presetList *corefoundation.CFArrayRef) int32

PMPrinterCopyPresets obtains a list of print settings presets for a printer.

See: https://developer.apple.com/documentation/applicationservices/1459117-pmprintercopypresets

func PMPrinterCreateFromPrinterID

func PMPrinterCreateFromPrinterID(printerID corefoundation.CFStringRef) uintptr

PMPrinterCreateFromPrinterID creates a printer object from a print queue identifier.

See: https://developer.apple.com/documentation/applicationservices/1461363-pmprintercreatefromprinterid

func PMPrinterGetCommInfo

func PMPrinterGetCommInfo(printer uintptr, supportsControlCharRangeP unsafe.Pointer, supportsEightBitP unsafe.Pointer) int32

PMPrinterGetCommInfo obtains information about the communication channel for a printer.

See: https://developer.apple.com/documentation/applicationservices/1461069-pmprintergetcomminfo

func PMPrinterGetDriverCreator

func PMPrinterGetDriverCreator(printer uintptr, creator *uint32) int32

PMPrinterGetDriverCreator obtains the creator of the driver associated with the specified printer.

See: https://developer.apple.com/documentation/applicationservices/1459107-pmprintergetdrivercreator

func PMPrinterGetDriverReleaseInfo

func PMPrinterGetDriverReleaseInfo(arg0 uintptr, arg1 unsafe.Pointer) int32

PMPrinterGetDriverReleaseInfo obtains version information for the driver associated with the specified printer.

See: https://developer.apple.com/documentation/applicationservices/1464149-pmprintergetdriverreleaseinfo

func PMPrinterGetID

func PMPrinterGetID(printer uintptr) corefoundation.CFString

PMPrinterGetID returns the unique identifier of a printer.

See: https://developer.apple.com/documentation/applicationservices/1459606-pmprintergetid

func PMPrinterGetIndexedPrinterResolution

func PMPrinterGetIndexedPrinterResolution(printer uintptr, index uint32, resolutionP unsafe.Pointer) int32

PMPrinterGetIndexedPrinterResolution obtains a resolution setting based on an index into the range of settings supported by the specified printer.

See: https://developer.apple.com/documentation/applicationservices/1464490-pmprintergetindexedprinterresolu

func PMPrinterGetLanguageInfo

func PMPrinterGetLanguageInfo(arg0 uintptr, arg1 PMLanguageInfo) int32

PMPrinterGetLanguageInfo obtains information about the imaging language for the specified printer.

See: https://developer.apple.com/documentation/applicationservices/1458956-pmprintergetlanguageinfo

func PMPrinterGetLocation

func PMPrinterGetLocation(printer uintptr) corefoundation.CFString

PMPrinterGetLocation returns the location of a printer.

See: https://developer.apple.com/documentation/applicationservices/1461467-pmprintergetlocation

func PMPrinterGetMakeAndModelName

func PMPrinterGetMakeAndModelName(printer uintptr, makeAndModel *corefoundation.CFStringRef) int32

PMPrinterGetMakeAndModelName obtains the manufacturer and model name of the specified printer.

See: https://developer.apple.com/documentation/applicationservices/1463347-pmprintergetmakeandmodelname

func PMPrinterGetMimeTypes

func PMPrinterGetMimeTypes(printer uintptr, settings uintptr, mimeTypes *corefoundation.CFArrayRef) int32

PMPrinterGetMimeTypes obtains a list of MIME content types supported by a printer using the specified print settings.

See: https://developer.apple.com/documentation/applicationservices/1460125-pmprintergetmimetypes

func PMPrinterGetName

func PMPrinterGetName(printer uintptr) corefoundation.CFString

PMPrinterGetName returns the human-readable name of a printer.

See: https://developer.apple.com/documentation/applicationservices/1459018-pmprintergetname

func PMPrinterGetOutputResolution

func PMPrinterGetOutputResolution(printer uintptr, printSettings uintptr, resolutionP unsafe.Pointer) int32

PMPrinterGetOutputResolution obtains the printer hardware output resolution for the specified print settings.

See: https://developer.apple.com/documentation/applicationservices/1459076-pmprintergetoutputresolution

func PMPrinterGetPaperList

func PMPrinterGetPaperList(printer uintptr, paperList *corefoundation.CFArrayRef) int32

PMPrinterGetPaperList obtains the list of papers available for a printer.

See: https://developer.apple.com/documentation/applicationservices/1460088-pmprintergetpaperlist

func PMPrinterGetPrinterResolutionCount

func PMPrinterGetPrinterResolutionCount(printer uintptr, countP *uint32) int32

PMPrinterGetPrinterResolutionCount obtains the number of resolution settings supported by the specified printer.

See: https://developer.apple.com/documentation/applicationservices/1462004-pmprintergetprinterresolutioncou

func PMPrinterGetState

func PMPrinterGetState(printer uintptr, state *PMPrinterState) int32

PMPrinterGetState obtains the current state of the print queue for a printer.

See: https://developer.apple.com/documentation/applicationservices/1462954-pmprintergetstate

func PMPrinterIsDefault

func PMPrinterIsDefault(printer uintptr) bool

PMPrinterIsDefault returns a Boolean value indicating whether a printer is the default printer for the current user.

See: https://developer.apple.com/documentation/applicationservices/1459030-pmprinterisdefault

func PMPrinterIsFavorite

func PMPrinterIsFavorite(printer uintptr) bool

PMPrinterIsFavorite returns a Boolean value indicating whether a printer is in the user’s list of favorite printers.

See: https://developer.apple.com/documentation/applicationservices/1462074-pmprinterisfavorite

func PMPrinterIsPostScriptCapable

func PMPrinterIsPostScriptCapable(printer uintptr) bool

PMPrinterIsPostScriptCapable returns a Boolean value indicating whether a printer is PostScript capable.

See: https://developer.apple.com/documentation/applicationservices/1464168-pmprinterispostscriptcapable

func PMPrinterIsPostScriptPrinter

func PMPrinterIsPostScriptPrinter(printer uintptr, isPSPrinter unsafe.Pointer) int32

PMPrinterIsPostScriptPrinter determines whether a printer is a PostScript printer.

See: https://developer.apple.com/documentation/applicationservices/1462257-pmprinterispostscriptprinter

func PMPrinterIsRemote

func PMPrinterIsRemote(printer uintptr, isRemoteP unsafe.Pointer) int32

PMPrinterIsRemote indicates whether a printer is hosted by a remote print server.

See: https://developer.apple.com/documentation/applicationservices/1461377-pmprinterisremote

func PMPrinterPrintWithFile

func PMPrinterPrintWithFile(printer uintptr, settings uintptr, format uintptr, mimeType corefoundation.CFStringRef, fileURL corefoundation.CFURLRef) int32

PMPrinterPrintWithFile submits a print job to a specified printer using a file that contains print data.

See: https://developer.apple.com/documentation/applicationservices/1464600-pmprinterprintwithfile

func PMPrinterPrintWithProvider

func PMPrinterPrintWithProvider(printer uintptr, settings uintptr, format uintptr, mimeType corefoundation.CFStringRef, provider coregraphics.CGDataProviderRef) int32

PMPrinterPrintWithProvider submits a print job to a specified printer using a Quartz data provider to obtain the print data.

See: https://developer.apple.com/documentation/applicationservices/1461110-pmprinterprintwithprovider

func PMPrinterSetDefault

func PMPrinterSetDefault(printer uintptr) int32

PMPrinterSetDefault sets the default printer for the current user.

See: https://developer.apple.com/documentation/applicationservices/1461118-pmprintersetdefault

func PMPrinterSetOutputResolution

func PMPrinterSetOutputResolution(printer uintptr, printSettings uintptr, resolutionP unsafe.Pointer) int32

PMPrinterSetOutputResolution sets the print settings to reflect the specified printer hardware output resolution.

See: https://developer.apple.com/documentation/applicationservices/1459931-pmprintersetoutputresolution

func PMPrinterWritePostScriptToURL

func PMPrinterWritePostScriptToURL(printer uintptr, settings uintptr, format uintptr, mimeType corefoundation.CFStringRef, sourceFileURL corefoundation.CFURLRef, destinationFileURL corefoundation.CFURLRef) int32

PMPrinterWritePostScriptToURL converts an input file of the specified MIME type to printer-ready PostScript for a destination printer.

See: https://developer.apple.com/documentation/applicationservices/1459729-pmprinterwritepostscripttourl

func PMRelease

func PMRelease(object PMObject) int32

PMRelease releases a printing object by decrementing its reference count.

See: https://developer.apple.com/documentation/applicationservices/1461402-pmrelease

func PMRetain

func PMRetain(object PMObject) int32

PMRetain retains a printing object by incrementing its reference count.

See: https://developer.apple.com/documentation/applicationservices/1460190-pmretain

func PMServerCreatePrinterList

func PMServerCreatePrinterList(server PMServer, printerList *corefoundation.CFArrayRef) int32

PMServerCreatePrinterList creates a list of printers available to a print server.

See: https://developer.apple.com/documentation/applicationservices/1459953-pmservercreateprinterlist

func PMServerLaunchPrinterBrowser

func PMServerLaunchPrinterBrowser(server PMServer, options corefoundation.CFDictionaryRef) int32

PMServerLaunchPrinterBrowser launches the printer browser to browse the printers available for a print server.

See: https://developer.apple.com/documentation/applicationservices/1460175-pmserverlaunchprinterbrowser

func PMSessionBeginCGDocumentNoDialog

func PMSessionBeginCGDocumentNoDialog(printSession PMPrintSession, printSettings uintptr, pageFormat uintptr) int32

PMSessionBeginCGDocumentNoDialog begins a print job that draws into a Quartz graphics context and suppresses the printing status dialog.

See: https://developer.apple.com/documentation/applicationservices/1460101-pmsessionbegincgdocumentnodialog

func PMSessionBeginPageNoDialog

func PMSessionBeginPageNoDialog(printSession PMPrintSession, pageFormat uintptr, pageFrame unsafe.Pointer) int32

PMSessionBeginPageNoDialog starts a new page for printing in the specified printing session and suppresses the printing status dialog.

See: https://developer.apple.com/documentation/applicationservices/1463416-pmsessionbeginpagenodialog

func PMSessionCopyDestinationFormat

func PMSessionCopyDestinationFormat(printSession PMPrintSession, printSettings uintptr, destFormatP *corefoundation.CFStringRef) int32

PMSessionCopyDestinationFormat obtains the destination format for a print job.

See: https://developer.apple.com/documentation/applicationservices/1464266-pmsessioncopydestinationformat

func PMSessionCopyDestinationLocation

func PMSessionCopyDestinationLocation(printSession PMPrintSession, printSettings uintptr, destLocationP *corefoundation.CFURLRef) int32

PMSessionCopyDestinationLocation obtains a destination location for a print job.

See: https://developer.apple.com/documentation/applicationservices/1462967-pmsessioncopydestinationlocation

func PMSessionCopyOutputFormatList

func PMSessionCopyOutputFormatList(printSession PMPrintSession, destType PMDestinationType, documentFormatP *corefoundation.CFArrayRef) int32

PMSessionCopyOutputFormatList obtains an array of destination formats supported by the current print destination.

See: https://developer.apple.com/documentation/applicationservices/1461332-pmsessioncopyoutputformatlist

func PMSessionCreatePageFormatList

func PMSessionCreatePageFormatList(printSession PMPrintSession, printer uintptr, pageFormatList *corefoundation.CFArrayRef) int32

PMSessionCreatePageFormatList obtains a list of page format objects, each of which describes a paper size available on the specified printer.

See: https://developer.apple.com/documentation/applicationservices/1463985-pmsessioncreatepageformatlist

func PMSessionCreatePrinterList

func PMSessionCreatePrinterList(printSession PMPrintSession, printerList *corefoundation.CFArrayRef, currentIndex *int, currentPrinter *uintptr) int32

PMSessionCreatePrinterList creates a list of printers available in the specified printing session.

See: https://developer.apple.com/documentation/applicationservices/1460119-pmsessioncreateprinterlist

func PMSessionDefaultPageFormat

func PMSessionDefaultPageFormat(printSession PMPrintSession, pageFormat uintptr) int32

PMSessionDefaultPageFormat assigns default parameter values to a page format object used in the specified printing session.

See: https://developer.apple.com/documentation/applicationservices/1462217-pmsessiondefaultpageformat

func PMSessionDefaultPrintSettings

func PMSessionDefaultPrintSettings(printSession PMPrintSession, printSettings uintptr) int32

PMSessionDefaultPrintSettings assigns default parameter values to a print settings object for the specified printing session.

See: https://developer.apple.com/documentation/applicationservices/1460138-pmsessiondefaultprintsettings

func PMSessionEndDocumentNoDialog

func PMSessionEndDocumentNoDialog(printSession PMPrintSession) int32

PMSessionEndDocumentNoDialog ends a print job started by calling the function PMSessionBeginCGDocumentNoDialog(_:_:_:) or PMSessionBeginDocumentNoDialog.

See: https://developer.apple.com/documentation/applicationservices/1464527-pmsessionenddocumentnodialog

func PMSessionEndPageNoDialog

func PMSessionEndPageNoDialog(printSession PMPrintSession) int32

PMSessionEndPageNoDialog indicates the end of drawing the current page for the specified printing session.

See: https://developer.apple.com/documentation/applicationservices/1462014-pmsessionendpagenodialog

func PMSessionError

func PMSessionError(printSession PMPrintSession) int32

PMSessionError obtains the result code for any error returned by the printing session.

See: https://developer.apple.com/documentation/applicationservices/1460003-pmsessionerror

func PMSessionGetCGGraphicsContext

func PMSessionGetCGGraphicsContext(printSession PMPrintSession, context *coregraphics.CGContextRef) int32

PMSessionGetCGGraphicsContext obtains the Quartz graphics context for the current page in a printing session.

See: https://developer.apple.com/documentation/applicationservices/1461952-pmsessiongetcggraphicscontext

func PMSessionGetCurrentPrinter

func PMSessionGetCurrentPrinter(printSession PMPrintSession, currentPrinter *uintptr) int32

PMSessionGetCurrentPrinter obtains the current printer associated with a printing session.

See: https://developer.apple.com/documentation/applicationservices/1458998-pmsessiongetcurrentprinter

func PMSessionGetDataFromSession

func PMSessionGetDataFromSession(printSession PMPrintSession, key corefoundation.CFStringRef, data *corefoundation.CFTypeRef) int32

PMSessionGetDataFromSession obtains application-specific data previously stored in a printing session object.

See: https://developer.apple.com/documentation/applicationservices/1462964-pmsessiongetdatafromsession

func PMSessionGetDestinationType

func PMSessionGetDestinationType(printSession PMPrintSession, printSettings uintptr, destTypeP *PMDestinationType) int32

PMSessionGetDestinationType obtains the output destination for a print job.

See: https://developer.apple.com/documentation/applicationservices/1461071-pmsessiongetdestinationtype

func PMSessionSetCurrentPMPrinter

func PMSessionSetCurrentPMPrinter(session PMPrintSession, printer uintptr) int32

PMSessionSetCurrentPMPrinter changes the current printer for a printing session.

See: https://developer.apple.com/documentation/applicationservices/1461096-pmsessionsetcurrentpmprinter

func PMSessionSetDataInSession

func PMSessionSetDataInSession(printSession PMPrintSession, key corefoundation.CFStringRef, data corefoundation.CFTypeRef) int32

PMSessionSetDataInSession stores your application-specific data in a printing session object.

See: https://developer.apple.com/documentation/applicationservices/1461902-pmsessionsetdatainsession

func PMSessionSetDestination

func PMSessionSetDestination(printSession PMPrintSession, printSettings uintptr, destType PMDestinationType, destFormat corefoundation.CFStringRef, destLocation corefoundation.CFURLRef) int32

PMSessionSetDestination sets the destination location, format, and type for a print job.

See: https://developer.apple.com/documentation/applicationservices/1459855-pmsessionsetdestination

func PMSessionSetError

func PMSessionSetError(printSession PMPrintSession, printError int32) int32

PMSessionSetError sets the value of the current result code for the specified printing session.

See: https://developer.apple.com/documentation/applicationservices/1460216-pmsessionseterror

func PMSessionValidatePageFormat

func PMSessionValidatePageFormat(printSession PMPrintSession, pageFormat uintptr, changed unsafe.Pointer) int32

PMSessionValidatePageFormat updates the values in a page format object and validates them against the current formatting printer.

See: https://developer.apple.com/documentation/applicationservices/1459090-pmsessionvalidatepageformat

func PMSessionValidatePrintSettings

func PMSessionValidatePrintSettings(printSession PMPrintSession, printSettings uintptr, changed unsafe.Pointer) int32

PMSessionValidatePrintSettings validates a print settings object within the context of the specified printing session.

See: https://developer.apple.com/documentation/applicationservices/1458994-pmsessionvalidateprintsettings

func PMSetCollate

func PMSetCollate(printSettings uintptr, collate unsafe.Pointer) int32

PMSetCollate specifies whether the job collate option is selected.

See: https://developer.apple.com/documentation/applicationservices/1463223-pmsetcollate

func PMSetCopies

func PMSetCopies(printSettings uintptr, copies uint32, lock unsafe.Pointer) int32

PMSetCopies sets the initial value for the number of copies to be printed.

See: https://developer.apple.com/documentation/applicationservices/1463804-pmsetcopies

func PMSetDuplex

func PMSetDuplex(printSettings uintptr, duplexSetting PMDuplexMode) int32

PMSetDuplex sets the duplex mode.

See: https://developer.apple.com/documentation/applicationservices/1462000-pmsetduplex

func PMSetFirstPage

func PMSetFirstPage(printSettings uintptr, first uint32, lock unsafe.Pointer) int32

PMSetFirstPage sets the default page number of the first page to be printed.

See: https://developer.apple.com/documentation/applicationservices/1461519-pmsetfirstpage

func PMSetLastPage

func PMSetLastPage(printSettings uintptr, last uint32, lock unsafe.Pointer) int32

PMSetLastPage sets the page number of the last page to be printed.

See: https://developer.apple.com/documentation/applicationservices/1463595-pmsetlastpage

func PMSetOrientation

func PMSetOrientation(pageFormat uintptr, orientation PMOrientation, lock unsafe.Pointer) int32

PMSetOrientation sets the page orientation for printing.

See: https://developer.apple.com/documentation/applicationservices/1459016-pmsetorientation

func PMSetPageFormatExtendedData

func PMSetPageFormatExtendedData(pageFormat uintptr, dataID uint32, size uint32, extendedData unsafe.Pointer) int32

PMSetPageFormatExtendedData stores your application-specific data in a page format object.

See: https://developer.apple.com/documentation/applicationservices/1463464-pmsetpageformatextendeddata

func PMSetPageRange

func PMSetPageRange(printSettings uintptr, minPage uint32, maxPage uint32) int32

PMSetPageRange sets the valid range of pages that can be printed.

See: https://developer.apple.com/documentation/applicationservices/1462294-pmsetpagerange

func PMSetScale

func PMSetScale(pageFormat uintptr, scale unsafe.Pointer) int32

PMSetScale sets the scaling factor for the page and paper rectangles.

See: https://developer.apple.com/documentation/applicationservices/1463343-pmsetscale

func PMWorkflowCopyItems

func PMWorkflowCopyItems(workflowItems *corefoundation.CFArrayRef) int32

PMWorkflowCopyItems obtains an array of the available PDF workflow items.

See: https://developer.apple.com/documentation/applicationservices/1459914-pmworkflowcopyitems

func PMWorkflowSubmitPDFWithOptions

func PMWorkflowSubmitPDFWithOptions(workflowItem corefoundation.CFURLRef, title corefoundation.CFStringRef, options string, pdfFile corefoundation.CFURLRef) int32

PMWorkflowSubmitPDFWithOptions submits a PDF file for workflow processing using the specified CUPS options string.

See: https://developer.apple.com/documentation/applicationservices/1463747-pmworkflowsubmitpdfwithoptions

func PMWorkflowSubmitPDFWithSettings

func PMWorkflowSubmitPDFWithSettings(workflowItem corefoundation.CFURLRef, settings uintptr, pdfFile corefoundation.CFURLRef) int32

PMWorkflowSubmitPDFWithSettings submits a PDF file for workflow processing using the specified print settings.

See: https://developer.apple.com/documentation/applicationservices/1458874-pmworkflowsubmitpdfwithsettings

func PasteboardCopyPasteLocation

func PasteboardCopyPasteLocation(inPasteboard PasteboardRef, outPasteLocation *corefoundation.CFURLRef) int32

PasteboardCopyPasteLocation.

See: https://developer.apple.com/documentation/applicationservices/1462546-pasteboardcopypastelocation

func PasteboardGetItemCount

func PasteboardGetItemCount(inPasteboard PasteboardRef, outItemCount unsafe.Pointer) int32

PasteboardGetItemCount.

See: https://developer.apple.com/documentation/applicationservices/1459551-pasteboardgetitemcount

func PasteboardGetItemIdentifier

func PasteboardGetItemIdentifier(inPasteboard PasteboardRef, inIndex int, outItem *PasteboardItemID) int32

PasteboardGetItemIdentifier.

See: https://developer.apple.com/documentation/applicationservices/1463412-pasteboardgetitemidentifier

func PauseSpeechAt deprecated

func PauseSpeechAt(chan_ *SpeechChannelRecord, whereToPause unsafe.Pointer) int16

PauseSpeechAt pauses speech on a speech channel.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1461174-pausespeechat

func ProcessInformationCopyDictionary deprecated

func ProcessInformationCopyDictionary(arg0 *ProcessSerialNumber, arg1 uint32) corefoundation.CFDictionaryRef

ProcessInformationCopyDictionary.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501104-processinformationcopydictionary

func SameProcess deprecated

func SameProcess(arg0 *ProcessSerialNumber, arg1 *ProcessSerialNumber, arg2 bool) int16

SameProcess.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501087-sameprocess

func SetFrontProcess deprecated

func SetFrontProcess(arg0 *ProcessSerialNumber) int16

SetFrontProcess.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501042-setfrontprocess

func SetFrontProcessWithOptions deprecated

func SetFrontProcessWithOptions(arg0 *ProcessSerialNumber, arg1 uint32) int32

SetFrontProcessWithOptions.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501003-setfrontprocesswithoptions

func SetSpeechInfo deprecated

func SetSpeechInfo(arg0 *SpeechChannelRecord, arg1 uint32) int16

SetSpeechInfo changes a setting of a particular speech channel.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552223-setspeechinfo

func SetSpeechPitch deprecated

func SetSpeechPitch(chan_ *SpeechChannelRecord, pitch int32) int16

SetSpeechPitch sets the speech pitch on a designated speech channel.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1462674-setspeechpitch

func SetSpeechProperty deprecated

func SetSpeechProperty(chan_ *SpeechChannelRecord, property corefoundation.CFStringRef, object corefoundation.CFTypeRef) int16

SetSpeechProperty sets the value of the specified speech-channel property.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1459256-setspeechproperty

func SetSpeechRate deprecated

func SetSpeechRate(chan_ *SpeechChannelRecord, rate int32) int16

SetSpeechRate sets the speech rate of a designated speech channel.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1459896-setspeechrate

func ShowHideProcess deprecated

func ShowHideProcess(arg0 *ProcessSerialNumber, arg1 bool) int16

ShowHideProcess.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501053-showhideprocess

func SpeakBuffer deprecated

func SpeakBuffer(arg0 *SpeechChannelRecord, arg1 uint, arg2 int32) int16

SpeakBuffer speaks a buffer of text, using certain flags to controlspeech behavior.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552252-speakbuffer

func SpeakCFString deprecated

func SpeakCFString(chan_ *SpeechChannelRecord, aString corefoundation.CFStringRef, options corefoundation.CFDictionaryRef) int16

SpeakCFString begins speaking a string represented as a [CFString] object.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1461621-speakcfstring

func SpeakString deprecated

func SpeakString(arg0 unsafe.Pointer) int16

SpeakString begins speaking a text string.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552250-speakstring

func SpeakText deprecated

func SpeakText(arg0 *SpeechChannelRecord, arg1 uint) int16

SpeakText begins speaking a buffer of text.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552236-speaktext

func SpeechBusy deprecated

func SpeechBusy() unsafe.Pointer

SpeechBusy determines whether any channels of speech are currentlysynthesizing speech.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1464581-speechbusy

func SpeechBusySystemWide deprecated

func SpeechBusySystemWide() unsafe.Pointer

SpeechBusySystemWide determines if any speech is currently being synthesizedin your application or elsewhere on the computer.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1460113-speechbusysystemwide

func SpeechManagerVersion deprecated

func SpeechManagerVersion() uint32

SpeechManagerVersion determines the current version of the Speech SynthesisManager installed in the system.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1462334-speechmanagerversion

func SpeechSynthesisRegisterModuleURL deprecated

func SpeechSynthesisRegisterModuleURL(url corefoundation.CFURLRef) int16

SpeechSynthesisRegisterModuleURL registers and makes available a speech synthesizer or voice.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1459624-speechsynthesisregistermoduleurl

func SpeechSynthesisUnregisterModuleURL deprecated

func SpeechSynthesisUnregisterModuleURL(url corefoundation.CFURLRef) int16

SpeechSynthesisUnregisterModuleURL unregisters a registered speech synthesizer or voice.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1462511-speechsynthesisunregistermoduleu

func StopSpeech deprecated

func StopSpeech(chan_ *SpeechChannelRecord) int16

StopSpeech terminates speech immediately on the specified channel.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1462745-stopspeech

func StopSpeechAt deprecated

func StopSpeechAt(chan_ *SpeechChannelRecord, whereToStop unsafe.Pointer) int16

StopSpeechAt terminates speech delivery on a specified channel eitherimmediately or at the end of the current word or sentence.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1459780-stopspeechat

func TextToPhonemes deprecated

func TextToPhonemes(arg0 *SpeechChannelRecord, arg1 uint, arg2 unsafe.Pointer, arg3 int) int16

TextToPhonemes converts a buffer of textual data into phonemic data.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552235-texttophonemes

func TranslationCopyDestinationType

func TranslationCopyDestinationType(inTranslation TranslationRef, outDestinationType *corefoundation.CFStringRef) int32

TranslationCopyDestinationType.

See: https://developer.apple.com/documentation/applicationservices/1459620-translationcopydestinationtype

func TranslationCreate

func TranslationCreate(inSourceType corefoundation.CFStringRef, inDestinationType corefoundation.CFStringRef, inTranslationFlags TranslationFlags, outTranslation *TranslationRef) int32

TranslationCreate.

See: https://developer.apple.com/documentation/applicationservices/1459231-translationcreate

func TranslationCreateWithSourceArray

func TranslationCreateWithSourceArray(inSourceTypes corefoundation.CFArrayRef, inTranslationFlags TranslationFlags, outDestinationTypes *corefoundation.CFArrayRef, outTranslations *corefoundation.CFDictionaryRef) int32

TranslationCreateWithSourceArray.

See: https://developer.apple.com/documentation/applicationservices/1464306-translationcreatewithsourcearray

func TranslationGetTranslationFlags

func TranslationGetTranslationFlags(inTranslation TranslationRef, outTranslationFlags *TranslationFlags) int32

TranslationGetTranslationFlags.

See: https://developer.apple.com/documentation/applicationservices/1459307-translationgettranslationflags

func TranslationPerformForData

func TranslationPerformForData(inTranslation TranslationRef, inSourceData corefoundation.CFDataRef, outDestinationData *corefoundation.CFDataRef) int32

TranslationPerformForData.

See: https://developer.apple.com/documentation/applicationservices/1460828-translationperformfordata

func TranslationPerformForFile

func TranslationPerformForFile(inTranslation TranslationRef, inSourceFile unsafe.Pointer, inDestinationDirectory unsafe.Pointer, inDestinationName corefoundation.CFStringRef, outTranslatedFile unsafe.Pointer) int32

TranslationPerformForFile.

See: https://developer.apple.com/documentation/applicationservices/1464541-translationperformforfile

func TranslationPerformForURL

func TranslationPerformForURL(inTranslation TranslationRef, inSourceURL corefoundation.CFURLRef, inDestinationURL corefoundation.CFURLRef, outTranslatedURL *corefoundation.CFURLRef) int32

TranslationPerformForURL.

See: https://developer.apple.com/documentation/applicationservices/1460118-translationperformforurl

func UAZoomChangeFocus

func UAZoomChangeFocus(inRect unsafe.Pointer, inHighlightRect unsafe.Pointer, inType UAZoomChangeFocusType) int32

UAZoomChangeFocus tells the Universal Access zoom feature where it should focus.

See: https://developer.apple.com/documentation/applicationservices/1458830-uazoomchangefocus

func UAZoomEnabled

func UAZoomEnabled() bool

UAZoomEnabled determines if the Universal Access zoom feature is enabled.

See: https://developer.apple.com/documentation/applicationservices/1462288-uazoomenabled

func UseDictionary deprecated

func UseDictionary(arg0 *SpeechChannelRecord, arg1 unsafe.Pointer) int16

UseDictionary installs the designated dictionary into a speech channel.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552255-usedictionary

func UseSpeechDictionary deprecated

func UseSpeechDictionary(chan_ *SpeechChannelRecord, speechDictionary corefoundation.CFDictionaryRef) int16

UseSpeechDictionary registers a speech dictionary with a speech channel.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1463688-usespeechdictionary

func WakeUpProcess deprecated

func WakeUpProcess(arg0 *ProcessSerialNumber) int16

WakeUpProcess.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1501091-wakeupprocess

Types

type ATSFSSpec

type ATSFSSpec struct {
	ParID   unsafe.Pointer
	VRefNum int16
	Name    string
}

ATSFSSpec

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsfsspec

type ATSFlatDataFontNameDataHeader

type ATSFlatDataFontNameDataHeader struct {
	NameSpecifierType uint32
	NameSpecifierSize uint32
}

ATSFlatDataFontNameDataHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatafontnamedataheader

type ATSFlatDataFontSpecRawNameData

type ATSFlatDataFontSpecRawNameData struct {
	FontNameType     uint16
	FontNamePlatform uint16
	FontNameScript   uint16
	FontNameLanguage uint16
	FontNameLength   uint32
}

ATSFlatDataFontSpecRawNameData

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatafontspecrawnamedata

type ATSFlatDataFontSpecRawNameDataHeader

type ATSFlatDataFontSpecRawNameDataHeader struct {
	NumberOfFlattenedNames uint32
	NameDataArray          ATSFlatDataFontSpecRawNameData
}

ATSFlatDataFontSpecRawNameDataHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatafontspecrawnamedataheader

type ATSFlatDataLayoutControlsDataHeader

type ATSFlatDataLayoutControlsDataHeader struct {
	NumberOfLayoutControls uint32
	ControlArray           ATSUAttributeInfo
}

ATSFlatDataLayoutControlsDataHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatalayoutcontrolsdataheader

type ATSFlatDataLineInfoData

type ATSFlatDataLineInfoData struct {
	LineLength           uint32
	NumberOfLineControls uint32
}

ATSFlatDataLineInfoData

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatalineinfodata

type ATSFlatDataLineInfoHeader

type ATSFlatDataLineInfoHeader struct {
	NumberOfLines uint32
	LineInfoArray ATSFlatDataLineInfoData
}

ATSFlatDataLineInfoHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatalineinfoheader

type ATSFlatDataMainHeaderBlock

type ATSFlatDataMainHeaderBlock struct {
	Version             uint32
	SizeOfDataBlock     uint32
	OffsetToTextLayouts uint32
	OffsetToStyleRuns   uint32
	OffsetToStyleList   uint32
}

ATSFlatDataMainHeaderBlock

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatamainheaderblock

type ATSFlatDataStyleListFeatureData

type ATSFlatDataStyleListFeatureData struct {
	TheFeatureType     uint16
	TheFeatureSelector uint16
}

ATSFlatDataStyleListFeatureData

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatastylelistfeaturedata

type ATSFlatDataStyleListHeader

type ATSFlatDataStyleListHeader struct {
	NumberOfStyles uint32
	StyleDataArray ATSFlatDataStyleListStyleDataHeader
}

ATSFlatDataStyleListHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatastylelistheader

type ATSFlatDataStyleListStyleDataHeader

type ATSFlatDataStyleListStyleDataHeader struct {
	SizeOfStyleInfo       uint32
	NumberOfSetAttributes uint32
	NumberOfSetFeatures   uint32
	NumberOfSetVariations uint32
}

ATSFlatDataStyleListStyleDataHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatastyleliststyledataheader

type ATSFlatDataStyleListVariationData

type ATSFlatDataStyleListVariationData struct {
	TheVariationAxis  uint32
	TheVariationValue int32
}

ATSFlatDataStyleListVariationData

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatastylelistvariationdata

type ATSFlatDataStyleRunDataHeader

type ATSFlatDataStyleRunDataHeader struct {
	NumberOfStyleRuns uint32
	StyleRunArray     ATSUStyleRunInfo
}

ATSFlatDataStyleRunDataHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatastylerundataheader

type ATSFlatDataTextLayoutDataHeader

type ATSFlatDataTextLayoutDataHeader struct {
	SizeOfLayoutData       uint32
	TextLayoutLength       uint32
	OffsetToLayoutControls uint32
	OffsetToLineInfo       uint32
}

ATSFlatDataTextLayoutDataHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatatextlayoutdataheader

type ATSFlatDataTextLayoutHeader

type ATSFlatDataTextLayoutHeader struct {
	NumFlattenedTextLayouts uint32
	FlattenedTextLayouts    ATSFlatDataTextLayoutDataHeader
}

ATSFlatDataTextLayoutHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsflatdatatextlayoutheader

type ATSFontFilter

type ATSFontFilter struct {
	Version        uint32
	FilterSelector ATSFontFilterSelector
	Filter         unsafe.Pointer
}

ATSFontFilter

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsfontfilter

type ATSFontFilterSelector

type ATSFontFilterSelector uint32

See: https://developer.apple.com/documentation/applicationservices/atsfontfilterselector

const (
	KATSFileReferenceFilterSelector                 ATSFontFilterSelector = 10
	KATSFontFilterSelectorFontApplierFunction       ATSFontFilterSelector = 9
	KATSFontFilterSelectorFontFamily                ATSFontFilterSelector = 7
	KATSFontFilterSelectorFontFamilyApplierFunction ATSFontFilterSelector = 8
	KATSFontFilterSelectorGeneration                ATSFontFilterSelector = 3
	KATSFontFilterSelectorUnspecified               ATSFontFilterSelector = 0
)

func (ATSFontFilterSelector) String

func (e ATSFontFilterSelector) String() string

type ATSFontMetrics

type ATSFontMetrics struct {
	Version             uint32
	Ascent              float64
	Descent             float64
	Leading             float64
	AvgAdvanceWidth     float64
	MaxAdvanceWidth     float64
	MinLeftSideBearing  float64
	MinRightSideBearing float64
	StemWidth           float64
	StemHeight          float64
	CapHeight           float64
	XHeight             float64
	ItalicAngle         float64
	UnderlinePosition   float64
	UnderlineThickness  float64
}

ATSFontMetrics

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsfontmetrics

type ATSFontNotifyAction

type ATSFontNotifyAction uint32

See: https://developer.apple.com/documentation/applicationservices/atsfontnotifyaction

const (
	KATSFontNotifyActionDirectoriesChanged ATSFontNotifyAction = 2
	KATSFontNotifyActionFontsChanged       ATSFontNotifyAction = 1
)

func (ATSFontNotifyAction) String

func (e ATSFontNotifyAction) String() string

type ATSFontNotifyOption

type ATSFontNotifyOption uint32

See: https://developer.apple.com/documentation/applicationservices/atsfontnotifyoption

const (
	KATSFontNotifyOptionDefault               ATSFontNotifyOption = 0
	KATSFontNotifyOptionReceiveWhileSuspended ATSFontNotifyOption = 1
)

func (ATSFontNotifyOption) String

func (e ATSFontNotifyOption) String() string

type ATSFontQueryMessageID

type ATSFontQueryMessageID uint32

See: https://developer.apple.com/documentation/applicationservices/atsfontquerymessageid

const (
	KATSQueryActivateFontMessage ATSFontQueryMessageID = 'a'<<24 | 't'<<16 | 's'<<8 | 'a' // 'atsa'
)

func (ATSFontQueryMessageID) String

func (e ATSFontQueryMessageID) String() string

type ATSGlyphIdealMetrics

type ATSGlyphIdealMetrics struct {
	Advance          unsafe.Pointer
	SideBearing      unsafe.Pointer
	OtherSideBearing unsafe.Pointer
}

ATSGlyphIdealMetrics

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsglyphidealmetrics

type ATSGlyphScreenMetrics

type ATSGlyphScreenMetrics struct {
	DeviceAdvance    unsafe.Pointer
	TopLeft          unsafe.Pointer
	Height           uint32
	Width            uint32
	SideBearing      unsafe.Pointer
	OtherSideBearing unsafe.Pointer
}

ATSGlyphScreenMetrics

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsglyphscreenmetrics

type ATSJustWidthDeltaEntryOverride

type ATSJustWidthDeltaEntryOverride struct {
	BeforeGrowLimit   int32
	BeforeShrinkLimit int32
	AfterGrowLimit    int32
	AfterShrinkLimit  int32
	GrowFlags         uint32
	ShrinkFlags       uint32
}

ATSJustWidthDeltaEntryOverride

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsjustwidthdeltaentryoverride

type ATSLayoutRecord

type ATSLayoutRecord struct {
	GlyphID        ATSGlyphRef
	Flags          uint32
	OriginalOffset int
	RealPos        int32
}

ATSLayoutRecord

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atslayoutrecord

type ATSTrapezoid

type ATSTrapezoid struct {
	UpperLeft  unsafe.Pointer
	UpperRight unsafe.Pointer
	LowerRight unsafe.Pointer
	LowerLeft  unsafe.Pointer
}

ATSTrapezoid

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atstrapezoid

type ATSUAttributeInfo

type ATSUAttributeInfo struct {
	FTag       uint32
	FValueSize int
}

ATSUAttributeInfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsuattributeinfo

type ATSUCaret

type ATSUCaret struct {
	FX      int32
	FY      int32
	FDeltaX int32
	FDeltaY int32
}

ATSUCaret

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsucaret

type ATSUCurvePath

type ATSUCurvePath struct {
	Vectors     uint32
	Vector      unsafe.Pointer
	ControlBits uint32
}

ATSUCurvePath

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsucurvepath

type ATSUCurvePaths

type ATSUCurvePaths struct {
	Contours uint32
	Contour  ATSUCurvePath
}

ATSUCurvePaths

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsucurvepaths

type ATSUGlyphInfo

type ATSUGlyphInfo struct {
	GlyphID     uint16
	Reserved    uint16
	LayoutFlags uint32
	CharIndex   uint32
	Style       unsafe.Pointer
	DeltaY      float32
	IdealX      float32
	ScreenX     unsafe.Pointer
	CaretX      unsafe.Pointer
}

ATSUGlyphInfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsuglyphinfo

type ATSUGlyphInfoArray

type ATSUGlyphInfoArray struct {
	Layout    unsafe.Pointer
	NumGlyphs int
	Glyphs    ATSUGlyphInfo
}

ATSUGlyphInfoArray

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsuglyphinfoarray

type ATSUGlyphSelector

type ATSUGlyphSelector struct {
	Collection uint16
	GlyphID    uint16
}

ATSUGlyphSelector

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsuglyphselector

type ATSULayoutOperationOverrideSpecifier

type ATSULayoutOperationOverrideSpecifier struct {
	OperationSelector uint32
	OverrideUPP       unsafe.Pointer
}

ATSULayoutOperationOverrideSpecifier

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsulayoutoperationoverridespecifier

type ATSURGBAlphaColor

type ATSURGBAlphaColor struct {
	Red   float32
	Green float32
	Blue  float32
	Alpha float32
}

ATSURGBAlphaColor

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsurgbalphacolor

type ATSUStyleRunInfo

type ATSUStyleRunInfo struct {
	RunLength        uint32
	StyleObjectIndex uint32
}

ATSUStyleRunInfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsustyleruninfo

type ATSUTab

type ATSUTab struct {
	TabPosition int32
	TabType     uint16
}

ATSUTab

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsutab

type ATSUUnhighlightData

type ATSUUnhighlightData struct {
	DataType        uint32
	UnhighlightData unsafe.Pointer
}

ATSUUnhighlightData

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsuunhighlightdata

type AXCopyMultipleAttributeOptions

type AXCopyMultipleAttributeOptions uint32

See: https://developer.apple.com/documentation/applicationservices/axcopymultipleattributeoptions

const (
	StopOnError AXCopyMultipleAttributeOptions = 0
)

func (AXCopyMultipleAttributeOptions) String

type AXError

type AXError int

See: https://developer.apple.com/documentation/applicationservices/axerror

func AXMakeProcessTrusted deprecated

func AXMakeProcessTrusted(arg0 corefoundation.CFStringRef) AXError

AXMakeProcessTrusted attempts to make the process represented by the specified path a trusted accessibility client.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1462083-axmakeprocesstrusted

func AXObserverAddNotification

func AXObserverAddNotification(observer AXObserverRef, element AXUIElementRef, notification corefoundation.CFStringRef, refcon uintptr) AXError

AXObserverAddNotification registers the specified observer to receive notifications from the specified accessibility object.

See: https://developer.apple.com/documentation/applicationservices/1462089-axobserveraddnotification

func AXObserverCreate

func AXObserverCreate(application int32, callback AXObserverCallback, outObserver *AXObserverRef) AXError

AXObserverCreate creates a new observer that can receive notifications from the specified application.

See: https://developer.apple.com/documentation/applicationservices/1460133-axobservercreate

func AXObserverCreateWithInfoCallback

func AXObserverCreateWithInfoCallback(application int32, callback AXObserverCallbackWithInfo, outObserver *AXObserverRef) AXError

AXObserverCreateWithInfoCallback creates a new observer that can receive notifications with an information dictionary from the specified application.

See: https://developer.apple.com/documentation/applicationservices/1460610-axobservercreatewithinfocallback

func AXObserverRemoveNotification

func AXObserverRemoveNotification(observer AXObserverRef, element AXUIElementRef, notification corefoundation.CFStringRef) AXError

AXObserverRemoveNotification removes the specified notification from the list of notifications the observer wants to receive from the accessibility object.

See: https://developer.apple.com/documentation/applicationservices/1462066-axobserverremovenotification

func AXUIElementCopyActionDescription

func AXUIElementCopyActionDescription(element AXUIElementRef, action corefoundation.CFStringRef, description *corefoundation.CFStringRef) AXError

AXUIElementCopyActionDescription returns a localized description of the specified accessibility object's action.

See: https://developer.apple.com/documentation/applicationservices/1462075-axuielementcopyactiondescription

func AXUIElementCopyActionNames

func AXUIElementCopyActionNames(element AXUIElementRef, names *corefoundation.CFArrayRef) AXError

AXUIElementCopyActionNames returns a list of all the actions the specified accessibility object can perform.

See: https://developer.apple.com/documentation/applicationservices/1462053-axuielementcopyactionnames

func AXUIElementCopyAttributeNames

func AXUIElementCopyAttributeNames(element AXUIElementRef, names *corefoundation.CFArrayRef) AXError

AXUIElementCopyAttributeNames returns a list of all the attributes supported by the specified accessibility object.

See: https://developer.apple.com/documentation/applicationservices/1459475-axuielementcopyattributenames

func AXUIElementCopyAttributeValue

func AXUIElementCopyAttributeValue(element AXUIElementRef, attribute corefoundation.CFStringRef, value *corefoundation.CFTypeRef) AXError

AXUIElementCopyAttributeValue returns the value of an accessibility object's attribute.

See: https://developer.apple.com/documentation/applicationservices/1462085-axuielementcopyattributevalue

func AXUIElementCopyAttributeValues

func AXUIElementCopyAttributeValues(element AXUIElementRef, attribute corefoundation.CFStringRef, index int, maxValues int, values *corefoundation.CFArrayRef) AXError

AXUIElementCopyAttributeValues returns an array of attribute values for the accessibility object's attribute, starting at the specified index.

See: https://developer.apple.com/documentation/applicationservices/1462060-axuielementcopyattributevalues

func AXUIElementCopyElementAtPosition

func AXUIElementCopyElementAtPosition(application AXUIElementRef, x unsafe.Pointer, y unsafe.Pointer, element *AXUIElementRef) AXError

AXUIElementCopyElementAtPosition returns the accessibility object at the specified position in top-left relative screen coordinates.

See: https://developer.apple.com/documentation/applicationservices/1462077-axuielementcopyelementatposition

func AXUIElementCopyMultipleAttributeValues

func AXUIElementCopyMultipleAttributeValues(element AXUIElementRef, attributes corefoundation.CFArrayRef, options AXCopyMultipleAttributeOptions, values *corefoundation.CFArrayRef) AXError

AXUIElementCopyMultipleAttributeValues returns the values of multiple attributes in the accessibility object.

See: https://developer.apple.com/documentation/applicationservices/1462051-axuielementcopymultipleattribute

func AXUIElementCopyParameterizedAttributeNames

func AXUIElementCopyParameterizedAttributeNames(element AXUIElementRef, names *corefoundation.CFArrayRef) AXError

AXUIElementCopyParameterizedAttributeNames returns a list of all the parameterized attributes supported by the specified accessibility object.

See: https://developer.apple.com/documentation/applicationservices/1458783-axuielementcopyparameterizedattr

func AXUIElementCopyParameterizedAttributeValue

func AXUIElementCopyParameterizedAttributeValue(element AXUIElementRef, parameterizedAttribute corefoundation.CFStringRef, parameter corefoundation.CFTypeRef, result *corefoundation.CFTypeRef) AXError

AXUIElementCopyParameterizedAttributeValue returns the value of an accessibility object's parameterized attribute.

See: https://developer.apple.com/documentation/applicationservices/1461203-axuielementcopyparameterizedattr

func AXUIElementGetAttributeValueCount

func AXUIElementGetAttributeValueCount(element AXUIElementRef, attribute corefoundation.CFStringRef, count *int) AXError

AXUIElementGetAttributeValueCount returns the count of the array of an accessibility object's attribute value.

See: https://developer.apple.com/documentation/applicationservices/1459066-axuielementgetattributevaluecoun

func AXUIElementGetPid

func AXUIElementGetPid(element AXUIElementRef, pid *int32) AXError

AXUIElementGetPid returns the process ID associated with the specified accessibility object.

See: https://developer.apple.com/documentation/applicationservices/1460337-axuielementgetpid

func AXUIElementIsAttributeSettable

func AXUIElementIsAttributeSettable(element AXUIElementRef, attribute corefoundation.CFStringRef, settable unsafe.Pointer) AXError

AXUIElementIsAttributeSettable returns whether the specified accessibility object's attribute can be modified.

See: https://developer.apple.com/documentation/applicationservices/1459972-axuielementisattributesettable

func AXUIElementPerformAction

func AXUIElementPerformAction(element AXUIElementRef, action corefoundation.CFStringRef) AXError

AXUIElementPerformAction requests that the specified accessibility object perform the specified action.

See: https://developer.apple.com/documentation/applicationservices/1462091-axuielementperformaction

func AXUIElementPostKeyboardEvent deprecated

func AXUIElementPostKeyboardEvent(arg0 AXUIElementRef, arg1 uint16, arg2 uint16, arg3 bool) AXError

AXUIElementPostKeyboardEvent posts keys to the specified application.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/applicationservices/1462057-axuielementpostkeyboardevent

func AXUIElementSetAttributeValue

func AXUIElementSetAttributeValue(element AXUIElementRef, attribute corefoundation.CFStringRef, value corefoundation.CFTypeRef) AXError

AXUIElementSetAttributeValue sets the accessibility object's attribute to the specified value.

See: https://developer.apple.com/documentation/applicationservices/1460434-axuielementsetattributevalue

func AXUIElementSetMessagingTimeout

func AXUIElementSetMessagingTimeout(element AXUIElementRef, timeoutInSeconds unsafe.Pointer) AXError

AXUIElementSetMessagingTimeout sets the timeout value used in the accessibility API.

See: https://developer.apple.com/documentation/applicationservices/1459345-axuielementsetmessagingtimeout

type AXMenuItemModifiers

type AXMenuItemModifiers uint32

See: https://developer.apple.com/documentation/applicationservices/axmenuitemmodifiers

const (
	Control   AXMenuItemModifiers = 0
	NoCommand AXMenuItemModifiers = 0
	Option    AXMenuItemModifiers = 0
	Shift     AXMenuItemModifiers = 0
)

func (AXMenuItemModifiers) String

func (e AXMenuItemModifiers) String() string

type AXUIElementRef

type AXUIElementRef uintptr

AXUIElementRef is a structure used to refer to an accessibility object.

See: https://developer.apple.com/documentation/applicationservices/axuielementref

func AXUIElementCreateApplication

func AXUIElementCreateApplication(pid int32) AXUIElementRef

AXUIElementCreateApplication creates and returns the top-level accessibility object for the application with the specified process ID.

See: https://developer.apple.com/documentation/applicationservices/1459374-axuielementcreateapplication

func AXUIElementCreateSystemWide

func AXUIElementCreateSystemWide() AXUIElementRef

AXUIElementCreateSystemWide returns an accessibility object that provides access to system attributes.

See: https://developer.apple.com/documentation/applicationservices/1462095-axuielementcreatesystemwide

type AppParameters

type AppParameters struct {
	EventRefCon   uint32
	MessageLength uint32
	TheMsgEvent   unsafe.Pointer
	What          uint16
	Message       uint32
	When          uint32
	Where         Point
	Modifiers     uint16
}

AppParameters

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/appparameters

type AsscEntry

type AsscEntry struct {
	FontSize  unsafe.Pointer
	FontStyle unsafe.Pointer
	FontID    unsafe.Pointer
}

AsscEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/asscentry

type At

type At uint
const (
	AtAbsoluteCenter   At = 5
	AtBottom           At = 3
	AtBottomLeft       At = 11
	AtBottomRight      At = 15
	AtCenterBottom     At = 7
	AtCenterLeft       At = 9
	AtCenterRight      At = 13
	AtCenterTop        At = 6
	AtHorizontalCenter At = 4
	AtLeft             At = 8
	AtNone             At = 0
	AtRight            At = 12
	AtTop              At = 2
	AtTopLeft          At = 10
	AtTopRight         At = 14
	AtVerticalCenter   At = 1
)

func (At) String

func (e At) String() string

type BadPasteboardSyncErr

type BadPasteboardSyncErr int
const (
	BadPasteboardFlavorErr       BadPasteboardSyncErr = -25133
	BadPasteboardIndexErr        BadPasteboardSyncErr = -25131
	BadPasteboardItemErr         BadPasteboardSyncErr = -25132
	BadPasteboardSyncErrValue    BadPasteboardSyncErr = -25130
	DuplicatePasteboardFlavorErr BadPasteboardSyncErr = -25134
	NoPasteboardPromiseKeeperErr BadPasteboardSyncErr = -25136
	NotPasteboardOwnerErr        BadPasteboardSyncErr = -25135
)

func (BadPasteboardSyncErr) String

func (e BadPasteboardSyncErr) String() string

type BadTranslationRef

type BadTranslationRef int
const (
	BadTranslationRefErr BadTranslationRef = -3031
)

func (BadTranslationRef) String

func (e BadTranslationRef) String() string

type BitMap

type BitMap struct {
	BaseAddr kernel.Ptr
	RowBytes unsafe.Pointer
	Bounds   Rect
}

BitMap

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/bitmap

type CM2Profile

type CM2Profile struct {
	Header   unsafe.Pointer
	TagTable unsafe.Pointer
	ElemData unsafe.Pointer
}

CM2Profile

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cm2profile

type CMDeviceClass

type CMDeviceClass = uint32

CMDeviceClass is define constants to represent a variety of input and output devices.

See: https://developer.apple.com/documentation/applicationservices/cmdeviceclass

type CMDeviceInfo

type CMDeviceInfo struct {
	DataVersion      uint32
	DeviceClass      uint32
	DeviceID         uint32
	DeviceScope      CMDeviceScope
	DeviceState      uint32
	DefaultProfileID uint32
	DeviceName       corefoundation.CFDictionaryRef // See the CFDictionary documentation for a description of the [CFDictionaryRef] data type.
	ProfileCount     uint32
	Reserved         uint32
}

CMDeviceInfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmdeviceinfo

type CMDeviceProfileArray

type CMDeviceProfileArray struct {
	ProfileCount uint32
	Profiles     unsafe.Pointer
}

CMDeviceProfileArray

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmdeviceprofilearray

type CMDeviceScope

type CMDeviceScope struct {
	DeviceUser corefoundation.CFStringRef
	DeviceHost corefoundation.CFStringRef
}

CMDeviceScope

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmdevicescope

type CMFlattenProcPtr

type CMFlattenProcPtr = func(int32, unsafe.Pointer, unsafe.Pointer, unsafe.Pointer) int16

CMFlattenProcPtr is defines a pointer to a data transfer callback function that transfers profile data from the format for embedded profiles to disk file format or vice versa.

See: https://developer.apple.com/documentation/applicationservices/cmflattenprocptr

type CMFlattenUPP

type CMFlattenUPP = unsafe.Pointer

CMFlattenUPP is defines a universal procedure pointer to a data-flattening callback.

See: https://developer.apple.com/documentation/applicationservices/cmflattenupp

type CMFloatBitmapFlags

type CMFloatBitmapFlags uint32

See: https://developer.apple.com/documentation/applicationservices/cmfloatbitmapflags

const (
	KCMFloatBitmapFlagsAlpha        CMFloatBitmapFlags = 1
	KCMFloatBitmapFlagsAlphaPremul  CMFloatBitmapFlags = 2
	KCMFloatBitmapFlagsNone         CMFloatBitmapFlags = 0
	KCMFloatBitmapFlagsRangeClipped CMFloatBitmapFlags = 4
)

func (CMFloatBitmapFlags) String

func (e CMFloatBitmapFlags) String() string

type CMMultiFunctLutType

type CMMultiFunctLutType struct {
	TypeDescriptor uint32
	Reserved       uint32
	InputChannels  uint8
	OutputChannels uint8
	Reserved2      uint16
	OffsetBcurves  uint32
	OffsetMatrix   uint32
	OffsetMcurves  uint32
	OffsetCLUT     uint32
	OffsetAcurves  uint32
	Data           uint8
}

CMMultiFunctLutType

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmmultifunctluttype

type CMXYZColor

type CMXYZColor struct {
	X uint16
	Y uint16
	Z uint16
}

CMXYZColor - Contains values for a color specified in XYZ color space.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmxyzcolor

type CQDProcs

type CQDProcs struct {
	TextProc          unsafe.Pointer
	LineProc          unsafe.Pointer
	RectProc          unsafe.Pointer
	RRectProc         unsafe.Pointer
	OvalProc          unsafe.Pointer
	ArcProc           unsafe.Pointer
	PolyProc          unsafe.Pointer
	RgnProc           unsafe.Pointer
	BitsProc          unsafe.Pointer
	CommentProc       unsafe.Pointer
	TxMeasProc        unsafe.Pointer
	GetPicProc        unsafe.Pointer
	PutPicProc        unsafe.Pointer
	OpcodeProc        unsafe.Pointer
	NewProc1          unsafe.Pointer
	GlyphsProc        unsafe.Pointer
	PrinterStatusProc unsafe.Pointer
	NewProc4          unsafe.Pointer
	NewProc5          unsafe.Pointer
	NewProc6          unsafe.Pointer
}

CQDProcs

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cqdprocs

type Cdev

type Cdev int
const (
	CdevGenErr Cdev = -1
	CdevMemErr Cdev = 0
	CdevResErr Cdev = 1
	CdevUnset  Cdev = 3
)

func (Cdev) String

func (e Cdev) String() string

type Cm

type Cm int
const (
	Cm10CLRData        Cm = 'A'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'ACLR'
	Cm11CLRData        Cm = 'B'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'BCLR'
	Cm12CLRData        Cm = 'C'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'CCLR'
	Cm13CLRData        Cm = 'D'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'DCLR'
	Cm14CLRData        Cm = 'E'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'ECLR'
	Cm15CLRData        Cm = 'F'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'FCLR'
	Cm16_8ColorPacking Cm = 0x2000
	// Cm24_8ColorPacking: The color values for three 8-bit color channels are stored in consecutive bytes, for a total of 24 bits.
	Cm24_8ColorPacking Cm = 0x2100
	// Cm32_16ColorPacking: The color values for two 16-bit color channels are stored in a 32-bit word.
	Cm32_16ColorPacking Cm = 0x2600
	// Cm32_32ColorPacking: The color value for a 32-bit color channel is stored in a 32-bit word.
	Cm32_32ColorPacking Cm = 0x2700
	// Cm32_8ColorPacking: The color values for four 8-bit color channels are stored in consecutive bytes, for a total of 32 bits.
	Cm32_8ColorPacking Cm = 2048
	Cm3CLRData         Cm = '3'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '3CLR'
	// Cm40_8ColorPacking: The color values for five 8-bit color channels are stored in consecutive bytes, for a total of 40 bits.
	Cm40_8ColorPacking Cm = 0x2200
	// Cm48_16ColorPacking: The color values for three 16-bit color channels are stored in 48 consecutive bits.
	Cm48_16ColorPacking Cm = 0x2900
	// Cm48_8ColorPacking: The color values for six 8-bit color channels are stored in consecutive bytes, for a total of 48 bits.
	Cm48_8ColorPacking Cm = 0x2300
	Cm4CLRData         Cm = '4'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '4CLR'
	// Cm56_8ColorPacking: The color values for seven 8-bit color channels are stored in consecutive bytes, for a total of 56 bits.
	Cm56_8ColorPacking Cm = 0x2400
	Cm5CLRData         Cm = '5'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '5CLR'
	// Cm64_16ColorPacking: The color values for four 16-bit color channels are stored in 64 consecutive bits.
	Cm64_16ColorPacking Cm = 0x2a00
	// Cm64_8ColorPacking: The color values for eight 8-bit color channels are stored in consecutive bytes, for a total of 64 bits.
	Cm64_8ColorPacking Cm = 0x2500
	Cm6CLRData         Cm = '6'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '6CLR'
	Cm7CLRData         Cm = '7'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '7CLR'
	Cm8CLRData         Cm = '8'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '8CLR'
	Cm8_8ColorPacking  Cm = 0x2800
	Cm9CLRData         Cm = '9'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '9CLR'
	CmARGB32PmulSpace  Cm = 193
	// CmARGB32Space: # Discussion
	CmARGB32Space      Cm = 129
	CmARGB64LPmulSpace Cm = 193
	CmARGB64LSpace     Cm = 129
	CmARGB64PmulSpace  Cm = 193
	CmARGB64Space      Cm = 129
	CmAToB0Tag         Cm = 'A'<<24 | '2'<<16 | 'B'<<8 | '0' // 'A2B0'
	CmAToB1Tag         Cm = 'A'<<24 | '2'<<16 | 'B'<<8 | '1' // 'A2B1'
	CmAToB2Tag         Cm = 'A'<<24 | '2'<<16 | 'B'<<8 | '2' // 'A2B2'
	// CmAbortWriteAccess: Cancel the current write attempt.
	CmAbortWriteAccess Cm = 7
	// CmAbsoluteColorimetric: This approach is based on a device-independent color space in which the result is an idealized print viewed on an ideal type of paper having a large dynamic range and color gamut.
	CmAbsoluteColorimetric Cm = 3
	// CmAbstractClass: An abstract profile.
	CmAbstractClass Cm = 'a'<<24 | 'b'<<16 | 's'<<8 | 't' // 'abst'
	// CmAlphaFirstPacking: An alpha channel is added to the color value as its first component.
	CmAlphaFirstPacking Cm = 0x1000
	CmAlphaLastPacking  Cm = 0
	// CmAlphaPmulSpace: A premultiplied alpha channel component is added to the color value.
	CmAlphaPmulSpace Cm = 0x40
	// CmAlphaSpace: An alpha channel component is added to the color value.
	CmAlphaSpace Cm = 0x80
	// CmAsciiData: ASCII data.
	CmAsciiData Cm = 0
	CmBToA0Tag  Cm = 'B'<<24 | '2'<<16 | 'A'<<8 | '0' // 'B2A0'
	CmBToA1Tag  Cm = 'B'<<24 | '2'<<16 | 'A'<<8 | '1' // 'B2A1'
	CmBToA2Tag  Cm = 'B'<<24 | '2'<<16 | 'A'<<8 | '2' // 'B2A2'
	// CmBeginAccess: Begin the process of procedural access.
	CmBeginAccess Cm = 8
	// CmBestMode: Best mode indicates that the CMM should maximize resource usage to ensure the highest possible quality.
	CmBestMode Cm = 2
	// CmBinaryData: Binary data.
	CmBinaryData                  Cm = 1
	CmBlackPointCompensationMask  Cm = 0x4
	CmBlueColorantTag             Cm = 'b'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'bXYZ'
	CmBlueTRCTag                  Cm = 'b'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'bTRC'
	CmBradfordChromaticAdaptation Cm = 3
	CmBufferBasedProfile          Cm = 6
	// CmCMSReservedFlagsMask: # Discussion
	CmCMSReservedFlagsMask Cm = 0xffff0000
	// CmCMYData: The CMY data color space.
	CmCMYData Cm = 'C'<<24 | 'M'<<16 | 'Y'<<8 | ' ' // 'CMY '
	// CmCMYK32Space: A CMYK color space composed of cyan, magenta, yellow, and black components whose values are packed with 8 bits of storage per component.
	CmCMYK32Space  Cm = 2
	CmCMYK64LSpace Cm = 2
	// CmCMYK64Space: A CMYK color space composed of cyan, magenta, yellow, and black components whose values are packed with 16 bits of storage per component.
	CmCMYK64Space Cm = 2
	// CmCMYKData: The CMYK data color space.
	CmCMYKData Cm = 'C'<<24 | 'M'<<16 | 'Y'<<8 | 'K' // 'CMYK'
	// CmCMYKSpace: A CMYK color space composed of cyan, magenta, yellow, and black.
	CmCMYKSpace              Cm = 0x2
	CmCS1ProfileVersion      Cm = 0x100
	CmCS2ProfileVersion      Cm = 33554432
	CmCalibrationDateTimeTag Cm = 'c'<<24 | 'a'<<16 | 'l'<<8 | 't' // 'calt'
	CmCameraDeviceClass      Cm = 'c'<<24 | 'm'<<16 | 'r'<<8 | 'a' // 'cmra'
	CmCharTargetTag          Cm = 't'<<24 | 'a'<<16 | 'r'<<8 | 'g' // 'targ'
	CmChromaticAdaptationTag Cm = 'c'<<24 | 'h'<<16 | 'a'<<8 | 'd' // 'chad'
	// CmCloseAccess: Close the profile for reading or writing.
	CmCloseAccess Cm = 5
	// CmCloseSpool: Directs the function to complete the data transfer.
	CmCloseSpool Cm = 5
	// CmColorSpaceClass: A color space profile.
	CmColorSpaceClass Cm = 's'<<24 | 'p'<<16 | 'a'<<8 | 'c' // 'spac'
	CmCopyrightTag    Cm = 'c'<<24 | 'p'<<16 | 'r'<<8 | 't' // 'cprt'
	// CmCreateNewAccess: Create a new data stream for the profile.
	CmCreateNewAccess            Cm = 6
	CmCurrentProfileLocationSize Cm = 0
	CmCurrentProfileMajorVersion Cm = 0x2000000
	// CmDeviceAlreadyRegistered: Device already registered; returned by a CM device integration routine.
	CmDeviceAlreadyRegistered Cm = -4228
	// CmDeviceDBNotFoundErr: Preferences not found or loaded; returned by a CM device integration routine.
	CmDeviceDBNotFoundErr Cm = -4227
	CmDeviceMfgDescTag    Cm = 'd'<<24 | 'm'<<16 | 'n'<<8 | 'd' // 'dmnd'
	CmDeviceModelDescTag  Cm = 'd'<<24 | 'm'<<16 | 'd'<<8 | 'd' // 'dmdd'
	// CmDeviceNotRegistered: Device not found; returned by a CM device integration routine.
	CmDeviceNotRegistered Cm = -4229
	// CmDeviceProfilesNotFound: Profiles not found; returned by a CM device integration routine.
	CmDeviceProfilesNotFound Cm = -4230
	// CmDisplayClass: A display device profile defined for a monitor.
	CmDisplayClass       Cm = 'm'<<24 | 'n'<<16 | 't'<<8 | 'r' // 'mntr'
	CmDisplayDeviceClass Cm = 'm'<<24 | 'n'<<16 | 't'<<8 | 'r' // 'mntr'
	CmDisplayUse         Cm = 'd'<<24 | 'p'<<16 | 'l'<<8 | 'y' // 'dply'
	// CmDraftMode: Draft mode indicates that the CMM should sacrifice quality, if necessary, to minimize resource requirements.
	CmDraftMode Cm = 1
	// CmEmbeddedMask: This mask provides access to bit 0 of the `flags` field, which specifies whether the profile is embedded.
	CmEmbeddedMask Cm = 0x1
	// CmEmbeddedUseMask: # Discussion
	CmEmbeddedUseMask Cm = 0x2
	// CmEndAccess: End the process of procedural access.
	CmEndAccess Cm = 9
	CmFlare0    Cm = 0
	CmFlare100  Cm = 0x1
	// CmGamutCheckingMask: # Discussion
	CmGamutCheckingMask Cm = 0x80000
	// CmGamutResult1Space: # Discussion
	CmGamutResult1Space Cm = 2816
	// CmGamutResultSpace: # Discussion
	CmGamutResultSpace Cm = 0xc
	CmGamutTag         Cm = 'g'<<24 | 'a'<<16 | 'm'<<8 | 't' // 'gamt'
	CmGeometry045or450 Cm = 0x1
	CmGeometry0dord0   Cm = 0x2
	CmGeometryUnknown  Cm = 0
	// CmGlossy: If the bit 1 of the associated mask is `0` then glossy; if `1` then matte.
	CmGlossy Cm = 1
	// CmGlossyMatteMask: # Discussion
	CmGlossyMatteMask Cm = 0x2
	CmGray16LSpace    Cm = 10
	// CmGray16Space: A luminance color space with a single 16-bit component, gray.
	CmGray16Space       Cm = 10
	CmGray8Space        Cm = 10
	CmGrayA16PmulSpace  Cm = 202
	CmGrayA16Space      Cm = 138
	CmGrayA32LPmulSpace Cm = 202
	CmGrayA32LSpace     Cm = 138
	CmGrayA32PmulSpace  Cm = 202
	// CmGrayA32Space: A luminance color space with two components, a gray component followed by an alpha channel component.
	CmGrayA32Space   Cm = 138
	CmGrayAPmulSpace Cm = 138
	// CmGrayASpace: A luminance color space with two components, a gray component followed by an alpha channel component.
	CmGrayASpace Cm = 10
	// CmGrayData: The Gray data color space.
	CmGrayData Cm = 'G'<<24 | 'R'<<16 | 'A'<<8 | 'Y' // 'GRAY'
	// CmGraySpace: A luminance color space with a single component, gray.
	CmGraySpace        Cm = 0xa
	CmGrayTRCTag       Cm = 'k'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'kTRC'
	CmGreenColorantTag Cm = 'g'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'gXYZ'
	CmGreenTRCTag      Cm = 'g'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'gTRC'
	// CmHLS32Space: An HLS color space composed of hue, lightness, and saturation components whose values are packed with 10 bits of storage per component.
	CmHLS32Space Cm = 4
	// CmHLSData: The HLS data color space.
	CmHLSData Cm = 'H'<<24 | 'L'<<16 | 'S'<<8 | ' ' // 'HLS '
	// CmHLSSpace: An HLS color space composed of hue, lightness, and saturation components.
	CmHLSSpace Cm = 0x4
	// CmHSV32Space: An HSV color space composed of hue, saturation, and value components whose values are packed with 10 bits of storage per component.
	CmHSV32Space Cm = 3
	// CmHSVData: The HSV data color space.
	CmHSVData Cm = 'H'<<24 | 'S'<<16 | 'V'<<8 | ' ' // 'HSV '
	// CmHSVSpace: An HSV color space composed of hue, saturation, and value components.
	CmHSVSpace            Cm = 0x3
	CmICCProfileVersion2  Cm = 0x2000000
	CmICCProfileVersion21 Cm = 0x2100000
	CmICCProfileVersion4  Cm = 0x4000000
	// CmICCReservedFlagsMask: # Discussion
	CmICCReservedFlagsMask Cm = 0xffff
	// CmInputClass: An input device profile defined for a scanner.
	CmInputClass Cm = 's'<<24 | 'c'<<16 | 'n'<<8 | 'r' // 'scnr'
	CmInputUse   Cm = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt'
	// CmInternalCFErr: CoreFoundation failure; returned by a CM device integration routine.
	CmInternalCFErr Cm = -4231
	// CmInterpolationMask: # Discussion
	CmInterpolationMask Cm = 0x40000
	// CmLAB24Space: # Discussion
	CmLAB24Space Cm = 8
	// CmLAB32Space: # Discussion
	CmLAB32Space  Cm = 8
	CmLAB48LSpace Cm = 8
	// CmLAB48Space: # Discussion
	CmLAB48Space Cm = 8
	// CmLABSpace: An L*a*b* color space composed of L*, a*, b* components.
	CmLABSpace Cm = 0x8
	// CmLUV32Space: An L*u*v* color space composed of L*, u*, and v* components whose values are packed with 10 bits per component.
	CmLUV32Space Cm = 7
	// CmLUVSpace: An L*u*v* color space composed of L*, u*, and v* components.
	CmLUVSpace Cm = 0x7
	// CmLabData: The L*a*b* data color space.
	CmLabData                   Cm = 'L'<<24 | 'a'<<16 | 'b'<<8 | ' ' // 'Lab '
	CmLinearChromaticAdaptation Cm = 1
	// CmLinesPer: Lines per unit; can have an associated value of `0` for lines per centimeter or `1` for lines per inch.
	CmLinesPer Cm = 1
	// CmLinkClass: A device link profile.
	CmLinkClass           Cm = 'l'<<24 | 'i'<<16 | 'n'<<8 | 'k' // 'link'
	CmLittleEndianPacking Cm = 0x4000
	// CmLong10ColorPacking: The color values for three 10-bit color channels are stored consecutively in a 32-bit long, with the two highest order bits unused.
	CmLong10ColorPacking Cm = 0xa00
	// CmLong8ColorPacking: # Discussion
	CmLong8ColorPacking Cm = 0x800
	CmLuminanceTag      Cm = 'l'<<24 | 'u'<<16 | 'm'<<8 | 'i' // 'lumi'
	// CmLuvData: The L*u*v* data color space.
	CmLuvData Cm = 'L'<<24 | 'u'<<16 | 'v'<<8 | ' ' // 'Luv '
	// CmMCEight8Space: An eight-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component.
	CmMCEight8Space Cm = 9472
	// CmMCEightSpace: An eight-channel multichannel (HiFi) data color space.
	CmMCEightSpace Cm = 0x14
	// CmMCFive8Space: A five-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component.
	CmMCFive8Space Cm = 8704
	// CmMCFiveSpace: A five-channel multichannel (HiFi) data color space.
	CmMCFiveSpace Cm = 0x11
	// CmMCH5Data: The five-channel multichannel (HiFi) data color space.
	CmMCH5Data Cm = 'M'<<24 | 'C'<<16 | 'H'<<8 | '5' // 'MCH5'
	// CmMCH6Data: The six-channel multichannel (HiFi) data color space.
	CmMCH6Data Cm = 'M'<<24 | 'C'<<16 | 'H'<<8 | '6' // 'MCH6'
	// CmMCH7Data: The seven-channel multichannel (HiFi) data color space.
	CmMCH7Data Cm = 'M'<<24 | 'C'<<16 | 'H'<<8 | '7' // 'MCH7'
	// CmMCH8Data: The eight-channel multichannel (HiFi) data color space.
	CmMCH8Data Cm = 'M'<<24 | 'C'<<16 | 'H'<<8 | '8' // 'MCH8'
	// CmMCSeven8Space: A seven-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component.
	CmMCSeven8Space Cm = 9216
	// CmMCSevenSpace: A seven-channel multichannel (HiFi) data color space.
	CmMCSevenSpace Cm = 0x13
	// CmMCSix8Space: A six-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component.
	CmMCSix8Space Cm = 8960
	// CmMCSixSpace: A six-channel multichannel (HiFi) data color space.
	CmMCSixSpace         Cm = 0x12
	CmMacintosh          Cm = 'A'<<24 | 'P'<<16 | 'P'<<8 | 'L' // 'APPL'
	CmMakeAndModelTag    Cm = 'm'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'mmod'
	CmMeasurementTag     Cm = 'm'<<24 | 'e'<<16 | 'a'<<8 | 's' // 'meas'
	CmMediaBlackPointTag Cm = 'b'<<24 | 'k'<<16 | 'p'<<8 | 't' // 'bkpt'
	CmMediaWhitePointTag Cm = 'w'<<24 | 't'<<16 | 'p'<<8 | 't' // 'wtpt'
	CmMicrosoft          Cm = 'M'<<24 | 'S'<<16 | 'F'<<8 | 'T' // 'MSFT'
	CmNamedColor2Tag     Cm = 'n'<<24 | 'c'<<16 | 'l'<<8 | '2' // 'ncl2'
	// CmNamedColorClass: A named color space profile.
	CmNamedColorClass      Cm = 'n'<<24 | 'm'<<16 | 'c'<<8 | 'l' // 'nmcl'
	CmNamedColorTag        Cm = 'n'<<24 | 'c'<<16 | 'o'<<8 | 'l' // 'ncol'
	CmNamedData            Cm = 'N'<<24 | 'A'<<16 | 'M'<<8 | 'E' // 'NAME'
	CmNamedIndexed32LSpace Cm = 9984
	// CmNamedIndexed32Space: A color space where each color is stored as a single 32-bit value, specifying an index into a named color space.
	CmNamedIndexed32Space Cm = 9984
	// CmNamedIndexedSpace: A named indexed color space.
	CmNamedIndexedSpace    Cm = 0x10
	CmNativeDisplayInfoTag Cm = 'n'<<24 | 'd'<<16 | 'i'<<8 | 'n' // 'ndin'
	// CmNoColorPacking: This constant is not used for ColorSync bitmaps.
	CmNoColorPacking Cm = 0
	// CmNoProfileBase: The profile is temporary.
	CmNoProfileBase Cm = 0
	// CmNoSpace: The ColorSync Manager does not use this constant.
	CmNoSpace Cm = 0
	// CmNormalMode: This is the default setting.
	CmNormalMode Cm = 0
	// CmOneBitDirectPacking: One bit is used as the pixel format.
	CmOneBitDirectPacking Cm = 0xb00
	CmOpenReadAccess      Cm = 1
	// CmOpenReadSpool: Directs the function to begin the process of reading data.
	CmOpenReadSpool Cm = 1
	// CmOpenWriteAccess: Open the profile for writing.
	CmOpenWriteAccess Cm = 2
	// CmOpenWriteSpool: Directs the function to begin the process of writing data.
	CmOpenWriteSpool              Cm = 2
	CmOriginalProfileLocationSize Cm = 72
	// CmOutputClass: An output device profile defined for a printer.
	CmOutputClass           Cm = 'p'<<24 | 'r'<<16 | 't'<<8 | 'r' // 'prtr'
	CmOutputUse             Cm = 'o'<<24 | 'u'<<16 | 't'<<8 | 'p' // 'outp'
	CmPS2CRD0Tag            Cm = 'p'<<24 | 's'<<16 | 'd'<<8 | '0' // 'psd0'
	CmPS2CRD1Tag            Cm = 'p'<<24 | 's'<<16 | 'd'<<8 | '1' // 'psd1'
	CmPS2CRD2Tag            Cm = 'p'<<24 | 's'<<16 | 'd'<<8 | '2' // 'psd2'
	CmPS2CRD3Tag            Cm = 'p'<<24 | 's'<<16 | 'd'<<8 | '3' // 'psd3'
	CmPS2CRDVMSizeTag       Cm = 'p'<<24 | 's'<<16 | 'v'<<8 | 'm' // 'psvm'
	CmPS2CSATag             Cm = 'p'<<24 | 's'<<16 | '2'<<8 | 's' // 'ps2s'
	CmPS2RenderingIntentTag Cm = 'p'<<24 | 's'<<16 | '2'<<8 | 'i' // 'ps2i'
	CmPathBasedProfile      Cm = 5
	// CmPerceptual: All the colors of a given gamut can be scaled to fit within another gamut.
	CmPerceptual              Cm = 0
	CmPrefsSynchError         Cm = -4232
	CmPreview0Tag             Cm = 'p'<<24 | 'r'<<16 | 'e'<<8 | '0' // 'pre0'
	CmPreview1Tag             Cm = 'p'<<24 | 'r'<<16 | 'e'<<8 | '1' // 'pre1'
	CmPreview2Tag             Cm = 'p'<<24 | 'r'<<16 | 'e'<<8 | '2' // 'pre2'
	CmPrinterDeviceClass      Cm = 'p'<<24 | 'r'<<16 | 't'<<8 | 'r' // 'prtr'
	CmProfileDescriptionMLTag Cm = 'd'<<24 | 's'<<16 | 'c'<<8 | 'm' // 'dscm'
	CmProfileDescriptionTag   Cm = 'd'<<24 | 'e'<<16 | 's'<<8 | 'c' // 'desc'
	CmProfileMajorVersionMask Cm = 0xff000000
	CmProfileSequenceDescTag  Cm = 'p'<<24 | 's'<<16 | 'e'<<8 | 'q' // 'pseq'
	CmProofDeviceClass        Cm = 'p'<<24 | 'r'<<16 | 'u'<<8 | 'f' // 'pruf'
	CmProofUse                Cm = 'p'<<24 | 'r'<<16 | 'u'<<8 | 'f' // 'pruf'
	// CmPrtrDefaultScreens: Use printer default screens; can have an associated value of `0` for `false` or `1` for `true`.
	CmPrtrDefaultScreens Cm = 0
	// CmQualityMask: # Discussion
	CmQualityMask Cm = 0x30000
	CmRGB16LSpace Cm = 1
	// CmRGB16Space: An RGB color space composed of red, green, and blue components whose values are packed with 5 bits of storage per component.
	CmRGB16Space Cm = 1
	// CmRGB24Space: An RGB color space composed of red, green, and blue components whose values are packed with 8 bits of storage per component.
	CmRGB24Space Cm = 1
	// CmRGB32Space: An RGB color space composed of red, green, and blue components whose values are packed with 8 bits of storage per component.
	CmRGB32Space  Cm = 1
	CmRGB48LSpace Cm = 1
	// CmRGB48Space: An RGB color space composed of red, green, and blue components whose values are packed with 16 bits of storage per component.
	CmRGB48Space      Cm = 1
	CmRGB565LSpace    Cm = 1
	CmRGB565Space     Cm = 1
	CmRGBA32PmulSpace Cm = 193
	// CmRGBA32Space: An RGB color space composed of red, green, and blue color value components, followed by an alpha channel component.
	CmRGBA32Space      Cm = 129
	CmRGBA64LPmulSpace Cm = 193
	CmRGBA64LSpace     Cm = 129
	CmRGBA64PmulSpace  Cm = 193
	CmRGBA64Space      Cm = 129
	CmRGBAPmulSpace    Cm = 129
	// CmRGBASpace: # Discussion
	CmRGBASpace Cm = 1
	// CmRGBData: The RGB data color space.
	CmRGBData Cm = 'R'<<24 | 'G'<<16 | 'B'<<8 | ' ' // 'RGB '
	// CmRGBSpace: An RGB color space composed of red, green, and blue components.
	CmRGBSpace Cm = 0x1
	// CmReadAccess: Read the number of bytes specified by the `size` parameter.
	CmReadAccess Cm = 3
	// CmReadSpool: Directs the function to read the number of bytes specified by the [CMFlattenProcPtr] function’s `size` parameter.
	CmReadSpool      Cm = 3
	CmRedColorantTag Cm = 'r'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'rXYZ'
	CmRedTRCTag      Cm = 'r'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'rTRC'
	// CmReflective: If the bit 0 of the associated mask is `0` then reflective media; if `1` then transparency media.
	CmReflective Cm = 0
	// CmReflectiveTransparentMask: # Discussion
	CmReflectiveTransparentMask Cm = 0x1
	// CmRelativeColorimetric: The colors that fall within the gamuts of both devices are left unchanged.
	CmRelativeColorimetric Cm = 1
	// CmReservedSpace1: This field is reserved for use by QuickDraw GX.
	CmReservedSpace1 Cm = 0x9
	// CmReservedSpace2: This field is reserved for use by QuickDraw GX.
	CmReservedSpace2        Cm = 0xb
	CmReverseChannelPacking Cm = 0x8000
	CmSRGBData              Cm = 's'<<24 | 'R'<<16 | 'G'<<8 | 'B' // 'sRGB'
	// CmSaturation: The relative saturation of colors is maintained from gamut to gamut.
	CmSaturation                    Cm = 2
	CmScannerDeviceClass            Cm = 's'<<24 | 'c'<<16 | 'n'<<8 | 'r' // 'scnr'
	CmScreeningDescTag              Cm = 's'<<24 | 'c'<<16 | 'r'<<8 | 'd' // 'scrd'
	CmScreeningTag                  Cm = 's'<<24 | 'c'<<16 | 'r'<<8 | 'n' // 'scrn'
	CmSiliconGraphics               Cm = 'S'<<24 | 'G'<<16 | 'I'<<8 | ' ' // 'SGI '
	CmSolaris                       Cm = 'S'<<24 | 'U'<<16 | 'N'<<8 | 'W' // 'SUNW'
	CmStdobs1931TwoDegrees          Cm = 0x1
	CmStdobs1964TenDegrees          Cm = 0x2
	CmStdobsUnknown                 Cm = 0
	CmTaligent                      Cm = 'T'<<24 | 'G'<<16 | 'N'<<8 | 'T' // 'TGNT'
	CmTechnologyTag                 Cm = 't'<<24 | 'e'<<16 | 'c'<<8 | 'h' // 'tech'
	CmUcrBgTag                      Cm = 'b'<<24 | 'f'<<16 | 'd'<<8 | ' ' // 'bfd '
	CmUseDefaultChromaticAdaptation Cm = 0
	// CmVideoCardGammaTag: # Discussion
	CmVideoCardGammaTag           Cm = 'v'<<24 | 'c'<<16 | 'g'<<8 | 't' // 'vcgt'
	CmViewingConditionsDescTag    Cm = 'v'<<24 | 'u'<<16 | 'e'<<8 | 'd' // 'vued'
	CmViewingConditionsTag        Cm = 'v'<<24 | 'i'<<16 | 'e'<<8 | 'w' // 'view'
	CmVonKriesChromaticAdaptation Cm = 2
	CmWord565ColorPacking         Cm = 0x600
	// CmWord5ColorPacking: The color values for three 5-bit color channels are stored consecutively in 16-bits, with the highest order bit unused.
	CmWord5ColorPacking Cm = 0x500
	// CmWriteAccess: Write the number of bytes specified by the `size` parameter.
	CmWriteAccess Cm = 4
	// CmWriteSpool: Directs the function to write the number of bytes specified by the [CMFlattenProcPtr] function’s `size` parameter.
	CmWriteSpool Cm = 4
	CmXYZ24Space Cm = 6
	// CmXYZ32Space: An XYZ color space composed of X, Y, and Z components whose values are packed with 10 bits per component.
	CmXYZ32Space  Cm = 6
	CmXYZ48LSpace Cm = 6
	CmXYZ48Space  Cm = 6
	// CmXYZData: The XYZ data color space.
	CmXYZData Cm = 'X'<<24 | 'Y'<<16 | 'Z'<<8 | ' ' // 'XYZ '
	// CmXYZSpace: An XYZ color space composed of X, Y, and Z components.
	CmXYZSpace  Cm = 0x6
	CmYCbCrData Cm = 'Y'<<24 | 'C'<<16 | 'b'<<8 | 'r' // 'YCbr'
	// CmYXY32Space: A Yxy color space composed of Y, x, and y components whose values are packed with 10 bits of storage per component.
	CmYXY32Space Cm = 5
	// CmYXYSpace: A Yxy color space composed of Y, x, and y components.
	CmYXYSpace Cm = 0x5
	// CmYxyData: The Yxy data color space.
	CmYxyData Cm = 'Y'<<24 | 'x'<<16 | 'y'<<8 | ' ' // 'Yxy '
)

func (Cm) String

func (e Cm) String() string

type CmBlackPoint

type CmBlackPoint uint
const (
	CmBlackPointCompensation CmBlackPoint = 1
)

func (CmBlackPoint) String

func (e CmBlackPoint) String() string

type CmCS1

type CmCS1 uint
const (
	// CmCS1ChromTag: The tag signature for the profile chromaticities tag whose element data specifies the XYZ chromaticities for the six primary and secondary colors (red, green, blue, cyan, magenta, and yellow).
	CmCS1ChromTag CmCS1 = 'c'<<24 | 'h'<<16 | 'r'<<8 | 'm' // 'chrm'
	// CmCS1CustTag: Private data for a custom CMM.
	CmCS1CustTag CmCS1 = 'c'<<24 | 'u'<<16 | 's'<<8 | 't' // 'cust'
	// CmCS1NameTag: The tag signature for the profile name string.
	CmCS1NameTag CmCS1 = 'n'<<24 | 'a'<<16 | 'm'<<8 | 'e' // 'name'
	// CmCS1TRCTag: The tag signature for profile tonal response curve data for the associated device.
	CmCS1TRCTag CmCS1 = 't'<<24 | 'r'<<16 | 'c'<<8 | ' ' // 'trc '
)

func (CmCS1) String

func (e CmCS1) String() string

type CmColorSpace

type CmColorSpace uint
const (
	CmColorSpaceAlphaMask         CmColorSpace = 0x80
	CmColorSpaceEncodingMask      CmColorSpace = 0xf0000
	CmColorSpacePackingMask       CmColorSpace = 0xff00
	CmColorSpacePremulAlphaMask   CmColorSpace = 0x40
	CmColorSpaceReservedMask      CmColorSpace = 0xfff00000
	CmColorSpaceSpaceAndAlphaMask CmColorSpace = 0xff
	CmColorSpaceSpaceMask         CmColorSpace = 0x3f
)

func (CmColorSpace) String

func (e CmColorSpace) String() string

type CmCurrent

type CmCurrent uint
const (
	CmCurrentDeviceInfoVersion  CmCurrent = 65536
	CmCurrentProfileInfoVersion CmCurrent = 65536
)

func (CmCurrent) String

func (e CmCurrent) String() string

type CmDefault

type CmDefault uint
const (
	CmDefaultDeviceID  CmDefault = 0
	CmDefaultProfileID CmDefault = 0
)

func (CmDefault) String

func (e CmDefault) String() string

type CmDevice

type CmDevice uint
const (
	CmDeviceInfoVersion1        CmDevice = 0x10000
	CmDeviceProfileInfoVersion1 CmDevice = 0x10000
	CmDeviceProfileInfoVersion2 CmDevice = 0x20000
)

func (CmDevice) String

func (e CmDevice) String() string

type CmDeviceState

type CmDeviceState uint
const (
	CmDeviceStateAppleRsvdBits  CmDeviceState = 0xff00ffff
	CmDeviceStateBusy           CmDeviceState = 0x2
	CmDeviceStateDefault        CmDeviceState = 0
	CmDeviceStateDeviceRsvdBits CmDeviceState = 0xff0000
	CmDeviceStateForceNotify    CmDeviceState = 0x80000000
	CmDeviceStateOffline        CmDeviceState = 0x1
)

func (CmDeviceState) String

func (e CmDeviceState) String() string

type CmEmbedded

type CmEmbedded uint
const (
	// CmEmbeddedProfile: 0 is not embedded profile, 1 is embedded profile
	CmEmbeddedProfile CmEmbedded = 0
	// CmEmbeddedUse: 0 is to use anywhere, 1 is to use as embedded profile only
	CmEmbeddedUse CmEmbedded = 1
)

func (CmEmbedded) String

func (e CmEmbedded) String() string

type CmIlluminant

type CmIlluminant uint
const (
	CmIlluminantA         CmIlluminant = 0x6
	CmIlluminantD50       CmIlluminant = 0x1
	CmIlluminantD55       CmIlluminant = 0x5
	CmIlluminantD65       CmIlluminant = 0x2
	CmIlluminantD93       CmIlluminant = 0x3
	CmIlluminantEquiPower CmIlluminant = 0x7
	CmIlluminantF2        CmIlluminant = 0x4
	CmIlluminantF8        CmIlluminant = 0x8
	CmIlluminantUnknown   CmIlluminant = 0
)

func (CmIlluminant) String

func (e CmIlluminant) String() string

type CmIterate

type CmIterate uint
const (
	// CmIterateAllDeviceProfiles: Iterate all profiles, without replacement.
	CmIterateAllDeviceProfiles CmIterate = 0x4
	// CmIterateCurrentDeviceProfiles: # Discussion
	CmIterateCurrentDeviceProfiles CmIterate = 0x3
	// CmIterateCustomDeviceProfiles: # Discussion
	CmIterateCustomDeviceProfiles CmIterate = 0x2
	CmIterateDeviceProfilesMask   CmIterate = 0xf
	// CmIterateFactoryDeviceProfiles: Iterate profiles registered through the routine [CMSetDeviceFactoryProfiles].
	CmIterateFactoryDeviceProfiles CmIterate = 0x1
)

func (CmIterate) String

func (e CmIterate) String() string

type CmMagic

type CmMagic uint
const (
	CmMagicNumber CmMagic = 'a'<<24 | 'c'<<16 | 's'<<8 | 'p' // 'acsp'
)

func (CmMagic) String

func (e CmMagic) String() string

type CmNumHeader

type CmNumHeader uint
const (
	CmNumHeaderElements CmNumHeader = 10
)

func (CmNumHeader) String

func (e CmNumHeader) String() string

type CmP

type CmP uint
const (
	// CmPS7bit: The data is 7-bit safe—therefore the data could be in 7-bit ASCII encoding or in ASCII base-85 encoding.
	CmPS7bit CmP = 1
	// CmPS8bit: The data is 8-bit safe—therefore the data could be in 7-bit or 8-bit ASCII encoding.
	CmPS8bit CmP = 2
)

func (CmP) String

func (e CmP) String() string

type CmParametric

type CmParametric uint
const (
	// CmParametricType0: Y = X^gamma
	CmParametricType0 CmParametric = 0
	// CmParametricType1: Y = (aX+b)^gamma     [X>=-b/a],  Y = 0    [X<-b/a]
	CmParametricType1 CmParametric = 1
	// CmParametricType2: Y = (aX+b)^gamma + c [X>=-b/a],  Y = c    [X<-b/a]
	CmParametricType2 CmParametric = 2
	// CmParametricType3: Y = (aX+b)^gamma     [X>=d],     Y = cX   [X<d]
	CmParametricType3 CmParametric = 3
	// CmParametricType4: Y = (aX+b)^gamma + e [X>=d],     Y = cX+f [X<d]
	CmParametricType4 CmParametric = 4
)

func (CmParametric) String

func (e CmParametric) String() string

type CmProfileIterateData

type CmProfileIterateData uint
const (
	CmProfileIterateDataVersion1 CmProfileIterateData = 0x10000
	// CmProfileIterateDataVersion2: Added makeAndModel
	CmProfileIterateDataVersion2 CmProfileIterateData = 0x20000
	// CmProfileIterateDataVersion3: Added MD5 digest
	CmProfileIterateDataVersion3 CmProfileIterateData = 0x30000
	CmProfileIterateDataVersion4 CmProfileIterateData = 0x40000
)

func (CmProfileIterateData) String

func (e CmProfileIterateData) String() string

type CmSRGB16Channel

type CmSRGB16Channel uint
const (
	// CmSRGB16ChannelEncoding: Used for sRGB64 encoding ( ±3.12 format)
	CmSRGB16ChannelEncoding CmSRGB16Channel = 0x10000
)

func (CmSRGB16Channel) String

func (e CmSRGB16Channel) String() string

type CmSig

type CmSig uint
const (
	CmSigCrdInfoType               CmSig = 'c'<<24 | 'r'<<16 | 'd'<<8 | 'i' // 'crdi'
	CmSigCurveType                 CmSig = 'c'<<24 | 'u'<<16 | 'r'<<8 | 'v' // 'curv'
	CmSigDataType                  CmSig = 'd'<<24 | 'a'<<16 | 't'<<8 | 'a' // 'data'
	CmSigDateTimeType              CmSig = 'd'<<24 | 't'<<16 | 'i'<<8 | 'm' // 'dtim'
	CmSigLut16Type                 CmSig = 'm'<<24 | 'f'<<16 | 't'<<8 | '2' // 'mft2'
	CmSigLut8Type                  CmSig = 'm'<<24 | 'f'<<16 | 't'<<8 | '1' // 'mft1'
	CmSigMakeAndModelType          CmSig = 'm'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'mmod'
	CmSigMeasurementType           CmSig = 'm'<<24 | 'e'<<16 | 'a'<<8 | 's' // 'meas'
	CmSigMultiFunctA2BType         CmSig = 'm'<<24 | 'A'<<16 | 'B'<<8 | ' ' // 'mAB '
	CmSigMultiFunctB2AType         CmSig = 'm'<<24 | 'B'<<16 | 'A'<<8 | ' ' // 'mBA '
	CmSigMultiLocalizedUniCodeType CmSig = 'm'<<24 | 'l'<<16 | 'u'<<8 | 'c' // 'mluc'
	CmSigNamedColor2Type           CmSig = 'n'<<24 | 'c'<<16 | 'l'<<8 | '2' // 'ncl2'
	CmSigNamedColorType            CmSig = 'n'<<24 | 'c'<<16 | 'o'<<8 | 'l' // 'ncol'
	CmSigNativeDisplayInfoType     CmSig = 'n'<<24 | 'd'<<16 | 'i'<<8 | 'n' // 'ndin'
	CmSigPS2CRDVMSizeType          CmSig = 'p'<<24 | 's'<<16 | 'v'<<8 | 'm' // 'psvm'
	CmSigParametricCurveType       CmSig = 'p'<<24 | 'a'<<16 | 'r'<<8 | 'a' // 'para'
	CmSigProfileDescriptionType    CmSig = 'd'<<24 | 'e'<<16 | 's'<<8 | 'c' // 'desc'
	CmSigProfileSequenceDescType   CmSig = 'p'<<24 | 's'<<16 | 'e'<<8 | 'q' // 'pseq'
	CmSigS15Fixed16Type            CmSig = 's'<<24 | 'f'<<16 | '3'<<8 | '2' // 'sf32'
	CmSigScreeningType             CmSig = 's'<<24 | 'c'<<16 | 'r'<<8 | 'n' // 'scrn'
	CmSigSignatureType             CmSig = 's'<<24 | 'i'<<16 | 'g'<<8 | ' ' // 'sig '
	CmSigTextType                  CmSig = 't'<<24 | 'e'<<16 | 'x'<<8 | 't' // 'text'
	CmSigU16Fixed16Type            CmSig = 'u'<<24 | 'f'<<16 | '3'<<8 | '2' // 'uf32'
	CmSigU1Fixed15Type             CmSig = 'u'<<24 | 'f'<<16 | '1'<<8 | '6' // 'uf16'
	CmSigUInt16Type                CmSig = 'u'<<24 | 'i'<<16 | '1'<<8 | '6' // 'ui16'
	CmSigUInt32Type                CmSig = 'u'<<24 | 'i'<<16 | '3'<<8 | '2' // 'ui32'
	CmSigUInt64Type                CmSig = 'u'<<24 | 'i'<<16 | '6'<<8 | '4' // 'ui64'
	CmSigUInt8Type                 CmSig = 'u'<<24 | 'i'<<16 | '0'<<8 | '8' // 'ui08'
	CmSigUcrBgType                 CmSig = 'b'<<24 | 'f'<<16 | 'd'<<8 | ' ' // 'bfd '
	CmSigUnicodeTextType           CmSig = 'u'<<24 | 't'<<16 | 'x'<<8 | 't' // 'utxt'
	// CmSigVideoCardGammaType: # Discussion
	CmSigVideoCardGammaType    CmSig = 'v'<<24 | 'c'<<16 | 'g'<<8 | 't' // 'vcgt'
	CmSigViewingConditionsType CmSig = 'v'<<24 | 'i'<<16 | 'e'<<8 | 'w' // 'view'
	CmSigXYZType               CmSig = 'X'<<24 | 'Y'<<16 | 'Z'<<8 | ' ' // 'XYZ '
)

func (CmSig) String

func (e CmSig) String() string

type CmSpotFunction

type CmSpotFunction uint
const (
	CmSpotFunctionCross   CmSpotFunction = 7
	CmSpotFunctionDefault CmSpotFunction = 1
	CmSpotFunctionDiamond CmSpotFunction = 3
	CmSpotFunctionEllipse CmSpotFunction = 4
	CmSpotFunctionLine    CmSpotFunction = 5
	CmSpotFunctionRound   CmSpotFunction = 2
	CmSpotFunctionSquare  CmSpotFunction = 6
	CmSpotFunctionUnknown CmSpotFunction = 0
)

func (CmSpotFunction) String

func (e CmSpotFunction) String() string

type CmTechnology

type CmTechnology uint
const (
	CmTechnologyAMDisplay                  CmTechnology = 'A'<<24 | 'M'<<16 | 'D'<<8 | ' ' // 'AMD '
	CmTechnologyCRTDisplay                 CmTechnology = 'C'<<24 | 'R'<<16 | 'T'<<8 | ' ' // 'CRT '
	CmTechnologyDigitalCamera              CmTechnology = 'd'<<24 | 'c'<<16 | 'a'<<8 | 'm' // 'dcam'
	CmTechnologyDyeSublimationPrinter      CmTechnology = 'd'<<24 | 's'<<16 | 'u'<<8 | 'b' // 'dsub'
	CmTechnologyElectrophotographicPrinter CmTechnology = 'e'<<24 | 'p'<<16 | 'h'<<8 | 'o' // 'epho'
	CmTechnologyElectrostaticPrinter       CmTechnology = 'e'<<24 | 's'<<16 | 't'<<8 | 'a' // 'esta'
	CmTechnologyFilmScanner                CmTechnology = 'f'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'fscn'
	CmTechnologyFilmWriter                 CmTechnology = 'f'<<24 | 'p'<<16 | 'r'<<8 | 'n' // 'fprn'
	CmTechnologyFlexography                CmTechnology = 'f'<<24 | 'l'<<16 | 'e'<<8 | 'x' // 'flex'
	CmTechnologyGravure                    CmTechnology = 'g'<<24 | 'r'<<16 | 'a'<<8 | 'v' // 'grav'
	CmTechnologyInkJetPrinter              CmTechnology = 'i'<<24 | 'j'<<16 | 'e'<<8 | 't' // 'ijet'
	CmTechnologyOffsetLithography          CmTechnology = 'o'<<24 | 'f'<<16 | 'f'<<8 | 's' // 'offs'
	CmTechnologyPMDisplay                  CmTechnology = 'P'<<24 | 'M'<<16 | 'D'<<8 | ' ' // 'PMD '
	CmTechnologyPhotoCD                    CmTechnology = 'K'<<24 | 'P'<<16 | 'C'<<8 | 'D' // 'KPCD'
	CmTechnologyPhotoImageSetter           CmTechnology = 'i'<<24 | 'm'<<16 | 'g'<<8 | 's' // 'imgs'
	CmTechnologyPhotographicPaperPrinter   CmTechnology = 'r'<<24 | 'p'<<16 | 'h'<<8 | 'o' // 'rpho'
	CmTechnologyProjectionTelevision       CmTechnology = 'p'<<24 | 'j'<<16 | 't'<<8 | 'v' // 'pjtv'
	CmTechnologyReflectiveScanner          CmTechnology = 'r'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'rscn'
	CmTechnologySilkscreen                 CmTechnology = 's'<<24 | 'i'<<16 | 'l'<<8 | 'k' // 'silk'
	CmTechnologyThermalWaxPrinter          CmTechnology = 't'<<24 | 'w'<<16 | 'a'<<8 | 'x' // 'twax'
	CmTechnologyVideoCamera                CmTechnology = 'v'<<24 | 'i'<<16 | 'd'<<8 | 'c' // 'vidc'
	CmTechnologyVideoMonitor               CmTechnology = 'v'<<24 | 'i'<<16 | 'd'<<8 | 'm' // 'vidm'
)

func (CmTechnology) String

func (e CmTechnology) String() string

type CmVideoCardGamma

type CmVideoCardGamma uint
const (
	// CmVideoCardGammaFormulaType: The video card gamma tag data is stored as a formula.
	CmVideoCardGammaFormulaType CmVideoCardGamma = 1
	// CmVideoCardGammaTableType: The video card gamma data is stored in a table format.
	CmVideoCardGammaTableType CmVideoCardGamma = 0
)

func (CmVideoCardGamma) String

func (e CmVideoCardGamma) String() string

type ColorSpec

type ColorSpec struct {
	Value unsafe.Pointer
	Rgb   RGBColor
}

ColorSpec

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/colorspec

type ColorTable

type ColorTable struct {
	CtSeed  unsafe.Pointer
	CtFlags unsafe.Pointer
	CtSize  unsafe.Pointer
	CtTable unsafe.Pointer
}

ColorTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/colortable

type CsMax

type CsMax uint
const (
	CS_MAX_PATH CsMax = 1024
)

func (CsMax) String

func (e CsMax) String() string

type DelimiterInfo

type DelimiterInfo struct {
	StartDelimiter uint8 // The start delimiter for an embedded command. By default, the start delimiter is “`[[`”.
	EndDelimiter   uint8 // The end delimiter for an embedded command. By default, the end delimiter is “`]]`”.

}

DelimiterInfo - Defines a delimiter information structure.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/delimiterinfo

type Extended

type Extended uint
const (
	ExtendedBlock    Extended = 0x4c43
	ExtendedBlockLen Extended = 0
)

func (Extended) String

func (e Extended) String() string

type FMFilter

type FMFilter struct {
	Selector int32
	Filter   unsafe.Pointer
	Format   uint32
}

FMFilter

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/fmfilter

type FMFontDirectoryFilter

type FMFontDirectoryFilter struct {
	FontFolderDomain unsafe.Pointer
	Reserved         uint32
}

FMFontDirectoryFilter

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/fmfontdirectoryfilter

type FMFontFamilyInstance

type FMFontFamilyInstance struct {
	FontFamily int16
	FontStyle  int16
}

FMFontFamilyInstance

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/fmfontfamilyinstance

type FMFontFamilyInstanceIterator

type FMFontFamilyInstanceIterator struct {
	Reserved uint32
}

FMFontFamilyInstanceIterator

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/fmfontfamilyinstanceiterator

type FMFontFamilyIterator

type FMFontFamilyIterator struct {
	Reserved uint32
}

FMFontFamilyIterator

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/fmfontfamilyiterator

type FMFontIterator

type FMFontIterator struct {
	Reserved uint32
}

FMFontIterator

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/fmfontiterator

type FMInput

type FMInput struct {
	Family   unsafe.Pointer
	Size     unsafe.Pointer
	Face     unsafe.Pointer
	NeedBits unsafe.Pointer
	Device   unsafe.Pointer
	Numer    Point
	Denom    Point
}

FMInput

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/fminput

type FamRec

type FamRec struct {
	FfFlags     unsafe.Pointer
	FfFamID     unsafe.Pointer
	FfFirstChar unsafe.Pointer
	FfLastChar  unsafe.Pointer
	FfAscent    unsafe.Pointer
	FfDescent   unsafe.Pointer
	FfLeading   unsafe.Pointer
	FfWidMax    unsafe.Pointer
	FfWTabOff   unsafe.Pointer
	FfKernOff   unsafe.Pointer
	FfStylOff   unsafe.Pointer
	FfVersion   unsafe.Pointer
	FfIntl      unsafe.Pointer
	FfProperty  unsafe.Pointer
}

FamRec

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/famrec

type FontAssoc

type FontAssoc struct {
	NumAssoc unsafe.Pointer
}

FontAssoc

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/fontassoc

type FontInfo

type FontInfo struct {
	Ascent  unsafe.Pointer
	Descent unsafe.Pointer
	WidMax  unsafe.Pointer
	Leading unsafe.Pointer
}

FontInfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/fontinfo

type FontRec

type FontRec struct {
	FontType    unsafe.Pointer
	FirstChar   unsafe.Pointer
	LastChar    unsafe.Pointer
	WidMax      unsafe.Pointer
	KernMax     unsafe.Pointer
	NDescent    unsafe.Pointer
	FRectWidth  unsafe.Pointer
	FRectHeight unsafe.Pointer
	OwTLoc      uint16
	Ascent      unsafe.Pointer
	Descent     unsafe.Pointer
	Leading     unsafe.Pointer
	RowWords    unsafe.Pointer
}

FontRec

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/fontrec

type GDevice

type GDevice struct {
	GdRefNum     unsafe.Pointer
	GdID         unsafe.Pointer
	GdType       unsafe.Pointer
	GdITable     unsafe.Pointer
	GdResPref    unsafe.Pointer
	GdSearchProc unsafe.Pointer
	GdCompProc   unsafe.Pointer
	GdFlags      unsafe.Pointer
	GdPMap       unsafe.Pointer
	GdRefCon     unsafe.Pointer
	GdNextGD     unsafe.Pointer
	GdRect       Rect
	GdMode       unsafe.Pointer
	GdCCBytes    unsafe.Pointer
	GdCCDepth    unsafe.Pointer
	GdCCXData    unsafe.Pointer
	GdCCXMask    unsafe.Pointer
	GdExt        unsafe.Pointer
}

GDevice

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/gdevice

type GrafPort

type GrafPort struct {
	Whatever unsafe.Pointer
}

GrafPort

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/grafport

type HIShapeRef

type HIShapeRef = kernel.Pointer

See: https://developer.apple.com/documentation/applicationservices/hishaperef

func IconRefToHIShape

func IconRefToHIShape(iconRect unsafe.Pointer, align IconAlignmentType, iconServicesUsageFlags unsafe.Pointer, theIconRef unsafe.Pointer) HIShapeRef

IconRefToHIShape.

See: https://developer.apple.com/documentation/applicationservices/1464005-iconreftohishape

type ICAppSpec

type ICAppSpec struct {
	FCreator uint32
	Name     unsafe.Pointer
}

ICAppSpec

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icappspec

type ICAppSpecList

type ICAppSpecList struct {
	NumberOfItems unsafe.Pointer
	AppSpecs      ICAppSpec
}

ICAppSpecList

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icappspeclist

type ICAttr

type ICAttr = uint32

type ICCharTable

type ICCharTable struct {
	NetToMac uint8
	MacToNet uint8
}

ICCharTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icchartable

type ICFileSpec

type ICFileSpec struct {
	VolName         unsafe.Pointer
	VolCreationDate unsafe.Pointer
	Fss             unsafe.Pointer
	Alias           unsafe.Pointer
}

ICFileSpec

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icfilespec

type ICFontRecord

type ICFontRecord struct {
	Size unsafe.Pointer
	Face unsafe.Pointer
	Pad  unsafe.Pointer
	Font unsafe.Pointer
}

ICFontRecord

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icfontrecord

type ICInstance

type ICInstance = unsafe.Pointer

type ICMapEntry

type ICMapEntry struct {
	TotalLength    unsafe.Pointer
	FixedLength    int32
	Version        unsafe.Pointer
	FileType       uint32
	FileCreator    uint32
	PostCreator    uint32
	Flags          int16
	Extension      unsafe.Pointer
	CreatorAppName unsafe.Pointer
	PostAppName    unsafe.Pointer
	MIMEType       unsafe.Pointer
	EntryName      unsafe.Pointer
}

ICMapEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icmapentry

type ICPerm

type ICPerm = uint32

type ICProfileID

type ICProfileID = uint32

type ICServiceEntry

type ICServiceEntry struct {
	Name  unsafe.Pointer
	Port  unsafe.Pointer
	Flags int16
}

ICServiceEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icserviceentry

type ICServices

type ICServices struct {
	Count    unsafe.Pointer
	Services ICServiceEntry
}

ICServices

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icservices

type Ic

type Ic int
const (
	IcConfigInappropriateErr Ic = -675
	IcConfigNotFoundErr      Ic = -674
	IcInternalErr            Ic = -669
	IcNoMoreWritersErr       Ic = -671
	IcNoPerm                 Ic = 0
	IcNoURLErr               Ic = -673
	IcNothingToOverrideErr   Ic = -672
	IcPermErr                Ic = -667
	IcPrefDataErr            Ic = -668
	IcPrefNotFoundErr        Ic = -666
	IcProfileNotFoundErr     Ic = -676
	IcReadOnlyPerm           Ic = 1
	IcReadWritePerm          Ic = 2
	IcTooManyProfilesErr     Ic = -677
	IcTruncatedErr           Ic = -670
)

func (Ic) String

func (e Ic) String() string

type InitDev

type InitDev uint
const (
	ActivDev     InitDev = 5
	ClearDev     InitDev = 13
	CloseDev     InitDev = 2
	CopyDev      InitDev = 11
	CursorDev    InitDev = 14
	CutDev       InitDev = 10
	DeactivDev   InitDev = 6
	HitDev       InitDev = 1
	InitDevValue InitDev = 0
	KeyEvtDev    InitDev = 7
	MacDev       InitDev = 8
	NulDev       InitDev = 3
	PasteDev     InitDev = 12
	UndoDev      InitDev = 9
	UpdateDev    InitDev = 4
)

func (InitDev) String

func (e InitDev) String() string

type K1MonochromePixelFormat

type K1MonochromePixelFormat uint
const (
	K16BE555PixelFormat          K1MonochromePixelFormat = 0x10
	K16BE565PixelFormat          K1MonochromePixelFormat = 'B'<<24 | '5'<<16 | '6'<<8 | '5' // 'B565'
	K16LE5551PixelFormat         K1MonochromePixelFormat = '5'<<24 | '5'<<16 | '5'<<8 | '1' // '5551'
	K16LE555PixelFormat          K1MonochromePixelFormat = 'L'<<24 | '5'<<16 | '5'<<8 | '5' // 'L555'
	K16LE565PixelFormat          K1MonochromePixelFormat = 'L'<<24 | '5'<<16 | '6'<<8 | '5' // 'L565'
	K1IndexedGrayPixelFormat     K1MonochromePixelFormat = 0x21
	K1MonochromePixelFormatValue K1MonochromePixelFormat = 0x1
	K24BGRPixelFormat            K1MonochromePixelFormat = '2'<<24 | '4'<<16 | 'B'<<8 | 'G' // '24BG'
	K24RGBPixelFormat            K1MonochromePixelFormat = 0x18
	K2IndexedGrayPixelFormat     K1MonochromePixelFormat = 0x22
	K2IndexedPixelFormat         K1MonochromePixelFormat = 0x2
	K2vuyPixelFormat             K1MonochromePixelFormat = '2'<<24 | 'v'<<16 | 'u'<<8 | 'y' // '2vuy'
	K32ABGRPixelFormat           K1MonochromePixelFormat = 'A'<<24 | 'B'<<16 | 'G'<<8 | 'R' // 'ABGR'
	K32ARGBPixelFormat           K1MonochromePixelFormat = 0x20
	K32BGRAPixelFormat           K1MonochromePixelFormat = 'B'<<24 | 'G'<<16 | 'R'<<8 | 'A' // 'BGRA'
	K32RGBAPixelFormat           K1MonochromePixelFormat = 'R'<<24 | 'G'<<16 | 'B'<<8 | 'A' // 'RGBA'
	K4IndexedGrayPixelFormat     K1MonochromePixelFormat = 0x24
	K4IndexedPixelFormat         K1MonochromePixelFormat = 0x4
	K8IndexedGrayPixelFormat     K1MonochromePixelFormat = 0x28
	K8IndexedPixelFormat         K1MonochromePixelFormat = 0x8
	KUYVY422PixelFormat          K1MonochromePixelFormat = 'U'<<24 | 'Y'<<16 | 'V'<<8 | 'Y' // 'UYVY'
	KYUV211PixelFormat           K1MonochromePixelFormat = 'Y'<<24 | '2'<<16 | '1'<<8 | '1' // 'Y211'
	KYUV411PixelFormat           K1MonochromePixelFormat = 'Y'<<24 | '4'<<16 | '1'<<8 | '1' // 'Y411'
	KYUVSPixelFormat             K1MonochromePixelFormat = 'y'<<24 | 'u'<<16 | 'v'<<8 | 's' // 'yuvs'
	KYUVUPixelFormat             K1MonochromePixelFormat = 'y'<<24 | 'u'<<16 | 'v'<<8 | 'u' // 'yuvu'
	KYVU9PixelFormat             K1MonochromePixelFormat = 'Y'<<24 | 'V'<<16 | 'U'<<8 | '9' // 'YVU9'
	KYVYU422PixelFormat          K1MonochromePixelFormat = 'Y'<<24 | 'V'<<16 | 'Y'<<8 | 'U' // 'YVYU'
)

func (K1MonochromePixelFormat) String

func (e K1MonochromePixelFormat) String() string

type KATS

type KATS int
const (
	KATSBoldQDStretch               KATS = 65536
	KATSCubicCurveType              KATS = 0x1
	KATSFontContainerRefUnspecified KATS = 0
	KATSFontFamilyRefUnspecified    KATS = 0
	KATSFontRefUnspecified          KATS = 0
	KATSGenerationUnspecified       KATS = 0
	KATSInvalidFontAccess           KATS = -982
	KATSInvalidFontContainerAccess  KATS = -985
	KATSInvalidFontFamilyAccess     KATS = -981
	KATSInvalidFontTableAccess      KATS = -984
	KATSInvalidGlyphAccess          KATS = -986
	KATSItalicQDSkew                KATS = 65536
	KATSIterationCompleted          KATS = -980
	KATSIterationScopeModified      KATS = -983
	KATSNoTracking                  KATS = 0x80000000
	KATSOtherCurveType              KATS = 0x3
	KATSQuadCurveType               KATS = 0x2
	KATSRadiansFactor               KATS = 1144
	KATSUseGlyphAdvance             KATS = 0x7fffffff
	KATSUseLineHeight               KATS = 0x7fffffff
)

func (KATS) String

func (e KATS) String() string

type KATSDeleted

type KATSDeleted uint
const (
	KATSDeletedGlyphcode KATSDeleted = 0xffff
)

func (KATSDeleted) String

func (e KATSDeleted) String() string

type KATSFlatDataUstl

type KATSFlatDataUstl uint
const (
	KATSFlatDataUstlCurrentVersion KATSFlatDataUstl = 2
	KATSFlatDataUstlVersion0       KATSFlatDataUstl = 0
	KATSFlatDataUstlVersion1       KATSFlatDataUstl = 1
	KATSFlatDataUstlVersion2       KATSFlatDataUstl = 2
)

func (KATSFlatDataUstl) String

func (e KATSFlatDataUstl) String() string

type KATSFlattenedFontSpecifierRawName

type KATSFlattenedFontSpecifierRawName uint
const (
	KATSFlattenedFontSpecifierRawNameData KATSFlattenedFontSpecifierRawName = 'n'<<24 | 'a'<<16 | 'm'<<8 | 'd' // 'namd'
)

func (KATSFlattenedFontSpecifierRawName) String

type KATSFontAutoActivation

type KATSFontAutoActivation uint
const (
	KATSFontAutoActivationAsk      KATSFontAutoActivation = 4
	KATSFontAutoActivationDefault  KATSFontAutoActivation = 0
	KATSFontAutoActivationDisabled KATSFontAutoActivation = 1
	KATSFontAutoActivationEnabled  KATSFontAutoActivation = 2
)

func (KATSFontAutoActivation) String

func (e KATSFontAutoActivation) String() string

type KATSFontContext

type KATSFontContext uint
const (
	KATSFontContextGlobal      KATSFontContext = 1
	KATSFontContextLocal       KATSFontContext = 2
	KATSFontContextUnspecified KATSFontContext = 0
)

func (KATSFontContext) String

func (e KATSFontContext) String() string

type KATSFontFilterCurrent

type KATSFontFilterCurrent uint
const (
	KATSFontFilterCurrentVersion KATSFontFilterCurrent = 0
)

func (KATSFontFilterCurrent) String

func (e KATSFontFilterCurrent) String() string

type KATSFontFormat

type KATSFontFormat uint
const (
	KATSFontFormatUnspecified KATSFontFormat = 0
)

func (KATSFontFormat) String

func (e KATSFontFormat) String() string

type KATSGlyphInfo

type KATSGlyphInfo uint
const (
	KATSGlyphInfoAppleReserved   KATSGlyphInfo = 0x1ffbffe8
	KATSGlyphInfoByteSizeMask    KATSGlyphInfo = 0x7
	KATSGlyphInfoHasImposedWidth KATSGlyphInfo = 0x10
	KATSGlyphInfoIsAttachment    KATSGlyphInfo = 0x80000000
	KATSGlyphInfoIsLTHanger      KATSGlyphInfo = 0x40000000
	KATSGlyphInfoIsRBHanger      KATSGlyphInfo = 0x20000000
	KATSGlyphInfoIsWhiteSpace    KATSGlyphInfo = 0x40000
	KATSGlyphInfoTerminatorGlyph KATSGlyphInfo = 0x80000
)

func (KATSGlyphInfo) String

func (e KATSGlyphInfo) String() string

type KATSLine

type KATSLine uint
const (
	KATSLineAppleReserved                 KATSLine = 0xfce00000
	KATSLineApplyAntiAliasing             KATSLine = 0x800
	KATSLineBreakToNearestCharacter       KATSLine = 0x2000000
	KATSLineDisableAllBaselineAdjustments KATSLine = 0x80000
	KATSLineDisableAllGlyphMorphing       KATSLine = 0x20000
	KATSLineDisableAllJustification       KATSLine = 0x10000
	KATSLineDisableAllKerningAdjustments  KATSLine = 0x40000
	KATSLineDisableAllLayoutOperations    KATSLine = 65536
	KATSLineDisableAllTrackingAdjustments KATSLine = 0x100000
	KATSLineDisableAutoAdjustDisplayPos   KATSLine = 0x4000
	KATSLineDisableNegativeJustification  KATSLine = 0x2000
	KATSLineFillOutToWidth                KATSLine = 0x100
	KATSLineFractDisable                  KATSLine = 0x40
	KATSLineHasNoHangers                  KATSLine = 0x2
	KATSLineHasNoOpticalAlignment         KATSLine = 0x4
	KATSLineIgnoreFontLeading             KATSLine = 0x400
	KATSLineImposeNoAngleForEnds          KATSLine = 0x80
	KATSLineIsDisplayOnly                 KATSLine = 0x1
	KATSLineKeepSpacesOutOfMargin         KATSLine = 0x8
	KATSLineLastNoJustification           KATSLine = 0x20
	KATSLineNoAntiAliasing                KATSLine = 0x1000
	KATSLineNoLayoutOptions               KATSLine = 0
	KATSLineNoSpecialJustification        KATSLine = 0x10
	KATSLineTabAdjustEnabled              KATSLine = 0x200
	KATSLineUseDeviceMetrics              KATSLine = 0x1000000
	KATSLineUseQDRendering                KATSLine = 0x8000
)

func (KATSLine) String

func (e KATSLine) String() string

type KATSOptionFlags

type KATSOptionFlags uint
const (
	KATSOptionFlagsActivateDisabled          KATSOptionFlags = 0x1
	KATSOptionFlagsComposeFontPostScriptName KATSOptionFlags = 1
	KATSOptionFlagsDefault                   KATSOptionFlags = 0
	KATSOptionFlagsDefaultScope              KATSOptionFlags = 0
	KATSOptionFlagsDoNotNotify               KATSOptionFlags = 0x1
	KATSOptionFlagsIncludeDisabledMask       KATSOptionFlags = 0x1
	KATSOptionFlagsIterateByPrecedenceMask   KATSOptionFlags = 0x1
	KATSOptionFlagsIterationScopeMask        KATSOptionFlags = 0x7
	KATSOptionFlagsProcessSubdirectories     KATSOptionFlags = 0x1
	KATSOptionFlagsRecordPersistently        KATSOptionFlags = 0x1
	KATSOptionFlagsRestrictedScope           KATSOptionFlags = 0x2
	KATSOptionFlagsUnRestrictedScope         KATSOptionFlags = 0x1
	KATSOptionFlagsUseDataFork               KATSOptionFlags = 768
	KATSOptionFlagsUseDataForkAsResourceFork KATSOptionFlags = 256
	KATSOptionFlagsUseResourceFork           KATSOptionFlags = 512
)

func (KATSOptionFlags) String

func (e KATSOptionFlags) String() string

type KATSStyle

type KATSStyle uint
const (
	KATSStyleAppleReserved     KATSStyle = 0xfffffff8
	KATSStyleApplyAntiAliasing KATSStyle = 0x2
	KATSStyleApplyHints        KATSStyle = 0
	KATSStyleNoAntiAliasing    KATSStyle = 0x4
	KATSStyleNoHinting         KATSStyle = 0x1
	KATSStyleNoOptions         KATSStyle = 0
)

func (KATSStyle) String

func (e KATSStyle) String() string

type KATSU

type KATSU uint
const (
	KATSUAfterWithStreamShiftTag          KATSU = 268
	KATSUAscentTag                        KATSU = 284
	KATSUBaselineClassTag                 KATSU = 274
	KATSUBeforeWithStreamShiftTag         KATSU = 267
	KATSUCGContextTag                     KATSU = 32767
	KATSUCenterTab                        KATSU = 1
	KATSUClearAll                         KATSU = 0xffffffff
	KATSUColorTag                         KATSU = 263
	KATSUCrossStreamShiftTag              KATSU = 269
	KATSUDecimalTab                       KATSU = 3
	KATSUDecompositionFactorTag           KATSU = 273
	KATSUDefaultFontFallbacks             KATSU = 0
	KATSUDescentTag                       KATSU = 285
	KATSUFontMatrixTag                    KATSU = 289
	KATSUFontTag                          KATSU = 261
	KATSUForceHangingTag                  KATSU = 280
	KATSUFromFollowingLayout              KATSU = 0xfffffffd
	KATSUFromPreviousLayout               KATSU = 0xfffffffe
	KATSUFromTextBeginning                KATSU = 0xffffffff
	KATSUGlyphSelectorTag                 KATSU = 287
	KATSUHangingInhibitFactorTag          KATSU = 271
	KATSUImposeWidthTag                   KATSU = 266
	KATSUKerningInhibitFactorTag          KATSU = 272
	KATSULangRegionTag                    KATSU = 264
	KATSULanguageTag                      KATSU = 264
	KATSULastResortOnlyFallback           KATSU = 1
	KATSULayoutOperationOverrideTag       KATSU = 15
	KATSULeadingTag                       KATSU = 286
	KATSULeftTab                          KATSU = 0
	KATSULeftToRightBaseDirection         KATSU = 0
	KATSULineAscentTag                    KATSU = 8
	KATSULineBaselineValuesTag            KATSU = 6
	KATSULineDecimalTabCharacterTag       KATSU = 14
	KATSULineDescentTag                   KATSU = 9
	KATSULineDirectionTag                 KATSU = 3
	KATSULineFlushFactorTag               KATSU = 5
	KATSULineFontFallbacksTag             KATSU = 13
	KATSULineHighlightCGColorTag          KATSU = 17
	KATSULineJustificationFactorTag       KATSU = 4
	KATSULineLangRegionTag                KATSU = 10
	KATSULineLanguageTag                  KATSU = 10
	KATSULineLayoutOptionsTag             KATSU = 7
	KATSULineRotationTag                  KATSU = 2
	KATSULineTextLocatorTag               KATSU = 11
	KATSULineTruncationTag                KATSU = 12
	KATSULineWidthTag                     KATSU = 1
	KATSUMaxATSUITagValue                 KATSU = 65535
	KATSUMaxLineTag                       KATSU = 18
	KATSUMaxStyleTag                      KATSU = 299
	KATSUNoCaretAngleTag                  KATSU = 277
	KATSUNoLigatureSplitTag               KATSU = 276
	KATSUNoOpticalAlignmentTag            KATSU = 279
	KATSUNoSpecialJustificationTag        KATSU = 281
	KATSUNumberTabTypes                   KATSU = 4
	KATSUPriorityJustOverrideTag          KATSU = 275
	KATSUQDBoldfaceTag                    KATSU = 256
	KATSUQDCondensedTag                   KATSU = 259
	KATSUQDExtendedTag                    KATSU = 260
	KATSUQDItalicTag                      KATSU = 257
	KATSUQDUnderlineTag                   KATSU = 258
	KATSURGBAlphaColorTag                 KATSU = 288
	KATSURightTab                         KATSU = 2
	KATSURightToLeftBaseDirection         KATSU = 1
	KATSUSequentialFallbacksExclusive     KATSU = 3
	KATSUSequentialFallbacksPreferred     KATSU = 2
	KATSUSizeTag                          KATSU = 262
	KATSUStyleDropShadowBlurOptionTag     KATSU = 296
	KATSUStyleDropShadowColorOptionTag    KATSU = 298
	KATSUStyleDropShadowOffsetOptionTag   KATSU = 297
	KATSUStyleDropShadowTag               KATSU = 295
	KATSUStyleRenderingOptionsTag         KATSU = 283
	KATSUStyleStrikeThroughColorOptionTag KATSU = 294
	KATSUStyleStrikeThroughCountOptionTag KATSU = 293
	KATSUStyleStrikeThroughTag            KATSU = 292
	KATSUStyleTextLocatorTag              KATSU = 282
	KATSUStyleUnderlineColorOptionTag     KATSU = 291
	KATSUStyleUnderlineCountOptionTag     KATSU = 290
	KATSUSuppressCrossKerningTag          KATSU = 278
	KATSUToTextEnd                        KATSU = 0xffffffff
	KATSUTrackingTag                      KATSU = 270
	KATSUTruncFeatNoSquishing             KATSU = 0x8
	KATSUTruncateEnd                      KATSU = 2
	KATSUTruncateMiddle                   KATSU = 3
	KATSUTruncateNone                     KATSU = 0
	KATSUTruncateSpecificationMask        KATSU = 0x7
	KATSUTruncateStart                    KATSU = 1
	KATSUUseGrafPortPenLoc                KATSU = 0xffffffff
	KATSUVerticalCharacterTag             KATSU = 265
)

func (KATSU) String

func (e KATSU) String() string

type KATSUBackground

type KATSUBackground uint
const (
	KATSUBackgroundCallback KATSUBackground = 1
	KATSUBackgroundColor    KATSUBackground = 0
)

func (KATSUBackground) String

func (e KATSUBackground) String() string

type KATSUBy

type KATSUBy uint
const (
	KATSUByCharacter          KATSUBy = 0
	KATSUByCharacterCluster   KATSUBy = 3
	KATSUByCluster            KATSUBy = 1
	KATSUByTypographicCluster KATSUBy = 1
	KATSUByWord               KATSUBy = 2
)

func (KATSUBy) String

func (e KATSUBy) String() string

type KATSUDataStreamUnicodeStyled

type KATSUDataStreamUnicodeStyled uint
const (
	KATSUDataStreamUnicodeStyledText KATSUDataStreamUnicodeStyled = 'u'<<24 | 's'<<16 | 't'<<8 | 'l' // 'ustl'
)

func (KATSUDataStreamUnicodeStyled) String

type KATSUDirectData

type KATSUDirectData uint
const (
	KATSUDirectDataAdvanceDeltaFixedArray               KATSUDirectData = 0
	KATSUDirectDataBaselineDeltaFixedArray              KATSUDirectData = 1
	KATSUDirectDataDeviceDeltaSInt16Array               KATSUDirectData = 2
	KATSUDirectDataLayoutRecordATSLayoutRecordCurrent   KATSUDirectData = 100
	KATSUDirectDataLayoutRecordATSLayoutRecordVersion1  KATSUDirectData = 100
	KATSUDirectDataStyleIndexUInt16Array                KATSUDirectData = 3
	KATSUDirectDataStyleSettingATSUStyleSettingRefArray KATSUDirectData = 4
)

func (KATSUDirectData) String

func (e KATSUDirectData) String() string

type KATSUFlattenOptionNoOptions

type KATSUFlattenOptionNoOptions uint
const (
	KATSUFlattenOptionNoOptionsMask KATSUFlattenOptionNoOptions = 0
)

func (KATSUFlattenOptionNoOptions) String

type KATSUInvalidFontI

type KATSUInvalidFontI uint
const (
	KATSUInvalidFontID KATSUInvalidFontI = 0
)

func (KATSUInvalidFontI) String

func (e KATSUInvalidFontI) String() string

type KATSULayoutOperation

type KATSULayoutOperation uint
const (
	KATSULayoutOperationAppleReserved        KATSULayoutOperation = 0xffffffc0
	KATSULayoutOperationBaselineAdjustment   KATSULayoutOperation = 0x8
	KATSULayoutOperationJustification        KATSULayoutOperation = 0x1
	KATSULayoutOperationKerningAdjustment    KATSULayoutOperation = 0x4
	KATSULayoutOperationMorph                KATSULayoutOperation = 0x2
	KATSULayoutOperationNone                 KATSULayoutOperation = 0
	KATSULayoutOperationPostLayoutAdjustment KATSULayoutOperation = 0x20
	KATSULayoutOperationTrackingAdjustment   KATSULayoutOperation = 0x10
)

func (KATSULayoutOperation) String

func (e KATSULayoutOperation) String() string

type KATSULayoutOperationCallbackStatus

type KATSULayoutOperationCallbackStatus int
const (
	KATSULayoutOperationCallbackStatusContinue KATSULayoutOperationCallbackStatus = 0x1
	KATSULayoutOperationCallbackStatusHandled  KATSULayoutOperationCallbackStatus = 0
)

func (KATSULayoutOperationCallbackStatus) String

type KATSUNo

type KATSUNo uint
const (
	KATSUNoSelector KATSUNo = 0xffff
)

func (KATSUNo) String

func (e KATSUNo) String() string

type KATSUStrongly

type KATSUStrongly uint
const (
	KATSUStronglyHorizontal KATSUStrongly = 0
	KATSUStronglyVertical   KATSUStrongly = 1
)

func (KATSUStrongly) String

func (e KATSUStrongly) String() string

type KATSUStyle

type KATSUStyle uint
const (
	KATSUStyleContainedBy     KATSUStyle = 3
	KATSUStyleContains        KATSUStyle = 1
	KATSUStyleDoubleLineCount KATSUStyle = 2
	KATSUStyleEquals          KATSUStyle = 2
	KATSUStyleSingleLineCount KATSUStyle = 1
	KATSUStyleUnequal         KATSUStyle = 0
)

func (KATSUStyle) String

func (e KATSUStyle) String() string

type KATSUUnFlattenOptionNoOptions

type KATSUUnFlattenOptionNoOptions uint
const (
	KATSUUnFlattenOptionNoOptionsMask KATSUUnFlattenOptionNoOptions = 0
)

func (KATSUUnFlattenOptionNoOptions) String

type KATSUUseLineControl

type KATSUUseLineControl uint
const (
	KATSUUseLineControlWidth KATSUUseLineControl = 0x7fffffff
)

func (KATSUUseLineControl) String

func (e KATSUUseLineControl) String() string

type KATSUse

type KATSUse uint
const (
	KATSUseCaretOrigins      KATSUse = 0
	KATSUseDeviceOrigins     KATSUse = 1
	KATSUseFractionalOrigins KATSUse = 2
	KATSUseOriginFlags       KATSUse = 3
)

func (KATSUse) String

func (e KATSUse) String() string

type KAlign

type KAlign uint
const (
	KAlignAbsoluteCenter   KAlign = 1
	KAlignBottom           KAlign = 0x3
	KAlignBottomLeft       KAlign = 3
	KAlignBottomRight      KAlign = 3
	KAlignCenterBottom     KAlign = 3
	KAlignCenterLeft       KAlign = 1
	KAlignCenterRight      KAlign = 1
	KAlignCenterTop        KAlign = 2
	KAlignHorizontalCenter KAlign = 0x4
	KAlignLeft             KAlign = 0x8
	KAlignNone             KAlign = 0
	KAlignRight            KAlign = 0xc
	KAlignTop              KAlign = 0x2
	KAlignTopLeft          KAlign = 2
	KAlignTopRight         KAlign = 2
	KAlignVerticalCenter   KAlign = 0x1
)

func (KAlign) String

func (e KAlign) String() string

type KAllPPDDomains

type KAllPPDDomains uint
const (
	// KAllPPDDomainsValue: # Discussion
	KAllPPDDomainsValue KAllPPDDomains = 1
	// KCUPSPPDDomain: # Discussion
	KCUPSPPDDomain KAllPPDDomains = 6
	// KLocalPPDDomain: # Discussion
	KLocalPPDDomain KAllPPDDomains = 3
	// KNetworkPPDDomain: # Discussion
	KNetworkPPDDomain KAllPPDDomains = 4
	// KSystemPPDDomain: # Discussion
	KSystemPPDDomain KAllPPDDomains = 2
	// KUserPPDDomain: # Discussion
	KUserPPDDomain KAllPPDDomains = 5
)

func (KAllPPDDomains) String

func (e KAllPPDDomains) String() string

type KAudioUnit

type KAudioUnit uint
const (
	// KAudioUnitProperty_SpeechChannel: The speech channel property in the speech synthesis audio unit.
	KAudioUnitProperty_SpeechChannel KAudioUnit = 3331
	// KAudioUnitProperty_Voice: The voice property in the speech synthesis audio unit.
	KAudioUnitProperty_Voice KAudioUnit = 3330
	// KAudioUnitSubType_SpeechSynthesis: The speech synthesis component subtype used in the creation of a speech synthesis audio unit.
	KAudioUnitSubType_SpeechSynthesis KAudioUnit = 't'<<24 | 't'<<16 | 's'<<8 | 'p' // 'ttsp'
)

func (KAudioUnit) String

func (e KAudioUnit) String() string

type KDefaultCMM

type KDefaultCMM uint
const (
	// KDefaultCMMSignature: Signature for the default CMM supplied with the ColorSync Manager.
	KDefaultCMMSignature KDefaultCMM = 'a'<<24 | 'p'<<16 | 'p'<<8 | 'l' // 'appl'
)

func (KDefaultCMM) String

func (e KDefaultCMM) String() string

type KFM

type KFM uint
const (
	KFMFontCallbackFilterSelector       KFM = 5
	KFMFontContainerFilterSelector      KFM = 2
	KFMFontDirectoryFilterSelector      KFM = 6
	KFMFontFamilyCallbackFilterSelector KFM = 4
	KFMFontFileRefFilterSelector        KFM = 10
	KFMFontTechnologyFilterSelector     KFM = 1
	KFMGenerationFilterSelector         KFM = 3
	KFMPostScriptFontTechnology         KFM = 't'<<24 | 'y'<<16 | 'p'<<8 | '1' // 'typ1'
	KFMTrueTypeFontTechnology           KFM = 't'<<24 | 'r'<<16 | 'u'<<8 | 'e' // 'true'
)

func (KFM) String

func (e KFM) String() string

type KFMCurrentFilter

type KFMCurrentFilter uint
const (
	KFMCurrentFilterFormat KFMCurrentFilter = 0
)

func (KFMCurrentFilter) String

func (e KFMCurrentFilter) String() string

type KGlyphCollection

type KGlyphCollection uint
const (
	KGlyphCollectionAdobeCNS1   KGlyphCollection = 1
	KGlyphCollectionAdobeGB1    KGlyphCollection = 2
	KGlyphCollectionAdobeJapan1 KGlyphCollection = 3
	KGlyphCollectionAdobeJapan2 KGlyphCollection = 4
	KGlyphCollectionAdobeKorea1 KGlyphCollection = 5
	KGlyphCollectionGID         KGlyphCollection = 0
	KGlyphCollectionUnspecified KGlyphCollection = 0xff
)

func (KGlyphCollection) String

func (e KGlyphCollection) String() string

type KHIShapeEnumerate

type KHIShapeEnumerate uint
const (
	KHIShapeEnumerateInit      KHIShapeEnumerate = 1
	KHIShapeEnumerateRect      KHIShapeEnumerate = 2
	KHIShapeEnumerateTerminate KHIShapeEnumerate = 3
)

func (KHIShapeEnumerate) String

func (e KHIShapeEnumerate) String() string

type KHIShapeParseFrom

type KHIShapeParseFrom uint
const (
	KHIShapeParseFromBottom      KHIShapeParseFrom = 1
	KHIShapeParseFromBottomRight KHIShapeParseFrom = 1
	KHIShapeParseFromLeft        KHIShapeParseFrom = 0
	KHIShapeParseFromRight       KHIShapeParseFrom = 2
	KHIShapeParseFromTop         KHIShapeParseFrom = 0
	KHIShapeParseFromTopLeft     KHIShapeParseFrom = 0
)

func (KHIShapeParseFrom) String

func (e KHIShapeParseFrom) String() string

type KIC

type KIC uint
const (
	KICComponentVersion KIC = 0
	KICCreator          KIC = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp'
	KICFileType         KIC = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp'
	KICNumVersion       KIC = 1
)

func (KIC) String

func (e KIC) String() string

type KICAttr

type KICAttr uint
const (
	KICAttrLockedBit    KICAttr = 0
	KICAttrLockedMask   KICAttr = 0x1
	KICAttrNoChange     KICAttr = 0xffffffff
	KICAttrVolatileBit  KICAttr = 1
	KICAttrVolatileMask KICAttr = 0x2
)

func (KICAttr) String

func (e KICAttr) String() string

type KICComponentInterface

type KICComponentInterface uint
const (
	KICComponentInterfaceVersion  KICComponentInterface = 262144
	KICComponentInterfaceVersion0 KICComponentInterface = 0
	KICComponentInterfaceVersion1 KICComponentInterface = 0x10000
	KICComponentInterfaceVersion2 KICComponentInterface = 0x20000
	KICComponentInterfaceVersion3 KICComponentInterface = 0x30000
	KICComponentInterfaceVersion4 KICComponentInterface = 0x40000
)

func (KICComponentInterface) String

func (e KICComponentInterface) String() string

type KICEditPreferenceEventClass

type KICEditPreferenceEventClass uint
const (
	KICEditPreferenceEvent           KICEditPreferenceEventClass = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp'
	KICEditPreferenceEventClassValue KICEditPreferenceEventClass = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp'
	KeyICEditPreferenceDestination   KICEditPreferenceEventClass = 'd'<<24 | 'e'<<16 | 's'<<8 | 't' // 'dest'
)

func (KICEditPreferenceEventClass) String

type KICFileSpecHeader

type KICFileSpecHeader uint
const (
	KICFileSpecHeaderSize KICFileSpecHeader = 0
)

func (KICFileSpecHeader) String

func (e KICFileSpecHeader) String() string

type KICMap

type KICMap uint
const (
	KICMapBinaryBit        KICMap = 0
	KICMapBinaryMask       KICMap = 0x1
	KICMapDataForkBit      KICMap = 2
	KICMapDataForkMask     KICMap = 0x4
	KICMapNotIncomingBit   KICMap = 4
	KICMapNotIncomingMask  KICMap = 0x10
	KICMapNotOutgoingBit   KICMap = 5
	KICMapNotOutgoingMask  KICMap = 0x20
	KICMapPostBit          KICMap = 3
	KICMapPostMask         KICMap = 0x8
	KICMapResourceForkBit  KICMap = 1
	KICMapResourceForkMask KICMap = 0x2
)

func (KICMap) String

func (e KICMap) String() string

type KICMapFixed

type KICMapFixed uint
const (
	KICMapFixedLength KICMapFixed = 22
)

func (KICMapFixed) String

func (e KICMapFixed) String() string

type KICNilProfileI

type KICNilProfileI uint
const (
	KICNilProfileID KICNilProfileI = 0
)

func (KICNilProfileI) String

func (e KICNilProfileI) String() string

type KICNoUserInteraction

type KICNoUserInteraction uint
const (
	KICNoUserInteractionBit  KICNoUserInteraction = 0
	KICNoUserInteractionMask KICNoUserInteraction = 0x1
)

func (KICNoUserInteraction) String

func (e KICNoUserInteraction) String() string

type KICServices

type KICServices uint
const (
	KICServicesTCPBit  KICServices = 0
	KICServicesTCPMask KICServices = 0x1
	KICServicesUDPBit  KICServices = 1
	KICServicesUDPMask KICServices = 0x2
)

func (KICServices) String

func (e KICServices) String() string

type KImmediate

type KImmediate uint
const (
	// KEndOfSentence: Speech should be paused or stopped at the end of the sentence.
	KEndOfSentence KImmediate = 2
	// KEndOfWord: Speech should be paused or stopped at the endof the word.
	KEndOfWord KImmediate = 1
	// KImmediateValue: Speech should be paused or stopped immediately.
	KImmediateValue KImmediate = 0
)

func (KImmediate) String

func (e KImmediate) String() string

type KInternetEventClass

type KInternetEventClass uint
const (
	KAEFetchURL              KInternetEventClass = 'F'<<24 | 'U'<<16 | 'R'<<8 | 'L' // 'FURL'
	KAEGetURL                KInternetEventClass = 'G'<<24 | 'U'<<16 | 'R'<<8 | 'L' // 'GURL'
	KInternetEventClassValue KInternetEventClass = 'G'<<24 | 'U'<<16 | 'R'<<8 | 'L' // 'GURL'
	KeyAEAttaching           KInternetEventClass = 'A'<<24 | 't'<<16 | 'c'<<8 | 'h' // 'Atch'
)

func (KInternetEventClass) String

func (e KInternetEventClass) String() string

type KInvalid

type KInvalid int
const (
	KInvalidFont       KInvalid = 0
	KInvalidFontFamily KInvalid = -1
	KInvalidGeneration KInvalid = 0
)

func (KInvalid) String

func (e KInvalid) String() string

type KInvertHighlighting

type KInvertHighlighting uint
const (
	KInvertHighlightingValue KInvertHighlighting = 0
	KRedrawHighlighting      KInvertHighlighting = 1
)

func (KInvertHighlighting) String

func (e KInvertHighlighting) String() string

type KNeuter

type KNeuter uint
const (
	// KFemale: Female voice.
	KFemale KNeuter = 2
	// KMale: Male voice.
	KMale KNeuter = 1
	// KNeuterValue: Neuter voice.
	KNeuterValue KNeuter = 0
)

func (KNeuter) String

func (e KNeuter) String() string

type KNoConstraint

type KNoConstraint uint
const (
	KHorizontalConstraint KNoConstraint = 2
	KNoConstraintValue    KNoConstraint = 0
	KVerticalConstraint   KNoConstraint = 1
)

func (KNoConstraint) String

func (e KNoConstraint) String() string

type KNoEndingProsody

type KNoEndingProsody uint
const (
	// KNoEndingProsodyValue: # Discussion
	KNoEndingProsodyValue KNoEndingProsody = 1
	// KNoSpeechInterrupt: # Discussion
	KNoSpeechInterrupt KNoEndingProsody = 2
	// KPreflightThenPause: # Discussion
	KPreflightThenPause KNoEndingProsody = 4
)

func (KNoEndingProsody) String

func (e KNoEndingProsody) String() string

type KNoProcess

type KNoProcess uint
const (
	KCurrentProcess KNoProcess = 2
	KNoProcessValue KNoProcess = 0
	KSystemProcess  KNoProcess = 1
)

func (KNoProcess) String

func (e KNoProcess) String() string

type KNoTransform

type KNoTransform uint
const (
	// KDeviceToPCS: Device Dependent to Device Independent
	KDeviceToPCS KNoTransform = 1
	// KNoTransformValue: Not used.
	KNoTransformValue KNoTransform = 0
	// KPCSToDevice: Device Independent to Device Dependent
	KPCSToDevice KNoTransform = 2
	// KPCSToPCS: Independent, through device's gamut
	KPCSToPCS KNoTransform = 3
	// KUseAtoB: Use 'A2B*' tag from this profile or equivalent
	KUseAtoB KNoTransform = 1
	// KUseBtoA: Use 'B2A*' tag from this profile or equivalent
	KUseBtoA KNoTransform = 2
	// KUseBtoB: Use 'pre*' tag from this profile or equivalent
	KUseBtoB KNoTransform = 3
	// KUseProfileIntent: For renderingIntent in NCMConcatProfileSpec
	KUseProfileIntent KNoTransform = 0xffffffff
)

func (KNoTransform) String

func (e KNoTransform) String() string

type KPM

type KPM int
const (
	KPMAllocationFailure   KPM = -108
	KPMCMYKColorSpaceModel KPM = 3
	KPMCVMSymbolNotFound   KPM = -9662
	// KPMCancel: Specifies that the user clicked the Cancel button in a Print or Page Setup dialog.
	KPMCancel                KPM = 0x80
	KPMCloseFailed           KPM = -9785
	KPMCreateMessageFailed   KPM = -9620
	KPMDeleteSubTicketFailed KPM = -9585
	KPMDevNColorSpaceModel   KPM = 4
	KPMDocumentNotFound      KPM = -9644
	KPMDontSwitchPDEError    KPM = -9531
	// KPMDuplexNoTumble: # Discussion
	KPMDuplexNoTumble KPM = 0x2
	// KPMDuplexNone: # Discussion
	KPMDuplexNone KPM = 0x1
	// KPMDuplexTumble: # Discussion
	KPMDuplexTumble             KPM = 0x3
	KPMEditRequestFailed        KPM = -9544
	KPMFeatureNotInstalled      KPM = -9533
	KPMFileOrDirOperationFailed KPM = -9634
	KPMFontNameTooLong          KPM = -9704
	KPMFontNotFound             KPM = -9703
	KPMGeneralCGError           KPM = -9705
	// KPMGeneralError: An unspecified error occurred.
	KPMGeneralError        KPM = -30870
	KPMGrayColorSpaceModel KPM = 1
	KPMHideInlineItems     KPM = 0
	KPMIOAttrNotAvailable  KPM = -9787
	KPMIOMSymbolNotFound   KPM = -9661
	KPMInternalError       KPM = -30870
	// KPMInvalidAllocator: The specified memory allocator is invalid.
	KPMInvalidAllocator  KPM = -30890
	KPMInvalidCVMContext KPM = -9665
	// KPMInvalidCalibrationTarget: The dictionary specifying a printer calibration target is invalid.
	KPMInvalidCalibrationTarget KPM = -30898
	// KPMInvalidConnection: The printer connection type is invalid.
	KPMInvalidConnection KPM = -30887
	// KPMInvalidFileType: The file type is invalid.
	KPMInvalidFileType   KPM = -30895
	KPMInvalidIOMContext KPM = -9664
	// KPMInvalidIndex: An array index is invalid.
	KPMInvalidIndex KPM = -30882
	// KPMInvalidItem: The item being added to a ticket is invalid.
	KPMInvalidItem  KPM = -30892
	KPMInvalidJobID KPM = -9666
	// KPMInvalidJobTemplate: An internal error occurred while creating a job template.
	KPMInvalidJobTemplate KPM = -30885
	// KPMInvalidKey: The key in a ticket, job template, or dictionary is invalid.
	KPMInvalidKey        KPM = -30888
	KPMInvalidLookupSpec KPM = -9542
	// KPMInvalidObject: The object is invalid.
	KPMInvalidObject     KPM = -30896
	KPMInvalidPBMRef     KPM = -9540
	KPMInvalidPDEContext KPM = -9530
	KPMInvalidPMContext  KPM = -9663
	// KPMInvalidPageFormat: Your application passed an invalid page format object.
	KPMInvalidPageFormat KPM = -30876
	// KPMInvalidPaper: Your application passed an invalid paper object.
	KPMInvalidPaper     KPM = -30897
	KPMInvalidParameter KPM = -50
	// KPMInvalidPreset: Your application passed an invalid preset object.
	KPMInvalidPreset KPM = -30899
	// KPMInvalidPrintSession: Your application passed an invalid printing session object.
	KPMInvalidPrintSession KPM = -30879
	// KPMInvalidPrintSettings: Your application passed an invalid print settings object.
	KPMInvalidPrintSettings KPM = -30875
	// KPMInvalidPrinter: Your application passed an invalid printer object.
	KPMInvalidPrinter        KPM = -30880
	KPMInvalidPrinterAddress KPM = -9780
	// KPMInvalidPrinterInfo: The printer information is invalid.
	KPMInvalidPrinterInfo KPM = -30886
	// KPMInvalidReply: A remote server or client sent an invalid reply.
	KPMInvalidReply     KPM = -30894
	KPMInvalidState     KPM = -9706
	KPMInvalidSubTicket KPM = -9584
	// KPMInvalidTicket: The job ticket is invalid.
	KPMInvalidTicket KPM = -30891
	// KPMInvalidType: The data type in a ticket, job template, or dictionary is not the expected type.
	KPMInvalidType KPM = -30893
	// KPMInvalidValue: The value in a ticket, job template, or dictionary is missing.
	KPMInvalidValue               KPM = -30889
	KPMItemIsLocked               KPM = -9586
	KPMJobBusy                    KPM = -9642
	KPMJobCanceled                KPM = -9643
	KPMJobGetTicketBadFormatError KPM = -9672
	KPMJobGetTicketReadError      KPM = -9673
	KPMJobManagerAborted          KPM = -9671
	KPMJobNotFound                KPM = -9641
	KPMJobStreamEndError          KPM = -9670
	KPMJobStreamOpenFailed        KPM = -9668
	KPMJobStreamReadFailed        KPM = -9669
	KPMKeyNotFound                KPM = -9589
	KPMKeyNotUnique               KPM = -9590
	KPMKeyOrValueNotFound         KPM = -9623
	// KPMLandscape: # Discussion
	KPMLandscape                                      KPM = 2
	KPMLastErrorCodeToMakeMaintenanceOfThisListEasier KPM = -9799
	KPMMessagingError                                 KPM = -9624
	KPMNoDefaultItem                                  KPM = -9500
	// KPMNoDefaultPrinter: The user has not specified a default printer.
	KPMNoDefaultPrinter   KPM = -30872
	KPMNoDefaultSettings  KPM = -9501
	KPMNoError            KPM = 0
	KPMNoPrinterJobID     KPM = -9667
	KPMNoSelectedPrinters KPM = -9541
	// KPMNoSuchEntry: There is no entry to match your application’s request.
	KPMNoSuchEntry KPM = -30874
	// KPMNotImplemented: The function is not implemented.
	KPMNotImplemented KPM = -30873
	// KPMObjectInUse: The specified object is in use.
	KPMObjectInUse KPM = -30881
	KPMOpenFailed  KPM = -9781
	// KPMOutOfScope: Your application called this function out of sequence with other printing functions.
	KPMOutOfScope                KPM = -30871
	KPMPMSymbolNotFound          KPM = -9660
	KPMPermissionError           KPM = -9636
	KPMPluginNotFound            KPM = -9701
	KPMPluginRegisterationFailed KPM = -9702
	// KPMPortrait: Specifies portrait (vertical) page orientation.
	KPMPortrait           KPM = 1
	KPMPrBrowserNoUI      KPM = -9545
	KPMQueueAlreadyExists KPM = -9639
	KPMQueueJobFailed     KPM = -9640
	KPMQueueNotFound      KPM = -9638
	KPMRGBColorSpaceModel KPM = 2
	KPMReadFailed         KPM = -9782
	KPMReadGotZeroData    KPM = -9788
	// KPMReverseLandscape: # Discussion
	KPMReverseLandscape KPM = 4
	// KPMReversePortrait: # Discussion
	KPMReversePortrait                  KPM = 3
	KPMServerAlreadyRunning             KPM = -9631
	KPMServerAttributeRestricted        KPM = -9633
	KPMServerCommunicationFailed        KPM = -9621
	KPMServerNotFound                   KPM = -9630
	KPMServerSuspended                  KPM = -9632
	KPMShowDefaultInlineItems           KPM = 32768
	KPMShowInlineCopies                 KPM = 1
	KPMShowInlineOrientation            KPM = 8
	KPMShowInlinePageRange              KPM = 2
	KPMShowInlinePageRangeWithSelection KPM = 64
	KPMShowInlinePaperSize              KPM = 4
	KPMShowInlineScale                  KPM = 128
	KPMShowPageAttributesPDE            KPM = 256
	// KPMSimplexTumble: # Discussion
	KPMSimplexTumble KPM = 0x4
	KPMStatusFailed  KPM = -9784
	// KPMStringConversionFailure: An internal error occurred while converting a string.
	KPMStringConversionFailure KPM = -30883
	KPMSubTicketNotFound       KPM = -9583
	KPMSyncRequestFailed       KPM = -9543
	KPMTemplateIsLocked        KPM = -9588
	KPMTicketIsLocked          KPM = -9587
	KPMTicketTypeNotFound      KPM = -9580
	KPMUnableToFindProcess     KPM = -9532
	KPMUnexpectedImagingError  KPM = -9707
	KPMUnknownColorSpaceModel  KPM = 0
	KPMUnknownDataType         KPM = -9591
	KPMUnknownMessage          KPM = -9637
	KPMUnlocked                KPM = 0
	KPMUnsupportedConnection   KPM = -9786
	KPMUpdateTicketFailed      KPM = -9581
	KPMUserOrGroupNotFound     KPM = -9635
	KPMValidateTicketFailed    KPM = -9582
	// KPMValueOutOfRange: Your application passed an out-of-range value.
	KPMValueOutOfRange KPM = -30877
	KPMWriteFailed     KPM = -9783
	// KPMXMLParseError: An error occurred while parsing XML data.
	KPMXMLParseError KPM = -30884
)

func (KPM) String

func (e KPM) String() string

type KPMBorder

type KPMBorder uint
const (
	KPMBorderDoubleHairline  KPMBorder = 2
	KPMBorderDoubleThickline KPMBorder = 4
	KPMBorderSingleHairline  KPMBorder = 1
	KPMBorderSingleThickline KPMBorder = 3
)

func (KPMBorder) String

func (e KPMBorder) String() string

type KPMCoverPage

type KPMCoverPage uint
const (
	KPMCoverPageAfter  KPMCoverPage = 3
	KPMCoverPageBefore KPMCoverPage = 2
	KPMCoverPageNone   KPMCoverPage = 1
)

func (KPMCoverPage) String

func (e KPMCoverPage) String() string

type KPMDestination

type KPMDestination uint
const (
	// KPMDestinationFax: Specifies output to a fax.
	KPMDestinationFax KPMDestination = 3
	// KPMDestinationFile: Specifies output to a file.
	KPMDestinationFile KPMDestination = 2
	// KPMDestinationInvalid: Specifies the destination is invalid.
	KPMDestinationInvalid KPMDestination = 0
	// KPMDestinationPreview: Specifies output to print preview.
	KPMDestinationPreview KPMDestination = 4
	// KPMDestinationPrinter: Specifies output to a printer.
	KPMDestinationPrinter KPMDestination = 1
	// KPMDestinationProcessPDF: Specifies output to a PDF workflow option.
	KPMDestinationProcessPDF KPMDestination = 5
)

func (KPMDestination) String

func (e KPMDestination) String() string

type KPMLayout

type KPMLayout uint
const (
	KPMLayoutBottomTopLeftRight KPMLayout = 7
	KPMLayoutBottomTopRightLeft KPMLayout = 8
	KPMLayoutLeftRightBottomTop KPMLayout = 2
	KPMLayoutLeftRightTopBottom KPMLayout = 1
	KPMLayoutRightLeftBottomTop KPMLayout = 4
	KPMLayoutRightLeftTopBottom KPMLayout = 3
	KPMLayoutTopBottomLeftRight KPMLayout = 5
	KPMLayoutTopBottomRightLeft KPMLayout = 6
)

func (KPMLayout) String

func (e KPMLayout) String() string

type KPMPaperType

type KPMPaperType uint
const (
	KPMPaperTypeCoated       KPMPaperType = 0x2
	KPMPaperTypeGlossy       KPMPaperType = 0x4
	KPMPaperTypePlain        KPMPaperType = 0x1
	KPMPaperTypePremium      KPMPaperType = 0x3
	KPMPaperTypeTShirt       KPMPaperType = 0x6
	KPMPaperTypeTransparency KPMPaperType = 0x5
	KPMPaperTypeUnknown      KPMPaperType = 0
)

func (KPMPaperType) String

func (e KPMPaperType) String() string

type KPMPrintAll

type KPMPrintAll int
const (
	// KPMPrintAllPages: # Discussion
	KPMPrintAllPages KPMPrintAll = -1
)

func (KPMPrintAll) String

func (e KPMPrintAll) String() string

type KPMPrinter

type KPMPrinter uint
const (
	// KPMPrinterIdle: Specifies the idle state.
	KPMPrinterIdle KPMPrinter = 3
	// KPMPrinterProcessing: Specifies the processing state.
	KPMPrinterProcessing KPMPrinter = 4
	// KPMPrinterStopped: Specifies the stopped state.
	KPMPrinterStopped KPMPrinter = 5
)

func (KPMPrinter) String

func (e KPMPrinter) String() string

type KPMQuality

type KPMQuality uint
const (
	// KPMQualityBest: Specifies to get the best print quality for all objects and photos on a page.
	KPMQualityBest KPMQuality = 0xd
	// KPMQualityDraft: Specifies to print at the highest speed, with the amount of ink used as a secondary consideration.
	KPMQualityDraft KPMQuality = 0x4
	// KPMQualityHighest: Specifies to use the highest print quality available to the printer.
	KPMQualityHighest KPMQuality = 0xf
	// KPMQualityInkSaver: Specifies to use a mode that saves ink, even if it slows printing.
	KPMQualityInkSaver KPMQuality = 0x1
	// KPMQualityLowest: Specifies to use the lowest print quality available to the printer.
	KPMQualityLowest KPMQuality = 0
	// KPMQualityNormal: Specifies a general usage mode that balances quality and speed.
	KPMQualityNormal KPMQuality = 0x8
	// KPMQualityPhoto: Specifies to optimize the quality of photos on the page, with speed not a concern.
	KPMQualityPhoto KPMQuality = 0xb
)

func (KPMQuality) String

func (e KPMQuality) String() string

type KPMScaling

type KPMScaling uint
const (
	KPMScalingCenterOnImgArea KPMScaling = 6
	KPMScalingCenterOnPaper   KPMScaling = 5
	KPMScalingPinBottomLeft   KPMScaling = 3
	KPMScalingPinBottomRight  KPMScaling = 4
	KPMScalingPinTopLeft      KPMScaling = 1
	KPMScalingPinTopRight     KPMScaling = 2
)

func (KPMScaling) String

func (e KPMScaling) String() string

type KPlotIconRef

type KPlotIconRef uint
const (
	KPlotIconRefNoImage     KPlotIconRef = 2
	KPlotIconRefNoMask      KPlotIconRef = 4
	KPlotIconRefNormalFlags KPlotIconRef = 0
)

func (KPlotIconRef) String

func (e KPlotIconRef) String() string

type KProcessDictionaryIncludeAllInformation

type KProcessDictionaryIncludeAllInformation uint
const (
	KProcessDictionaryIncludeAllInformationMask KProcessDictionaryIncludeAllInformation = 0xffffffff
)

func (KProcessDictionaryIncludeAllInformation) String

type KProcessTransformTo

type KProcessTransformTo uint
const (
	KProcessTransformToBackgroundApplication KProcessTransformTo = 2
	KProcessTransformToForegroundApplication KProcessTransformTo = 1
	KProcessTransformToUIElementApplication  KProcessTransformTo = 4
)

func (KProcessTransformTo) String

func (e KProcessTransformTo) String() string

type KQuit

type KQuit uint
const (
	KQuitAtNormalTimeMask             KQuit = 2
	KQuitBeforeFBAsQuitMask           KQuit = 4
	KQuitBeforeNormalTimeMask         KQuit = 1
	KQuitBeforeShellQuitsMask         KQuit = 8
	KQuitBeforeTerminatorAppQuitsMask KQuit = 16
	KQuitNeverMask                    KQuit = 32
	KQuitNotQuitDuringInstallMask     KQuit = 0x100
	KQuitNotQuitDuringLogoutMask      KQuit = 0x200
	KQuitOptionsMask                  KQuit = 0x7f
)

func (KQuit) String

func (e KQuit) String() string

type KSelector

type KSelector uint
const (
	KSelectorAll1BitData      KSelector = 1
	KSelectorAll32BitData     KSelector = 8
	KSelectorAll4BitData      KSelector = 2
	KSelectorAll8BitData      KSelector = 4
	KSelectorAllAvailableData KSelector = 0xffffffff
	KSelectorAllHugeData      KSelector = 0xff000000
	KSelectorAllLargeData     KSelector = 0xff
	KSelectorAllMiniData      KSelector = 0xff0000
	KSelectorAllSmallData     KSelector = 0xff00
	KSelectorHuge1Bit         KSelector = 0x1000000
	KSelectorHuge32Bit        KSelector = 0x8000000
	KSelectorHuge4Bit         KSelector = 0x2000000
	KSelectorHuge8Bit         KSelector = 0x4000000
	KSelectorHuge8BitMask     KSelector = 0x10000000
	KSelectorLarge1Bit        KSelector = 0x1
	KSelectorLarge32Bit       KSelector = 0x8
	KSelectorLarge4Bit        KSelector = 0x2
	KSelectorLarge8Bit        KSelector = 0x4
	KSelectorLarge8BitMask    KSelector = 0x10
	KSelectorMini1Bit         KSelector = 0x10000
	KSelectorMini4Bit         KSelector = 0x20000
	KSelectorMini8Bit         KSelector = 0x40000
	KSelectorSmall1Bit        KSelector = 0x100
	KSelectorSmall32Bit       KSelector = 0x800
	KSelectorSmall4Bit        KSelector = 0x200
	KSelectorSmall8Bit        KSelector = 0x400
	KSelectorSmall8BitMask    KSelector = 0x1000
)

func (KSelector) String

func (e KSelector) String() string

type KSetFrontProcess

type KSetFrontProcess uint
const (
	KSetFrontProcessCausedByUser    KSetFrontProcess = 2
	KSetFrontProcessFrontWindowOnly KSetFrontProcess = 1
)

func (KSetFrontProcess) String

func (e KSetFrontProcess) String() string

type KSpeech

type KSpeech uint
const (
	// KSpeechGenerateTune: # Discussion
	KSpeechGenerateTune KSpeech = 1
	// KSpeechRelativeDuration: # Discussion
	KSpeechRelativeDuration KSpeech = 4
	// KSpeechRelativePitch: # Discussion
	KSpeechRelativePitch KSpeech = 2
	// KSpeechShowSyllables: # Discussion
	KSpeechShowSyllables KSpeech = 8
)

func (KSpeech) String

func (e KSpeech) String() string

type KTextToSpeech

type KTextToSpeech uint
const (
	// KTextToSpeechSynthType: The type of a synthesizer component.
	KTextToSpeechSynthType KTextToSpeech = 't'<<24 | 't'<<16 | 's'<<8 | 'c' // 'ttsc'
	// KTextToSpeechVoiceBundleType: The type of a voice bundle file.
	KTextToSpeechVoiceBundleType KTextToSpeech = 't'<<24 | 't'<<16 | 'v'<<8 | 'b' // 'ttvb'
	// KTextToSpeechVoiceFileType: The type of a voice file.
	KTextToSpeechVoiceFileType KTextToSpeech = 't'<<24 | 't'<<16 | 'v'<<8 | 'f' // 'ttvf'
	// KTextToSpeechVoiceType: The type of a voice resource.
	KTextToSpeechVoiceType KTextToSpeech = 't'<<24 | 't'<<16 | 'v'<<8 | 'd' // 'ttvd'
)

func (KTextToSpeech) String

func (e KTextToSpeech) String() string

type KTransform

type KTransform uint
const (
	KTransformDisabled         KTransform = 0x1
	KTransformLabel1           KTransform = 0x100
	KTransformLabel2           KTransform = 0x200
	KTransformLabel3           KTransform = 0x300
	KTransformLabel4           KTransform = 0x400
	KTransformLabel5           KTransform = 0x500
	KTransformLabel6           KTransform = 0x600
	KTransformLabel7           KTransform = 0x700
	KTransformNone             KTransform = 0
	KTransformOffline          KTransform = 0x2
	KTransformOpen             KTransform = 0x3
	KTransformSelected         KTransform = 0x4000
	KTransformSelectedDisabled KTransform = 16384
	KTransformSelectedOffline  KTransform = 16384
	KTransformSelectedOpen     KTransform = 16384
)

func (KTransform) String

func (e KTransform) String() string

type KTranslation

type KTranslation uint
const (
	KTranslationDataTranslation KTranslation = 1
	KTranslationFileTranslation KTranslation = 2
)

func (KTranslation) String

func (e KTranslation) String() string

type KUAZoomFocusType

type KUAZoomFocusType uint
const (
	// KUAZoomFocusTypeInsertionPoint: # Discussion
	KUAZoomFocusTypeInsertionPoint KUAZoomFocusType = 1
	// KUAZoomFocusTypeOther: # Discussion
	KUAZoomFocusTypeOther KUAZoomFocusType = 0
)

func (KUAZoomFocusType) String

func (e KUAZoomFocusType) String() string

type KernEntry

type KernEntry struct {
	KernStyle  unsafe.Pointer
	KernLength unsafe.Pointer
}

KernEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/kernentry

type KernPair

type KernPair struct {
	KernFirst  unsafe.Pointer
	KernSecond unsafe.Pointer
	KernWidth  unsafe.Pointer
}

KernPair

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/kernpair

type KernTable

type KernTable struct {
	NumKerns unsafe.Pointer
}

KernTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/kerntable

type Launch

type Launch uint
const (
	LaunchAllow24Bit    Launch = 0x100
	LaunchContinue      Launch = 0x4000
	LaunchDontSwitch    Launch = 0x200
	LaunchInhibitDaemon Launch = 0x80
	LaunchNoFileFlags   Launch = 0x800
	LaunchUseMinimum    Launch = 0x400
)

func (Launch) String

func (e Launch) String() string

type LaunchPBPtr

type LaunchPBPtr = unsafe.Pointer

type LaunchParamBlockRec

type LaunchParamBlockRec struct {
	Reserved1           uint32
	Reserved2           uint16
	LaunchBlockID       uint16
	LaunchEPBLength     uint32
	LaunchFileFlags     uint16
	LaunchControlFlags  uint16
	LaunchAppRef        unsafe.Pointer
	LaunchProcessSN     *ProcessSerialNumber
	LaunchPreferredSize uint32
	LaunchMinimumSize   uint32
	LaunchAvailableSize uint32
	LaunchAppParameters unsafe.Pointer
}

LaunchParamBlockRec

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/launchparamblockrec

type MacPolygon

type MacPolygon struct {
	PolySize   unsafe.Pointer
	PolyBBox   Rect
	PolyPoints Point
}

MacPolygon

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/macpolygon

type Mode

type Mode uint
const (
	Mode32BitCompatible        Mode = 0x80
	ModeCanBackground          Mode = 0x1000
	ModeControlPanel           Mode = 0x80000
	ModeDeskAccessory          Mode = 0x20000
	ModeDisplayManagerAware    Mode = 0x4
	ModeDoesActivateOnFGSwitch Mode = 0x800
	ModeGetAppDiedMsg          Mode = 0x100
	ModeGetFrontClicks         Mode = 0x200
	ModeHighLevelEventAware    Mode = 0x40
	ModeLaunchDontSwitch       Mode = 0x40000
	// ModeLiteral: When the speech channel is in text-processing mode, indicates that characters and digits are spoken literally (for example, “cat” is spoken as “C-A-T” and “12” is spoken as "one, two").
	ModeLiteral                Mode = 'L'<<24 | 'T'<<16 | 'R'<<8 | 'L' // 'LTRL'
	ModeLocalAndRemoteHLEvents Mode = 0x20
	ModeMultiLaunch            Mode = 0x10000
	ModeNeedSuspendResume      Mode = 0x4000
	// ModeNormal: When the speech channel is in text-processing mode, indicates that the synthesizer should process characters as expected and assemble digits into numbers.
	ModeNormal         Mode = 'N'<<24 | 'O'<<16 | 'R'<<8 | 'M' // 'NORM'
	ModeOnlyBackground Mode = 0x400
	// ModePhonemes: Used with soInputMode to indicate that the speech channel is in phoneme-processing mode.
	ModePhonemes        Mode = 'P'<<24 | 'H'<<16 | 'O'<<8 | 'N' // 'PHON'
	ModeReserved        Mode = 0x1000000
	ModeStationeryAware Mode = 0x10
	// ModeText: Used with soInputMode to indicate that the speech channel is in text-processing mode.
	ModeText                Mode = 'T'<<24 | 'E'<<16 | 'X'<<8 | 'T' // 'TEXT'
	ModeTune                Mode = 'T'<<24 | 'U'<<16 | 'N'<<8 | 'E' // 'TUNE'
	ModeUseTextEditServices Mode = 0x8
)

func (Mode) String

func (e Mode) String() string

type NameTable

type NameTable struct {
	StringCount  unsafe.Pointer
	BaseFontName unsafe.Pointer
}

NameTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/nametable

type OpenCPicParams

type OpenCPicParams struct {
	SrcRect   Rect           // The optimal bounding rectangle for the resolution indicated by the `hRes` and `vRes` fields. To display a picture at a resolution other than that specified in the `hRes` and `vRes` fields, your application should compute an appropriate destination rectangle by scaling the image’s width and height by the destination resolution divided by the source resolution.
	HRes      int32          // The best horizontal resolution for the picture. A value of 0x0048000 specifies a horizontal resolution of 72 dpi.
	VRes      int32          // The best vertical resolution for the picture. A value of 0x0048000 specifies a vertical resolution of 72 dpi.
	Version   unsafe.Pointer // Always set this field to -2.
	Reserved1 unsafe.Pointer // Reserved; set to 0.
	Reserved2 unsafe.Pointer // Reserved; set to 0.

}

OpenCPicParams

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/opencpicparams

type OptionBits

type OptionBits = uint32

type PDEPanelObject

type PDEPanelObject struct {
	objectivec.Object
}

PDEPanelObject wraps an existing Objective-C object that conforms to the PDEPanel protocol.

func PDEPanelObjectFromID

func PDEPanelObjectFromID(id objc.ID) PDEPanelObject

PDEPanelObjectFromID constructs a PDEPanelObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (PDEPanelObject) BaseObject

func (o PDEPanelObject) BaseObject() objectivec.Object

type PDEPlugInCallbackProtocol

type PDEPlugInCallbackProtocol interface {
	objectivec.IObject
}

PDEPlugInCallbackProtocol protocol.

See: https://developer.apple.com/documentation/applicationservices/pdeplugincallbackprotocol

type PDEPlugInCallbackProtocolObject

type PDEPlugInCallbackProtocolObject struct {
	objectivec.Object
}

PDEPlugInCallbackProtocolObject wraps an existing Objective-C object that conforms to the PDEPlugInCallbackProtocol protocol.

func PDEPlugInCallbackProtocolObjectFromID

func PDEPlugInCallbackProtocolObjectFromID(id objc.ID) PDEPlugInCallbackProtocolObject

PDEPlugInCallbackProtocolObjectFromID constructs a PDEPlugInCallbackProtocolObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (PDEPlugInCallbackProtocolObject) BaseObject

type PDEPlugInObject

type PDEPlugInObject struct {
	objectivec.Object
}

PDEPlugInObject wraps an existing Objective-C object that conforms to the PDEPlugIn protocol.

func PDEPlugInObjectFromID

func PDEPlugInObjectFromID(id objc.ID) PDEPlugInObject

PDEPlugInObjectFromID constructs a PDEPlugInObject from an objc.ID. The object is determined to conform to the protocol at runtime.

func (PDEPlugInObject) BaseObject

func (o PDEPlugInObject) BaseObject() objectivec.Object

type PMDataFormat

type PMDataFormat uint32

See: https://developer.apple.com/documentation/applicationservices/pmdataformat

const (
	// KPMDataFormatXMLCompressed: # Discussion
	KPMDataFormatXMLCompressed PMDataFormat = 2
	// KPMDataFormatXMLDefault: # Discussion
	KPMDataFormatXMLDefault PMDataFormat = 0
	// KPMDataFormatXMLMinimal: # Discussion
	KPMDataFormatXMLMinimal PMDataFormat = 1
)

func (PMDataFormat) String

func (e PMDataFormat) String() string

type PMDestinationType

type PMDestinationType = uint16

PMDestinationType is constants that specify a destination for a print job.

See: https://developer.apple.com/documentation/applicationservices/pmdestinationtype

type PMDuplexMode

type PMDuplexMode = uint32

PMDuplexMode is constants that specify duplex mode settings.

See: https://developer.apple.com/documentation/applicationservices/pmduplexmode

type PMLanguageInfo

type PMLanguageInfo struct {
	Level   unsafe.Pointer // Specifies the level of the imaging language used by the printer driver.
	Version unsafe.Pointer // Specifies the version of the imaging language.
	Release unsafe.Pointer // Specifies the release of the imaging language.

}

PMLanguageInfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/pmlanguageinfo

type PMObject

type PMObject = kernel.Pointer

PMObject is the base type for all the opaque types used in Core Printing.

See: https://developer.apple.com/documentation/applicationservices/pmobject

type PMOrientation

type PMOrientation = uint16

PMOrientation is constants that specify page orientation.

See: https://developer.apple.com/documentation/applicationservices/pmorientation

type PMPPDDomain

type PMPPDDomain = uint16

PMPPDDomain is constants that specify the domains for PostScript printer description (PPD) files.

See: https://developer.apple.com/documentation/applicationservices/pmppddomain

type PMPageFormat

type PMPageFormat = uintptr

PMPageFormat is an opaque type that stores the settings in the Page Setup dialog.

See: https://developer.apple.com/documentation/applicationservices/pmpageformat

type PMPageToPaperMappingType

type PMPageToPaperMappingType uint32

See: https://developer.apple.com/documentation/applicationservices/pmpagetopapermappingtype

const (
	KPMPageToPaperMappingNone       PMPageToPaperMappingType = 1
	KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2
)

func (PMPageToPaperMappingType) String

func (e PMPageToPaperMappingType) String() string

type PMPaper

type PMPaper = uintptr

PMPaper is an opaque type that stores information about the paper used in a print job.

See: https://developer.apple.com/documentation/applicationservices/pmpaper

type PMPaperMargins

type PMPaperMargins = PMRect

PMPaperMargins is a data structure that specifies the unprintable area of a paper object.

See: https://developer.apple.com/documentation/applicationservices/pmpapermargins

type PMPreset

type PMPreset = kernel.Pointer

PMPreset is an opaque type that stores information about a named preset available for a print job.

See: https://developer.apple.com/documentation/applicationservices/pmpreset

type PMPrintSession

type PMPrintSession = kernel.Pointer

PMPrintSession is an opaque type that stores information about a print job.

See: https://developer.apple.com/documentation/applicationservices/pmprintsession

type PMPrintSettings

type PMPrintSettings = uintptr

PMPrintSettings is an opaque type that stores the settings in the Print dialog.

See: https://developer.apple.com/documentation/applicationservices/pmprintsettings

type PMPrinter

type PMPrinter = uintptr

PMPrinter is an opaque type that represents a printer.

See: https://developer.apple.com/documentation/applicationservices/pmprinter

type PMPrinterState

type PMPrinterState = uint16

PMPrinterState is constants that specify the current state of a print queue.

See: https://developer.apple.com/documentation/applicationservices/pmprinterstate

type PMQualityMode

type PMQualityMode = uint32

PMQualityMode is constants that specify standard options for print quality.

See: https://developer.apple.com/documentation/applicationservices/pmqualitymode

type PMRect

type PMRect struct {
	Top    float64 // The vertical coordinate for the upper-left point of the rectangle.
	Left   float64 // The horizontal coordinate for the upper-left point of the rectangle.
	Bottom float64 // The vertical coordinate for the lower-right point of the rectangle.
	Right  float64 // The horizontal coordinate for the lower-right point of the rectangle.

}

PMRect

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/pmrect

type PMResolution

type PMResolution struct {
	HRes float64 // The horizontal resolution in dots per inch (dpi).
	VRes float64 // The vertical resolution in dots per inch (dpi).

}

PMResolution

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/pmresolution

type PMServer

type PMServer = kernel.Pointer

PMServer is an opaque type that identifies a local or remote print server.

See: https://developer.apple.com/documentation/applicationservices/pmserver

type PasteboardFlavorFlags

type PasteboardFlavorFlags uint32

See: https://developer.apple.com/documentation/applicationservices/pasteboardflavorflags

const (
	NotSaved         PasteboardFlavorFlags = 0
	Promised         PasteboardFlavorFlags = 0
	RequestOnly      PasteboardFlavorFlags = 0
	SenderOnly       PasteboardFlavorFlags = 0
	SenderTranslated PasteboardFlavorFlags = 0
	SystemTranslated PasteboardFlavorFlags = 0
)

func (PasteboardFlavorFlags) String

func (e PasteboardFlavorFlags) String() string

type PasteboardRef

type PasteboardRef = uintptr

type PasteboardStandardLocation

type PasteboardStandardLocation int

See: https://developer.apple.com/documentation/applicationservices/pasteboardstandardlocation

const (
	KPasteboardStandardLocationTrash   PasteboardStandardLocation = 't'<<24 | 'r'<<16 | 's'<<8 | 'h' // 'trsh'
	KPasteboardStandardLocationUnknown PasteboardStandardLocation = 'u'<<24 | 'n'<<16 | 'k'<<8 | 'n' // 'unkn'
)

func (PasteboardStandardLocation) String

type Pattern

type Pattern struct {
	Pat uint8
}

Pattern

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/pattern

type PhonemeDescriptor

type PhonemeDescriptor struct {
	PhonemeCount unsafe.Pointer // The number of phonemes that the current synthesizer defines. Typically, this will correspond to the number of phonemes in the language supported by the synthesizer.
	ThePhonemes  PhonemeInfo    // An array of phoneme information structures.

}

PhonemeDescriptor - Defines a phoneme descriptor structure.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/phonemedescriptor

type PhonemeInfo

type PhonemeInfo struct {
	Opcode      unsafe.Pointer // The opcode for the phoneme.
	PhStr       unsafe.Pointer // The string used to represent the phoneme. The string does not necessarily have a phonetic connection to the phoneme, but might simply be an abstract textual representation of it.
	ExampleStr  unsafe.Pointer // An example word that illustrates use of the phoneme.
	HiliteStart unsafe.Pointer // The number of characters in the example word that precede the portion of that word representing the phoneme.
	HiliteEnd   unsafe.Pointer // The number of characters between the beginning of the example word and the end of the portion of that word representing the phoneme.

}

PhonemeInfo - Defines a structure that stores information about a phoneme.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/phonemeinfo

type Picture

type Picture struct {
	PicSize  unsafe.Pointer
	PicFrame Rect
}

Picture

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/picture

type PixMap

type PixMap struct {
	BaseAddr    kernel.Ptr     // For an onscreen pixel image, a pointer to the first byte of the image. For optimal performance, this should be a multiple of 4. The `baseAddr` field of the [PixMap] record for an offscreen graphics world contains a handle instead of a pointer. Your application should never directly access the `baseAddr` field of the [PixMap] record for an offscreen graphics world.
	RowBytes    unsafe.Pointer // The offset in bytes from one row of the image to the next. The value must be even, less than 0x4000, and for best performance it should be a multiple of 4. The high 2 bits of `rowBytes` are used as flags. If bit 15 =1, the data structure pointed to is a [PixMap] structure; otherwise it is a [BitMap](<doc://com.apple.documentation/documentation/applicationservices/bitmap>) structure.
	Bounds      Rect           // The boundary rectangle, which links the local coordinate system of a graphics port to QuickDraw's global coordinate system and defines the area of the bit image into which QuickDraw can draw. By default, the boundary rectangle is the entire main screen. Do not use the `value` of this field to determine the size of the screen; instead use the `value` of the `gdRect` field of the [GDevice](<doc://com.apple.documentation/documentation/applicationservices/gdevice>) structure for the screen.
	PmVersion   unsafe.Pointer // The version number of Color QuickDraw that created this [PixMap] structure. The value of `pmVersion` is normally 0. If `pmVersion` is 4, Color QuickDraw treats the [PixMap] record's `baseAddr` field as 32-bit clean. All other flags are private. Most applications never need to set this field
	PackType    unsafe.Pointer // The packing algorithm used to compress image data. Color QuickDraw currently supports a `packType` of 0, which means no packing, and values of 1 to 4 for packing direct pixels.
	PackSize    unsafe.Pointer // The size of the packed image in bytes. When the `packType` field contains the `value` 0, this field is always set to 0.
	HRes        int32          // The horizontal resolution of the pixel image in pixels per inch. By default, this value is 0x00480000 (for 72 pixels per inch).
	VRes        int32          // The vertical resolution of the pixel image in pixels per inch. By default, this value is 0x00480000 (for 72 pixels per inch).
	PixelType   unsafe.Pointer // The storage format for a pixel image. Indexed pixels are indicated by a value of 0. Direct pixels are specified by a value of [RGBDirect], or 16. In the [PixMap] record of the [GDevice](<doc://com.apple.documentation/documentation/applicationservices/gdevice>) structure for a direct device, this field is set to [RGBDirect] when the screen depth is set.
	PixelSize   unsafe.Pointer // The number of bits used to represent a pixel. Indexed pixels can have sizes of 1, 2, 4, and 8 bits; direct pixel sizes are 16 and 32 bits.
	CmpCount    unsafe.Pointer // The number of components used to represent a color for a pixel. With indexed pixels, each pixel is a single value representing an index in a color table, and therefore this field contains the value 1; the index is the single component. With direct pixels, each pixel contains three components (one integer each for the intensities of red, green, and blue) so this field contains the value 3.
	CmpSize     unsafe.Pointer // The size in bits of each component for a pixel.
	PixelFormat uint32         // The way the pixels are arranged; see `k4444YpCbCrA8PixelFormat`.
	PmTable     unsafe.Pointer // Color map for this structure.
	PmExt       unsafe.Pointer // [Handle] to a PixMapExtension structure. Set to [NIL] if there is no extension.

}

PixMap

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/pixmap

type PixPat

type PixPat struct {
	PatType   unsafe.Pointer
	PatMap    unsafe.Pointer
	PatData   unsafe.Pointer
	PatXData  unsafe.Pointer
	PatXValid unsafe.Pointer
	PatXMap   unsafe.Pointer
	Pat1Data  Pattern
}

PixPat

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/pixpat

type Point

type Point struct {
	V int16
	H int16
}

Point is the QuickDraw point type used by legacy Carbon APIs.

type ProcessInfoExtendedRec

type ProcessInfoExtendedRec struct {
	ProcessInfoLength            uint32
	ProcessName                  *byte
	ProcessNumber                *ProcessSerialNumber
	ProcessType                  uint32
	ProcessSignature             uint32
	ProcessMode                  uint32
	ProcessLocation              kernel.Ptr
	ProcessSize                  uint32
	ProcessFreeMem               uint32
	ProcessLauncher              *ProcessSerialNumber
	ProcessLaunchDate            uint32
	ProcessActiveTime            uint32
	ProcessAppRef                unsafe.Pointer
	ProcessTempMemTotal          uint32
	ProcessPurgeableTempMemTotal uint32
}

ProcessInfoExtendedRec

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/processinfoextendedrec

type ProcessInfoRec

type ProcessInfoRec struct {
	ProcessInfoLength uint32
	ProcessName       *byte
	ProcessNumber     *ProcessSerialNumber
	ProcessType       uint32
	ProcessSignature  uint32
	ProcessMode       uint32
	ProcessLocation   kernel.Ptr
	ProcessSize       uint32
	ProcessFreeMem    uint32
	ProcessLauncher   *ProcessSerialNumber
	ProcessLaunchDate uint32
	ProcessActiveTime uint32
	ProcessAppRef     unsafe.Pointer
}

ProcessInfoRec

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/processinforec

type ProcessSerialNumber

type ProcessSerialNumber struct {
	HighLongOfPSN uint32
	LowLongOfPSN  uint32
}

ProcessSerialNumber identifies a process in legacy Process Manager APIs.

type QDJShieldCursorUPP

type QDJShieldCursorUPP = unsafe.Pointer

type QDStdTextUPP

type QDStdTextUPP = unsafe.Pointer

type QDTextWidthUPP

type QDTextWidthUPP = unsafe.Pointer

type RGBColor

type RGBColor struct {
	Red   uint16 // The magnitude of the red component
	Green uint16
	Blue  uint16
}

RGBColor

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/rgbcolor

type Rect

type Rect struct {
	Top    int16
	Left   int16
	Bottom int16
	Right  int16
}

Rect is the QuickDraw rectangle type used by legacy Carbon APIs.

type SizeResourceRec

type SizeResourceRec struct {
	Flags             uint16
	PreferredHeapSize uint32
	MinimumHeapSize   uint32
}

SizeResourceRec

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/sizeresourcerec

type So

type So uint
const (
	// SoCharacterMode: # Discussion
	SoCharacterMode So = 'c'<<24 | 'h'<<16 | 'a'<<8 | 'r' // 'char'
	// SoCommandDelimiter: # Discussion
	SoCommandDelimiter So = 'd'<<24 | 'l'<<16 | 'i'<<8 | 'm' // 'dlim'
	// SoCurrentA5: # Discussion
	SoCurrentA5 So = 'm'<<24 | 'y'<<16 | 'A'<<8 | '5' // 'myA5'
	// SoCurrentVoice: # Discussion
	SoCurrentVoice So = 'c'<<24 | 'v'<<16 | 'o'<<8 | 'x' // 'cvox'
	// SoErrorCallBack: # Discussion
	SoErrorCallBack So = 'e'<<24 | 'r'<<16 | 'c'<<8 | 'b' // 'ercb'
	// SoErrors: # Discussion
	SoErrors So = 'e'<<24 | 'r'<<16 | 'r'<<8 | 'o' // 'erro'
	// SoInputMode: # Discussion
	SoInputMode So = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt'
	// SoNumberMode: # Discussion
	SoNumberMode So = 'n'<<24 | 'm'<<16 | 'b'<<8 | 'r' // 'nmbr'
	// SoOutputToAudioDevice: # Discussion
	SoOutputToAudioDevice So = 'o'<<24 | 'p'<<16 | 'a'<<8 | 'd' // 'opad'
	// SoOutputToExtAudioFile: Pass an ExtAudioFileRef in the `speechInfo` parameter to write to this file, or [NULL] to generate sound.
	SoOutputToExtAudioFile So = 'o'<<24 | 'p'<<16 | 'a'<<8 | 'x' // 'opax'
	// SoOutputToFileWithCFURL: Pass a [CFURLRef] in the `speechInfo` parameter to write to this file, or [NULL] to generate sound.
	SoOutputToFileWithCFURL So = 'o'<<24 | 'p'<<16 | 'a'<<8 | 'f' // 'opaf'
	// SoPhonemeCallBack: # Discussion
	SoPhonemeCallBack So = 'p'<<24 | 'h'<<16 | 'c'<<8 | 'b' // 'phcb'
	// SoPhonemeOptions: Get or set options for the generation of phonetic output.
	SoPhonemeOptions So = 'p'<<24 | 'o'<<16 | 'p'<<8 | 't' // 'popt'
	// SoPhonemeSymbols: # Discussion
	SoPhonemeSymbols So = 'p'<<24 | 'h'<<16 | 's'<<8 | 'y' // 'phsy'
	// SoPitchBase: # Discussion
	SoPitchBase So = 'p'<<24 | 'b'<<16 | 'a'<<8 | 's' // 'pbas'
	// SoPitchMod: # Discussion
	SoPitchMod So = 'p'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'pmod'
	// SoRate: # Discussion
	SoRate So = 'r'<<24 | 'a'<<16 | 't'<<8 | 'e' // 'rate'
	// SoRecentSync: # Discussion
	SoRecentSync So = 's'<<24 | 'y'<<16 | 'n'<<8 | 'c' // 'sync'
	// SoRefCon: # Discussion
	SoRefCon So = 'r'<<24 | 'e'<<16 | 'f'<<8 | 'c' // 'refc'
	// SoReset: # Discussion
	SoReset So = 'r'<<24 | 's'<<16 | 'e'<<8 | 't' // 'rset'
	// SoSoundOutput: Get or set the speech channel’s current outputchannel.
	SoSoundOutput So = 's'<<24 | 'n'<<16 | 'd'<<8 | 'o' // 'sndo'
	// SoSpeechDoneCallBack: # Discussion
	SoSpeechDoneCallBack So = 's'<<24 | 'd'<<16 | 'c'<<8 | 'b' // 'sdcb'
	// SoStatus: # Discussion
	SoStatus So = 's'<<24 | 't'<<16 | 'a'<<8 | 't' // 'stat'
	// SoSyncCallBack: # Discussion
	SoSyncCallBack So = 's'<<24 | 'y'<<16 | 'c'<<8 | 'b' // 'sycb'
	// SoSynthExtension: # Discussion
	SoSynthExtension So = 'x'<<24 | 't'<<16 | 'n'<<8 | 'd' // 'xtnd'
	// SoSynthType: # Discussion
	SoSynthType So = 'v'<<24 | 'e'<<16 | 'r'<<8 | 's' // 'vers'
	// SoTextDoneCallBack: # Discussion
	SoTextDoneCallBack So = 't'<<24 | 'd'<<16 | 'c'<<8 | 'b' // 'tdcb'
	// SoVolume: # Discussion
	SoVolume So = 'v'<<24 | 'o'<<16 | 'l'<<8 | 'm' // 'volm'
	// SoWordCallBack: # Discussion
	SoWordCallBack So = 'w'<<24 | 'd'<<16 | 'c'<<8 | 'b' // 'wdcb'
)

func (So) String

func (e So) String() string

type SoVoice

type SoVoice uint
const (
	// SoVoiceDescription: Get basic voice information.
	SoVoiceDescription SoVoice = 'i'<<24 | 'n'<<16 | 'f'<<8 | 'o' // 'info'
	// SoVoiceFile: Get voice file reference information.
	SoVoiceFile SoVoice = 'f'<<24 | 'r'<<16 | 'e'<<8 | 'f' // 'fref'
)

func (SoVoice) String

func (e SoVoice) String() string

type SpeechChannel

type SpeechChannel = *SpeechChannelRecord

SpeechChannel is defines a pointer to a speech channel record.

See: https://developer.apple.com/documentation/applicationservices/speechchannel

type SpeechChannelRecord

type SpeechChannelRecord struct {
	Data int
}

SpeechChannelRecord - Represents a speech channel.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/speechchannelrecord

type SpeechDoneProcPtr

type SpeechDoneProcPtr = func(*SpeechChannelRecord, uintptr)

type SpeechDoneUPP

type SpeechDoneUPP = unsafe.Pointer

func NewSpeechDoneUPP deprecated

func NewSpeechDoneUPP(arg0 SpeechDoneProcPtr) SpeechDoneUPP

NewSpeechDoneUPP creates a new universal procedure pointer (UPP) to a speech-donecallback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552218-newspeechdoneupp

type SpeechErrorCFProcPtr

type SpeechErrorCFProcPtr = func(*SpeechChannelRecord, uintptr, corefoundation.CFErrorRef)

SpeechErrorCFProcPtr is defines a pointer to an error callback function that handles syntax errors within commands embedded in a [CFString] object being processed by the Speech Synthesis Manager.

See: https://developer.apple.com/documentation/applicationservices/speecherrorcfprocptr

type SpeechErrorInfo

type SpeechErrorInfo struct {
	Count  unsafe.Pointer // The number of errors that have occurred in processing the current text buffer since the last call to the [GetSpeechInfo] function with the `soErrors` selector. Of these errors, you can find information about only the first and last error that occurred.
	Oldest int16          // The error code of the first error that occurred after the previous call to the [GetSpeechInfo] function with the `soErrors` selector.
	OldPos int            // The character position within the text buffer being processed of the first error that occurred after the previous call to the [GetSpeechInfo] function with the `soErrors` selector.
	Newest int16          // The error code of the most recent error.
	NewPos int            // The character position within the text buffer being processed of the most recent error.

}

SpeechErrorInfo - Defines a speech error information structure.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/speecherrorinfo

type SpeechErrorProcPtr

type SpeechErrorProcPtr = func(*SpeechChannelRecord, uintptr, int16, int)

type SpeechErrorUPP

type SpeechErrorUPP = unsafe.Pointer

func NewSpeechErrorUPP deprecated

func NewSpeechErrorUPP(arg0 SpeechErrorProcPtr) SpeechErrorUPP

NewSpeechErrorUPP creates a new universal procedure pointer to an errorcallback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552224-newspeecherrorupp

type SpeechPhonemeProcPtr

type SpeechPhonemeProcPtr = func(*SpeechChannelRecord, uintptr, int16)

type SpeechPhonemeUPP

type SpeechPhonemeUPP = unsafe.Pointer

func NewSpeechPhonemeUPP deprecated

func NewSpeechPhonemeUPP(arg0 SpeechPhonemeProcPtr) SpeechPhonemeUPP

NewSpeechPhonemeUPP disposes of a universal procedure pointer (UPP) to a phonemecallback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552225-newspeechphonemeupp

type SpeechStatusInfo

type SpeechStatusInfo struct {
	OutputBusy     unsafe.Pointer // Whether the speech channel is currently producing speech. A speech channel is considered to be producing speech even at some times when no audio data is being produced through the Macintosh speaker. This occurs, for example, when the Speech Synthesis Manager is processing an input buffer but has not yet initiated speech or when speech output is paused.
	OutputPaused   unsafe.Pointer // Whether speech output in the speech channel has been paused by a call to the [PauseSpeechAt(_:_:)](<doc://com.apple.documentation/documentation/applicationservices/1461174-pausespeechat>) function.
	InputBytesLeft int            // The number of input bytes of the text that the speech channel must still process. When `inputBytesLeft` is 0, the buffer of input text passed to one of the [SpeakText] or [SpeakBuffer] functions may be disposed of. When you call the [SpeakString] function, the Speech Synthesis Manager stores a duplicate of the string to be spoken in an internal buffer; thus, you may delete the original string immediately after calling [SpeakString].
	PhonemeCode    unsafe.Pointer // The opcode for the phoneme that the speech channel is currently processing.

}

SpeechStatusInfo - Defines a speech status information structure, which stores information about the status of a speech channel.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/speechstatusinfo

type SpeechSyncProcPtr

type SpeechSyncProcPtr = func(*SpeechChannelRecord, uintptr, uint32)

type SpeechSyncUPP

type SpeechSyncUPP = unsafe.Pointer

func NewSpeechSyncUPP deprecated

func NewSpeechSyncUPP(arg0 SpeechSyncProcPtr) SpeechSyncUPP

NewSpeechSyncUPP creates a new universal procedure pointer (UPP) to a synchronizationcallback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552244-newspeechsyncupp

type SpeechTextDoneUPP

type SpeechTextDoneUPP = unsafe.Pointer

func NewSpeechTextDoneUPP deprecated

func NewSpeechTextDoneUPP(arg0 SpeechTextDoneProcPtr) SpeechTextDoneUPP

NewSpeechTextDoneUPP creates a new universal procedure pointer (UPP) to a text-donecallback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552247-newspeechtextdoneupp

type SpeechVersionInfo

type SpeechVersionInfo struct {
	SynthType         uint32         // The general type of the synthesizer. For the current version of the Speech Synthesis Manager, this field always contains the value `kTextToSpeechSynthType`, indicating that the synthesizer converts text into speech.
	SynthSubType      uint32         // The specific type of the synthesizer. Currently, no specific types of synthesizer are defined. If you define a new type of synthesizer, you should register the four-character code for your type with Developer Technical Support.
	SynthManufacturer uint32         // A unique identification of a synthesizer engine. If you develop synthesizers, then you should register a different four-character code for each synthesizer you develop with Developer Technical Support. The `creatorID` field of the voice specification structure and the `synthCreator` field of a speech extension data structure should each be set to the value stored in this field for the desired synthesizer.
	SynthFlags        unsafe.Pointer // A set of flags indicating which synthesizer features are activated. Specific constants define the bits in this field whose meanings are defined for all synthesizers.
	SynthVersion      uint32         // The version number of the synthesizer.

}

SpeechVersionInfo - Defines a speech version information structure.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/speechversioninfo

type SpeechWordCFProcPtr

SpeechWordCFProcPtr is defines a pointer to a Core Foundation-based word callback function that is called by the Speech Synthesis Manager before it pronounces a word.

See: https://developer.apple.com/documentation/applicationservices/speechwordcfprocptr

type SpeechWordProcPtr

type SpeechWordProcPtr = func(*SpeechChannelRecord, uintptr, uint, uint16)

type SpeechWordUPP

type SpeechWordUPP = unsafe.Pointer

func NewSpeechWordUPP deprecated

func NewSpeechWordUPP(arg0 SpeechWordProcPtr) SpeechWordUPP

NewSpeechWordUPP creates a new universal procedure pointer (UPP) to a wordcallback function.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/applicationservices/1552230-newspeechwordupp

type SpeechXtndData

type SpeechXtndData struct {
	SynthCreator uint32 // The synthesizer’s creator ID, identical to the value stored in the `synthManufacturer` field of a speech version information structure. You should set this field to the appropriate value before calling [GetSpeechInfo] or [SetSpeechInfo].
	SynthData    uint8  // Synthesizer-specific data. The size and format of the data in this field may vary.

}

SpeechXtndData - Defines a speech extension data structure.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/speechxtnddata

type StyleTable

type StyleTable struct {
	FontClass unsafe.Pointer
	Offset    unsafe.Pointer
	Reserved  unsafe.Pointer
	Indexes   unsafe.Pointer
}

StyleTable

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/styletable

type Sv

type Sv uint
const (
	SvAll1BitData      Sv = 16843009
	SvAll4BitData      Sv = 33686018
	SvAll8BitData      Sv = 67372036
	SvAllAvailableData Sv = 4294967295
	SvAllLargeData     Sv = 255
	SvAllMiniData      Sv = 16711680
	SvAllSmallData     Sv = 65280
	SvLarge1Bit        Sv = 1
	SvLarge4Bit        Sv = 2
	SvLarge8Bit        Sv = 4
	SvMini1Bit         Sv = 65536
	SvMini4Bit         Sv = 131072
	SvMini8Bit         Sv = 262144
	SvSmall1Bit        Sv = 256
	SvSmall4Bit        Sv = 512
	SvSmall8Bit        Sv = 1024
)

func (Sv) String

func (e Sv) String() string

type Tt

type Tt uint
const (
	TtDisabled         Tt = 1
	TtLabel1           Tt = 256
	TtLabel2           Tt = 512
	TtLabel3           Tt = 768
	TtLabel4           Tt = 1024
	TtLabel5           Tt = 1280
	TtLabel6           Tt = 1536
	TtLabel7           Tt = 1792
	TtNone             Tt = 0
	TtOffline          Tt = 2
	TtOpen             Tt = 3
	TtSelected         Tt = 16384
	TtSelectedDisabled Tt = 16385
	TtSelectedOffline  Tt = 16386
	TtSelectedOpen     Tt = 16387
)

func (Tt) String

func (e Tt) String() string

type UAZoomChangeFocusType

type UAZoomChangeFocusType = uint32

UAZoomChangeFocusType is defines the Universal Access zoom change focus type.

See: https://developer.apple.com/documentation/applicationservices/uazoomchangefocustype

type VDGamRecPtr

type VDGamRecPtr = *VDGammaRecord

VDGamRecPtr is represents a type used by the Video Components API.

See: https://developer.apple.com/documentation/applicationservices/vdgamrecptr

type VDGammaRecord

type VDGammaRecord struct {
	CsGTable kernel.Ptr // A pointer to a gamma table.

}

VDGammaRecord

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/vdgammarecord

type VoiceDescription

type VoiceDescription struct {
	Length   unsafe.Pointer // The size of the voice description structure, in bytes.
	Voice    VoiceSpec      // A voice specification structure that uniquely identifies the voice.
	Version  unsafe.Pointer // The version number of the voice.
	Name     unsafe.Pointer // The name of the voice, preceded by a length byte. Names must be 63 characters or less.
	Comment  unsafe.Pointer // Additional text information about the voice. Some synthesizers use this field to store a phrase that can be spoken.
	Gender   unsafe.Pointer // The gender of the individual represented by the voice. See [Gender Constants](<doc://com.apple.documentation/documentation/applicationservices/speech_synthesis_manager/1552246-gender_constants>).
	Age      unsafe.Pointer // The approximate age in years of the individual represented by the voice.
	Script   unsafe.Pointer // The encoding code of the text that the voice can process.
	Language unsafe.Pointer // A code that indicates the language of voice output.
	Region   unsafe.Pointer // A code that indicates the region represented by the voice.
	Reserved unsafe.Pointer // Reserved. May be used to hold a 32-bit encoding value, if necessary (see the description of the `script` field for more information).

}

VoiceDescription - Defines a voice description structure.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/voicedescription

type VoiceFileInfo

type VoiceFileInfo struct {
	FileSpec unsafe.Pointer // A file system specification structure that contains the volume, directory, and name of the file containing the voice. Generally, files containing a single voice are of type `kTextToSpeechVoiceFileType`, and files containing multiple voices are of type `kTextToSpeechVoiceBundleType`.
	ResID    unsafe.Pointer // The resource ID of the voice in the file. Voices are stored in resources of type `kTextToSpeechVoiceType`.

}

VoiceFileInfo - Defines a voice file information structure.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/voicefileinfo

type VoiceSpec

type VoiceSpec struct {
	Creator uint32 // The synthesizer that is required to use the voice. This is equivalent to the value contained in the `synthManufacturer` field of a speech version information structure and that contained in the `synthCreator` field of a speech extension data structure. The set of [OSType] values specified entirely by space characters and lowercase letters is reserved.
	Id      uint32 // The voice ID of the voice for the synthesizer. Every voice on a synthesizer has a unique ID.

}

VoiceSpec - Defines a voice specification structure.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/voicespec

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL