applicationservices

package
v0.6.17 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 12 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

Protocols

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

View Source
const KICNoUserInteractionBit uint32 = 0
View Source
const KICNoUserInteractionMask uint32 = 0x1
View Source
const KPMCancel uint32 = 0x80
View Source
const KPMUnlocked uint32 = 0

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(psn *ProcessSerialNumber, name *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 CountVoices deprecated added in v0.6.17

func CountVoices(numVoices int16) int16

CountVoices determines how many voices are available.

Deprecated: Deprecated since macOS 13.0.

See: https://developer.apple.com/documentation/applicationservices/1459947-countvoices

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(userUPP 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(userUPP 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(userUPP 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(userUPP 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(userUPP 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(userUPP 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(pPSN *ProcessSerialNumber) int16

GetCurrentProcess.

Deprecated: Deprecated since macOS 10.9.

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

func GetFrontProcess deprecated

func GetFrontProcess(pPSN *ProcessSerialNumber) int16

GetFrontProcess.

Deprecated: Deprecated since macOS 10.9.

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

func GetIndVoice deprecated

func GetIndVoice(index int16, 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(pPSN *ProcessSerialNumber) int16

GetNextProcess.

Deprecated: Deprecated since macOS 10.9.

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

func GetProcessBundleLocation deprecated

func GetProcessBundleLocation(psn *ProcessSerialNumber, location *coreservices.FSRef) int32

GetProcessBundleLocation.

Deprecated: Deprecated since macOS 10.9.

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

func GetProcessForPID deprecated

func GetProcessForPID(pid int32, psn *ProcessSerialNumber) int32

GetProcessForPID.

Deprecated: Deprecated since macOS 10.9.

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

func GetProcessInformation deprecated

func GetProcessInformation(PSN *ProcessSerialNumber, info *ProcessInfoRec) int16

GetProcessInformation.

Deprecated: Deprecated since macOS 10.9.

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

func GetProcessPID deprecated

func GetProcessPID(psn *ProcessSerialNumber, pid *int32) int32

GetProcessPID.

Deprecated: Deprecated since macOS 10.9.

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

func GetSpeechInfo deprecated

func GetSpeechInfo(chan_ *SpeechChannelRecord, selector uint32, speechInfo unsafe.Pointer) 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(inst ICInstance, entries kernel.Handle, entry *ICMapEntry) int32

ICAddMapEntry.

Deprecated: Deprecated since macOS 10.7.

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

func ICAddProfile deprecated

func ICAddProfile(inst ICInstance, prototypeID ICProfileID, newID *ICProfileID) int32

ICAddProfile.

Deprecated: Deprecated since macOS 10.7.

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

func ICBegin deprecated

func ICBegin(inst ICInstance, perm ICPerm) int32

ICBegin.

Deprecated: Deprecated since macOS 10.7.

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

func ICCountMapEntries deprecated

func ICCountMapEntries(inst ICInstance, entries kernel.Handle, count *int) int32

ICCountMapEntries.

Deprecated: Deprecated since macOS 10.7.

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

func ICCountPref deprecated

func ICCountPref(inst ICInstance, count *int) int32

ICCountPref.

Deprecated: Deprecated since macOS 10.7.

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

func ICCountProfiles deprecated

func ICCountProfiles(inst ICInstance, count *int) int32

ICCountProfiles.

Deprecated: Deprecated since macOS 10.7.

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

func ICCreateGURLEvent deprecated added in v0.6.17

func ICCreateGURLEvent(inst ICInstance, helperCreator uint32, urlH kernel.Handle, theEvent *coreservices.AEDesc) int32

ICCreateGURLEvent.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578532-iccreategurlevent

func ICDeleteMapEntry deprecated

func ICDeleteMapEntry(inst ICInstance, entries kernel.Handle, pos int) int32

ICDeleteMapEntry.

Deprecated: Deprecated since macOS 10.7.

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

func ICDeletePref deprecated

func ICDeletePref(inst ICInstance, key unsafe.Pointer) int32

ICDeletePref.

Deprecated: Deprecated since macOS 10.7.

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

func ICDeleteProfile deprecated

func ICDeleteProfile(inst ICInstance, thisID ICProfileID) int32

ICDeleteProfile.

Deprecated: Deprecated since macOS 10.7.

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

func ICEditPreferences deprecated

func ICEditPreferences(inst ICInstance, key unsafe.Pointer) int32

ICEditPreferences.

Deprecated: Deprecated since macOS 10.7.

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

func ICEnd deprecated

func ICEnd(inst ICInstance) int32

ICEnd.

Deprecated: Deprecated since macOS 10.7.

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

func ICFindPrefHandle deprecated

func ICFindPrefHandle(inst ICInstance, key unsafe.Pointer, attr *ICAttr, prefh kernel.Handle) int32

ICFindPrefHandle.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetConfigName deprecated

func ICGetConfigName(inst ICInstance, longname bool, name unsafe.Pointer) int32

ICGetConfigName.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetCurrentProfile deprecated

func ICGetCurrentProfile(inst ICInstance, currentID *ICProfileID) int32

ICGetCurrentProfile.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetDefaultPref deprecated

func ICGetDefaultPref(inst ICInstance, key unsafe.Pointer, prefH kernel.Handle) int32

ICGetDefaultPref.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetIndMapEntry deprecated

func ICGetIndMapEntry(inst ICInstance, entries kernel.Handle, index int, pos *int, entry *ICMapEntry) int32

ICGetIndMapEntry.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetIndPref deprecated

func ICGetIndPref(inst ICInstance, index int, key unsafe.Pointer) int32

ICGetIndPref.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetIndProfile deprecated

func ICGetIndProfile(inst ICInstance, index int, thisID *ICProfileID) int32

ICGetIndProfile.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetMapEntry deprecated

func ICGetMapEntry(inst ICInstance, entries kernel.Handle, pos int, entry *ICMapEntry) int32

ICGetMapEntry.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetPerm deprecated

func ICGetPerm(inst ICInstance, perm *ICPerm) int32

ICGetPerm.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetPref deprecated

func ICGetPref(inst ICInstance, key unsafe.Pointer, attr *ICAttr, buf unsafe.Pointer, size *int) int32

ICGetPref.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetPrefHandle deprecated

func ICGetPrefHandle(inst ICInstance, key unsafe.Pointer, attr *ICAttr, prefh *kernel.Handle) int32

ICGetPrefHandle.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetProfileName deprecated

func ICGetProfileName(inst ICInstance, thisID ICProfileID, name unsafe.Pointer) int32

ICGetProfileName.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetSeed deprecated

func ICGetSeed(inst ICInstance, seed *int) int32

ICGetSeed.

Deprecated: Deprecated since macOS 10.7.

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

func ICGetVersion deprecated

func ICGetVersion(inst ICInstance, whichVersion int, version *uint32) int32

ICGetVersion.

Deprecated: Deprecated since macOS 10.7.

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

func ICLaunchURL deprecated

func ICLaunchURL(inst ICInstance, hint unsafe.Pointer, data unsafe.Pointer, len_ int, selStart *int, selEnd *int) int32

ICLaunchURL.

Deprecated: Deprecated since macOS 10.7.

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

func ICMapEntriesFilename deprecated

func ICMapEntriesFilename(inst ICInstance, entries kernel.Handle, filename unsafe.Pointer, entry *ICMapEntry) int32

ICMapEntriesFilename.

Deprecated: Deprecated since macOS 10.7.

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

func ICMapEntriesTypeCreator deprecated

func ICMapEntriesTypeCreator(inst ICInstance, entries kernel.Handle, fType uint32, fCreator uint32, filename unsafe.Pointer, entry *ICMapEntry) int32

ICMapEntriesTypeCreator.

Deprecated: Deprecated since macOS 10.7.

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

func ICMapFilename deprecated

func ICMapFilename(inst ICInstance, filename unsafe.Pointer, entry *ICMapEntry) int32

ICMapFilename.

Deprecated: Deprecated since macOS 10.7.

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

func ICMapTypeCreator deprecated

func ICMapTypeCreator(inst ICInstance, fType uint32, fCreator uint32, filename unsafe.Pointer, entry *ICMapEntry) int32

ICMapTypeCreator.

Deprecated: Deprecated since macOS 10.7.

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

func ICParseURL deprecated

func ICParseURL(inst ICInstance, hint unsafe.Pointer, data unsafe.Pointer, len_ int, selStart *int, selEnd *int, url kernel.Handle) int32

ICParseURL.

Deprecated: Deprecated since macOS 10.7.

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

func ICSendGURLEvent deprecated added in v0.6.17

func ICSendGURLEvent(inst ICInstance, theEvent *coreservices.AEDesc) int32

ICSendGURLEvent.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/applicationservices/1578487-icsendgurlevent

func ICSetCurrentProfile deprecated

func ICSetCurrentProfile(inst ICInstance, newID ICProfileID) int32

ICSetCurrentProfile.

Deprecated: Deprecated since macOS 10.7.

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

func ICSetMapEntry deprecated

func ICSetMapEntry(inst ICInstance, entries kernel.Handle, pos int, entry *ICMapEntry) int32

ICSetMapEntry.

Deprecated: Deprecated since macOS 10.7.

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

func ICSetPref deprecated

func ICSetPref(inst ICInstance, key unsafe.Pointer, attr ICAttr, buf unsafe.Pointer, size int) int32

ICSetPref.

Deprecated: Deprecated since macOS 10.7.

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

func ICSetPrefHandle deprecated

func ICSetPrefHandle(inst ICInstance, key unsafe.Pointer, attr ICAttr, prefh kernel.Handle) int32

ICSetPrefHandle.

Deprecated: Deprecated since macOS 10.7.

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

func ICSetProfileName deprecated

func ICSetProfileName(inst ICInstance, thisID ICProfileID, name unsafe.Pointer) int32

ICSetProfileName.

Deprecated: Deprecated since macOS 10.7.

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

func ICStart deprecated

func ICStart(inst *ICInstance, signature uint32) int32

ICStart.

Deprecated: Deprecated since macOS 10.7.

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

func ICStop deprecated

func ICStop(inst 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 uint32, 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 uint32, theIconRef unsafe.Pointer) bool

IconRefIntersectsCGRect.

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

func IconRefToIconFamily added in v0.6.17

func IconRefToIconFamily(theIconRef unsafe.Pointer, whichIcons IconSelectorValue, iconFamily *coreservices.IconFamilyHandle) int16

IconRefToIconFamily.

See: https://developer.apple.com/documentation/applicationservices/1459977-iconreftoiconfamily

func InvokeIconActionUPP

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

InvokeIconActionUPP.

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

func InvokeSpeechDoneUPP deprecated

func InvokeSpeechDoneUPP(chan_ *SpeechChannelRecord, refCon uintptr, userUPP 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(chan_ *SpeechChannelRecord, refCon uintptr, theError int16, bytePos int, userUPP 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(chan_ *SpeechChannelRecord, refCon uintptr, phonemeOpcode int16, userUPP 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(chan_ *SpeechChannelRecord, refCon uintptr, syncMessage uint32, userUPP 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(chan_ *SpeechChannelRecord, refCon uintptr, nextBuf unsafe.Pointer, byteLen *uint, controlFlags *int32, userUPP 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(chan_ *SpeechChannelRecord, refCon uintptr, wordPos uint, wordLen uint16, userUPP 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(psn *ProcessSerialNumber) bool

IsProcessVisible.

Deprecated: Deprecated since macOS 10.9.

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

func KillProcess deprecated

func KillProcess(inProcess *ProcessSerialNumber) int16

KillProcess.

Deprecated: Deprecated since macOS 10.9.

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

func LaunchApplication deprecated

func LaunchApplication(LaunchParams 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 NewATSCubicClosePathProcPtrBlock added in v0.6.16

func NewATSCubicClosePathProcPtrBlock(handler ATSCubicClosePathProcPtr) (objc.ID, func())

NewATSCubicClosePathProcPtrBlock wraps a Go ATSCubicClosePathProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewATSNotificationCallbackBlock added in v0.6.16

func NewATSNotificationCallbackBlock(handler ATSNotificationCallback) (objc.ID, func())

NewATSNotificationCallbackBlock wraps a Go ATSNotificationCallback as an Objective-C block. The caller must defer the returned cleanup function.

func NewATSQuadraticClosePathProcPtrBlock added in v0.6.16

func NewATSQuadraticClosePathProcPtrBlock(handler ATSQuadraticClosePathProcPtr) (objc.ID, func())

NewATSQuadraticClosePathProcPtrBlock wraps a Go ATSQuadraticClosePathProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewATSQuadraticNewPathProcPtrBlock added in v0.6.16

func NewATSQuadraticNewPathProcPtrBlock(handler ATSQuadraticNewPathProcPtr) (objc.ID, func())

NewATSQuadraticNewPathProcPtrBlock wraps a Go ATSQuadraticNewPathProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewAXObserverCallbackBlock added in v0.6.16

func NewAXObserverCallbackBlock(handler AXObserverCallback) (objc.ID, func())

NewAXObserverCallbackBlock wraps a Go AXObserverCallback as an Objective-C block. The caller must defer the returned cleanup function.

func NewAXObserverCallbackWithInfoBlock added in v0.6.16

func NewAXObserverCallbackWithInfoBlock(handler AXObserverCallbackWithInfo) (objc.ID, func())

NewAXObserverCallbackWithInfoBlock wraps a Go AXObserverCallbackWithInfo as an Objective-C block. The caller must defer the returned cleanup function.

func NewColorComplementProcPtrBlock added in v0.6.16

func NewColorComplementProcPtrBlock(handler ColorComplementProcPtr) (objc.ID, func())

NewColorComplementProcPtrBlock wraps a Go ColorComplementProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewDragGrayRgnProcPtrBlock added in v0.6.16

func NewDragGrayRgnProcPtrBlock(handler DragGrayRgnProcPtr) (objc.ID, func())

NewDragGrayRgnProcPtrBlock wraps a Go DragGrayRgnProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDArcProcPtrBlock added in v0.6.16

func NewQDArcProcPtrBlock(handler QDArcProcPtr) (objc.ID, func())

NewQDArcProcPtrBlock wraps a Go QDArcProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDBitsProcPtrBlock added in v0.6.16

func NewQDBitsProcPtrBlock(handler QDBitsProcPtr) (objc.ID, func())

NewQDBitsProcPtrBlock wraps a Go QDBitsProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDCommentProcPtrBlock added in v0.6.16

func NewQDCommentProcPtrBlock(handler QDCommentProcPtr) (objc.ID, func())

NewQDCommentProcPtrBlock wraps a Go QDCommentProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDGetPicProcPtrBlock added in v0.6.16

func NewQDGetPicProcPtrBlock(handler QDGetPicProcPtr) (objc.ID, func())

NewQDGetPicProcPtrBlock wraps a Go QDGetPicProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDJShieldCursorProcPtrBlock added in v0.6.16

func NewQDJShieldCursorProcPtrBlock(handler QDJShieldCursorProcPtr) (objc.ID, func())

NewQDJShieldCursorProcPtrBlock wraps a Go QDJShieldCursorProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDLineProcPtrBlock added in v0.6.16

func NewQDLineProcPtrBlock(handler QDLineProcPtr) (objc.ID, func())

NewQDLineProcPtrBlock wraps a Go QDLineProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDOpcodeProcPtrBlock added in v0.6.16

func NewQDOpcodeProcPtrBlock(handler QDOpcodeProcPtr) (objc.ID, func())

NewQDOpcodeProcPtrBlock wraps a Go QDOpcodeProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDOvalProcPtrBlock added in v0.6.16

func NewQDOvalProcPtrBlock(handler QDOvalProcPtr) (objc.ID, func())

NewQDOvalProcPtrBlock wraps a Go QDOvalProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDPolyProcPtrBlock added in v0.6.16

func NewQDPolyProcPtrBlock(handler QDPolyProcPtr) (objc.ID, func())

NewQDPolyProcPtrBlock wraps a Go QDPolyProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDPutPicProcPtrBlock added in v0.6.16

func NewQDPutPicProcPtrBlock(handler QDPutPicProcPtr) (objc.ID, func())

NewQDPutPicProcPtrBlock wraps a Go QDPutPicProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDRRectProcPtrBlock added in v0.6.16

func NewQDRRectProcPtrBlock(handler QDRRectProcPtr) (objc.ID, func())

NewQDRRectProcPtrBlock wraps a Go QDRRectProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDRectProcPtrBlock added in v0.6.16

func NewQDRectProcPtrBlock(handler QDRectProcPtr) (objc.ID, func())

NewQDRectProcPtrBlock wraps a Go QDRectProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDRgnProcPtrBlock added in v0.6.16

func NewQDRgnProcPtrBlock(handler QDRgnProcPtr) (objc.ID, func())

NewQDRgnProcPtrBlock wraps a Go QDRgnProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewQDTextProcPtrBlock added in v0.6.16

func NewQDTextProcPtrBlock(handler QDTextProcPtr) (objc.ID, func())

NewQDTextProcPtrBlock wraps a Go QDTextProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

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 NewSpeechDoneProcPtrBlock added in v0.6.16

func NewSpeechDoneProcPtrBlock(handler SpeechDoneProcPtr) (objc.ID, func())

NewSpeechDoneProcPtrBlock wraps a Go SpeechDoneProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewSpeechErrorCFProcPtrBlock added in v0.6.16

func NewSpeechErrorCFProcPtrBlock(handler SpeechErrorCFProcPtr) (objc.ID, func())

NewSpeechErrorCFProcPtrBlock wraps a Go SpeechErrorCFProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewSpeechErrorProcPtrBlock added in v0.6.16

func NewSpeechErrorProcPtrBlock(handler SpeechErrorProcPtr) (objc.ID, func())

NewSpeechErrorProcPtrBlock wraps a Go SpeechErrorProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewSpeechPhonemeProcPtrBlock added in v0.6.16

func NewSpeechPhonemeProcPtrBlock(handler SpeechPhonemeProcPtr) (objc.ID, func())

NewSpeechPhonemeProcPtrBlock wraps a Go SpeechPhonemeProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewSpeechSyncProcPtrBlock added in v0.6.16

func NewSpeechSyncProcPtrBlock(handler SpeechSyncProcPtr) (objc.ID, func())

NewSpeechSyncProcPtrBlock wraps a Go SpeechSyncProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewSpeechTextDoneProcPtrBlock added in v0.6.16

func NewSpeechTextDoneProcPtrBlock(handler SpeechTextDoneProcPtr) (objc.ID, func())

NewSpeechTextDoneProcPtrBlock wraps a Go SpeechTextDoneProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewSpeechWordCFProcPtrBlock added in v0.6.16

func NewSpeechWordCFProcPtrBlock(handler SpeechWordCFProcPtr) (objc.ID, func())

NewSpeechWordCFProcPtrBlock wraps a Go SpeechWordCFProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

func NewSpeechWordProcPtrBlock added in v0.6.16

func NewSpeechWordProcPtrBlock(handler SpeechWordProcPtr) (objc.ID, func())

NewSpeechWordProcPtrBlock wraps a Go SpeechWordProcPtr as an Objective-C block. The caller must defer the returned cleanup function.

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(printer uintptr, release *uintptr) 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.CFStringRef

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(printer uintptr, info *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.CFStringRef

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.CFStringRef

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 int32) 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(PSN *ProcessSerialNumber, infoToReturn uint32) corefoundation.CFDictionaryRef

ProcessInformationCopyDictionary.

Deprecated: Deprecated since macOS 10.9.

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

func SameProcess deprecated

func SameProcess(PSN1 *ProcessSerialNumber, PSN2 *ProcessSerialNumber, result *bool) int16

SameProcess.

Deprecated: Deprecated since macOS 10.9.

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

func SetFrontProcess deprecated

func SetFrontProcess(pPSN *ProcessSerialNumber) int16

SetFrontProcess.

Deprecated: Deprecated since macOS 10.9.

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

func SetFrontProcessWithOptions deprecated

func SetFrontProcessWithOptions(inProcess *ProcessSerialNumber, inOptions uint32) int32

SetFrontProcessWithOptions.

Deprecated: Deprecated since macOS 10.9.

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

func SetSpeechInfo deprecated

func SetSpeechInfo(chan_ *SpeechChannelRecord, selector uint32, speechInfo unsafe.Pointer) 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(psn *ProcessSerialNumber, visible bool) int16

ShowHideProcess.

Deprecated: Deprecated since macOS 10.9.

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

func SpeakBuffer deprecated

func SpeakBuffer(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint, controlFlags 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(textToBeSpoken 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(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes 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() int16

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() int16

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 int32) 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(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint, phonemeBuf kernel.Handle, phonemeBytes *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(chan_ *SpeechChannelRecord, dictionary kernel.Handle) 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(PSN *ProcessSerialNumber) int16

WakeUpProcess.

Deprecated: Deprecated since macOS 10.9.

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

Types

type ATSFlatDataFontNameDataHeader

type ATSFlatDataFontNameDataHeader struct {
	// contains filtered or unexported fields
}

ATSFlatDataFontNameDataHeader

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

func (*ATSFlatDataFontNameDataHeader) NameSpecifierSize

func (s *ATSFlatDataFontNameDataHeader) NameSpecifierSize() uint32

NameSpecifierSize returns the NameSpecifierSize field from the record's packed storage.

func (*ATSFlatDataFontNameDataHeader) NameSpecifierType

NameSpecifierType returns the NameSpecifierType field from the record's packed storage.

func (*ATSFlatDataFontNameDataHeader) SetNameSpecifierSize added in v0.6.17

func (s *ATSFlatDataFontNameDataHeader) SetNameSpecifierSize(v uint32)

SetNameSpecifierSize updates the NameSpecifierSize field in the record's packed storage.

func (*ATSFlatDataFontNameDataHeader) SetNameSpecifierType added in v0.6.17

SetNameSpecifierType updates the NameSpecifierType field in the record's packed storage.

type ATSFlatDataFontSpecRawNameData

type ATSFlatDataFontSpecRawNameData struct {
	// contains filtered or unexported fields
}

ATSFlatDataFontSpecRawNameData

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

func (*ATSFlatDataFontSpecRawNameData) FontNameLanguage

func (s *ATSFlatDataFontSpecRawNameData) FontNameLanguage() uint32

FontNameLanguage returns the FontNameLanguage field from the record's packed storage.

func (*ATSFlatDataFontSpecRawNameData) FontNameLength

func (s *ATSFlatDataFontSpecRawNameData) FontNameLength() uint32

FontNameLength returns the FontNameLength field from the record's packed storage.

func (*ATSFlatDataFontSpecRawNameData) FontNamePlatform

func (s *ATSFlatDataFontSpecRawNameData) FontNamePlatform() uint32

FontNamePlatform returns the FontNamePlatform field from the record's packed storage.

func (*ATSFlatDataFontSpecRawNameData) FontNameScript

func (s *ATSFlatDataFontSpecRawNameData) FontNameScript() uint32

FontNameScript returns the FontNameScript field from the record's packed storage.

func (*ATSFlatDataFontSpecRawNameData) FontNameType

func (s *ATSFlatDataFontSpecRawNameData) FontNameType() uint32

FontNameType returns the FontNameType field from the record's packed storage.

func (*ATSFlatDataFontSpecRawNameData) SetFontNameLanguage added in v0.6.17

func (s *ATSFlatDataFontSpecRawNameData) SetFontNameLanguage(v uint32)

SetFontNameLanguage updates the FontNameLanguage field in the record's packed storage.

func (*ATSFlatDataFontSpecRawNameData) SetFontNameLength added in v0.6.17

func (s *ATSFlatDataFontSpecRawNameData) SetFontNameLength(v uint32)

SetFontNameLength updates the FontNameLength field in the record's packed storage.

func (*ATSFlatDataFontSpecRawNameData) SetFontNamePlatform added in v0.6.17

func (s *ATSFlatDataFontSpecRawNameData) SetFontNamePlatform(v uint32)

SetFontNamePlatform updates the FontNamePlatform field in the record's packed storage.

func (*ATSFlatDataFontSpecRawNameData) SetFontNameScript added in v0.6.17

func (s *ATSFlatDataFontSpecRawNameData) SetFontNameScript(v uint32)

SetFontNameScript updates the FontNameScript field in the record's packed storage.

func (*ATSFlatDataFontSpecRawNameData) SetFontNameType added in v0.6.17

func (s *ATSFlatDataFontSpecRawNameData) SetFontNameType(v uint32)

SetFontNameType updates the FontNameType field in the record's packed storage.

type ATSFlatDataFontSpecRawNameDataHeader

type ATSFlatDataFontSpecRawNameDataHeader struct {
	// contains filtered or unexported fields
}

ATSFlatDataFontSpecRawNameDataHeader

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

func (*ATSFlatDataFontSpecRawNameDataHeader) NameDataArray

NameDataArray returns the NameDataArray field from the record's packed storage.

func (*ATSFlatDataFontSpecRawNameDataHeader) NumberOfFlattenedNames

func (s *ATSFlatDataFontSpecRawNameDataHeader) NumberOfFlattenedNames() uint32

NumberOfFlattenedNames returns the NumberOfFlattenedNames field from the record's packed storage.

func (*ATSFlatDataFontSpecRawNameDataHeader) SetNameDataArray added in v0.6.17

SetNameDataArray updates the NameDataArray field in the record's packed storage.

func (*ATSFlatDataFontSpecRawNameDataHeader) SetNumberOfFlattenedNames added in v0.6.17

func (s *ATSFlatDataFontSpecRawNameDataHeader) SetNumberOfFlattenedNames(v uint32)

SetNumberOfFlattenedNames updates the NumberOfFlattenedNames field in the record's packed storage.

type ATSFlatDataLayoutControlsDataHeader

type ATSFlatDataLayoutControlsDataHeader struct {
	// contains filtered or unexported fields
}

ATSFlatDataLayoutControlsDataHeader

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

func (*ATSFlatDataLayoutControlsDataHeader) ControlArray

ControlArray returns the ControlArray field from the record's packed storage.

func (*ATSFlatDataLayoutControlsDataHeader) NumberOfLayoutControls

func (s *ATSFlatDataLayoutControlsDataHeader) NumberOfLayoutControls() uint32

NumberOfLayoutControls returns the NumberOfLayoutControls field from the record's packed storage.

func (*ATSFlatDataLayoutControlsDataHeader) SetControlArray added in v0.6.17

func (s *ATSFlatDataLayoutControlsDataHeader) SetControlArray(v [1]ATSUAttributeInfo)

SetControlArray updates the ControlArray field in the record's packed storage.

func (*ATSFlatDataLayoutControlsDataHeader) SetNumberOfLayoutControls added in v0.6.17

func (s *ATSFlatDataLayoutControlsDataHeader) SetNumberOfLayoutControls(v uint32)

SetNumberOfLayoutControls updates the NumberOfLayoutControls field in the record's packed storage.

type ATSFlatDataLineInfoData

type ATSFlatDataLineInfoData struct {
	// contains filtered or unexported fields
}

ATSFlatDataLineInfoData

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

func (*ATSFlatDataLineInfoData) LineLength

func (s *ATSFlatDataLineInfoData) LineLength() uint32

LineLength returns the LineLength field from the record's packed storage.

func (*ATSFlatDataLineInfoData) NumberOfLineControls

func (s *ATSFlatDataLineInfoData) NumberOfLineControls() uint32

NumberOfLineControls returns the NumberOfLineControls field from the record's packed storage.

func (*ATSFlatDataLineInfoData) SetLineLength added in v0.6.17

func (s *ATSFlatDataLineInfoData) SetLineLength(v uint32)

SetLineLength updates the LineLength field in the record's packed storage.

func (*ATSFlatDataLineInfoData) SetNumberOfLineControls added in v0.6.17

func (s *ATSFlatDataLineInfoData) SetNumberOfLineControls(v uint32)

SetNumberOfLineControls updates the NumberOfLineControls field in the record's packed storage.

type ATSFlatDataLineInfoHeader

type ATSFlatDataLineInfoHeader struct {
	// contains filtered or unexported fields
}

ATSFlatDataLineInfoHeader

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

func (*ATSFlatDataLineInfoHeader) LineInfoArray

func (s *ATSFlatDataLineInfoHeader) LineInfoArray() [1]ATSFlatDataLineInfoData

LineInfoArray returns the LineInfoArray field from the record's packed storage.

func (*ATSFlatDataLineInfoHeader) NumberOfLines

func (s *ATSFlatDataLineInfoHeader) NumberOfLines() uint32

NumberOfLines returns the NumberOfLines field from the record's packed storage.

func (*ATSFlatDataLineInfoHeader) SetLineInfoArray added in v0.6.17

func (s *ATSFlatDataLineInfoHeader) SetLineInfoArray(v [1]ATSFlatDataLineInfoData)

SetLineInfoArray updates the LineInfoArray field in the record's packed storage.

func (*ATSFlatDataLineInfoHeader) SetNumberOfLines added in v0.6.17

func (s *ATSFlatDataLineInfoHeader) SetNumberOfLines(v uint32)

SetNumberOfLines updates the NumberOfLines field in the record's packed storage.

type ATSFlatDataMainHeaderBlock

type ATSFlatDataMainHeaderBlock struct {
	// contains filtered or unexported fields
}

ATSFlatDataMainHeaderBlock

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

func (*ATSFlatDataMainHeaderBlock) OffsetToStyleList

func (s *ATSFlatDataMainHeaderBlock) OffsetToStyleList() uint32

OffsetToStyleList returns the OffsetToStyleList field from the record's packed storage.

func (*ATSFlatDataMainHeaderBlock) OffsetToStyleRuns

func (s *ATSFlatDataMainHeaderBlock) OffsetToStyleRuns() uint32

OffsetToStyleRuns returns the OffsetToStyleRuns field from the record's packed storage.

func (*ATSFlatDataMainHeaderBlock) OffsetToTextLayouts

func (s *ATSFlatDataMainHeaderBlock) OffsetToTextLayouts() uint32

OffsetToTextLayouts returns the OffsetToTextLayouts field from the record's packed storage.

func (*ATSFlatDataMainHeaderBlock) SetOffsetToStyleList added in v0.6.17

func (s *ATSFlatDataMainHeaderBlock) SetOffsetToStyleList(v uint32)

SetOffsetToStyleList updates the OffsetToStyleList field in the record's packed storage.

func (*ATSFlatDataMainHeaderBlock) SetOffsetToStyleRuns added in v0.6.17

func (s *ATSFlatDataMainHeaderBlock) SetOffsetToStyleRuns(v uint32)

SetOffsetToStyleRuns updates the OffsetToStyleRuns field in the record's packed storage.

func (*ATSFlatDataMainHeaderBlock) SetOffsetToTextLayouts added in v0.6.17

func (s *ATSFlatDataMainHeaderBlock) SetOffsetToTextLayouts(v uint32)

SetOffsetToTextLayouts updates the OffsetToTextLayouts field in the record's packed storage.

func (*ATSFlatDataMainHeaderBlock) SetSizeOfDataBlock added in v0.6.17

func (s *ATSFlatDataMainHeaderBlock) SetSizeOfDataBlock(v uint32)

SetSizeOfDataBlock updates the SizeOfDataBlock field in the record's packed storage.

func (*ATSFlatDataMainHeaderBlock) SetVersion added in v0.6.17

func (s *ATSFlatDataMainHeaderBlock) SetVersion(v uint32)

SetVersion updates the Version field in the record's packed storage.

func (*ATSFlatDataMainHeaderBlock) SizeOfDataBlock

func (s *ATSFlatDataMainHeaderBlock) SizeOfDataBlock() uint32

SizeOfDataBlock returns the SizeOfDataBlock field from the record's packed storage.

func (*ATSFlatDataMainHeaderBlock) Version

func (s *ATSFlatDataMainHeaderBlock) Version() uint32

Version returns the Version field from the record's packed storage.

type ATSFlatDataStyleListFeatureData

type ATSFlatDataStyleListFeatureData struct {
	TheFeatureType     ATSUFontFeatureType
	TheFeatureSelector ATSUFontFeatureSelector
}

ATSFlatDataStyleListFeatureData

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

type ATSFlatDataStyleListHeader

type ATSFlatDataStyleListHeader struct {
	// contains filtered or unexported fields
}

ATSFlatDataStyleListHeader

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

func (*ATSFlatDataStyleListHeader) NumberOfStyles

func (s *ATSFlatDataStyleListHeader) NumberOfStyles() uint32

NumberOfStyles returns the NumberOfStyles field from the record's packed storage.

func (*ATSFlatDataStyleListHeader) SetNumberOfStyles added in v0.6.17

func (s *ATSFlatDataStyleListHeader) SetNumberOfStyles(v uint32)

SetNumberOfStyles updates the NumberOfStyles field in the record's packed storage.

func (*ATSFlatDataStyleListHeader) SetStyleDataArray added in v0.6.17

SetStyleDataArray updates the StyleDataArray field in the record's packed storage.

func (*ATSFlatDataStyleListHeader) StyleDataArray

StyleDataArray returns the StyleDataArray field from the record's packed storage.

type ATSFlatDataStyleListStyleDataHeader

type ATSFlatDataStyleListStyleDataHeader struct {
	// contains filtered or unexported fields
}

ATSFlatDataStyleListStyleDataHeader

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

func (*ATSFlatDataStyleListStyleDataHeader) NumberOfSetAttributes

func (s *ATSFlatDataStyleListStyleDataHeader) NumberOfSetAttributes() uint32

NumberOfSetAttributes returns the NumberOfSetAttributes field from the record's packed storage.

func (*ATSFlatDataStyleListStyleDataHeader) NumberOfSetFeatures

func (s *ATSFlatDataStyleListStyleDataHeader) NumberOfSetFeatures() uint32

NumberOfSetFeatures returns the NumberOfSetFeatures field from the record's packed storage.

func (*ATSFlatDataStyleListStyleDataHeader) NumberOfSetVariations

func (s *ATSFlatDataStyleListStyleDataHeader) NumberOfSetVariations() uint32

NumberOfSetVariations returns the NumberOfSetVariations field from the record's packed storage.

func (*ATSFlatDataStyleListStyleDataHeader) SetNumberOfSetAttributes added in v0.6.17

func (s *ATSFlatDataStyleListStyleDataHeader) SetNumberOfSetAttributes(v uint32)

SetNumberOfSetAttributes updates the NumberOfSetAttributes field in the record's packed storage.

func (*ATSFlatDataStyleListStyleDataHeader) SetNumberOfSetFeatures added in v0.6.17

func (s *ATSFlatDataStyleListStyleDataHeader) SetNumberOfSetFeatures(v uint32)

SetNumberOfSetFeatures updates the NumberOfSetFeatures field in the record's packed storage.

func (*ATSFlatDataStyleListStyleDataHeader) SetNumberOfSetVariations added in v0.6.17

func (s *ATSFlatDataStyleListStyleDataHeader) SetNumberOfSetVariations(v uint32)

SetNumberOfSetVariations updates the NumberOfSetVariations field in the record's packed storage.

func (*ATSFlatDataStyleListStyleDataHeader) SetSizeOfStyleInfo added in v0.6.17

func (s *ATSFlatDataStyleListStyleDataHeader) SetSizeOfStyleInfo(v uint32)

SetSizeOfStyleInfo updates the SizeOfStyleInfo field in the record's packed storage.

func (*ATSFlatDataStyleListStyleDataHeader) SizeOfStyleInfo

func (s *ATSFlatDataStyleListStyleDataHeader) SizeOfStyleInfo() uint32

SizeOfStyleInfo returns the SizeOfStyleInfo field from the record's packed storage.

type ATSFlatDataStyleListVariationData

type ATSFlatDataStyleListVariationData struct {
	// contains filtered or unexported fields
}

ATSFlatDataStyleListVariationData

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

func (*ATSFlatDataStyleListVariationData) SetTheVariationAxis added in v0.6.17

func (s *ATSFlatDataStyleListVariationData) SetTheVariationAxis(v ATSUFontVariationAxis)

SetTheVariationAxis updates the TheVariationAxis field in the record's packed storage.

func (*ATSFlatDataStyleListVariationData) SetTheVariationValue added in v0.6.17

func (s *ATSFlatDataStyleListVariationData) SetTheVariationValue(v ATSUFontVariationValue)

SetTheVariationValue updates the TheVariationValue field in the record's packed storage.

func (*ATSFlatDataStyleListVariationData) TheVariationAxis

TheVariationAxis returns the TheVariationAxis field from the record's packed storage.

func (*ATSFlatDataStyleListVariationData) TheVariationValue

TheVariationValue returns the TheVariationValue field from the record's packed storage.

type ATSFlatDataStyleRunDataHeader

type ATSFlatDataStyleRunDataHeader struct {
	// contains filtered or unexported fields
}

ATSFlatDataStyleRunDataHeader

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

func (*ATSFlatDataStyleRunDataHeader) NumberOfStyleRuns

func (s *ATSFlatDataStyleRunDataHeader) NumberOfStyleRuns() uint32

NumberOfStyleRuns returns the NumberOfStyleRuns field from the record's packed storage.

func (*ATSFlatDataStyleRunDataHeader) SetNumberOfStyleRuns added in v0.6.17

func (s *ATSFlatDataStyleRunDataHeader) SetNumberOfStyleRuns(v uint32)

SetNumberOfStyleRuns updates the NumberOfStyleRuns field in the record's packed storage.

func (*ATSFlatDataStyleRunDataHeader) SetStyleRunArray added in v0.6.17

func (s *ATSFlatDataStyleRunDataHeader) SetStyleRunArray(v [1]ATSUStyleRunInfo)

SetStyleRunArray updates the StyleRunArray field in the record's packed storage.

func (*ATSFlatDataStyleRunDataHeader) StyleRunArray

func (s *ATSFlatDataStyleRunDataHeader) StyleRunArray() [1]ATSUStyleRunInfo

StyleRunArray returns the StyleRunArray field from the record's packed storage.

type ATSFlatDataTextLayoutDataHeader

type ATSFlatDataTextLayoutDataHeader struct {
	// contains filtered or unexported fields
}

ATSFlatDataTextLayoutDataHeader

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

func (*ATSFlatDataTextLayoutDataHeader) OffsetToLayoutControls

func (s *ATSFlatDataTextLayoutDataHeader) OffsetToLayoutControls() uint32

OffsetToLayoutControls returns the OffsetToLayoutControls field from the record's packed storage.

func (*ATSFlatDataTextLayoutDataHeader) OffsetToLineInfo

func (s *ATSFlatDataTextLayoutDataHeader) OffsetToLineInfo() uint32

OffsetToLineInfo returns the OffsetToLineInfo field from the record's packed storage.

func (*ATSFlatDataTextLayoutDataHeader) SetOffsetToLayoutControls added in v0.6.17

func (s *ATSFlatDataTextLayoutDataHeader) SetOffsetToLayoutControls(v uint32)

SetOffsetToLayoutControls updates the OffsetToLayoutControls field in the record's packed storage.

func (*ATSFlatDataTextLayoutDataHeader) SetOffsetToLineInfo added in v0.6.17

func (s *ATSFlatDataTextLayoutDataHeader) SetOffsetToLineInfo(v uint32)

SetOffsetToLineInfo updates the OffsetToLineInfo field in the record's packed storage.

func (*ATSFlatDataTextLayoutDataHeader) SetSizeOfLayoutData added in v0.6.17

func (s *ATSFlatDataTextLayoutDataHeader) SetSizeOfLayoutData(v uint32)

SetSizeOfLayoutData updates the SizeOfLayoutData field in the record's packed storage.

func (*ATSFlatDataTextLayoutDataHeader) SetTextLayoutLength added in v0.6.17

func (s *ATSFlatDataTextLayoutDataHeader) SetTextLayoutLength(v uint32)

SetTextLayoutLength updates the TextLayoutLength field in the record's packed storage.

func (*ATSFlatDataTextLayoutDataHeader) SizeOfLayoutData

func (s *ATSFlatDataTextLayoutDataHeader) SizeOfLayoutData() uint32

SizeOfLayoutData returns the SizeOfLayoutData field from the record's packed storage.

func (*ATSFlatDataTextLayoutDataHeader) TextLayoutLength

func (s *ATSFlatDataTextLayoutDataHeader) TextLayoutLength() uint32

TextLayoutLength returns the TextLayoutLength field from the record's packed storage.

type ATSFlatDataTextLayoutHeader

type ATSFlatDataTextLayoutHeader struct {
	// contains filtered or unexported fields
}

ATSFlatDataTextLayoutHeader

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

func (*ATSFlatDataTextLayoutHeader) FlattenedTextLayouts

func (s *ATSFlatDataTextLayoutHeader) FlattenedTextLayouts() [1]ATSFlatDataTextLayoutDataHeader

FlattenedTextLayouts returns the FlattenedTextLayouts field from the record's packed storage.

func (*ATSFlatDataTextLayoutHeader) NumFlattenedTextLayouts

func (s *ATSFlatDataTextLayoutHeader) NumFlattenedTextLayouts() uint32

NumFlattenedTextLayouts returns the NumFlattenedTextLayouts field from the record's packed storage.

func (*ATSFlatDataTextLayoutHeader) SetFlattenedTextLayouts added in v0.6.17

func (s *ATSFlatDataTextLayoutHeader) SetFlattenedTextLayouts(v [1]ATSFlatDataTextLayoutDataHeader)

SetFlattenedTextLayouts updates the FlattenedTextLayouts field in the record's packed storage.

func (*ATSFlatDataTextLayoutHeader) SetNumFlattenedTextLayouts added in v0.6.17

func (s *ATSFlatDataTextLayoutHeader) SetNumFlattenedTextLayouts(v uint32)

SetNumFlattenedTextLayouts updates the NumFlattenedTextLayouts field in the record's packed storage.

type ATSFontFilter

type ATSFontFilter struct {
	// contains filtered or unexported fields
}

ATSFontFilter

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

func (*ATSFontFilter) Filter

func (s *ATSFontFilter) Filter() [4]uint16

Filter returns the Filter field from the record's packed storage.

func (*ATSFontFilter) FilterSelector

func (s *ATSFontFilter) FilterSelector() ATSFontFilterSelector

FilterSelector returns the FilterSelector field from the record's packed storage.

func (*ATSFontFilter) SetFilter added in v0.6.17

func (s *ATSFontFilter) SetFilter(v [4]uint16)

SetFilter updates the Filter field in the record's packed storage.

func (*ATSFontFilter) SetFilterSelector added in v0.6.17

func (s *ATSFontFilter) SetFilterSelector(v ATSFontFilterSelector)

SetFilterSelector updates the FilterSelector field in the record's packed storage.

func (*ATSFontFilter) SetVersion added in v0.6.17

func (s *ATSFontFilter) SetVersion(v uint32)

SetVersion updates the Version field in the record's packed storage.

func (*ATSFontFilter) Version

func (s *ATSFontFilter) Version() uint32

Version returns the Version field from the record's packed storage.

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 {
	// contains filtered or unexported fields
}

ATSFontMetrics

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

func (*ATSFontMetrics) Ascent

func (s *ATSFontMetrics) Ascent() float64

Ascent returns the Ascent field from the record's packed storage.

func (*ATSFontMetrics) AvgAdvanceWidth

func (s *ATSFontMetrics) AvgAdvanceWidth() float64

AvgAdvanceWidth returns the AvgAdvanceWidth field from the record's packed storage.

func (*ATSFontMetrics) CapHeight

func (s *ATSFontMetrics) CapHeight() float64

CapHeight returns the CapHeight field from the record's packed storage.

func (*ATSFontMetrics) Descent

func (s *ATSFontMetrics) Descent() float64

Descent returns the Descent field from the record's packed storage.

func (*ATSFontMetrics) ItalicAngle

func (s *ATSFontMetrics) ItalicAngle() float64

ItalicAngle returns the ItalicAngle field from the record's packed storage.

func (*ATSFontMetrics) Leading

func (s *ATSFontMetrics) Leading() float64

Leading returns the Leading field from the record's packed storage.

func (*ATSFontMetrics) MaxAdvanceWidth

func (s *ATSFontMetrics) MaxAdvanceWidth() float64

MaxAdvanceWidth returns the MaxAdvanceWidth field from the record's packed storage.

func (*ATSFontMetrics) MinLeftSideBearing

func (s *ATSFontMetrics) MinLeftSideBearing() float64

MinLeftSideBearing returns the MinLeftSideBearing field from the record's packed storage.

func (*ATSFontMetrics) MinRightSideBearing

func (s *ATSFontMetrics) MinRightSideBearing() float64

MinRightSideBearing returns the MinRightSideBearing field from the record's packed storage.

func (*ATSFontMetrics) SetAscent added in v0.6.17

func (s *ATSFontMetrics) SetAscent(v float64)

SetAscent updates the Ascent field in the record's packed storage.

func (*ATSFontMetrics) SetAvgAdvanceWidth added in v0.6.17

func (s *ATSFontMetrics) SetAvgAdvanceWidth(v float64)

SetAvgAdvanceWidth updates the AvgAdvanceWidth field in the record's packed storage.

func (*ATSFontMetrics) SetCapHeight added in v0.6.17

func (s *ATSFontMetrics) SetCapHeight(v float64)

SetCapHeight updates the CapHeight field in the record's packed storage.

func (*ATSFontMetrics) SetDescent added in v0.6.17

func (s *ATSFontMetrics) SetDescent(v float64)

SetDescent updates the Descent field in the record's packed storage.

func (*ATSFontMetrics) SetItalicAngle added in v0.6.17

func (s *ATSFontMetrics) SetItalicAngle(v float64)

SetItalicAngle updates the ItalicAngle field in the record's packed storage.

func (*ATSFontMetrics) SetLeading added in v0.6.17

func (s *ATSFontMetrics) SetLeading(v float64)

SetLeading updates the Leading field in the record's packed storage.

func (*ATSFontMetrics) SetMaxAdvanceWidth added in v0.6.17

func (s *ATSFontMetrics) SetMaxAdvanceWidth(v float64)

SetMaxAdvanceWidth updates the MaxAdvanceWidth field in the record's packed storage.

func (*ATSFontMetrics) SetMinLeftSideBearing added in v0.6.17

func (s *ATSFontMetrics) SetMinLeftSideBearing(v float64)

SetMinLeftSideBearing updates the MinLeftSideBearing field in the record's packed storage.

func (*ATSFontMetrics) SetMinRightSideBearing added in v0.6.17

func (s *ATSFontMetrics) SetMinRightSideBearing(v float64)

SetMinRightSideBearing updates the MinRightSideBearing field in the record's packed storage.

func (*ATSFontMetrics) SetStemHeight added in v0.6.17

func (s *ATSFontMetrics) SetStemHeight(v float64)

SetStemHeight updates the StemHeight field in the record's packed storage.

func (*ATSFontMetrics) SetStemWidth added in v0.6.17

func (s *ATSFontMetrics) SetStemWidth(v float64)

SetStemWidth updates the StemWidth field in the record's packed storage.

func (*ATSFontMetrics) SetUnderlinePosition added in v0.6.17

func (s *ATSFontMetrics) SetUnderlinePosition(v float64)

SetUnderlinePosition updates the UnderlinePosition field in the record's packed storage.

func (*ATSFontMetrics) SetUnderlineThickness added in v0.6.17

func (s *ATSFontMetrics) SetUnderlineThickness(v float64)

SetUnderlineThickness updates the UnderlineThickness field in the record's packed storage.

func (*ATSFontMetrics) SetVersion added in v0.6.17

func (s *ATSFontMetrics) SetVersion(v uint32)

SetVersion updates the Version field in the record's packed storage.

func (*ATSFontMetrics) SetXHeight added in v0.6.17

func (s *ATSFontMetrics) SetXHeight(v float64)

SetXHeight updates the XHeight field in the record's packed storage.

func (*ATSFontMetrics) StemHeight

func (s *ATSFontMetrics) StemHeight() float64

StemHeight returns the StemHeight field from the record's packed storage.

func (*ATSFontMetrics) StemWidth

func (s *ATSFontMetrics) StemWidth() float64

StemWidth returns the StemWidth field from the record's packed storage.

func (*ATSFontMetrics) UnderlinePosition

func (s *ATSFontMetrics) UnderlinePosition() float64

UnderlinePosition returns the UnderlinePosition field from the record's packed storage.

func (*ATSFontMetrics) UnderlineThickness

func (s *ATSFontMetrics) UnderlineThickness() float64

UnderlineThickness returns the UnderlineThickness field from the record's packed storage.

func (*ATSFontMetrics) Version

func (s *ATSFontMetrics) Version() uint32

Version returns the Version field from the record's packed storage.

func (*ATSFontMetrics) XHeight

func (s *ATSFontMetrics) XHeight() float64

XHeight returns the XHeight field from the record's packed storage.

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 ATSFontQuerySourceContext

type ATSFontQuerySourceContext struct {
	// contains filtered or unexported fields
}

ATSFontQuerySourceContext

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

func (*ATSFontQuerySourceContext) RefCon

func (s *ATSFontQuerySourceContext) RefCon() uintptr

RefCon returns the RefCon field from the record's packed storage.

func (*ATSFontQuerySourceContext) Release

func (s *ATSFontQuerySourceContext) Release() uintptr

Release returns a raw C code address from the record's packed storage. The address is not callable from Go. To call C through it, use purego to bind a Go function value to the address.

func (*ATSFontQuerySourceContext) Retain

func (s *ATSFontQuerySourceContext) Retain() uintptr

Retain returns a raw C code address from the record's packed storage. The address is not callable from Go. To call C through it, use purego to bind a Go function value to the address.

func (*ATSFontQuerySourceContext) SetRefCon added in v0.6.17

func (s *ATSFontQuerySourceContext) SetRefCon(v uintptr)

SetRefCon updates the RefCon field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ATSFontQuerySourceContext) SetRelease added in v0.6.17

func (s *ATSFontQuerySourceContext) SetRelease(v uintptr)

SetRelease stores a raw C code address in the record's packed storage. Use purego.NewCallback to obtain the address for a Go callback. The callback and its address must outlive every use C can make through this record.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ATSFontQuerySourceContext) SetRetain added in v0.6.17

func (s *ATSFontQuerySourceContext) SetRetain(v uintptr)

SetRetain stores a raw C code address in the record's packed storage. Use purego.NewCallback to obtain the address for a Go callback. The callback and its address must outlive every use C can make through this record.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ATSFontQuerySourceContext) SetVersion added in v0.6.17

func (s *ATSFontQuerySourceContext) SetVersion(v uint32)

SetVersion updates the Version field in the record's packed storage.

func (*ATSFontQuerySourceContext) Version

func (s *ATSFontQuerySourceContext) Version() uint32

Version returns the Version field from the record's packed storage.

type ATSGlyphIdealMetrics

type ATSGlyphIdealMetrics struct {
	// contains filtered or unexported fields
}

ATSGlyphIdealMetrics

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

func (*ATSGlyphIdealMetrics) Advance

func (s *ATSGlyphIdealMetrics) Advance() [2]uint64

Advance returns the Advance field from the record's packed storage.

func (*ATSGlyphIdealMetrics) OtherSideBearing

func (s *ATSGlyphIdealMetrics) OtherSideBearing() [2]uint64

OtherSideBearing returns the OtherSideBearing field from the record's packed storage.

func (*ATSGlyphIdealMetrics) SetAdvance added in v0.6.17

func (s *ATSGlyphIdealMetrics) SetAdvance(v [2]uint64)

SetAdvance updates the Advance field in the record's packed storage.

func (*ATSGlyphIdealMetrics) SetOtherSideBearing added in v0.6.17

func (s *ATSGlyphIdealMetrics) SetOtherSideBearing(v [2]uint64)

SetOtherSideBearing updates the OtherSideBearing field in the record's packed storage.

func (*ATSGlyphIdealMetrics) SetSideBearing added in v0.6.17

func (s *ATSGlyphIdealMetrics) SetSideBearing(v [2]uint64)

SetSideBearing updates the SideBearing field in the record's packed storage.

func (*ATSGlyphIdealMetrics) SideBearing

func (s *ATSGlyphIdealMetrics) SideBearing() [2]uint64

SideBearing returns the SideBearing field from the record's packed storage.

type ATSGlyphScreenMetrics

type ATSGlyphScreenMetrics struct {
	// contains filtered or unexported fields
}

ATSGlyphScreenMetrics

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

func (*ATSGlyphScreenMetrics) DeviceAdvance

func (s *ATSGlyphScreenMetrics) DeviceAdvance() [2]uint64

DeviceAdvance returns the DeviceAdvance field from the record's packed storage.

func (*ATSGlyphScreenMetrics) Height

func (s *ATSGlyphScreenMetrics) Height() uint32

Height returns the Height field from the record's packed storage.

func (*ATSGlyphScreenMetrics) OtherSideBearing

func (s *ATSGlyphScreenMetrics) OtherSideBearing() [2]uint64

OtherSideBearing returns the OtherSideBearing field from the record's packed storage.

func (*ATSGlyphScreenMetrics) SetDeviceAdvance added in v0.6.17

func (s *ATSGlyphScreenMetrics) SetDeviceAdvance(v [2]uint64)

SetDeviceAdvance updates the DeviceAdvance field in the record's packed storage.

func (*ATSGlyphScreenMetrics) SetHeight added in v0.6.17

func (s *ATSGlyphScreenMetrics) SetHeight(v uint32)

SetHeight updates the Height field in the record's packed storage.

func (*ATSGlyphScreenMetrics) SetOtherSideBearing added in v0.6.17

func (s *ATSGlyphScreenMetrics) SetOtherSideBearing(v [2]uint64)

SetOtherSideBearing updates the OtherSideBearing field in the record's packed storage.

func (*ATSGlyphScreenMetrics) SetSideBearing added in v0.6.17

func (s *ATSGlyphScreenMetrics) SetSideBearing(v [2]uint64)

SetSideBearing updates the SideBearing field in the record's packed storage.

func (*ATSGlyphScreenMetrics) SetTopLeft added in v0.6.17

func (s *ATSGlyphScreenMetrics) SetTopLeft(v [2]uint64)

SetTopLeft updates the TopLeft field in the record's packed storage.

func (*ATSGlyphScreenMetrics) SetWidth added in v0.6.17

func (s *ATSGlyphScreenMetrics) SetWidth(v uint32)

SetWidth updates the Width field in the record's packed storage.

func (*ATSGlyphScreenMetrics) SideBearing

func (s *ATSGlyphScreenMetrics) SideBearing() [2]uint64

SideBearing returns the SideBearing field from the record's packed storage.

func (*ATSGlyphScreenMetrics) TopLeft

func (s *ATSGlyphScreenMetrics) TopLeft() [2]uint64

TopLeft returns the TopLeft field from the record's packed storage.

func (*ATSGlyphScreenMetrics) Width

func (s *ATSGlyphScreenMetrics) Width() uint32

Width returns the Width field from the record's packed storage.

type ATSJustPriorityWidthDeltaOverrides

type ATSJustPriorityWidthDeltaOverrides [40]uint16

See: https://developer.apple.com/documentation/applicationservices/atsjustprioritywidthdeltaoverrides ATSJustPriorityWidthDeltaOverrides is opaque storage with the size and alignment C gives ATSJustPriorityWidthDeltaOverrides: 80 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 80 into.

type ATSJustWidthDeltaEntryOverride

type ATSJustWidthDeltaEntryOverride struct {
	// contains filtered or unexported fields
}

ATSJustWidthDeltaEntryOverride

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

func (*ATSJustWidthDeltaEntryOverride) AfterGrowLimit

func (s *ATSJustWidthDeltaEntryOverride) AfterGrowLimit() int32

AfterGrowLimit returns the AfterGrowLimit field from the record's packed storage.

func (*ATSJustWidthDeltaEntryOverride) AfterShrinkLimit

func (s *ATSJustWidthDeltaEntryOverride) AfterShrinkLimit() int32

AfterShrinkLimit returns the AfterShrinkLimit field from the record's packed storage.

func (*ATSJustWidthDeltaEntryOverride) BeforeGrowLimit

func (s *ATSJustWidthDeltaEntryOverride) BeforeGrowLimit() int32

BeforeGrowLimit returns the BeforeGrowLimit field from the record's packed storage.

func (*ATSJustWidthDeltaEntryOverride) BeforeShrinkLimit

func (s *ATSJustWidthDeltaEntryOverride) BeforeShrinkLimit() int32

BeforeShrinkLimit returns the BeforeShrinkLimit field from the record's packed storage.

func (*ATSJustWidthDeltaEntryOverride) GrowFlags

func (s *ATSJustWidthDeltaEntryOverride) GrowFlags() uint16

GrowFlags returns the GrowFlags field from the record's packed storage.

func (*ATSJustWidthDeltaEntryOverride) SetAfterGrowLimit added in v0.6.17

func (s *ATSJustWidthDeltaEntryOverride) SetAfterGrowLimit(v int32)

SetAfterGrowLimit updates the AfterGrowLimit field in the record's packed storage.

func (*ATSJustWidthDeltaEntryOverride) SetAfterShrinkLimit added in v0.6.17

func (s *ATSJustWidthDeltaEntryOverride) SetAfterShrinkLimit(v int32)

SetAfterShrinkLimit updates the AfterShrinkLimit field in the record's packed storage.

func (*ATSJustWidthDeltaEntryOverride) SetBeforeGrowLimit added in v0.6.17

func (s *ATSJustWidthDeltaEntryOverride) SetBeforeGrowLimit(v int32)

SetBeforeGrowLimit updates the BeforeGrowLimit field in the record's packed storage.

func (*ATSJustWidthDeltaEntryOverride) SetBeforeShrinkLimit added in v0.6.17

func (s *ATSJustWidthDeltaEntryOverride) SetBeforeShrinkLimit(v int32)

SetBeforeShrinkLimit updates the BeforeShrinkLimit field in the record's packed storage.

func (*ATSJustWidthDeltaEntryOverride) SetGrowFlags added in v0.6.17

func (s *ATSJustWidthDeltaEntryOverride) SetGrowFlags(v uint16)

SetGrowFlags updates the GrowFlags field in the record's packed storage.

func (*ATSJustWidthDeltaEntryOverride) SetShrinkFlags added in v0.6.17

func (s *ATSJustWidthDeltaEntryOverride) SetShrinkFlags(v uint16)

SetShrinkFlags updates the ShrinkFlags field in the record's packed storage.

func (*ATSJustWidthDeltaEntryOverride) ShrinkFlags

func (s *ATSJustWidthDeltaEntryOverride) ShrinkFlags() uint16

ShrinkFlags returns the ShrinkFlags field from the record's packed storage.

type ATSLayoutRecord

type ATSLayoutRecord struct {
	// contains filtered or unexported fields
}

ATSLayoutRecord

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

func (*ATSLayoutRecord) Flags

Flags returns the Flags field from the record's packed storage.

func (*ATSLayoutRecord) GlyphID

func (s *ATSLayoutRecord) GlyphID() ATSGlyphRef

GlyphID returns the GlyphID field from the record's packed storage.

func (*ATSLayoutRecord) OriginalOffset

func (s *ATSLayoutRecord) OriginalOffset() uint

OriginalOffset returns the OriginalOffset field from the record's packed storage.

func (*ATSLayoutRecord) RealPos

func (s *ATSLayoutRecord) RealPos() int32

RealPos returns the RealPos field from the record's packed storage.

func (*ATSLayoutRecord) SetFlags added in v0.6.17

func (s *ATSLayoutRecord) SetFlags(v ATSGlyphInfoFlags)

SetFlags updates the Flags field in the record's packed storage.

func (*ATSLayoutRecord) SetGlyphID added in v0.6.17

func (s *ATSLayoutRecord) SetGlyphID(v ATSGlyphRef)

SetGlyphID updates the GlyphID field in the record's packed storage.

func (*ATSLayoutRecord) SetOriginalOffset added in v0.6.17

func (s *ATSLayoutRecord) SetOriginalOffset(v uint)

SetOriginalOffset updates the OriginalOffset field in the record's packed storage.

func (*ATSLayoutRecord) SetRealPos added in v0.6.17

func (s *ATSLayoutRecord) SetRealPos(v int32)

SetRealPos updates the RealPos field in the record's packed storage.

type ATSPoint

type ATSPoint [2]uint64

See: https://developer.apple.com/documentation/applicationservices/atspoint ATSPoint is opaque storage with the size and alignment C gives ATSPoint: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type ATSTrapezoid

type ATSTrapezoid struct {
	// contains filtered or unexported fields
}

ATSTrapezoid

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

func (*ATSTrapezoid) LowerLeft

func (s *ATSTrapezoid) LowerLeft() [4]uint16

LowerLeft returns the LowerLeft field from the record's packed storage.

func (*ATSTrapezoid) LowerRight

func (s *ATSTrapezoid) LowerRight() [4]uint16

LowerRight returns the LowerRight field from the record's packed storage.

func (*ATSTrapezoid) SetLowerLeft added in v0.6.17

func (s *ATSTrapezoid) SetLowerLeft(v [4]uint16)

SetLowerLeft updates the LowerLeft field in the record's packed storage.

func (*ATSTrapezoid) SetLowerRight added in v0.6.17

func (s *ATSTrapezoid) SetLowerRight(v [4]uint16)

SetLowerRight updates the LowerRight field in the record's packed storage.

func (*ATSTrapezoid) SetUpperLeft added in v0.6.17

func (s *ATSTrapezoid) SetUpperLeft(v [4]uint16)

SetUpperLeft updates the UpperLeft field in the record's packed storage.

func (*ATSTrapezoid) SetUpperRight added in v0.6.17

func (s *ATSTrapezoid) SetUpperRight(v [4]uint16)

SetUpperRight updates the UpperRight field in the record's packed storage.

func (*ATSTrapezoid) UpperLeft

func (s *ATSTrapezoid) UpperLeft() [4]uint16

UpperLeft returns the UpperLeft field from the record's packed storage.

func (*ATSTrapezoid) UpperRight

func (s *ATSTrapezoid) UpperRight() [4]uint16

UpperRight returns the UpperRight field from the record's packed storage.

type ATSUAttributeInfo

type ATSUAttributeInfo struct {
	// contains filtered or unexported fields
}

ATSUAttributeInfo

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

func (*ATSUAttributeInfo) FTag

FTag returns the FTag field from the record's packed storage.

func (*ATSUAttributeInfo) FValueSize

func (s *ATSUAttributeInfo) FValueSize() uint

FValueSize returns the FValueSize field from the record's packed storage.

func (*ATSUAttributeInfo) SetFTag added in v0.6.17

func (s *ATSUAttributeInfo) SetFTag(v ATSUAttributeTag)

SetFTag updates the FTag field in the record's packed storage.

func (*ATSUAttributeInfo) SetFValueSize added in v0.6.17

func (s *ATSUAttributeInfo) SetFValueSize(v uint)

SetFValueSize updates the FValueSize field in the record's packed storage.

type ATSUBackgroundData added in v0.6.17

type ATSUBackgroundData struct {
	// contains filtered or unexported fields
}

ATSUBackgroundData

func (*ATSUBackgroundData) BackgroundColor added in v0.6.17

func (s *ATSUBackgroundData) BackgroundColor() ATSUBackgroundColor

BackgroundColor returns the BackgroundColor field from the record's packed storage.

func (*ATSUBackgroundData) BackgroundUPP added in v0.6.17

func (s *ATSUBackgroundData) BackgroundUPP() [16]byte

BackgroundUPP returns the BackgroundUPP field from the record's packed storage.

func (*ATSUBackgroundData) SetBackgroundColor added in v0.6.17

func (s *ATSUBackgroundData) SetBackgroundColor(v ATSUBackgroundColor)

SetBackgroundColor updates the BackgroundColor field in the record's packed storage.

func (*ATSUBackgroundData) SetBackgroundUPP added in v0.6.17

func (s *ATSUBackgroundData) SetBackgroundUPP(v [16]byte)

SetBackgroundUPP updates the BackgroundUPP field in the record's packed storage.

type ATSUCaret

type ATSUCaret struct {
	// contains filtered or unexported fields
}

ATSUCaret

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

func (*ATSUCaret) FDeltaX

func (s *ATSUCaret) FDeltaX() int32

FDeltaX returns the FDeltaX field from the record's packed storage.

func (*ATSUCaret) FDeltaY

func (s *ATSUCaret) FDeltaY() int32

FDeltaY returns the FDeltaY field from the record's packed storage.

func (*ATSUCaret) FX

func (s *ATSUCaret) FX() int32

FX returns the FX field from the record's packed storage.

func (*ATSUCaret) FY

func (s *ATSUCaret) FY() int32

FY returns the FY field from the record's packed storage.

func (*ATSUCaret) SetFDeltaX added in v0.6.17

func (s *ATSUCaret) SetFDeltaX(v int32)

SetFDeltaX updates the FDeltaX field in the record's packed storage.

func (*ATSUCaret) SetFDeltaY added in v0.6.17

func (s *ATSUCaret) SetFDeltaY(v int32)

SetFDeltaY updates the FDeltaY field in the record's packed storage.

func (*ATSUCaret) SetFX added in v0.6.17

func (s *ATSUCaret) SetFX(v int32)

SetFX updates the FX field in the record's packed storage.

func (*ATSUCaret) SetFY added in v0.6.17

func (s *ATSUCaret) SetFY(v int32)

SetFY updates the FY field in the record's packed storage.

type ATSUCurvePath

type ATSUCurvePath struct {
	// contains filtered or unexported fields
}

ATSUCurvePath

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

func (*ATSUCurvePath) ControlBits

func (s *ATSUCurvePath) ControlBits() [1]uint32

ControlBits returns the ControlBits field from the record's packed storage.

func (*ATSUCurvePath) SetControlBits added in v0.6.17

func (s *ATSUCurvePath) SetControlBits(v [1]uint32)

SetControlBits updates the ControlBits field in the record's packed storage.

func (*ATSUCurvePath) SetVector added in v0.6.17

func (s *ATSUCurvePath) SetVector(v [16]byte)

SetVector updates the Vector field in the record's packed storage.

func (*ATSUCurvePath) SetVectors added in v0.6.17

func (s *ATSUCurvePath) SetVectors(v uint32)

SetVectors updates the Vectors field in the record's packed storage.

func (*ATSUCurvePath) Vector

func (s *ATSUCurvePath) Vector() [16]byte

Vector returns the Vector field from the record's packed storage.

func (*ATSUCurvePath) Vectors

func (s *ATSUCurvePath) Vectors() uint32

Vectors returns the Vectors field from the record's packed storage.

type ATSUCurvePaths

type ATSUCurvePaths struct {
	// contains filtered or unexported fields
}

ATSUCurvePaths

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

func (*ATSUCurvePaths) Contour

func (s *ATSUCurvePaths) Contour() [1]ATSUCurvePath

Contour returns the Contour field from the record's packed storage.

func (*ATSUCurvePaths) Contours

func (s *ATSUCurvePaths) Contours() uint32

Contours returns the Contours field from the record's packed storage.

func (*ATSUCurvePaths) SetContour added in v0.6.17

func (s *ATSUCurvePaths) SetContour(v [1]ATSUCurvePath)

SetContour updates the Contour field in the record's packed storage.

func (*ATSUCurvePaths) SetContours added in v0.6.17

func (s *ATSUCurvePaths) SetContours(v uint32)

SetContours updates the Contours field in the record's packed storage.

type ATSUGlyphInfo

type ATSUGlyphInfo struct {
	// contains filtered or unexported fields
}

ATSUGlyphInfo

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

func (*ATSUGlyphInfo) CaretX

func (s *ATSUGlyphInfo) CaretX() int16

CaretX returns the CaretX field from the record's packed storage.

func (*ATSUGlyphInfo) CharIndex

func (s *ATSUGlyphInfo) CharIndex() uint

CharIndex returns the CharIndex field from the record's packed storage.

func (*ATSUGlyphInfo) DeltaY

func (s *ATSUGlyphInfo) DeltaY() float32

DeltaY returns the DeltaY field from the record's packed storage.

func (*ATSUGlyphInfo) GlyphID

func (s *ATSUGlyphInfo) GlyphID() GlyphID

GlyphID returns the GlyphID field from the record's packed storage.

func (*ATSUGlyphInfo) IdealX

func (s *ATSUGlyphInfo) IdealX() float32

IdealX returns the IdealX field from the record's packed storage.

func (*ATSUGlyphInfo) LayoutFlags

func (s *ATSUGlyphInfo) LayoutFlags() uint32

LayoutFlags returns the LayoutFlags field from the record's packed storage.

func (*ATSUGlyphInfo) Reserved

func (s *ATSUGlyphInfo) Reserved() uint16

Reserved returns the Reserved field from the record's packed storage.

func (*ATSUGlyphInfo) ScreenX

func (s *ATSUGlyphInfo) ScreenX() int16

ScreenX returns the ScreenX field from the record's packed storage.

func (*ATSUGlyphInfo) SetCaretX added in v0.6.17

func (s *ATSUGlyphInfo) SetCaretX(v int16)

SetCaretX updates the CaretX field in the record's packed storage.

func (*ATSUGlyphInfo) SetCharIndex added in v0.6.17

func (s *ATSUGlyphInfo) SetCharIndex(v uint)

SetCharIndex updates the CharIndex field in the record's packed storage.

func (*ATSUGlyphInfo) SetDeltaY added in v0.6.17

func (s *ATSUGlyphInfo) SetDeltaY(v float32)

SetDeltaY updates the DeltaY field in the record's packed storage.

func (*ATSUGlyphInfo) SetGlyphID added in v0.6.17

func (s *ATSUGlyphInfo) SetGlyphID(v GlyphID)

SetGlyphID updates the GlyphID field in the record's packed storage.

func (*ATSUGlyphInfo) SetIdealX added in v0.6.17

func (s *ATSUGlyphInfo) SetIdealX(v float32)

SetIdealX updates the IdealX field in the record's packed storage.

func (*ATSUGlyphInfo) SetLayoutFlags added in v0.6.17

func (s *ATSUGlyphInfo) SetLayoutFlags(v uint32)

SetLayoutFlags updates the LayoutFlags field in the record's packed storage.

func (*ATSUGlyphInfo) SetReserved added in v0.6.17

func (s *ATSUGlyphInfo) SetReserved(v uint16)

SetReserved updates the Reserved field in the record's packed storage.

func (*ATSUGlyphInfo) SetScreenX added in v0.6.17

func (s *ATSUGlyphInfo) SetScreenX(v int16)

SetScreenX updates the ScreenX field in the record's packed storage.

func (*ATSUGlyphInfo) SetStyle added in v0.6.17

func (s *ATSUGlyphInfo) SetStyle(v uintptr)

SetStyle updates the Style field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ATSUGlyphInfo) Style

func (s *ATSUGlyphInfo) Style() uintptr

Style returns the Style field from the record's packed storage.

type ATSUGlyphInfoArray

type ATSUGlyphInfoArray struct {
	// contains filtered or unexported fields
}

ATSUGlyphInfoArray

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

func (*ATSUGlyphInfoArray) Glyphs

func (s *ATSUGlyphInfoArray) Glyphs() [1]ATSUGlyphInfo

Glyphs returns the Glyphs field from the record's packed storage.

func (*ATSUGlyphInfoArray) Layout

func (s *ATSUGlyphInfoArray) Layout() uintptr

Layout returns the Layout field from the record's packed storage.

func (*ATSUGlyphInfoArray) NumGlyphs

func (s *ATSUGlyphInfoArray) NumGlyphs() uint

NumGlyphs returns the NumGlyphs field from the record's packed storage.

func (*ATSUGlyphInfoArray) SetGlyphs added in v0.6.17

func (s *ATSUGlyphInfoArray) SetGlyphs(v [1]ATSUGlyphInfo)

SetGlyphs updates the Glyphs field in the record's packed storage.

func (*ATSUGlyphInfoArray) SetLayout added in v0.6.17

func (s *ATSUGlyphInfoArray) SetLayout(v uintptr)

SetLayout updates the Layout field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ATSUGlyphInfoArray) SetNumGlyphs added in v0.6.17

func (s *ATSUGlyphInfoArray) SetNumGlyphs(v uint)

SetNumGlyphs updates the NumGlyphs field in the record's packed storage.

type ATSUGlyphSelector

type ATSUGlyphSelector struct {
	Collection GlyphCollection
	GlyphID    GlyphID
}

ATSUGlyphSelector

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

type ATSURGBAlphaColor

type ATSURGBAlphaColor struct {
	// contains filtered or unexported fields
}

ATSURGBAlphaColor

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

func (*ATSURGBAlphaColor) Alpha

func (s *ATSURGBAlphaColor) Alpha() float32

Alpha returns the Alpha field from the record's packed storage.

func (*ATSURGBAlphaColor) Blue

func (s *ATSURGBAlphaColor) Blue() float32

Blue returns the Blue field from the record's packed storage.

func (*ATSURGBAlphaColor) Green

func (s *ATSURGBAlphaColor) Green() float32

Green returns the Green field from the record's packed storage.

func (*ATSURGBAlphaColor) Red

func (s *ATSURGBAlphaColor) Red() float32

Red returns the Red field from the record's packed storage.

func (*ATSURGBAlphaColor) SetAlpha added in v0.6.17

func (s *ATSURGBAlphaColor) SetAlpha(v float32)

SetAlpha updates the Alpha field in the record's packed storage.

func (*ATSURGBAlphaColor) SetBlue added in v0.6.17

func (s *ATSURGBAlphaColor) SetBlue(v float32)

SetBlue updates the Blue field in the record's packed storage.

func (*ATSURGBAlphaColor) SetGreen added in v0.6.17

func (s *ATSURGBAlphaColor) SetGreen(v float32)

SetGreen updates the Green field in the record's packed storage.

func (*ATSURGBAlphaColor) SetRed added in v0.6.17

func (s *ATSURGBAlphaColor) SetRed(v float32)

SetRed updates the Red field in the record's packed storage.

type ATSUStyleRunInfo

type ATSUStyleRunInfo struct {
	// contains filtered or unexported fields
}

ATSUStyleRunInfo

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

func (*ATSUStyleRunInfo) RunLength

func (s *ATSUStyleRunInfo) RunLength() uint32

RunLength returns the RunLength field from the record's packed storage.

func (*ATSUStyleRunInfo) SetRunLength added in v0.6.17

func (s *ATSUStyleRunInfo) SetRunLength(v uint32)

SetRunLength updates the RunLength field in the record's packed storage.

func (*ATSUStyleRunInfo) SetStyleObjectIndex added in v0.6.17

func (s *ATSUStyleRunInfo) SetStyleObjectIndex(v uint32)

SetStyleObjectIndex updates the StyleObjectIndex field in the record's packed storage.

func (*ATSUStyleRunInfo) StyleObjectIndex

func (s *ATSUStyleRunInfo) StyleObjectIndex() uint32

StyleObjectIndex returns the StyleObjectIndex field from the record's packed storage.

type ATSUTab

type ATSUTab struct {
	// contains filtered or unexported fields
}

ATSUTab

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

func (*ATSUTab) SetTabPosition added in v0.6.17

func (s *ATSUTab) SetTabPosition(v ATSUTextMeasurement)

SetTabPosition updates the TabPosition field in the record's packed storage.

func (*ATSUTab) SetTabType added in v0.6.17

func (s *ATSUTab) SetTabType(v ATSUTabType)

SetTabType updates the TabType field in the record's packed storage.

func (*ATSUTab) TabPosition

func (s *ATSUTab) TabPosition() ATSUTextMeasurement

TabPosition returns the TabPosition field from the record's packed storage.

func (*ATSUTab) TabType

func (s *ATSUTab) TabType() ATSUTabType

TabType returns the TabType field from the record's packed storage.

type ATSUUnhighlightData

type ATSUUnhighlightData struct {
	// contains filtered or unexported fields
}

ATSUUnhighlightData

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

func (*ATSUUnhighlightData) DataType

DataType returns the DataType field from the record's packed storage.

func (*ATSUUnhighlightData) SetDataType added in v0.6.17

func (s *ATSUUnhighlightData) SetDataType(v ATSUBackgroundDataType)

SetDataType updates the DataType field in the record's packed storage.

func (*ATSUUnhighlightData) SetUnhighlightData added in v0.6.17

func (s *ATSUUnhighlightData) SetUnhighlightData(v ATSUBackgroundData)

SetUnhighlightData updates the UnhighlightData field in the record's packed storage.

func (*ATSUUnhighlightData) UnhighlightData

func (s *ATSUUnhighlightData) UnhighlightData() ATSUBackgroundData

UnhighlightData returns the UnhighlightData field from the record's packed storage.

type AXCopyMultipleAttributeOptions

type AXCopyMultipleAttributeOptions uint32

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

const (
	StopOnError AXCopyMultipleAttributeOptions = 0x1
)

func (AXCopyMultipleAttributeOptions) String

type AXError

type AXError int32

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

func AXMakeProcessTrusted deprecated

func AXMakeProcessTrusted(executablePath 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(application AXUIElementRef, keyChar uint16, virtualKey uint16, keyDown 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 = 4
	NoCommand AXMenuItemModifiers = 8
	Option    AXMenuItemModifiers = 2
	Shift     AXMenuItemModifiers = 1
)

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 {
	// contains filtered or unexported fields
}

AppParameters

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

func (*AppParameters) EventRefCon

func (s *AppParameters) EventRefCon() uint32

EventRefCon returns the EventRefCon field from the record's packed storage.

func (*AppParameters) Message

func (s *AppParameters) Message() uint32

Message returns the Message field from the record's packed storage.

func (*AppParameters) MessageLength

func (s *AppParameters) MessageLength() uint32

MessageLength returns the MessageLength field from the record's packed storage.

func (*AppParameters) Modifiers

func (s *AppParameters) Modifiers() uint16

Modifiers returns the Modifiers field from the record's packed storage.

func (*AppParameters) SetEventRefCon added in v0.6.17

func (s *AppParameters) SetEventRefCon(v uint32)

SetEventRefCon updates the EventRefCon field in the record's packed storage.

func (*AppParameters) SetMessage added in v0.6.17

func (s *AppParameters) SetMessage(v uint32)

SetMessage updates the Message field in the record's packed storage.

func (*AppParameters) SetMessageLength added in v0.6.17

func (s *AppParameters) SetMessageLength(v uint32)

SetMessageLength updates the MessageLength field in the record's packed storage.

func (*AppParameters) SetModifiers added in v0.6.17

func (s *AppParameters) SetModifiers(v uint16)

SetModifiers updates the Modifiers field in the record's packed storage.

func (*AppParameters) SetTheMsgEvent added in v0.6.17

func (s *AppParameters) SetTheMsgEvent(v [2]byte)

SetTheMsgEvent updates the TheMsgEvent field in the record's packed storage.

func (*AppParameters) SetWhat added in v0.6.17

func (s *AppParameters) SetWhat(v uint16)

SetWhat updates the What field in the record's packed storage.

func (*AppParameters) SetWhen added in v0.6.17

func (s *AppParameters) SetWhen(v uint32)

SetWhen updates the When field in the record's packed storage.

func (*AppParameters) SetWhere added in v0.6.17

func (s *AppParameters) SetWhere(v Point)

SetWhere updates the Where field in the record's packed storage.

func (*AppParameters) TheMsgEvent

func (s *AppParameters) TheMsgEvent() [2]byte

TheMsgEvent returns the TheMsgEvent field from the record's packed storage.

func (*AppParameters) What

func (s *AppParameters) What() uint16

What returns the What field from the record's packed storage.

func (*AppParameters) When

func (s *AppParameters) When() uint32

When returns the When field from the record's packed storage.

func (*AppParameters) Where

func (s *AppParameters) Where() Point

Where returns the Where field from the record's packed storage.

type AsscEntry

type AsscEntry struct {
	FontSize  int16
	FontStyle int16
	FontID    int16
}

AsscEntry

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

type At

type At uint32
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 int32
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 int32
const (
	BadTranslationRefErr BadTranslationRef = -3031
)

func (BadTranslationRef) String

func (e BadTranslationRef) String() string

type BitMap

type BitMap struct {
	// contains filtered or unexported fields
}

BitMap

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

func (*BitMap) BaseAddr

func (s *BitMap) BaseAddr() uintptr

BaseAddr returns the BaseAddr field from the record's packed storage.

func (*BitMap) Bounds

func (s *BitMap) Bounds() Rect

Bounds returns the Bounds field from the record's packed storage.

func (*BitMap) RowBytes

func (s *BitMap) RowBytes() int16

RowBytes returns the RowBytes field from the record's packed storage.

func (*BitMap) SetBaseAddr added in v0.6.17

func (s *BitMap) SetBaseAddr(v uintptr)

SetBaseAddr updates the BaseAddr field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*BitMap) SetBounds added in v0.6.17

func (s *BitMap) SetBounds(v Rect)

SetBounds updates the Bounds field in the record's packed storage.

func (*BitMap) SetRowBytes added in v0.6.17

func (s *BitMap) SetRowBytes(v int16)

SetRowBytes updates the RowBytes field in the record's packed storage.

type CM2Profile

type CM2Profile struct {
	// contains filtered or unexported fields
}

CM2Profile

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

func (*CM2Profile) ElemData

func (s *CM2Profile) ElemData() [2]byte

ElemData returns the ElemData field from the record's packed storage.

func (*CM2Profile) Header

func (s *CM2Profile) Header() [128]byte

Header returns the Header field from the record's packed storage.

func (*CM2Profile) SetElemData added in v0.6.17

func (s *CM2Profile) SetElemData(v [2]byte)

SetElemData updates the ElemData field in the record's packed storage.

func (*CM2Profile) SetHeader added in v0.6.17

func (s *CM2Profile) SetHeader(v [128]byte)

SetHeader updates the Header field in the record's packed storage.

func (*CM2Profile) SetTagTable added in v0.6.17

func (s *CM2Profile) SetTagTable(v [16]byte)

SetTagTable updates the TagTable field in the record's packed storage.

func (*CM2Profile) TagTable

func (s *CM2Profile) TagTable() [16]byte

TagTable returns the TagTable field from the record's packed storage.

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      unsafe.Pointer
	DeviceClass      unsafe.Pointer
	DeviceID         unsafe.Pointer
	DeviceScope      unsafe.Pointer
	DeviceState      unsafe.Pointer
	DefaultProfileID unsafe.Pointer
	DeviceName       unsafe.Pointer // See the CFDictionary documentation for a description of the [CFDictionaryRef] data type.
	ProfileCount     unsafe.Pointer
	Reserved         unsafe.Pointer
}

CMDeviceInfo

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

type CMDeviceProfileArray

type CMDeviceProfileArray struct {
	ProfileCount unsafe.Pointer
	Profiles     unsafe.Pointer
}

CMDeviceProfileArray

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

type CMDeviceScope

type CMDeviceScope struct {
	DeviceUser unsafe.Pointer
	DeviceHost unsafe.Pointer
}

CMDeviceScope

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

type CMFlattenProcPtr

type CMFlattenProcPtr = func(command int32, size unsafe.Pointer, data unsafe.Pointer, refCon 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 unsafe.Pointer
	Reserved       unsafe.Pointer
	InputChannels  unsafe.Pointer
	OutputChannels unsafe.Pointer
	Reserved2      unsafe.Pointer
	OffsetBcurves  unsafe.Pointer
	OffsetMatrix   unsafe.Pointer
	OffsetMcurves  unsafe.Pointer
	OffsetCLUT     unsafe.Pointer
	OffsetAcurves  unsafe.Pointer
	Data           unsafe.Pointer
}

CMMultiFunctLutType

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

type CMXYZColor

type CMXYZColor struct {
	X CMXYZComponent
	Y CMXYZComponent
	Z CMXYZComponent
}

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 {
	// contains filtered or unexported fields
}

CQDProcs

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

func (*CQDProcs) ArcProc

func (s *CQDProcs) ArcProc() uintptr

ArcProc returns the ArcProc field from the record's packed storage.

func (*CQDProcs) BitsProc

func (s *CQDProcs) BitsProc() uintptr

BitsProc returns the BitsProc field from the record's packed storage.

func (*CQDProcs) CommentProc

func (s *CQDProcs) CommentProc() uintptr

CommentProc returns the CommentProc field from the record's packed storage.

func (*CQDProcs) GetPicProc

func (s *CQDProcs) GetPicProc() uintptr

GetPicProc returns the GetPicProc field from the record's packed storage.

func (*CQDProcs) GlyphsProc

func (s *CQDProcs) GlyphsProc() uintptr

GlyphsProc returns the GlyphsProc field from the record's packed storage.

func (*CQDProcs) LineProc

func (s *CQDProcs) LineProc() uintptr

LineProc returns the LineProc field from the record's packed storage.

func (*CQDProcs) NewProc1

func (s *CQDProcs) NewProc1() uintptr

NewProc1 returns the NewProc1 field from the record's packed storage.

func (*CQDProcs) NewProc4

func (s *CQDProcs) NewProc4() uintptr

NewProc4 returns the NewProc4 field from the record's packed storage.

func (*CQDProcs) NewProc5

func (s *CQDProcs) NewProc5() uintptr

NewProc5 returns the NewProc5 field from the record's packed storage.

func (*CQDProcs) NewProc6

func (s *CQDProcs) NewProc6() uintptr

NewProc6 returns the NewProc6 field from the record's packed storage.

func (*CQDProcs) OpcodeProc

func (s *CQDProcs) OpcodeProc() uintptr

OpcodeProc returns the OpcodeProc field from the record's packed storage.

func (*CQDProcs) OvalProc

func (s *CQDProcs) OvalProc() uintptr

OvalProc returns the OvalProc field from the record's packed storage.

func (*CQDProcs) PolyProc

func (s *CQDProcs) PolyProc() uintptr

PolyProc returns the PolyProc field from the record's packed storage.

func (*CQDProcs) PrinterStatusProc

func (s *CQDProcs) PrinterStatusProc() uintptr

PrinterStatusProc returns the PrinterStatusProc field from the record's packed storage.

func (*CQDProcs) PutPicProc

func (s *CQDProcs) PutPicProc() uintptr

PutPicProc returns the PutPicProc field from the record's packed storage.

func (*CQDProcs) RRectProc

func (s *CQDProcs) RRectProc() uintptr

RRectProc returns the RRectProc field from the record's packed storage.

func (*CQDProcs) RectProc

func (s *CQDProcs) RectProc() uintptr

RectProc returns the RectProc field from the record's packed storage.

func (*CQDProcs) RgnProc

func (s *CQDProcs) RgnProc() uintptr

RgnProc returns the RgnProc field from the record's packed storage.

func (*CQDProcs) SetArcProc added in v0.6.17

func (s *CQDProcs) SetArcProc(v uintptr)

SetArcProc updates the ArcProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetBitsProc added in v0.6.17

func (s *CQDProcs) SetBitsProc(v uintptr)

SetBitsProc updates the BitsProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetCommentProc added in v0.6.17

func (s *CQDProcs) SetCommentProc(v uintptr)

SetCommentProc updates the CommentProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetGetPicProc added in v0.6.17

func (s *CQDProcs) SetGetPicProc(v uintptr)

SetGetPicProc updates the GetPicProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetGlyphsProc added in v0.6.17

func (s *CQDProcs) SetGlyphsProc(v uintptr)

SetGlyphsProc updates the GlyphsProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetLineProc added in v0.6.17

func (s *CQDProcs) SetLineProc(v uintptr)

SetLineProc updates the LineProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetNewProc1 added in v0.6.17

func (s *CQDProcs) SetNewProc1(v uintptr)

SetNewProc1 updates the NewProc1 field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetNewProc4 added in v0.6.17

func (s *CQDProcs) SetNewProc4(v uintptr)

SetNewProc4 updates the NewProc4 field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetNewProc5 added in v0.6.17

func (s *CQDProcs) SetNewProc5(v uintptr)

SetNewProc5 updates the NewProc5 field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetNewProc6 added in v0.6.17

func (s *CQDProcs) SetNewProc6(v uintptr)

SetNewProc6 updates the NewProc6 field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetOpcodeProc added in v0.6.17

func (s *CQDProcs) SetOpcodeProc(v uintptr)

SetOpcodeProc updates the OpcodeProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetOvalProc added in v0.6.17

func (s *CQDProcs) SetOvalProc(v uintptr)

SetOvalProc updates the OvalProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetPolyProc added in v0.6.17

func (s *CQDProcs) SetPolyProc(v uintptr)

SetPolyProc updates the PolyProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetPrinterStatusProc added in v0.6.17

func (s *CQDProcs) SetPrinterStatusProc(v uintptr)

SetPrinterStatusProc updates the PrinterStatusProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetPutPicProc added in v0.6.17

func (s *CQDProcs) SetPutPicProc(v uintptr)

SetPutPicProc updates the PutPicProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetRRectProc added in v0.6.17

func (s *CQDProcs) SetRRectProc(v uintptr)

SetRRectProc updates the RRectProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetRectProc added in v0.6.17

func (s *CQDProcs) SetRectProc(v uintptr)

SetRectProc updates the RectProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetRgnProc added in v0.6.17

func (s *CQDProcs) SetRgnProc(v uintptr)

SetRgnProc updates the RgnProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetTextProc added in v0.6.17

func (s *CQDProcs) SetTextProc(v uintptr)

SetTextProc updates the TextProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) SetTxMeasProc added in v0.6.17

func (s *CQDProcs) SetTxMeasProc(v uintptr)

SetTxMeasProc updates the TxMeasProc field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*CQDProcs) TextProc

func (s *CQDProcs) TextProc() uintptr

TextProc returns the TextProc field from the record's packed storage.

func (*CQDProcs) TxMeasProc

func (s *CQDProcs) TxMeasProc() uintptr

TxMeasProc returns the TxMeasProc field from the record's packed storage.

type Cdev

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

func (Cdev) String

func (e Cdev) String() string

type CmAToB0Tag

type CmAToB0Tag uint32
const (
	CmAToB0TagValue            CmAToB0Tag = 'A'<<24 | '2'<<16 | 'B'<<8 | '0' // 'A2B0'
	CmAToB1Tag                 CmAToB0Tag = 'A'<<24 | '2'<<16 | 'B'<<8 | '1' // 'A2B1'
	CmAToB2Tag                 CmAToB0Tag = 'A'<<24 | '2'<<16 | 'B'<<8 | '2' // 'A2B2'
	CmBToA0Tag                 CmAToB0Tag = 'B'<<24 | '2'<<16 | 'A'<<8 | '0' // 'B2A0'
	CmBToA1Tag                 CmAToB0Tag = 'B'<<24 | '2'<<16 | 'A'<<8 | '1' // 'B2A1'
	CmBToA2Tag                 CmAToB0Tag = 'B'<<24 | '2'<<16 | 'A'<<8 | '2' // 'B2A2'
	CmBlueColorantTag          CmAToB0Tag = 'b'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'bXYZ'
	CmBlueTRCTag               CmAToB0Tag = 'b'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'bTRC'
	CmCalibrationDateTimeTag   CmAToB0Tag = 'c'<<24 | 'a'<<16 | 'l'<<8 | 't' // 'calt'
	CmCharTargetTag            CmAToB0Tag = 't'<<24 | 'a'<<16 | 'r'<<8 | 'g' // 'targ'
	CmChromaticAdaptationTag   CmAToB0Tag = 'c'<<24 | 'h'<<16 | 'a'<<8 | 'd' // 'chad'
	CmCopyrightTag             CmAToB0Tag = 'c'<<24 | 'p'<<16 | 'r'<<8 | 't' // 'cprt'
	CmDeviceMfgDescTag         CmAToB0Tag = 'd'<<24 | 'm'<<16 | 'n'<<8 | 'd' // 'dmnd'
	CmDeviceModelDescTag       CmAToB0Tag = 'd'<<24 | 'm'<<16 | 'd'<<8 | 'd' // 'dmdd'
	CmGamutTag                 CmAToB0Tag = 'g'<<24 | 'a'<<16 | 'm'<<8 | 't' // 'gamt'
	CmGrayTRCTag               CmAToB0Tag = 'k'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'kTRC'
	CmGreenColorantTag         CmAToB0Tag = 'g'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'gXYZ'
	CmGreenTRCTag              CmAToB0Tag = 'g'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'gTRC'
	CmLuminanceTag             CmAToB0Tag = 'l'<<24 | 'u'<<16 | 'm'<<8 | 'i' // 'lumi'
	CmMeasurementTag           CmAToB0Tag = 'm'<<24 | 'e'<<16 | 'a'<<8 | 's' // 'meas'
	CmMediaBlackPointTag       CmAToB0Tag = 'b'<<24 | 'k'<<16 | 'p'<<8 | 't' // 'bkpt'
	CmMediaWhitePointTag       CmAToB0Tag = 'w'<<24 | 't'<<16 | 'p'<<8 | 't' // 'wtpt'
	CmNamedColor2Tag           CmAToB0Tag = 'n'<<24 | 'c'<<16 | 'l'<<8 | '2' // 'ncl2'
	CmNamedColorTag            CmAToB0Tag = 'n'<<24 | 'c'<<16 | 'o'<<8 | 'l' // 'ncol'
	CmPS2CRD0Tag               CmAToB0Tag = 'p'<<24 | 's'<<16 | 'd'<<8 | '0' // 'psd0'
	CmPS2CRD1Tag               CmAToB0Tag = 'p'<<24 | 's'<<16 | 'd'<<8 | '1' // 'psd1'
	CmPS2CRD2Tag               CmAToB0Tag = 'p'<<24 | 's'<<16 | 'd'<<8 | '2' // 'psd2'
	CmPS2CRD3Tag               CmAToB0Tag = 'p'<<24 | 's'<<16 | 'd'<<8 | '3' // 'psd3'
	CmPS2CSATag                CmAToB0Tag = 'p'<<24 | 's'<<16 | '2'<<8 | 's' // 'ps2s'
	CmPS2RenderingIntentTag    CmAToB0Tag = 'p'<<24 | 's'<<16 | '2'<<8 | 'i' // 'ps2i'
	CmPreview0Tag              CmAToB0Tag = 'p'<<24 | 'r'<<16 | 'e'<<8 | '0' // 'pre0'
	CmPreview1Tag              CmAToB0Tag = 'p'<<24 | 'r'<<16 | 'e'<<8 | '1' // 'pre1'
	CmPreview2Tag              CmAToB0Tag = 'p'<<24 | 'r'<<16 | 'e'<<8 | '2' // 'pre2'
	CmProfileDescriptionTag    CmAToB0Tag = 'd'<<24 | 'e'<<16 | 's'<<8 | 'c' // 'desc'
	CmProfileSequenceDescTag   CmAToB0Tag = 'p'<<24 | 's'<<16 | 'e'<<8 | 'q' // 'pseq'
	CmRedColorantTag           CmAToB0Tag = 'r'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'rXYZ'
	CmRedTRCTag                CmAToB0Tag = 'r'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'rTRC'
	CmScreeningDescTag         CmAToB0Tag = 's'<<24 | 'c'<<16 | 'r'<<8 | 'd' // 'scrd'
	CmScreeningTag             CmAToB0Tag = 's'<<24 | 'c'<<16 | 'r'<<8 | 'n' // 'scrn'
	CmTechnologyTag            CmAToB0Tag = 't'<<24 | 'e'<<16 | 'c'<<8 | 'h' // 'tech'
	CmUcrBgTag                 CmAToB0Tag = 'b'<<24 | 'f'<<16 | 'd'<<8 | ' ' // 'bfd '
	CmViewingConditionsDescTag CmAToB0Tag = 'v'<<24 | 'u'<<16 | 'e'<<8 | 'd' // 'vued'
	CmViewingConditionsTag     CmAToB0Tag = 'v'<<24 | 'i'<<16 | 'e'<<8 | 'w' // 'view'
)

func (CmAToB0Tag) String added in v0.6.17

func (e CmAToB0Tag) String() string

type CmAsciiData

type CmAsciiData uint32
const (
	// CmAsciiDataValue: ASCII data.
	CmAsciiDataValue CmAsciiData = 0
	// CmBinaryData: Binary data.
	CmBinaryData CmAsciiData = 1
)

func (CmAsciiData) String added in v0.6.17

func (e CmAsciiData) String() string

type CmBlackPoint

type CmBlackPoint uint32
const (
	CmBlackPointCompensation CmBlackPoint = 1
)

func (CmBlackPoint) String

func (e CmBlackPoint) String() string

type CmCS1

type CmCS1 uint32
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 int32
const (
	CmColorSpaceAlphaMask         CmColorSpace = 0x80
	CmColorSpaceEncodingMask      CmColorSpace = 0xf0000
	CmColorSpacePackingMask       CmColorSpace = 0xff00
	CmColorSpacePremulAlphaMask   CmColorSpace = 0x40
	CmColorSpaceReservedMask      CmColorSpace = -1048576
	CmColorSpaceSpaceAndAlphaMask CmColorSpace = 0xff
	CmColorSpaceSpaceMask         CmColorSpace = 0x3f
)

func (CmColorSpace) String

func (e CmColorSpace) String() string

type CmCurrent

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

func (CmCurrent) String

func (e CmCurrent) String() string

type CmDefault

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

func (CmDefault) String

func (e CmDefault) String() string

type CmDevice

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

func (CmDevice) String

func (e CmDevice) String() string

type CmDeviceDBNotFoundErr

type CmDeviceDBNotFoundErr int32
const (
	// CmDeviceAlreadyRegistered: Device already registered; returned by a CM device integration routine.
	CmDeviceAlreadyRegistered CmDeviceDBNotFoundErr = -4228
	// CmDeviceDBNotFoundErrValue: Preferences not found or loaded; returned by a CM device integration routine.
	CmDeviceDBNotFoundErrValue CmDeviceDBNotFoundErr = -4227
	// CmDeviceNotRegistered: Device not found; returned by a CM device integration routine.
	CmDeviceNotRegistered CmDeviceDBNotFoundErr = -4229
	// CmDeviceProfilesNotFound: Profiles not found; returned by a CM device integration routine.
	CmDeviceProfilesNotFound CmDeviceDBNotFoundErr = -4230
	// CmInternalCFErr: CoreFoundation failure; returned by a CM device integration routine.
	CmInternalCFErr   CmDeviceDBNotFoundErr = -4231
	CmPrefsSynchError CmDeviceDBNotFoundErr = -4232
)

func (CmDeviceDBNotFoundErr) String added in v0.6.17

func (e CmDeviceDBNotFoundErr) String() string

type CmDeviceState

type CmDeviceState int32
const (
	CmDeviceStateAppleRsvdBits  CmDeviceState = -16711681
	CmDeviceStateBusy           CmDeviceState = 0x2
	CmDeviceStateDefault        CmDeviceState = 0
	CmDeviceStateDeviceRsvdBits CmDeviceState = 0xff0000
	CmDeviceStateForceNotify    CmDeviceState = -2147483648
	CmDeviceStateOffline        CmDeviceState = 0x1
)

func (CmDeviceState) String

func (e CmDeviceState) String() string

type CmEmbedded

type CmEmbedded uint32
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 CmFlare0

type CmFlare0 uint32
const (
	CmFlare0Value CmFlare0 = 0
	CmFlare100    CmFlare0 = 0x1
)

func (CmFlare0) String added in v0.6.17

func (e CmFlare0) String() string

type CmGeometryUnknown

type CmGeometryUnknown uint32
const (
	CmGeometry045or450     CmGeometryUnknown = 0x1
	CmGeometry0dord0       CmGeometryUnknown = 0x2
	CmGeometryUnknownValue CmGeometryUnknown = 0
)

func (CmGeometryUnknown) String added in v0.6.17

func (e CmGeometryUnknown) String() string

type CmGray8Space

type CmGray8Space uint32
const (
	CmARGB32PmulSpace CmGray8Space = 6337
	// CmARGB32Space: # Discussion
	CmARGB32Space      CmGray8Space = 6273
	CmARGB64LPmulSpace CmGray8Space = 31425
	CmARGB64LSpace     CmGray8Space = 31361
	CmARGB64PmulSpace  CmGray8Space = 15041
	CmARGB64Space      CmGray8Space = 14977
	// 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  CmGray8Space = 2050
	CmCMYK64LSpace CmGray8Space = 27138
	// 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 CmGray8Space = 10754
	// CmGamutResult1Space: # Discussion
	CmGamutResult1Space CmGray8Space = 2828
	CmGray16LSpace      CmGray8Space = 16394
	// CmGray16Space: A luminance color space with a single 16-bit component, gray.
	CmGray16Space       CmGray8Space = 10
	CmGray8SpaceValue   CmGray8Space = 10250
	CmGrayA16PmulSpace  CmGray8Space = 8394
	CmGrayA16Space      CmGray8Space = 8330
	CmGrayA32LPmulSpace CmGray8Space = 16586
	CmGrayA32LSpace     CmGray8Space = 16522
	CmGrayA32PmulSpace  CmGray8Space = 202
	// CmGrayA32Space: A luminance color space with two components, a gray component followed by an alpha channel component.
	CmGrayA32Space CmGray8Space = 138
	// CmHLS32Space: An HLS color space composed of hue, lightness, and saturation components whose values are packed with 10 bits of storage per component.
	CmHLS32Space CmGray8Space = 2564
	// CmHSV32Space: An HSV color space composed of hue, saturation, and value components whose values are packed with 10 bits of storage per component.
	CmHSV32Space CmGray8Space = 2563
	// CmLAB24Space: # Discussion
	CmLAB24Space CmGray8Space = 8456
	// CmLAB32Space: # Discussion
	CmLAB32Space  CmGray8Space = 2568
	CmLAB48LSpace CmGray8Space = 26888
	// CmLAB48Space: # Discussion
	CmLAB48Space CmGray8Space = 10504
	// CmLUV32Space: An L*u*v* color space composed of L*, u*, and v* components whose values are packed with 10 bits per component.
	CmLUV32Space CmGray8Space = 2567
	// CmMCEight8Space: An eight-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component.
	CmMCEight8Space CmGray8Space = 9492
	// CmMCFive8Space: A five-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component.
	CmMCFive8Space CmGray8Space = 8721
	// CmMCSeven8Space: A seven-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component.
	CmMCSeven8Space CmGray8Space = 9235
	// CmMCSix8Space: A six-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component.
	CmMCSix8Space          CmGray8Space = 8978
	CmNamedIndexed32LSpace CmGray8Space = 26384
	// CmNamedIndexed32Space: A color space where each color is stored as a single 32-bit value, specifying an index into a named color space.
	CmNamedIndexed32Space CmGray8Space = 10000
	CmRGB16LSpace         CmGray8Space = 17665
	// CmRGB16Space: An RGB color space composed of red, green, and blue components whose values are packed with 5 bits of storage per component.
	CmRGB16Space CmGray8Space = 1281
	// CmRGB24Space: An RGB color space composed of red, green, and blue components whose values are packed with 8 bits of storage per component.
	CmRGB24Space CmGray8Space = 8449
	// CmRGB32Space: An RGB color space composed of red, green, and blue components whose values are packed with 8 bits of storage per component.
	CmRGB32Space  CmGray8Space = 2049
	CmRGB48LSpace CmGray8Space = 26881
	// CmRGB48Space: An RGB color space composed of red, green, and blue components whose values are packed with 16 bits of storage per component.
	CmRGB48Space      CmGray8Space = 10497
	CmRGB565LSpace    CmGray8Space = 17921
	CmRGB565Space     CmGray8Space = 1537
	CmRGBA32PmulSpace CmGray8Space = 2241
	// CmRGBA32Space: An RGB color space composed of red, green, and blue color value components, followed by an alpha channel component.
	CmRGBA32Space      CmGray8Space = 2177
	CmRGBA64LPmulSpace CmGray8Space = 27329
	CmRGBA64LSpace     CmGray8Space = 27265
	CmRGBA64PmulSpace  CmGray8Space = 10945
	CmRGBA64Space      CmGray8Space = 10881
	CmXYZ24Space       CmGray8Space = 8454
	// CmXYZ32Space: An XYZ color space composed of X, Y, and Z components whose values are packed with 10 bits per component.
	CmXYZ32Space  CmGray8Space = 2566
	CmXYZ48LSpace CmGray8Space = 26886
	CmXYZ48Space  CmGray8Space = 10502
	// CmYXY32Space: A Yxy color space composed of Y, x, and y components whose values are packed with 10 bits of storage per component.
	CmYXY32Space CmGray8Space = 2565
)

func (CmGray8Space) String added in v0.6.17

func (e CmGray8Space) String() string

type CmICCProfileVersion4

type CmICCProfileVersion4 uint32
const (
	CmCS1ProfileVersion       CmICCProfileVersion4 = 0x100
	CmCS2ProfileVersion       CmICCProfileVersion4 = 33554432
	CmICCProfileVersion2      CmICCProfileVersion4 = 0x2000000
	CmICCProfileVersion21     CmICCProfileVersion4 = 0x2100000
	CmICCProfileVersion4Value CmICCProfileVersion4 = 0x4000000
)

func (CmICCProfileVersion4) String added in v0.6.17

func (e CmICCProfileVersion4) String() string

type CmICCReservedFlagsMask

type CmICCReservedFlagsMask int32
const (
	CmBlackPointCompensationMask CmICCReservedFlagsMask = 0x4
	// CmCMSReservedFlagsMask: # Discussion
	CmCMSReservedFlagsMask CmICCReservedFlagsMask = -65536
	// CmEmbeddedMask: This mask provides access to bit 0 of the `flags` field, which specifies whether the profile is embedded.
	CmEmbeddedMask CmICCReservedFlagsMask = 0x1
	// CmEmbeddedUseMask: # Discussion
	CmEmbeddedUseMask CmICCReservedFlagsMask = 0x2
	// CmGamutCheckingMask: # Discussion
	CmGamutCheckingMask CmICCReservedFlagsMask = 0x80000
	// CmICCReservedFlagsMaskValue: # Discussion
	CmICCReservedFlagsMaskValue CmICCReservedFlagsMask = 0xffff
	// CmInterpolationMask: # Discussion
	CmInterpolationMask CmICCReservedFlagsMask = 0x40000
	// CmQualityMask: # Discussion
	CmQualityMask CmICCReservedFlagsMask = 0x30000
)

func (CmICCReservedFlagsMask) String added in v0.6.17

func (e CmICCReservedFlagsMask) String() string

type CmIlluminant

type CmIlluminant uint32
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 CmInputClass

type CmInputClass uint32
const (
	// CmAbstractClass: An abstract profile.
	CmAbstractClass CmInputClass = 'a'<<24 | 'b'<<16 | 's'<<8 | 't' // 'abst'
	// CmColorSpaceClass: A color space profile.
	CmColorSpaceClass CmInputClass = 's'<<24 | 'p'<<16 | 'a'<<8 | 'c' // 'spac'
	// CmDisplayClass: A display device profile defined for a monitor.
	CmDisplayClass CmInputClass = 'm'<<24 | 'n'<<16 | 't'<<8 | 'r' // 'mntr'
	// CmInputClassValue: An input device profile defined for a scanner.
	CmInputClassValue CmInputClass = 's'<<24 | 'c'<<16 | 'n'<<8 | 'r' // 'scnr'
	// CmLinkClass: A device link profile.
	CmLinkClass CmInputClass = 'l'<<24 | 'i'<<16 | 'n'<<8 | 'k' // 'link'
	// CmNamedColorClass: A named color space profile.
	CmNamedColorClass CmInputClass = 'n'<<24 | 'm'<<16 | 'c'<<8 | 'l' // 'nmcl'
	// CmOutputClass: An output device profile defined for a printer.
	CmOutputClass CmInputClass = 'p'<<24 | 'r'<<16 | 't'<<8 | 'r' // 'prtr'
)

func (CmInputClass) String added in v0.6.17

func (e CmInputClass) String() string

type CmInputUse

type CmInputUse uint32
const (
	CmDisplayUse    CmInputUse = 'd'<<24 | 'p'<<16 | 'l'<<8 | 'y' // 'dply'
	CmInputUseValue CmInputUse = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt'
	CmOutputUse     CmInputUse = 'o'<<24 | 'u'<<16 | 't'<<8 | 'p' // 'outp'
	CmProofUse      CmInputUse = 'p'<<24 | 'r'<<16 | 'u'<<8 | 'f' // 'pruf'
)

func (CmInputUse) String added in v0.6.17

func (e CmInputUse) String() string

type CmIterate

type CmIterate uint32
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 CmMacintosh

type CmMacintosh uint32
const (
	CmMacintoshValue  CmMacintosh = 'A'<<24 | 'P'<<16 | 'P'<<8 | 'L' // 'APPL'
	CmMicrosoft       CmMacintosh = 'M'<<24 | 'S'<<16 | 'F'<<8 | 'T' // 'MSFT'
	CmSiliconGraphics CmMacintosh = 'S'<<24 | 'G'<<16 | 'I'<<8 | ' ' // 'SGI '
	CmSolaris         CmMacintosh = 'S'<<24 | 'U'<<16 | 'N'<<8 | 'W' // 'SUNW'
	CmTaligent        CmMacintosh = 'T'<<24 | 'G'<<16 | 'N'<<8 | 'T' // 'TGNT'
)

func (CmMacintosh) String added in v0.6.17

func (e CmMacintosh) String() string

type CmMagic

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

func (CmMagic) String

func (e CmMagic) String() string

type CmNoColorPacking

type CmNoColorPacking uint32
const (
	Cm16_8ColorPacking CmNoColorPacking = 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 CmNoColorPacking = 0x2100
	// Cm32_16ColorPacking: The color values for two 16-bit color channels are stored in a 32-bit word.
	Cm32_16ColorPacking CmNoColorPacking = 0x2600
	// Cm32_32ColorPacking: The color value for a 32-bit color channel is stored in a 32-bit word.
	Cm32_32ColorPacking CmNoColorPacking = 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 CmNoColorPacking = 2048
	// Cm40_8ColorPacking: The color values for five 8-bit color channels are stored in consecutive bytes, for a total of 40 bits.
	Cm40_8ColorPacking CmNoColorPacking = 0x2200
	// Cm48_16ColorPacking: The color values for three 16-bit color channels are stored in 48 consecutive bits.
	Cm48_16ColorPacking CmNoColorPacking = 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 CmNoColorPacking = 0x2300
	// Cm56_8ColorPacking: The color values for seven 8-bit color channels are stored in consecutive bytes, for a total of 56 bits.
	Cm56_8ColorPacking CmNoColorPacking = 0x2400
	// Cm64_16ColorPacking: The color values for four 16-bit color channels are stored in 64 consecutive bits.
	Cm64_16ColorPacking CmNoColorPacking = 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 CmNoColorPacking = 0x2500
	Cm8_8ColorPacking  CmNoColorPacking = 0x2800
	// CmAlphaFirstPacking: An alpha channel is added to the color value as its first component.
	CmAlphaFirstPacking   CmNoColorPacking = 0x1000
	CmAlphaLastPacking    CmNoColorPacking = 0
	CmLittleEndianPacking CmNoColorPacking = 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 CmNoColorPacking = 0xa00
	// CmLong8ColorPacking: # Discussion
	CmLong8ColorPacking CmNoColorPacking = 0x800
	// CmNoColorPackingValue: This constant is not used for ColorSync bitmaps.
	CmNoColorPackingValue CmNoColorPacking = 0
	// CmOneBitDirectPacking: One bit is used as the pixel format.
	CmOneBitDirectPacking   CmNoColorPacking = 0xb00
	CmReverseChannelPacking CmNoColorPacking = 0x8000
	CmWord565ColorPacking   CmNoColorPacking = 0x600
	// CmWord5ColorPacking: The color values for three 5-bit color channels are stored consecutively in 16-bits, with the highest order bit unused.
	CmWord5ColorPacking CmNoColorPacking = 0x500
)

func (CmNoColorPacking) String added in v0.6.17

func (e CmNoColorPacking) String() string

type CmNoProfileBase

type CmNoProfileBase uint32
const (
	CmBufferBasedProfile CmNoProfileBase = 6
	// CmNoProfileBaseValue: The profile is temporary.
	CmNoProfileBaseValue CmNoProfileBase = 0
	CmPathBasedProfile   CmNoProfileBase = 5
)

func (CmNoProfileBase) String added in v0.6.17

func (e CmNoProfileBase) String() string

type CmNoSpace

type CmNoSpace uint32
const (
	// CmAlphaPmulSpace: A premultiplied alpha channel component is added to the color value.
	CmAlphaPmulSpace CmNoSpace = 0x40
	// CmAlphaSpace: An alpha channel component is added to the color value.
	CmAlphaSpace CmNoSpace = 0x80
	// CmCMYKSpace: A CMYK color space composed of cyan, magenta, yellow, and black.
	CmCMYKSpace CmNoSpace = 0x2
	// CmGamutResultSpace: # Discussion
	CmGamutResultSpace CmNoSpace = 0xc
	CmGrayAPmulSpace   CmNoSpace = 202
	// CmGrayASpace: A luminance color space with two components, a gray component followed by an alpha channel component.
	CmGrayASpace CmNoSpace = 138
	// CmGraySpace: A luminance color space with a single component, gray.
	CmGraySpace CmNoSpace = 0xa
	// CmHLSSpace: An HLS color space composed of hue, lightness, and saturation components.
	CmHLSSpace CmNoSpace = 0x4
	// CmHSVSpace: An HSV color space composed of hue, saturation, and value components.
	CmHSVSpace CmNoSpace = 0x3
	// CmLABSpace: An L*a*b* color space composed of L*, a*, b* components.
	CmLABSpace CmNoSpace = 0x8
	// CmLUVSpace: An L*u*v* color space composed of L*, u*, and v* components.
	CmLUVSpace CmNoSpace = 0x7
	// CmMCEightSpace: An eight-channel multichannel (HiFi) data color space.
	CmMCEightSpace CmNoSpace = 0x14
	// CmMCFiveSpace: A five-channel multichannel (HiFi) data color space.
	CmMCFiveSpace CmNoSpace = 0x11
	// CmMCSevenSpace: A seven-channel multichannel (HiFi) data color space.
	CmMCSevenSpace CmNoSpace = 0x13
	// CmMCSixSpace: A six-channel multichannel (HiFi) data color space.
	CmMCSixSpace CmNoSpace = 0x12
	// CmNamedIndexedSpace: A named indexed color space.
	CmNamedIndexedSpace CmNoSpace = 0x10
	// CmNoSpaceValue: The ColorSync Manager does not use this constant.
	CmNoSpaceValue  CmNoSpace = 0
	CmRGBAPmulSpace CmNoSpace = 193
	// CmRGBASpace: # Discussion
	CmRGBASpace CmNoSpace = 129
	// CmRGBSpace: An RGB color space composed of red, green, and blue components.
	CmRGBSpace CmNoSpace = 0x1
	// CmReservedSpace1: This field is reserved for use by QuickDraw GX.
	CmReservedSpace1 CmNoSpace = 0x9
	// CmReservedSpace2: This field is reserved for use by QuickDraw GX.
	CmReservedSpace2 CmNoSpace = 0xb
	// CmXYZSpace: An XYZ color space composed of X, Y, and Z components.
	CmXYZSpace CmNoSpace = 0x6
	// CmYXYSpace: A Yxy color space composed of Y, x, and y components.
	CmYXYSpace CmNoSpace = 0x5
)

func (CmNoSpace) String added in v0.6.17

func (e CmNoSpace) String() string

type CmNormalMode

type CmNormalMode uint32
const (
	// CmBestMode: Best mode indicates that the CMM should maximize resource usage to ensure the highest possible quality.
	CmBestMode CmNormalMode = 2
	// CmDraftMode: Draft mode indicates that the CMM should sacrifice quality, if necessary, to minimize resource requirements.
	CmDraftMode CmNormalMode = 1
	// CmNormalModeValue: This is the default setting.
	CmNormalModeValue CmNormalMode = 0
)

func (CmNormalMode) String added in v0.6.17

func (e CmNormalMode) String() string

type CmNumHeader

type CmNumHeader uint32
const (
	CmNumHeaderElements CmNumHeader = 10
)

func (CmNumHeader) String

func (e CmNumHeader) String() string

type CmOpenReadAccess

type CmOpenReadAccess uint32
const (
	// CmAbortWriteAccess: Cancel the current write attempt.
	CmAbortWriteAccess CmOpenReadAccess = 7
	// CmBeginAccess: Begin the process of procedural access.
	CmBeginAccess CmOpenReadAccess = 8
	// CmCloseAccess: Close the profile for reading or writing.
	CmCloseAccess CmOpenReadAccess = 5
	// CmCreateNewAccess: Create a new data stream for the profile.
	CmCreateNewAccess CmOpenReadAccess = 6
	// CmEndAccess: End the process of procedural access.
	CmEndAccess           CmOpenReadAccess = 9
	CmOpenReadAccessValue CmOpenReadAccess = 1
	// CmOpenWriteAccess: Open the profile for writing.
	CmOpenWriteAccess CmOpenReadAccess = 2
	// CmReadAccess: Read the number of bytes specified by the `size` parameter.
	CmReadAccess CmOpenReadAccess = 3
	// CmWriteAccess: Write the number of bytes specified by the `size` parameter.
	CmWriteAccess CmOpenReadAccess = 4
)

func (CmOpenReadAccess) String added in v0.6.17

func (e CmOpenReadAccess) String() string

type CmOpenReadSpool

type CmOpenReadSpool uint32
const (
	// CmCloseSpool: Directs the function to complete the data transfer.
	CmCloseSpool CmOpenReadSpool = 5
	// CmOpenReadSpoolValue: Directs the function to begin the process of reading data.
	CmOpenReadSpoolValue CmOpenReadSpool = 1
	// CmOpenWriteSpool: Directs the function to begin the process of writing data.
	CmOpenWriteSpool CmOpenReadSpool = 2
	// CmReadSpool: Directs the function to read the number of bytes specified by the [CMFlattenProcPtr] function’s `size` parameter.
	CmReadSpool CmOpenReadSpool = 3
	// CmWriteSpool: Directs the function to write the number of bytes specified by the [CMFlattenProcPtr] function’s `size` parameter.
	CmWriteSpool CmOpenReadSpool = 4
)

func (CmOpenReadSpool) String added in v0.6.17

func (e CmOpenReadSpool) String() string

type CmOriginalProfileLocationSize

type CmOriginalProfileLocationSize uint32
const (
	CmCurrentProfileLocationSize       CmOriginalProfileLocationSize = 1032
	CmOriginalProfileLocationSizeValue CmOriginalProfileLocationSize = 72
)

func (CmOriginalProfileLocationSize) String added in v0.6.17

type CmP

type CmP uint32
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 CmPS2CRDVMSizeTag

type CmPS2CRDVMSizeTag uint32
const (
	CmMakeAndModelTag         CmPS2CRDVMSizeTag = 'm'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'mmod'
	CmNativeDisplayInfoTag    CmPS2CRDVMSizeTag = 'n'<<24 | 'd'<<16 | 'i'<<8 | 'n' // 'ndin'
	CmPS2CRDVMSizeTagValue    CmPS2CRDVMSizeTag = 'p'<<24 | 's'<<16 | 'v'<<8 | 'm' // 'psvm'
	CmProfileDescriptionMLTag CmPS2CRDVMSizeTag = 'd'<<24 | 's'<<16 | 'c'<<8 | 'm' // 'dscm'
	// CmVideoCardGammaTag: # Discussion
	CmVideoCardGammaTag CmPS2CRDVMSizeTag = 'v'<<24 | 'c'<<16 | 'g'<<8 | 't' // 'vcgt'
)

func (CmPS2CRDVMSizeTag) String added in v0.6.17

func (e CmPS2CRDVMSizeTag) String() string

type CmParametric

type CmParametric uint32
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 CmPerceptual

type CmPerceptual uint32
const (
	// 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 CmPerceptual = 3
	// CmPerceptualValue: All the colors of a given gamut can be scaled to fit within another gamut.
	CmPerceptualValue CmPerceptual = 0
	// CmRelativeColorimetric: The colors that fall within the gamuts of both devices are left unchanged.
	CmRelativeColorimetric CmPerceptual = 1
	// CmSaturation: The relative saturation of colors is maintained from gamut to gamut.
	CmSaturation CmPerceptual = 2
)

func (CmPerceptual) String added in v0.6.17

func (e CmPerceptual) String() string

type CmProfileIterateData

type CmProfileIterateData uint32
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 CmProfileMajorVersionMask

type CmProfileMajorVersionMask int32
const (
	CmCurrentProfileMajorVersion   CmProfileMajorVersionMask = 0x2000000
	CmProfileMajorVersionMaskValue CmProfileMajorVersionMask = -16777216
)

func (CmProfileMajorVersionMask) String added in v0.6.17

func (e CmProfileMajorVersionMask) String() string

type CmPrtrDefaultScreens

type CmPrtrDefaultScreens uint32
const (
	// CmLinesPer: Lines per unit; can have an associated value of `0` for lines per centimeter or `1` for lines per inch.
	CmLinesPer CmPrtrDefaultScreens = 1
	// CmPrtrDefaultScreensValue: Use printer default screens; can have an associated value of `0` for `false` or `1` for `true`.
	CmPrtrDefaultScreensValue CmPrtrDefaultScreens = 0
)

func (CmPrtrDefaultScreens) String added in v0.6.17

func (e CmPrtrDefaultScreens) String() string

type CmReflective

type CmReflective uint32
const (
	// CmGlossy: If the bit 1 of the associated mask is `0` then glossy; if `1` then matte.
	CmGlossy CmReflective = 1
	// CmReflectiveValue: If the bit 0 of the associated mask is `0` then reflective media; if `1` then transparency media.
	CmReflectiveValue CmReflective = 0
)

func (CmReflective) String added in v0.6.17

func (e CmReflective) String() string

type CmReflectiveTransparentMask

type CmReflectiveTransparentMask uint32
const (
	// CmGlossyMatteMask: # Discussion
	CmGlossyMatteMask CmReflectiveTransparentMask = 0x2
	// CmReflectiveTransparentMaskValue: # Discussion
	CmReflectiveTransparentMaskValue CmReflectiveTransparentMask = 0x1
)

func (CmReflectiveTransparentMask) String added in v0.6.17

type CmSRGB16Channel

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

func (CmSRGB16Channel) String

func (e CmSRGB16Channel) String() string

type CmScannerDeviceClass

type CmScannerDeviceClass uint32
const (
	CmCameraDeviceClass       CmScannerDeviceClass = 'c'<<24 | 'm'<<16 | 'r'<<8 | 'a' // 'cmra'
	CmDisplayDeviceClass      CmScannerDeviceClass = 'm'<<24 | 'n'<<16 | 't'<<8 | 'r' // 'mntr'
	CmPrinterDeviceClass      CmScannerDeviceClass = 'p'<<24 | 'r'<<16 | 't'<<8 | 'r' // 'prtr'
	CmProofDeviceClass        CmScannerDeviceClass = 'p'<<24 | 'r'<<16 | 'u'<<8 | 'f' // 'pruf'
	CmScannerDeviceClassValue CmScannerDeviceClass = 's'<<24 | 'c'<<16 | 'n'<<8 | 'r' // 'scnr'
)

func (CmScannerDeviceClass) String added in v0.6.17

func (e CmScannerDeviceClass) String() string

type CmSigCrdInfoType

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

func (CmSigCrdInfoType) String added in v0.6.17

func (e CmSigCrdInfoType) String() string

type CmSigPS2CRDVMSizeType

type CmSigPS2CRDVMSizeType uint32
const (
	CmSigMakeAndModelType          CmSigPS2CRDVMSizeType = 'm'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'mmod'
	CmSigMultiLocalizedUniCodeType CmSigPS2CRDVMSizeType = 'm'<<24 | 'l'<<16 | 'u'<<8 | 'c' // 'mluc'
	CmSigNativeDisplayInfoType     CmSigPS2CRDVMSizeType = 'n'<<24 | 'd'<<16 | 'i'<<8 | 'n' // 'ndin'
	CmSigPS2CRDVMSizeTypeValue     CmSigPS2CRDVMSizeType = 'p'<<24 | 's'<<16 | 'v'<<8 | 'm' // 'psvm'
	// CmSigVideoCardGammaType: # Discussion
	CmSigVideoCardGammaType CmSigPS2CRDVMSizeType = 'v'<<24 | 'c'<<16 | 'g'<<8 | 't' // 'vcgt'
)

func (CmSigPS2CRDVMSizeType) String added in v0.6.17

func (e CmSigPS2CRDVMSizeType) String() string

type CmSpotFunction

type CmSpotFunction uint32
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 CmStdobsUnknown

type CmStdobsUnknown uint32
const (
	CmStdobs1931TwoDegrees CmStdobsUnknown = 0x1
	CmStdobs1964TenDegrees CmStdobsUnknown = 0x2
	CmStdobsUnknownValue   CmStdobsUnknown = 0
)

func (CmStdobsUnknown) String added in v0.6.17

func (e CmStdobsUnknown) String() string

type CmTechnology

type CmTechnology uint32
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 CmUseDefaultChromaticAdaptation

type CmUseDefaultChromaticAdaptation uint32
const (
	CmBradfordChromaticAdaptation        CmUseDefaultChromaticAdaptation = 3
	CmLinearChromaticAdaptation          CmUseDefaultChromaticAdaptation = 1
	CmUseDefaultChromaticAdaptationValue CmUseDefaultChromaticAdaptation = 0
	CmVonKriesChromaticAdaptation        CmUseDefaultChromaticAdaptation = 2
)

func (CmUseDefaultChromaticAdaptation) String added in v0.6.17

type CmVideoCardGamma

type CmVideoCardGamma uint32
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 CmXYZData

type CmXYZData uint32
const (
	Cm10CLRData CmXYZData = 'A'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'ACLR'
	Cm11CLRData CmXYZData = 'B'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'BCLR'
	Cm12CLRData CmXYZData = 'C'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'CCLR'
	Cm13CLRData CmXYZData = 'D'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'DCLR'
	Cm14CLRData CmXYZData = 'E'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'ECLR'
	Cm15CLRData CmXYZData = 'F'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'FCLR'
	Cm3CLRData  CmXYZData = '3'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '3CLR'
	Cm4CLRData  CmXYZData = '4'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '4CLR'
	Cm5CLRData  CmXYZData = '5'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '5CLR'
	Cm6CLRData  CmXYZData = '6'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '6CLR'
	Cm7CLRData  CmXYZData = '7'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '7CLR'
	Cm8CLRData  CmXYZData = '8'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '8CLR'
	Cm9CLRData  CmXYZData = '9'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '9CLR'
	// CmCMYData: The CMY data color space.
	CmCMYData CmXYZData = 'C'<<24 | 'M'<<16 | 'Y'<<8 | ' ' // 'CMY '
	// CmCMYKData: The CMYK data color space.
	CmCMYKData CmXYZData = 'C'<<24 | 'M'<<16 | 'Y'<<8 | 'K' // 'CMYK'
	// CmGrayData: The Gray data color space.
	CmGrayData CmXYZData = 'G'<<24 | 'R'<<16 | 'A'<<8 | 'Y' // 'GRAY'
	// CmHLSData: The HLS data color space.
	CmHLSData CmXYZData = 'H'<<24 | 'L'<<16 | 'S'<<8 | ' ' // 'HLS '
	// CmHSVData: The HSV data color space.
	CmHSVData CmXYZData = 'H'<<24 | 'S'<<16 | 'V'<<8 | ' ' // 'HSV '
	// CmLabData: The L*a*b* data color space.
	CmLabData CmXYZData = 'L'<<24 | 'a'<<16 | 'b'<<8 | ' ' // 'Lab '
	// CmLuvData: The L*u*v* data color space.
	CmLuvData CmXYZData = 'L'<<24 | 'u'<<16 | 'v'<<8 | ' ' // 'Luv '
	// CmMCH5Data: The five-channel multichannel (HiFi) data color space.
	CmMCH5Data CmXYZData = 'M'<<24 | 'C'<<16 | 'H'<<8 | '5' // 'MCH5'
	// CmMCH6Data: The six-channel multichannel (HiFi) data color space.
	CmMCH6Data CmXYZData = 'M'<<24 | 'C'<<16 | 'H'<<8 | '6' // 'MCH6'
	// CmMCH7Data: The seven-channel multichannel (HiFi) data color space.
	CmMCH7Data CmXYZData = 'M'<<24 | 'C'<<16 | 'H'<<8 | '7' // 'MCH7'
	// CmMCH8Data: The eight-channel multichannel (HiFi) data color space.
	CmMCH8Data  CmXYZData = 'M'<<24 | 'C'<<16 | 'H'<<8 | '8' // 'MCH8'
	CmNamedData CmXYZData = 'N'<<24 | 'A'<<16 | 'M'<<8 | 'E' // 'NAME'
	// CmRGBData: The RGB data color space.
	CmRGBData  CmXYZData = 'R'<<24 | 'G'<<16 | 'B'<<8 | ' ' // 'RGB '
	CmSRGBData CmXYZData = 's'<<24 | 'R'<<16 | 'G'<<8 | 'B' // 'sRGB'
	// CmXYZDataValue: The XYZ data color space.
	CmXYZDataValue CmXYZData = 'X'<<24 | 'Y'<<16 | 'Z'<<8 | ' ' // 'XYZ '
	CmYCbCrData    CmXYZData = 'Y'<<24 | 'C'<<16 | 'b'<<8 | 'r' // 'YCbr'
	// CmYxyData: The Yxy data color space.
	CmYxyData CmXYZData = 'Y'<<24 | 'x'<<16 | 'y'<<8 | ' ' // 'Yxy '
)

func (CmXYZData) String added in v0.6.17

func (e CmXYZData) String() string

type ColorSpec

type ColorSpec struct {
	Value int16
	Rgb   RGBColor
}

ColorSpec

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

type ColorTable

type ColorTable struct {
	// contains filtered or unexported fields
}

ColorTable

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

func (*ColorTable) CtFlags

func (s *ColorTable) CtFlags() int16

CtFlags returns the CtFlags field from the record's packed storage.

func (*ColorTable) CtSeed

func (s *ColorTable) CtSeed() int32

CtSeed returns the CtSeed field from the record's packed storage.

func (*ColorTable) CtSize

func (s *ColorTable) CtSize() int16

CtSize returns the CtSize field from the record's packed storage.

func (*ColorTable) CtTable

func (s *ColorTable) CtTable() [1]ColorSpec

CtTable returns the CtTable field from the record's packed storage.

func (*ColorTable) SetCtFlags added in v0.6.17

func (s *ColorTable) SetCtFlags(v int16)

SetCtFlags updates the CtFlags field in the record's packed storage.

func (*ColorTable) SetCtSeed added in v0.6.17

func (s *ColorTable) SetCtSeed(v int32)

SetCtSeed updates the CtSeed field in the record's packed storage.

func (*ColorTable) SetCtSize added in v0.6.17

func (s *ColorTable) SetCtSize(v int16)

SetCtSize updates the CtSize field in the record's packed storage.

func (*ColorTable) SetCtTable added in v0.6.17

func (s *ColorTable) SetCtTable(v [1]ColorSpec)

SetCtTable updates the CtTable field in the record's packed storage.

type CsMax

type CsMax uint32
const (
	CS_MAX_PATH CsMax = 1024
)

func (CsMax) String

func (e CsMax) String() string

type DelimiterInfo

type DelimiterInfo struct {
	StartDelimiter [2]uint8 // The start delimiter for an embedded command. By default, the start delimiter is “`[[`”.
	EndDelimiter   [2]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 uint32
const (
	ExtendedBlock    Extended = 0x4c43
	ExtendedBlockLen Extended = 40
)

func (Extended) String

func (e Extended) String() string

type FMFontFamilyInstance

type FMFontFamilyInstance struct {
	FontFamily FMFontFamily
	FontStyle  FMFontStyle
}

FMFontFamilyInstance

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

type FMFontFamilyInstanceIterator

type FMFontFamilyInstanceIterator struct {
	// contains filtered or unexported fields
}

FMFontFamilyInstanceIterator

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

func (*FMFontFamilyInstanceIterator) Reserved

func (s *FMFontFamilyInstanceIterator) Reserved() [16]uint32

Reserved returns the Reserved field from the record's packed storage.

func (*FMFontFamilyInstanceIterator) SetReserved added in v0.6.17

func (s *FMFontFamilyInstanceIterator) SetReserved(v [16]uint32)

SetReserved updates the Reserved field in the record's packed storage.

type FMFontFamilyIterator

type FMFontFamilyIterator struct {
	// contains filtered or unexported fields
}

FMFontFamilyIterator

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

func (*FMFontFamilyIterator) Reserved

func (s *FMFontFamilyIterator) Reserved() [16]uint32

Reserved returns the Reserved field from the record's packed storage.

func (*FMFontFamilyIterator) SetReserved added in v0.6.17

func (s *FMFontFamilyIterator) SetReserved(v [16]uint32)

SetReserved updates the Reserved field in the record's packed storage.

type FMFontIterator

type FMFontIterator struct {
	// contains filtered or unexported fields
}

FMFontIterator

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

func (*FMFontIterator) Reserved

func (s *FMFontIterator) Reserved() [16]uint32

Reserved returns the Reserved field from the record's packed storage.

func (*FMFontIterator) SetReserved added in v0.6.17

func (s *FMFontIterator) SetReserved(v [16]uint32)

SetReserved updates the Reserved field in the record's packed storage.

type FMInput

type FMInput struct {
	Family   int16
	Size     int16
	Face     uint8
	NeedBits bool
	Device   int16
	Numer    Point
	Denom    Point
}

FMInput

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

type FamRec

type FamRec struct {
	// contains filtered or unexported fields
}

FamRec

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

func (*FamRec) FfAscent

func (s *FamRec) FfAscent() int16

FfAscent returns the FfAscent field from the record's packed storage.

func (*FamRec) FfDescent

func (s *FamRec) FfDescent() int16

FfDescent returns the FfDescent field from the record's packed storage.

func (*FamRec) FfFamID

func (s *FamRec) FfFamID() int16

FfFamID returns the FfFamID field from the record's packed storage.

func (*FamRec) FfFirstChar

func (s *FamRec) FfFirstChar() int16

FfFirstChar returns the FfFirstChar field from the record's packed storage.

func (*FamRec) FfFlags

func (s *FamRec) FfFlags() int16

FfFlags returns the FfFlags field from the record's packed storage.

func (*FamRec) FfIntl

func (s *FamRec) FfIntl() [2]int16

FfIntl returns the FfIntl field from the record's packed storage.

func (*FamRec) FfKernOff

func (s *FamRec) FfKernOff() int32

FfKernOff returns the FfKernOff field from the record's packed storage.

func (*FamRec) FfLastChar

func (s *FamRec) FfLastChar() int16

FfLastChar returns the FfLastChar field from the record's packed storage.

func (*FamRec) FfLeading

func (s *FamRec) FfLeading() int16

FfLeading returns the FfLeading field from the record's packed storage.

func (*FamRec) FfProperty

func (s *FamRec) FfProperty() [9]int16

FfProperty returns the FfProperty field from the record's packed storage.

func (*FamRec) FfStylOff

func (s *FamRec) FfStylOff() int32

FfStylOff returns the FfStylOff field from the record's packed storage.

func (*FamRec) FfVersion

func (s *FamRec) FfVersion() int16

FfVersion returns the FfVersion field from the record's packed storage.

func (*FamRec) FfWTabOff

func (s *FamRec) FfWTabOff() int32

FfWTabOff returns the FfWTabOff field from the record's packed storage.

func (*FamRec) FfWidMax

func (s *FamRec) FfWidMax() int16

FfWidMax returns the FfWidMax field from the record's packed storage.

func (*FamRec) SetFfAscent added in v0.6.17

func (s *FamRec) SetFfAscent(v int16)

SetFfAscent updates the FfAscent field in the record's packed storage.

func (*FamRec) SetFfDescent added in v0.6.17

func (s *FamRec) SetFfDescent(v int16)

SetFfDescent updates the FfDescent field in the record's packed storage.

func (*FamRec) SetFfFamID added in v0.6.17

func (s *FamRec) SetFfFamID(v int16)

SetFfFamID updates the FfFamID field in the record's packed storage.

func (*FamRec) SetFfFirstChar added in v0.6.17

func (s *FamRec) SetFfFirstChar(v int16)

SetFfFirstChar updates the FfFirstChar field in the record's packed storage.

func (*FamRec) SetFfFlags added in v0.6.17

func (s *FamRec) SetFfFlags(v int16)

SetFfFlags updates the FfFlags field in the record's packed storage.

func (*FamRec) SetFfIntl added in v0.6.17

func (s *FamRec) SetFfIntl(v [2]int16)

SetFfIntl updates the FfIntl field in the record's packed storage.

func (*FamRec) SetFfKernOff added in v0.6.17

func (s *FamRec) SetFfKernOff(v int32)

SetFfKernOff updates the FfKernOff field in the record's packed storage.

func (*FamRec) SetFfLastChar added in v0.6.17

func (s *FamRec) SetFfLastChar(v int16)

SetFfLastChar updates the FfLastChar field in the record's packed storage.

func (*FamRec) SetFfLeading added in v0.6.17

func (s *FamRec) SetFfLeading(v int16)

SetFfLeading updates the FfLeading field in the record's packed storage.

func (*FamRec) SetFfProperty added in v0.6.17

func (s *FamRec) SetFfProperty(v [9]int16)

SetFfProperty updates the FfProperty field in the record's packed storage.

func (*FamRec) SetFfStylOff added in v0.6.17

func (s *FamRec) SetFfStylOff(v int32)

SetFfStylOff updates the FfStylOff field in the record's packed storage.

func (*FamRec) SetFfVersion added in v0.6.17

func (s *FamRec) SetFfVersion(v int16)

SetFfVersion updates the FfVersion field in the record's packed storage.

func (*FamRec) SetFfWTabOff added in v0.6.17

func (s *FamRec) SetFfWTabOff(v int32)

SetFfWTabOff updates the FfWTabOff field in the record's packed storage.

func (*FamRec) SetFfWidMax added in v0.6.17

func (s *FamRec) SetFfWidMax(v int16)

SetFfWidMax updates the FfWidMax field in the record's packed storage.

type FontAssoc

type FontAssoc struct {
	NumAssoc int16
}

FontAssoc

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

type FontInfo

type FontInfo struct {
	Ascent  int16
	Descent int16
	WidMax  int16
	Leading int16
}

FontInfo

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

type FontRec

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

FontRec

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

type GDevice

type GDevice struct {
	// contains filtered or unexported fields
}

GDevice

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

func (*GDevice) GdCCBytes

func (s *GDevice) GdCCBytes() int16

GdCCBytes returns the GdCCBytes field from the record's packed storage.

func (*GDevice) GdCCDepth

func (s *GDevice) GdCCDepth() int16

GdCCDepth returns the GdCCDepth field from the record's packed storage.

func (*GDevice) GdCCXData

func (s *GDevice) GdCCXData() kernel.Pointer

GdCCXData returns the GdCCXData field from the record's packed storage.

func (*GDevice) GdCCXMask

func (s *GDevice) GdCCXMask() kernel.Pointer

GdCCXMask returns the GdCCXMask field from the record's packed storage.

func (*GDevice) GdCompProc

func (s *GDevice) GdCompProc() kernel.Pointer

GdCompProc returns the GdCompProc field from the record's packed storage.

func (*GDevice) GdExt

func (s *GDevice) GdExt() kernel.Pointer

GdExt returns the GdExt field from the record's packed storage.

func (*GDevice) GdFlags

func (s *GDevice) GdFlags() int16

GdFlags returns the GdFlags field from the record's packed storage.

func (*GDevice) GdID

func (s *GDevice) GdID() int16

GdID returns the GdID field from the record's packed storage.

func (*GDevice) GdITable

func (s *GDevice) GdITable() kernel.Pointer

GdITable returns the GdITable field from the record's packed storage.

func (*GDevice) GdMode

func (s *GDevice) GdMode() int32

GdMode returns the GdMode field from the record's packed storage.

func (*GDevice) GdNextGD

func (s *GDevice) GdNextGD() uintptr

GdNextGD returns the GdNextGD field from the record's packed storage.

func (*GDevice) GdPMap

func (s *GDevice) GdPMap() uintptr

GdPMap returns the GdPMap field from the record's packed storage.

func (*GDevice) GdRect

func (s *GDevice) GdRect() Rect

GdRect returns the GdRect field from the record's packed storage.

func (*GDevice) GdRefCon

func (s *GDevice) GdRefCon() int32

GdRefCon returns the GdRefCon field from the record's packed storage.

func (*GDevice) GdRefNum

func (s *GDevice) GdRefNum() int16

GdRefNum returns the GdRefNum field from the record's packed storage.

func (*GDevice) GdResPref

func (s *GDevice) GdResPref() int16

GdResPref returns the GdResPref field from the record's packed storage.

func (*GDevice) GdSearchProc

func (s *GDevice) GdSearchProc() kernel.Pointer

GdSearchProc returns the GdSearchProc field from the record's packed storage.

func (*GDevice) GdType

func (s *GDevice) GdType() int16

GdType returns the GdType field from the record's packed storage.

func (*GDevice) SetGdCCBytes added in v0.6.17

func (s *GDevice) SetGdCCBytes(v int16)

SetGdCCBytes updates the GdCCBytes field in the record's packed storage.

func (*GDevice) SetGdCCDepth added in v0.6.17

func (s *GDevice) SetGdCCDepth(v int16)

SetGdCCDepth updates the GdCCDepth field in the record's packed storage.

func (*GDevice) SetGdCCXData added in v0.6.17

func (s *GDevice) SetGdCCXData(v kernel.Pointer)

SetGdCCXData updates the GdCCXData field in the record's packed storage.

func (*GDevice) SetGdCCXMask added in v0.6.17

func (s *GDevice) SetGdCCXMask(v kernel.Pointer)

SetGdCCXMask updates the GdCCXMask field in the record's packed storage.

func (*GDevice) SetGdCompProc added in v0.6.17

func (s *GDevice) SetGdCompProc(v kernel.Pointer)

SetGdCompProc updates the GdCompProc field in the record's packed storage.

func (*GDevice) SetGdExt added in v0.6.17

func (s *GDevice) SetGdExt(v kernel.Pointer)

SetGdExt updates the GdExt field in the record's packed storage.

func (*GDevice) SetGdFlags added in v0.6.17

func (s *GDevice) SetGdFlags(v int16)

SetGdFlags updates the GdFlags field in the record's packed storage.

func (*GDevice) SetGdID added in v0.6.17

func (s *GDevice) SetGdID(v int16)

SetGdID updates the GdID field in the record's packed storage.

func (*GDevice) SetGdITable added in v0.6.17

func (s *GDevice) SetGdITable(v kernel.Pointer)

SetGdITable updates the GdITable field in the record's packed storage.

func (*GDevice) SetGdMode added in v0.6.17

func (s *GDevice) SetGdMode(v int32)

SetGdMode updates the GdMode field in the record's packed storage.

func (*GDevice) SetGdNextGD added in v0.6.17

func (s *GDevice) SetGdNextGD(v uintptr)

SetGdNextGD updates the GdNextGD field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*GDevice) SetGdPMap added in v0.6.17

func (s *GDevice) SetGdPMap(v uintptr)

SetGdPMap updates the GdPMap field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*GDevice) SetGdRect added in v0.6.17

func (s *GDevice) SetGdRect(v Rect)

SetGdRect updates the GdRect field in the record's packed storage.

func (*GDevice) SetGdRefCon added in v0.6.17

func (s *GDevice) SetGdRefCon(v int32)

SetGdRefCon updates the GdRefCon field in the record's packed storage.

func (*GDevice) SetGdRefNum added in v0.6.17

func (s *GDevice) SetGdRefNum(v int16)

SetGdRefNum updates the GdRefNum field in the record's packed storage.

func (*GDevice) SetGdResPref added in v0.6.17

func (s *GDevice) SetGdResPref(v int16)

SetGdResPref updates the GdResPref field in the record's packed storage.

func (*GDevice) SetGdSearchProc added in v0.6.17

func (s *GDevice) SetGdSearchProc(v kernel.Pointer)

SetGdSearchProc updates the GdSearchProc field in the record's packed storage.

func (*GDevice) SetGdType added in v0.6.17

func (s *GDevice) SetGdType(v int16)

SetGdType updates the GdType field in the record's packed storage.

type GrafPort

type GrafPort struct {
	Whatever [87]int16
}

GrafPort

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

type HIShapeRef

type HIShapeRef uintptr

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

func IconRefToHIShape

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

IconRefToHIShape.

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

type ICAppSpec

type ICAppSpec struct {
	// contains filtered or unexported fields
}

ICAppSpec

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

func (*ICAppSpec) FCreator

func (s *ICAppSpec) FCreator() uint32

FCreator returns the FCreator field from the record's packed storage.

func (*ICAppSpec) Name

func (s *ICAppSpec) Name() [64]uint8

Name returns the Name field from the record's packed storage.

func (*ICAppSpec) SetFCreator added in v0.6.17

func (s *ICAppSpec) SetFCreator(v uint32)

SetFCreator updates the FCreator field in the record's packed storage.

func (*ICAppSpec) SetName added in v0.6.17

func (s *ICAppSpec) SetName(v [64]uint8)

SetName updates the Name field in the record's packed storage.

type ICAppSpecList

type ICAppSpecList struct {
	NumberOfItems int16
	AppSpecs      [1]ICAppSpec
}

ICAppSpecList

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

type ICAttr

type ICAttr = uint32

type ICCharTable

type ICCharTable struct {
	NetToMac [256]uint8
	MacToNet [256]uint8
}

ICCharTable

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

type ICFileSpec

type ICFileSpec struct {
	// contains filtered or unexported fields
}

ICFileSpec

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

func (*ICFileSpec) Alias

func (s *ICFileSpec) Alias() [6]byte

Alias returns the Alias field from the record's packed storage.

func (*ICFileSpec) Fss

func (s *ICFileSpec) Fss() [70]byte

Fss returns the Fss field from the record's packed storage.

func (*ICFileSpec) SetAlias added in v0.6.17

func (s *ICFileSpec) SetAlias(v [6]byte)

SetAlias updates the Alias field in the record's packed storage.

func (*ICFileSpec) SetFss added in v0.6.17

func (s *ICFileSpec) SetFss(v [70]byte)

SetFss updates the Fss field in the record's packed storage.

func (*ICFileSpec) SetVolCreationDate added in v0.6.17

func (s *ICFileSpec) SetVolCreationDate(v int32)

SetVolCreationDate updates the VolCreationDate field in the record's packed storage.

func (*ICFileSpec) SetVolName added in v0.6.17

func (s *ICFileSpec) SetVolName(v [32]uint8)

SetVolName updates the VolName field in the record's packed storage.

func (*ICFileSpec) VolCreationDate

func (s *ICFileSpec) VolCreationDate() int32

VolCreationDate returns the VolCreationDate field from the record's packed storage.

func (*ICFileSpec) VolName

func (s *ICFileSpec) VolName() [32]uint8

VolName returns the VolName field from the record's packed storage.

type ICFontRecord

type ICFontRecord struct {
	Size int16
	Face uint8
	Pad  int8
	Font [256]uint8
}

ICFontRecord

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

type ICInstance

type ICInstance = unsafe.Pointer

type ICMapEntry

type ICMapEntry struct {
	// contains filtered or unexported fields
}

ICMapEntry

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

func (*ICMapEntry) CreatorAppName

func (s *ICMapEntry) CreatorAppName() [256]uint8

CreatorAppName returns the CreatorAppName field from the record's packed storage.

func (*ICMapEntry) EntryName

func (s *ICMapEntry) EntryName() [256]uint8

EntryName returns the EntryName field from the record's packed storage.

func (*ICMapEntry) Extension

func (s *ICMapEntry) Extension() [256]uint8

Extension returns the Extension field from the record's packed storage.

func (*ICMapEntry) FileCreator

func (s *ICMapEntry) FileCreator() uint32

FileCreator returns the FileCreator field from the record's packed storage.

func (*ICMapEntry) FileType

func (s *ICMapEntry) FileType() uint32

FileType returns the FileType field from the record's packed storage.

func (*ICMapEntry) FixedLength

func (s *ICMapEntry) FixedLength() ICFixedLength

FixedLength returns the FixedLength field from the record's packed storage.

func (*ICMapEntry) Flags

func (s *ICMapEntry) Flags() ICMapEntryFlags

Flags returns the Flags field from the record's packed storage.

func (*ICMapEntry) MIMEType

func (s *ICMapEntry) MIMEType() [256]uint8

MIMEType returns the MIMEType field from the record's packed storage.

func (*ICMapEntry) PostAppName

func (s *ICMapEntry) PostAppName() [256]uint8

PostAppName returns the PostAppName field from the record's packed storage.

func (*ICMapEntry) PostCreator

func (s *ICMapEntry) PostCreator() uint32

PostCreator returns the PostCreator field from the record's packed storage.

func (*ICMapEntry) SetCreatorAppName added in v0.6.17

func (s *ICMapEntry) SetCreatorAppName(v [256]uint8)

SetCreatorAppName updates the CreatorAppName field in the record's packed storage.

func (*ICMapEntry) SetEntryName added in v0.6.17

func (s *ICMapEntry) SetEntryName(v [256]uint8)

SetEntryName updates the EntryName field in the record's packed storage.

func (*ICMapEntry) SetExtension added in v0.6.17

func (s *ICMapEntry) SetExtension(v [256]uint8)

SetExtension updates the Extension field in the record's packed storage.

func (*ICMapEntry) SetFileCreator added in v0.6.17

func (s *ICMapEntry) SetFileCreator(v uint32)

SetFileCreator updates the FileCreator field in the record's packed storage.

func (*ICMapEntry) SetFileType added in v0.6.17

func (s *ICMapEntry) SetFileType(v uint32)

SetFileType updates the FileType field in the record's packed storage.

func (*ICMapEntry) SetFixedLength added in v0.6.17

func (s *ICMapEntry) SetFixedLength(v ICFixedLength)

SetFixedLength updates the FixedLength field in the record's packed storage.

func (*ICMapEntry) SetFlags added in v0.6.17

func (s *ICMapEntry) SetFlags(v ICMapEntryFlags)

SetFlags updates the Flags field in the record's packed storage.

func (*ICMapEntry) SetMIMEType added in v0.6.17

func (s *ICMapEntry) SetMIMEType(v [256]uint8)

SetMIMEType updates the MIMEType field in the record's packed storage.

func (*ICMapEntry) SetPostAppName added in v0.6.17

func (s *ICMapEntry) SetPostAppName(v [256]uint8)

SetPostAppName updates the PostAppName field in the record's packed storage.

func (*ICMapEntry) SetPostCreator added in v0.6.17

func (s *ICMapEntry) SetPostCreator(v uint32)

SetPostCreator updates the PostCreator field in the record's packed storage.

func (*ICMapEntry) SetTotalLength added in v0.6.17

func (s *ICMapEntry) SetTotalLength(v int16)

SetTotalLength updates the TotalLength field in the record's packed storage.

func (*ICMapEntry) SetVersion added in v0.6.17

func (s *ICMapEntry) SetVersion(v int16)

SetVersion updates the Version field in the record's packed storage.

func (*ICMapEntry) TotalLength

func (s *ICMapEntry) TotalLength() int16

TotalLength returns the TotalLength field from the record's packed storage.

func (*ICMapEntry) Version

func (s *ICMapEntry) Version() int16

Version returns the Version field from the record's packed storage.

type ICPerm

type ICPerm = uint32

type ICProfileID

type ICProfileID = uint32

type ICServiceEntry

type ICServiceEntry struct {
	Name  [256]uint8
	Port  int16
	Flags ICServiceEntryFlags
}

ICServiceEntry

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

type ICServices

type ICServices struct {
	Count    int16
	Services [1]ICServiceEntry
}

ICServices

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

type IcNoPerm

type IcNoPerm uint32
const (
	IcNoPermValue   IcNoPerm = 0
	IcReadOnlyPerm  IcNoPerm = 1
	IcReadWritePerm IcNoPerm = 2
)

func (IcNoPerm) String added in v0.6.17

func (e IcNoPerm) String() string

type IcPrefNotFoundErr

type IcPrefNotFoundErr int32
const (
	IcConfigInappropriateErr IcPrefNotFoundErr = -675
	IcConfigNotFoundErr      IcPrefNotFoundErr = -674
	IcInternalErr            IcPrefNotFoundErr = -669
	IcNoMoreWritersErr       IcPrefNotFoundErr = -671
	IcNoURLErr               IcPrefNotFoundErr = -673
	IcNothingToOverrideErr   IcPrefNotFoundErr = -672
	IcPermErr                IcPrefNotFoundErr = -667
	IcPrefDataErr            IcPrefNotFoundErr = -668
	IcPrefNotFoundErrValue   IcPrefNotFoundErr = -666
	IcProfileNotFoundErr     IcPrefNotFoundErr = -676
	IcTooManyProfilesErr     IcPrefNotFoundErr = -677
	IcTruncatedErr           IcPrefNotFoundErr = -670
)

func (IcPrefNotFoundErr) String added in v0.6.17

func (e IcPrefNotFoundErr) String() string

type IconRef added in v0.6.16

type IconRef = KPlotIconRef

IconRef is an alias for referenced enum type KPlotIconRef.

type InitDev

type InitDev uint32
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 uint32
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 KATSCubicCurveType

type KATSCubicCurveType uint32
const (
	KATSCubicCurveTypeValue KATSCubicCurveType = 0x1
	KATSOtherCurveType      KATSCubicCurveType = 0x3
	KATSQuadCurveType       KATSCubicCurveType = 0x2
)

func (KATSCubicCurveType) String added in v0.6.17

func (e KATSCubicCurveType) String() string

type KATSDeleted

type KATSDeleted uint32
const (
	KATSDeletedGlyphcode KATSDeleted = 0xffff
)

func (KATSDeleted) String

func (e KATSDeleted) String() string

type KATSFlatDataUstl

type KATSFlatDataUstl uint32
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 uint32
const (
	KATSFlattenedFontSpecifierRawNameData KATSFlattenedFontSpecifierRawName = 'n'<<24 | 'a'<<16 | 'm'<<8 | 'd' // 'namd'
)

func (KATSFlattenedFontSpecifierRawName) String

type KATSFontAutoActivation

type KATSFontAutoActivation uint32
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 uint32
const (
	KATSFontContextGlobal      KATSFontContext = 1
	KATSFontContextLocal       KATSFontContext = 2
	KATSFontContextUnspecified KATSFontContext = 0
)

func (KATSFontContext) String

func (e KATSFontContext) String() string

type KATSFontFilterCurrent

type KATSFontFilterCurrent uint32
const (
	KATSFontFilterCurrentVersion KATSFontFilterCurrent = 0
)

func (KATSFontFilterCurrent) String

func (e KATSFontFilterCurrent) String() string

type KATSFontFormat

type KATSFontFormat uint32
const (
	KATSFontFormatUnspecified KATSFontFormat = 0
)

func (KATSFontFormat) String

func (e KATSFontFormat) String() string

type KATSGenerationUnspecified

type KATSGenerationUnspecified uint32
const (
	KATSFontContainerRefUnspecified KATSGenerationUnspecified = 0
	KATSFontFamilyRefUnspecified    KATSGenerationUnspecified = 0
	KATSFontRefUnspecified          KATSGenerationUnspecified = 0
	KATSGenerationUnspecifiedValue  KATSGenerationUnspecified = 0
)

func (KATSGenerationUnspecified) String added in v0.6.17

func (e KATSGenerationUnspecified) String() string

type KATSGlyphInfo

type KATSGlyphInfo uint32
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 KATSItalicQDSkew

type KATSItalicQDSkew uint32
const (
	KATSBoldQDStretch     KATSItalicQDSkew = 98304
	KATSItalicQDSkewValue KATSItalicQDSkew = 16384
	KATSRadiansFactor     KATSItalicQDSkew = 1144
)

func (KATSItalicQDSkew) String added in v0.6.17

func (e KATSItalicQDSkew) String() string

type KATSIterationCompleted

type KATSIterationCompleted int32
const (
	KATSInvalidFontAccess          KATSIterationCompleted = -982
	KATSInvalidFontContainerAccess KATSIterationCompleted = -985
	KATSInvalidFontFamilyAccess    KATSIterationCompleted = -981
	KATSInvalidFontTableAccess     KATSIterationCompleted = -984
	KATSInvalidGlyphAccess         KATSIterationCompleted = -986
	KATSIterationCompletedValue    KATSIterationCompleted = -980
	KATSIterationScopeModified     KATSIterationCompleted = -983
)

func (KATSIterationCompleted) String added in v0.6.17

func (e KATSIterationCompleted) String() string

type KATSLine

type KATSLine uint32
const (
	KATSLineAppleReserved                 KATSLine = 0xfce00000
	KATSLineApplyAntiAliasing             KATSLine = 0x800
	KATSLineBreakToNearestCharacter       KATSLine = 0x2000000
	KATSLineDisableAllBaselineAdjustments KATSLine = 0x80000
	KATSLineDisableAllGlyphMorphing       KATSLine = 0x20000
	KATSLineDisableAllJustification       KATSLine = 0x10000
	KATSLineDisableAllKerningAdjustments  KATSLine = 0x40000
	KATSLineDisableAllLayoutOperations    KATSLine = 2031616
	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 KATSOptionFlagsActivateDisabled

type KATSOptionFlagsActivateDisabled uint32
const (
	KATSOptionFlagsActivateDisabledValue KATSOptionFlagsActivateDisabled = 32
	KATSOptionFlagsDoNotNotify           KATSOptionFlagsActivateDisabled = 128
	KATSOptionFlagsProcessSubdirectories KATSOptionFlagsActivateDisabled = 64
	KATSOptionFlagsRecordPersistently    KATSOptionFlagsActivateDisabled = 262144
)

func (KATSOptionFlagsActivateDisabled) String added in v0.6.17

type KATSOptionFlagsDefault

type KATSOptionFlagsDefault uint32
const (
	KATSOptionFlagsComposeFontPostScriptName KATSOptionFlagsDefault = 1
	KATSOptionFlagsDefaultValue              KATSOptionFlagsDefault = 0
	KATSOptionFlagsUseDataFork               KATSOptionFlagsDefault = 768
	KATSOptionFlagsUseDataForkAsResourceFork KATSOptionFlagsDefault = 256
	KATSOptionFlagsUseResourceFork           KATSOptionFlagsDefault = 512
)

func (KATSOptionFlagsDefault) String added in v0.6.17

func (e KATSOptionFlagsDefault) String() string

type KATSOptionFlagsIterateByPrecedenceMask

type KATSOptionFlagsIterateByPrecedenceMask uint32
const (
	KATSOptionFlagsDefaultScope                 KATSOptionFlagsIterateByPrecedenceMask = 0
	KATSOptionFlagsIncludeDisabledMask          KATSOptionFlagsIterateByPrecedenceMask = 128
	KATSOptionFlagsIterateByPrecedenceMaskValue KATSOptionFlagsIterateByPrecedenceMask = 32
	KATSOptionFlagsIterationScopeMask           KATSOptionFlagsIterateByPrecedenceMask = 28672
	KATSOptionFlagsRestrictedScope              KATSOptionFlagsIterateByPrecedenceMask = 8192
	KATSOptionFlagsUnRestrictedScope            KATSOptionFlagsIterateByPrecedenceMask = 4096
)

func (KATSOptionFlagsIterateByPrecedenceMask) String added in v0.6.17

type KATSStyle

type KATSStyle uint32
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 KATSUBackground

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

func (KATSUBackground) String

func (e KATSUBackground) String() string

type KATSUBy

type KATSUBy uint32
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 uint32
const (
	KATSUDataStreamUnicodeStyledText KATSUDataStreamUnicodeStyled = 'u'<<24 | 's'<<16 | 't'<<8 | 'l' // 'ustl'
)

func (KATSUDataStreamUnicodeStyled) String

type KATSUDefaultFontFallbacks

type KATSUDefaultFontFallbacks uint32
const (
	KATSUDefaultFontFallbacksValue    KATSUDefaultFontFallbacks = 0
	KATSULastResortOnlyFallback       KATSUDefaultFontFallbacks = 1
	KATSUSequentialFallbacksExclusive KATSUDefaultFontFallbacks = 3
	KATSUSequentialFallbacksPreferred KATSUDefaultFontFallbacks = 2
)

func (KATSUDefaultFontFallbacks) String added in v0.6.17

func (e KATSUDefaultFontFallbacks) String() string

type KATSUDirectData

type KATSUDirectData uint32
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 uint32
const (
	KATSUFlattenOptionNoOptionsMask KATSUFlattenOptionNoOptions = 0
)

func (KATSUFlattenOptionNoOptions) String

type KATSUFromTextBeginning

type KATSUFromTextBeginning uint32
const (
	KATSUFromFollowingLayout    KATSUFromTextBeginning = 0xfffffffd
	KATSUFromPreviousLayout     KATSUFromTextBeginning = 0xfffffffe
	KATSUFromTextBeginningValue KATSUFromTextBeginning = 0xffffffff
	KATSUToTextEnd              KATSUFromTextBeginning = 0xffffffff
)

func (KATSUFromTextBeginning) String added in v0.6.17

func (e KATSUFromTextBeginning) String() string

type KATSUInvalidFontI

type KATSUInvalidFontI uint32
const (
	KATSUInvalidFontID KATSUInvalidFontI = 0
)

func (KATSUInvalidFontI) String

func (e KATSUInvalidFontI) String() string

type KATSULayoutOperation

type KATSULayoutOperation uint32
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 uint32
const (
	KATSULayoutOperationCallbackStatusContinue KATSULayoutOperationCallbackStatus = 0x1
	KATSULayoutOperationCallbackStatusHandled  KATSULayoutOperationCallbackStatus = 0
)

func (KATSULayoutOperationCallbackStatus) String

type KATSULeftTab

type KATSULeftTab uint32
const (
	KATSUCenterTab      KATSULeftTab = 1
	KATSUDecimalTab     KATSULeftTab = 3
	KATSULeftTabValue   KATSULeftTab = 0
	KATSUNumberTabTypes KATSULeftTab = 4
	KATSURightTab       KATSULeftTab = 2
)

func (KATSULeftTab) String added in v0.6.17

func (e KATSULeftTab) String() string

type KATSULeftToRightBaseDirection

type KATSULeftToRightBaseDirection uint32
const (
	KATSULeftToRightBaseDirectionValue KATSULeftToRightBaseDirection = 0
	KATSURightToLeftBaseDirection      KATSULeftToRightBaseDirection = 1
)

func (KATSULeftToRightBaseDirection) String added in v0.6.17

type KATSULineWidthTag

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

func (KATSULineWidthTag) String added in v0.6.17

func (e KATSULineWidthTag) String() string

type KATSUNo

type KATSUNo uint32
const (
	KATSUNoSelector KATSUNo = 0xffff
)

func (KATSUNo) String

func (e KATSUNo) String() string

type KATSUStrongly

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

func (KATSUStrongly) String

func (e KATSUStrongly) String() string

type KATSUStyleSingleLineCount

type KATSUStyleSingleLineCount uint32
const (
	KATSUStyleDoubleLineCount      KATSUStyleSingleLineCount = 2
	KATSUStyleSingleLineCountValue KATSUStyleSingleLineCount = 1
)

func (KATSUStyleSingleLineCount) String added in v0.6.17

func (e KATSUStyleSingleLineCount) String() string

type KATSUStyleUnequal

type KATSUStyleUnequal uint32
const (
	KATSUStyleContainedBy  KATSUStyleUnequal = 3
	KATSUStyleContains     KATSUStyleUnequal = 1
	KATSUStyleEquals       KATSUStyleUnequal = 2
	KATSUStyleUnequalValue KATSUStyleUnequal = 0
)

func (KATSUStyleUnequal) String added in v0.6.17

func (e KATSUStyleUnequal) String() string

type KATSUTruncateNone

type KATSUTruncateNone uint32
const (
	KATSUTruncFeatNoSquishing      KATSUTruncateNone = 0x8
	KATSUTruncateEnd               KATSUTruncateNone = 2
	KATSUTruncateMiddle            KATSUTruncateNone = 3
	KATSUTruncateNoneValue         KATSUTruncateNone = 0
	KATSUTruncateSpecificationMask KATSUTruncateNone = 0x7
	KATSUTruncateStart             KATSUTruncateNone = 1
)

func (KATSUTruncateNone) String added in v0.6.17

func (e KATSUTruncateNone) String() string

type KATSUUnFlattenOptionNoOptions

type KATSUUnFlattenOptionNoOptions uint32
const (
	KATSUUnFlattenOptionNoOptionsMask KATSUUnFlattenOptionNoOptions = 0
)

func (KATSUUnFlattenOptionNoOptions) String

type KATSUUseGrafPortPenLoc

type KATSUUseGrafPortPenLoc uint32
const (
	KATSUClearAll               KATSUUseGrafPortPenLoc = 0xffffffff
	KATSUUseGrafPortPenLocValue KATSUUseGrafPortPenLoc = 0xffffffff
)

func (KATSUUseGrafPortPenLoc) String added in v0.6.17

func (e KATSUUseGrafPortPenLoc) String() string

type KATSUUseLineControl

type KATSUUseLineControl uint32
const (
	KATSUUseLineControlWidth KATSUUseLineControl = 0x7fffffff
)

func (KATSUUseLineControl) String

func (e KATSUUseLineControl) String() string

type KATSUse

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

func (KATSUse) String

func (e KATSUse) String() string

type KATSUseGlyphAdvance

type KATSUseGlyphAdvance int32
const (
	KATSNoTracking           KATSUseGlyphAdvance = -2147483648
	KATSUseGlyphAdvanceValue KATSUseGlyphAdvance = 0x7fffffff
	KATSUseLineHeight        KATSUseGlyphAdvance = 0x7fffffff
)

func (KATSUseGlyphAdvance) String added in v0.6.17

func (e KATSUseGlyphAdvance) String() string

type KAlign

type KAlign uint32
const (
	KAlignAbsoluteCenter   KAlign = 5
	KAlignBottom           KAlign = 0x3
	KAlignBottomLeft       KAlign = 11
	KAlignBottomRight      KAlign = 15
	KAlignCenterBottom     KAlign = 7
	KAlignCenterLeft       KAlign = 9
	KAlignCenterRight      KAlign = 13
	KAlignCenterTop        KAlign = 6
	KAlignHorizontalCenter KAlign = 0x4
	KAlignLeft             KAlign = 0x8
	KAlignNone             KAlign = 0
	KAlignRight            KAlign = 0xc
	KAlignTop              KAlign = 0x2
	KAlignTopLeft          KAlign = 10
	KAlignTopRight         KAlign = 14
	KAlignVerticalCenter   KAlign = 0x1
)

func (KAlign) String

func (e KAlign) String() string

type KAllPPDDomains

type KAllPPDDomains uint32
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 uint32
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 uint32
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 KFMCurrentFilter

type KFMCurrentFilter uint32
const (
	KFMCurrentFilterFormat KFMCurrentFilter = 0
)

func (KFMCurrentFilter) String

func (e KFMCurrentFilter) String() string

type KFMFontTechnologyFilterSelector

type KFMFontTechnologyFilterSelector uint32
const (
	KFMFontCallbackFilterSelector        KFMFontTechnologyFilterSelector = 5
	KFMFontContainerFilterSelector       KFMFontTechnologyFilterSelector = 2
	KFMFontDirectoryFilterSelector       KFMFontTechnologyFilterSelector = 6
	KFMFontFamilyCallbackFilterSelector  KFMFontTechnologyFilterSelector = 4
	KFMFontFileRefFilterSelector         KFMFontTechnologyFilterSelector = 10
	KFMFontTechnologyFilterSelectorValue KFMFontTechnologyFilterSelector = 1
	KFMGenerationFilterSelector          KFMFontTechnologyFilterSelector = 3
)

func (KFMFontTechnologyFilterSelector) String added in v0.6.17

type KFMTrueTypeFontTechnology

type KFMTrueTypeFontTechnology uint32
const (
	KFMPostScriptFontTechnology    KFMTrueTypeFontTechnology = 't'<<24 | 'y'<<16 | 'p'<<8 | '1' // 'typ1'
	KFMTrueTypeFontTechnologyValue KFMTrueTypeFontTechnology = 't'<<24 | 'r'<<16 | 'u'<<8 | 'e' // 'true'
)

func (KFMTrueTypeFontTechnology) String added in v0.6.17

func (e KFMTrueTypeFontTechnology) String() string

type KGlyphCollection

type KGlyphCollection uint32
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 uint32
const (
	KHIShapeEnumerateInit      KHIShapeEnumerate = 1
	KHIShapeEnumerateRect      KHIShapeEnumerate = 2
	KHIShapeEnumerateTerminate KHIShapeEnumerate = 3
)

func (KHIShapeEnumerate) String

func (e KHIShapeEnumerate) String() string

type KHIShapeParseFrom

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

func (KHIShapeParseFrom) String

func (e KHIShapeParseFrom) String() string

type KICAttrLockedBit

type KICAttrLockedBit uint32
const (
	KICAttrLockedBitValue KICAttrLockedBit = 0
	KICAttrVolatileBit    KICAttrLockedBit = 1
)

func (KICAttrLockedBit) String added in v0.6.17

func (e KICAttrLockedBit) String() string

type KICAttrNoChange

type KICAttrNoChange uint32
const (
	KICAttrLockedMask    KICAttrNoChange = 0x1
	KICAttrNoChangeValue KICAttrNoChange = 0xffffffff
	KICAttrVolatileMask  KICAttrNoChange = 0x2
)

func (KICAttrNoChange) String added in v0.6.17

func (e KICAttrNoChange) String() string

type KICComponentInterface

type KICComponentInterface uint32
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 KICComponentVersion

type KICComponentVersion uint32
const (
	KICComponentVersionValue KICComponentVersion = 0
	KICNumVersion            KICComponentVersion = 1
)

func (KICComponentVersion) String added in v0.6.17

func (e KICComponentVersion) String() string

type KICEditPreferenceEventClass

type KICEditPreferenceEventClass uint32
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 uint32
const (
	KICFileSpecHeaderSize KICFileSpecHeader = 106
)

func (KICFileSpecHeader) String

func (e KICFileSpecHeader) String() string

type KICFileType

type KICFileType uint32
const (
	KICCreator       KICFileType = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp'
	KICFileTypeValue KICFileType = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp'
)

func (KICFileType) String added in v0.6.17

func (e KICFileType) String() string

type KICMapBinaryBit

type KICMapBinaryBit uint32
const (
	KICMapBinaryBitValue  KICMapBinaryBit = 0
	KICMapDataForkBit     KICMapBinaryBit = 2
	KICMapNotIncomingBit  KICMapBinaryBit = 4
	KICMapNotOutgoingBit  KICMapBinaryBit = 5
	KICMapPostBit         KICMapBinaryBit = 3
	KICMapResourceForkBit KICMapBinaryBit = 1
)

func (KICMapBinaryBit) String added in v0.6.17

func (e KICMapBinaryBit) String() string

type KICMapBinaryMask

type KICMapBinaryMask uint32
const (
	KICMapBinaryMaskValue  KICMapBinaryMask = 0x1
	KICMapDataForkMask     KICMapBinaryMask = 0x4
	KICMapNotIncomingMask  KICMapBinaryMask = 0x10
	KICMapNotOutgoingMask  KICMapBinaryMask = 0x20
	KICMapPostMask         KICMapBinaryMask = 0x8
	KICMapResourceForkMask KICMapBinaryMask = 0x2
)

func (KICMapBinaryMask) String added in v0.6.17

func (e KICMapBinaryMask) String() string

type KICMapFixed

type KICMapFixed uint32
const (
	KICMapFixedLength KICMapFixed = 22
)

func (KICMapFixed) String

func (e KICMapFixed) String() string

type KICNilProfileI

type KICNilProfileI uint32
const (
	KICNilProfileID KICNilProfileI = 0
)

func (KICNilProfileI) String

func (e KICNilProfileI) String() string

type KICServicesTCPBit

type KICServicesTCPBit uint32
const (
	KICServicesTCPBitValue KICServicesTCPBit = 0
	KICServicesUDPBit      KICServicesTCPBit = 1
)

func (KICServicesTCPBit) String added in v0.6.17

func (e KICServicesTCPBit) String() string

type KICServicesTCPMask

type KICServicesTCPMask uint32
const (
	KICServicesTCPMaskValue KICServicesTCPMask = 0x1
	KICServicesUDPMask      KICServicesTCPMask = 0x2
)

func (KICServicesTCPMask) String added in v0.6.17

func (e KICServicesTCPMask) String() string

type KImmediate

type KImmediate int32
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 uint32
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 int32
const (
	KInvalidFont       KInvalid = 0
	KInvalidFontFamily KInvalid = -1
	KInvalidGeneration KInvalid = 0
)

func (KInvalid) String

func (e KInvalid) String() string

type KInvertHighlighting

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

func (KInvertHighlighting) String

func (e KInvertHighlighting) String() string

type KNeuter

type KNeuter int16
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 uint32
const (
	KHorizontalConstraint KNoConstraint = 2
	KNoConstraintValue    KNoConstraint = 0
	KVerticalConstraint   KNoConstraint = 1
)

func (KNoConstraint) String

func (e KNoConstraint) String() string

type KNoEndingProsody

type KNoEndingProsody int32
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 uint32
const (
	KCurrentProcess KNoProcess = 2
	KNoProcessValue KNoProcess = 0
	KSystemProcess  KNoProcess = 1
)

func (KNoProcess) String

func (e KNoProcess) String() string

type KNoTransform

type KNoTransform int32
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 = -1
)

func (KNoTransform) String

func (e KNoTransform) String() string

type KPMAllocationFailure

type KPMAllocationFailure int32
const (
	KPMAllocationFailureValue   KPMAllocationFailure = -108
	KPMCVMSymbolNotFound        KPMAllocationFailure = -9662
	KPMCloseFailed              KPMAllocationFailure = -9785
	KPMCreateMessageFailed      KPMAllocationFailure = -9620
	KPMDeleteSubTicketFailed    KPMAllocationFailure = -9585
	KPMDocumentNotFound         KPMAllocationFailure = -9644
	KPMDontSwitchPDEError       KPMAllocationFailure = -9531
	KPMEditRequestFailed        KPMAllocationFailure = -9544
	KPMFeatureNotInstalled      KPMAllocationFailure = -9533
	KPMFileOrDirOperationFailed KPMAllocationFailure = -9634
	KPMFontNameTooLong          KPMAllocationFailure = -9704
	KPMFontNotFound             KPMAllocationFailure = -9703
	KPMGeneralCGError           KPMAllocationFailure = -9705
	KPMIOAttrNotAvailable       KPMAllocationFailure = -9787
	KPMIOMSymbolNotFound        KPMAllocationFailure = -9661
	KPMInternalError            KPMAllocationFailure = -30870
	// KPMInvalidAllocator: The specified memory allocator is invalid.
	KPMInvalidAllocator  KPMAllocationFailure = -30890
	KPMInvalidCVMContext KPMAllocationFailure = -9665
	// KPMInvalidCalibrationTarget: The dictionary specifying a printer calibration target is invalid.
	KPMInvalidCalibrationTarget KPMAllocationFailure = -30898
	// KPMInvalidConnection: The printer connection type is invalid.
	KPMInvalidConnection KPMAllocationFailure = -30887
	// KPMInvalidFileType: The file type is invalid.
	KPMInvalidFileType   KPMAllocationFailure = -30895
	KPMInvalidIOMContext KPMAllocationFailure = -9664
	// KPMInvalidIndex: An array index is invalid.
	KPMInvalidIndex KPMAllocationFailure = -30882
	// KPMInvalidItem: The item being added to a ticket is invalid.
	KPMInvalidItem  KPMAllocationFailure = -30892
	KPMInvalidJobID KPMAllocationFailure = -9666
	// KPMInvalidJobTemplate: An internal error occurred while creating a job template.
	KPMInvalidJobTemplate KPMAllocationFailure = -30885
	// KPMInvalidKey: The key in a ticket, job template, or dictionary is invalid.
	KPMInvalidKey        KPMAllocationFailure = -30888
	KPMInvalidLookupSpec KPMAllocationFailure = -9542
	// KPMInvalidObject: The object is invalid.
	KPMInvalidObject     KPMAllocationFailure = -30896
	KPMInvalidPBMRef     KPMAllocationFailure = -9540
	KPMInvalidPDEContext KPMAllocationFailure = -9530
	KPMInvalidPMContext  KPMAllocationFailure = -9663
	// KPMInvalidPaper: Your application passed an invalid paper object.
	KPMInvalidPaper          KPMAllocationFailure = -30897
	KPMInvalidPrinterAddress KPMAllocationFailure = -9780
	// KPMInvalidPrinterInfo: The printer information is invalid.
	KPMInvalidPrinterInfo KPMAllocationFailure = -30886
	// KPMInvalidReply: A remote server or client sent an invalid reply.
	KPMInvalidReply     KPMAllocationFailure = -30894
	KPMInvalidState     KPMAllocationFailure = -9706
	KPMInvalidSubTicket KPMAllocationFailure = -9584
	// KPMInvalidTicket: The job ticket is invalid.
	KPMInvalidTicket KPMAllocationFailure = -30891
	// KPMInvalidType: The data type in a ticket, job template, or dictionary is not the expected type.
	KPMInvalidType KPMAllocationFailure = -30893
	// KPMInvalidValue: The value in a ticket, job template, or dictionary is missing.
	KPMInvalidValue                                   KPMAllocationFailure = -30889
	KPMItemIsLocked                                   KPMAllocationFailure = -9586
	KPMJobBusy                                        KPMAllocationFailure = -9642
	KPMJobCanceled                                    KPMAllocationFailure = -9643
	KPMJobGetTicketBadFormatError                     KPMAllocationFailure = -9672
	KPMJobGetTicketReadError                          KPMAllocationFailure = -9673
	KPMJobManagerAborted                              KPMAllocationFailure = -9671
	KPMJobNotFound                                    KPMAllocationFailure = -9641
	KPMJobStreamEndError                              KPMAllocationFailure = -9670
	KPMJobStreamOpenFailed                            KPMAllocationFailure = -9668
	KPMJobStreamReadFailed                            KPMAllocationFailure = -9669
	KPMKeyNotFound                                    KPMAllocationFailure = -9589
	KPMKeyNotUnique                                   KPMAllocationFailure = -9590
	KPMKeyOrValueNotFound                             KPMAllocationFailure = -9623
	KPMLastErrorCodeToMakeMaintenanceOfThisListEasier KPMAllocationFailure = -9799
	KPMMessagingError                                 KPMAllocationFailure = -9624
	KPMNoDefaultItem                                  KPMAllocationFailure = -9500
	KPMNoDefaultSettings                              KPMAllocationFailure = -9501
	KPMNoPrinterJobID                                 KPMAllocationFailure = -9667
	KPMNoSelectedPrinters                             KPMAllocationFailure = -9541
	KPMOpenFailed                                     KPMAllocationFailure = -9781
	KPMPMSymbolNotFound                               KPMAllocationFailure = -9660
	KPMPermissionError                                KPMAllocationFailure = -9636
	KPMPluginNotFound                                 KPMAllocationFailure = -9701
	KPMPluginRegisterationFailed                      KPMAllocationFailure = -9702
	KPMPrBrowserNoUI                                  KPMAllocationFailure = -9545
	KPMQueueAlreadyExists                             KPMAllocationFailure = -9639
	KPMQueueJobFailed                                 KPMAllocationFailure = -9640
	KPMQueueNotFound                                  KPMAllocationFailure = -9638
	KPMReadFailed                                     KPMAllocationFailure = -9782
	KPMReadGotZeroData                                KPMAllocationFailure = -9788
	KPMServerAlreadyRunning                           KPMAllocationFailure = -9631
	KPMServerAttributeRestricted                      KPMAllocationFailure = -9633
	KPMServerCommunicationFailed                      KPMAllocationFailure = -9621
	KPMServerNotFound                                 KPMAllocationFailure = -9630
	KPMServerSuspended                                KPMAllocationFailure = -9632
	KPMStatusFailed                                   KPMAllocationFailure = -9784
	// KPMStringConversionFailure: An internal error occurred while converting a string.
	KPMStringConversionFailure KPMAllocationFailure = -30883
	KPMSubTicketNotFound       KPMAllocationFailure = -9583
	KPMSyncRequestFailed       KPMAllocationFailure = -9543
	KPMTemplateIsLocked        KPMAllocationFailure = -9588
	KPMTicketIsLocked          KPMAllocationFailure = -9587
	KPMTicketTypeNotFound      KPMAllocationFailure = -9580
	KPMUnableToFindProcess     KPMAllocationFailure = -9532
	KPMUnexpectedImagingError  KPMAllocationFailure = -9707
	KPMUnknownDataType         KPMAllocationFailure = -9591
	KPMUnknownMessage          KPMAllocationFailure = -9637
	KPMUnsupportedConnection   KPMAllocationFailure = -9786
	KPMUpdateTicketFailed      KPMAllocationFailure = -9581
	KPMUserOrGroupNotFound     KPMAllocationFailure = -9635
	KPMValidateTicketFailed    KPMAllocationFailure = -9582
	KPMWriteFailed             KPMAllocationFailure = -9783
	// KPMXMLParseError: An error occurred while parsing XML data.
	KPMXMLParseError KPMAllocationFailure = -30884
)

func (KPMAllocationFailure) String added in v0.6.17

func (e KPMAllocationFailure) String() string

type KPMBorder

type KPMBorder uint32
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 uint32
const (
	KPMCoverPageAfter  KPMCoverPage = 3
	KPMCoverPageBefore KPMCoverPage = 2
	KPMCoverPageNone   KPMCoverPage = 1
)

func (KPMCoverPage) String

func (e KPMCoverPage) String() string

type KPMDestination

type KPMDestination uint32
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 KPMDuplexNone

type KPMDuplexNone uint32
const (
	// KPMDuplexNoTumble: # Discussion
	KPMDuplexNoTumble KPMDuplexNone = 0x2
	// KPMDuplexNoneValue: # Discussion
	KPMDuplexNoneValue KPMDuplexNone = 0x1
	// KPMDuplexTumble: # Discussion
	KPMDuplexTumble KPMDuplexNone = 0x3
	// KPMSimplexTumble: # Discussion
	KPMSimplexTumble KPMDuplexNone = 0x4
)

func (KPMDuplexNone) String added in v0.6.17

func (e KPMDuplexNone) String() string

type KPMHideInlineItems

type KPMHideInlineItems uint32
const (
	KPMHideInlineItemsValue             KPMHideInlineItems = 0
	KPMShowDefaultInlineItems           KPMHideInlineItems = 32768
	KPMShowInlineCopies                 KPMHideInlineItems = 1
	KPMShowInlineOrientation            KPMHideInlineItems = 8
	KPMShowInlinePageRange              KPMHideInlineItems = 2
	KPMShowInlinePageRangeWithSelection KPMHideInlineItems = 64
	KPMShowInlinePaperSize              KPMHideInlineItems = 4
	KPMShowInlineScale                  KPMHideInlineItems = 128
	KPMShowPageAttributesPDE            KPMHideInlineItems = 256
)

func (KPMHideInlineItems) String added in v0.6.17

func (e KPMHideInlineItems) String() string

type KPMInvalidPrintSession

type KPMInvalidPrintSession int32
const (
	// KPMInvalidPreset: Your application passed an invalid preset object.
	KPMInvalidPreset KPMInvalidPrintSession = -30899
	// KPMInvalidPrintSessionValue: Your application passed an invalid printing session object.
	KPMInvalidPrintSessionValue KPMInvalidPrintSession = -30879
	// KPMInvalidPrinter: Your application passed an invalid printer object.
	KPMInvalidPrinter KPMInvalidPrintSession = -30880
	// KPMObjectInUse: The specified object is in use.
	KPMObjectInUse KPMInvalidPrintSession = -30881
)

func (KPMInvalidPrintSession) String added in v0.6.17

func (e KPMInvalidPrintSession) String() string

type KPMLayout

type KPMLayout uint32
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 KPMNoError

type KPMNoError int32
const (
	// KPMGeneralError: An unspecified error occurred.
	KPMGeneralError KPMNoError = -30870
	// KPMInvalidPageFormat: Your application passed an invalid page format object.
	KPMInvalidPageFormat KPMNoError = -30876
	KPMInvalidParameter  KPMNoError = -50
	// KPMInvalidPrintSettings: Your application passed an invalid print settings object.
	KPMInvalidPrintSettings KPMNoError = -30875
	// KPMNoDefaultPrinter: The user has not specified a default printer.
	KPMNoDefaultPrinter KPMNoError = -30872
	KPMNoErrorValue     KPMNoError = 0
	// KPMNoSuchEntry: There is no entry to match your application’s request.
	KPMNoSuchEntry KPMNoError = -30874
	// KPMNotImplemented: The function is not implemented.
	KPMNotImplemented KPMNoError = -30873
	// KPMOutOfScope: Your application called this function out of sequence with other printing functions.
	KPMOutOfScope KPMNoError = -30871
	// KPMValueOutOfRange: Your application passed an out-of-range value.
	KPMValueOutOfRange KPMNoError = -30877
)

func (KPMNoError) String added in v0.6.17

func (e KPMNoError) String() string

type KPMPaperType

type KPMPaperType uint32
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 KPMPortrait

type KPMPortrait uint32
const (
	// KPMLandscape: # Discussion
	KPMLandscape KPMPortrait = 2
	// KPMPortraitValue: Specifies portrait (vertical) page orientation.
	KPMPortraitValue KPMPortrait = 1
	// KPMReverseLandscape: # Discussion
	KPMReverseLandscape KPMPortrait = 4
	// KPMReversePortrait: # Discussion
	KPMReversePortrait KPMPortrait = 3
)

func (KPMPortrait) String added in v0.6.17

func (e KPMPortrait) String() string

type KPMPrintAll

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

func (KPMPrintAll) String

func (e KPMPrintAll) String() string

type KPMPrinter

type KPMPrinter uint32
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 uint32
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 uint32
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 KPMUnknownColorSpaceModel

type KPMUnknownColorSpaceModel uint32
const (
	KPMCMYKColorSpaceModel         KPMUnknownColorSpaceModel = 3
	KPMDevNColorSpaceModel         KPMUnknownColorSpaceModel = 4
	KPMGrayColorSpaceModel         KPMUnknownColorSpaceModel = 1
	KPMRGBColorSpaceModel          KPMUnknownColorSpaceModel = 2
	KPMUnknownColorSpaceModelValue KPMUnknownColorSpaceModel = 0
)

func (KPMUnknownColorSpaceModel) String added in v0.6.17

func (e KPMUnknownColorSpaceModel) String() string

type KPlotIconRef

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

func (KPlotIconRef) String

func (e KPlotIconRef) String() string

type KProcessDictionaryIncludeAllInformation

type KProcessDictionaryIncludeAllInformation int32
const (
	KProcessDictionaryIncludeAllInformationMask KProcessDictionaryIncludeAllInformation = -1
)

func (KProcessDictionaryIncludeAllInformation) String

type KProcessTransformTo

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

func (KProcessTransformTo) String

func (e KProcessTransformTo) String() string

type KQuit

type KQuit uint32
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 uint32
const (
	KSelectorAll1BitData      KSelector = 16843009
	KSelectorAll32BitData     KSelector = 134219784
	KSelectorAll4BitData      KSelector = 33686018
	KSelectorAll8BitData      KSelector = 67372036
	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 uint32
const (
	KSetFrontProcessCausedByUser    KSetFrontProcess = 2
	KSetFrontProcessFrontWindowOnly KSetFrontProcess = 1
)

func (KSetFrontProcess) String

func (e KSetFrontProcess) String() string

type KSpeech

type KSpeech int32
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 uint32
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 uint32
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 = 16385
	KTransformSelectedOffline  KTransform = 16386
	KTransformSelectedOpen     KTransform = 16387
)

func (KTransform) String

func (e KTransform) String() string

type KTranslation

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

func (KTranslation) String

func (e KTranslation) String() string

type KUAZoomFocusType

type KUAZoomFocusType uint32
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  int16
	KernLength int16
}

KernEntry

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

type KernPair

type KernPair struct {
	KernFirst  int8
	KernSecond int8
	KernWidth  int16
}

KernPair

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

type KernTable

type KernTable struct {
	NumKerns int16
}

KernTable

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

type Launch

type Launch uint32
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 {
	// contains filtered or unexported fields
}

LaunchParamBlockRec

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

func (*LaunchParamBlockRec) LaunchAppParameters

func (s *LaunchParamBlockRec) LaunchAppParameters() uintptr

LaunchAppParameters returns the LaunchAppParameters field from the record's packed storage.

func (*LaunchParamBlockRec) LaunchAppRef

func (s *LaunchParamBlockRec) LaunchAppRef() uintptr

LaunchAppRef returns the LaunchAppRef field from the record's packed storage.

func (*LaunchParamBlockRec) LaunchAvailableSize

func (s *LaunchParamBlockRec) LaunchAvailableSize() uint32

LaunchAvailableSize returns the LaunchAvailableSize field from the record's packed storage.

func (*LaunchParamBlockRec) LaunchBlockID

func (s *LaunchParamBlockRec) LaunchBlockID() uint16

LaunchBlockID returns the LaunchBlockID field from the record's packed storage.

func (*LaunchParamBlockRec) LaunchControlFlags

func (s *LaunchParamBlockRec) LaunchControlFlags() LaunchFlags

LaunchControlFlags returns the LaunchControlFlags field from the record's packed storage.

func (*LaunchParamBlockRec) LaunchEPBLength

func (s *LaunchParamBlockRec) LaunchEPBLength() uint32

LaunchEPBLength returns the LaunchEPBLength field from the record's packed storage.

func (*LaunchParamBlockRec) LaunchFileFlags

func (s *LaunchParamBlockRec) LaunchFileFlags() uint16

LaunchFileFlags returns the LaunchFileFlags field from the record's packed storage.

func (*LaunchParamBlockRec) LaunchMinimumSize

func (s *LaunchParamBlockRec) LaunchMinimumSize() uint32

LaunchMinimumSize returns the LaunchMinimumSize field from the record's packed storage.

func (*LaunchParamBlockRec) LaunchPreferredSize

func (s *LaunchParamBlockRec) LaunchPreferredSize() uint32

LaunchPreferredSize returns the LaunchPreferredSize field from the record's packed storage.

func (*LaunchParamBlockRec) LaunchProcessSN

func (s *LaunchParamBlockRec) LaunchProcessSN() *ProcessSerialNumber

LaunchProcessSN returns the LaunchProcessSN field from the record's packed storage.

func (*LaunchParamBlockRec) Reserved1

func (s *LaunchParamBlockRec) Reserved1() uint32

Reserved1 returns the Reserved1 field from the record's packed storage.

func (*LaunchParamBlockRec) Reserved2

func (s *LaunchParamBlockRec) Reserved2() uint16

Reserved2 returns the Reserved2 field from the record's packed storage.

func (*LaunchParamBlockRec) SetLaunchAppParameters added in v0.6.17

func (s *LaunchParamBlockRec) SetLaunchAppParameters(v uintptr)

SetLaunchAppParameters updates the LaunchAppParameters field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*LaunchParamBlockRec) SetLaunchAppRef added in v0.6.17

func (s *LaunchParamBlockRec) SetLaunchAppRef(v uintptr)

SetLaunchAppRef updates the LaunchAppRef field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*LaunchParamBlockRec) SetLaunchAvailableSize added in v0.6.17

func (s *LaunchParamBlockRec) SetLaunchAvailableSize(v uint32)

SetLaunchAvailableSize updates the LaunchAvailableSize field in the record's packed storage.

func (*LaunchParamBlockRec) SetLaunchBlockID added in v0.6.17

func (s *LaunchParamBlockRec) SetLaunchBlockID(v uint16)

SetLaunchBlockID updates the LaunchBlockID field in the record's packed storage.

func (*LaunchParamBlockRec) SetLaunchControlFlags added in v0.6.17

func (s *LaunchParamBlockRec) SetLaunchControlFlags(v LaunchFlags)

SetLaunchControlFlags updates the LaunchControlFlags field in the record's packed storage.

func (*LaunchParamBlockRec) SetLaunchEPBLength added in v0.6.17

func (s *LaunchParamBlockRec) SetLaunchEPBLength(v uint32)

SetLaunchEPBLength updates the LaunchEPBLength field in the record's packed storage.

func (*LaunchParamBlockRec) SetLaunchFileFlags added in v0.6.17

func (s *LaunchParamBlockRec) SetLaunchFileFlags(v uint16)

SetLaunchFileFlags updates the LaunchFileFlags field in the record's packed storage.

func (*LaunchParamBlockRec) SetLaunchMinimumSize added in v0.6.17

func (s *LaunchParamBlockRec) SetLaunchMinimumSize(v uint32)

SetLaunchMinimumSize updates the LaunchMinimumSize field in the record's packed storage.

func (*LaunchParamBlockRec) SetLaunchPreferredSize added in v0.6.17

func (s *LaunchParamBlockRec) SetLaunchPreferredSize(v uint32)

SetLaunchPreferredSize updates the LaunchPreferredSize field in the record's packed storage.

func (*LaunchParamBlockRec) SetLaunchProcessSN added in v0.6.17

func (s *LaunchParamBlockRec) SetLaunchProcessSN(v *ProcessSerialNumber)

SetLaunchProcessSN updates the LaunchProcessSN field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*LaunchParamBlockRec) SetReserved1 added in v0.6.17

func (s *LaunchParamBlockRec) SetReserved1(v uint32)

SetReserved1 updates the Reserved1 field in the record's packed storage.

func (*LaunchParamBlockRec) SetReserved2 added in v0.6.17

func (s *LaunchParamBlockRec) SetReserved2(v uint16)

SetReserved2 updates the Reserved2 field in the record's packed storage.

type MacPolygon

type MacPolygon struct {
	PolySize   int16
	PolyBBox   Rect
	PolyPoints [1]Point
}

MacPolygon

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

type ModeReserved

type ModeReserved uint32
const (
	Mode32BitCompatible        ModeReserved = 0x80
	ModeCanBackground          ModeReserved = 0x1000
	ModeControlPanel           ModeReserved = 0x80000
	ModeDeskAccessory          ModeReserved = 0x20000
	ModeDisplayManagerAware    ModeReserved = 0x4
	ModeDoesActivateOnFGSwitch ModeReserved = 0x800
	ModeGetAppDiedMsg          ModeReserved = 0x100
	ModeGetFrontClicks         ModeReserved = 0x200
	ModeHighLevelEventAware    ModeReserved = 0x40
	ModeLaunchDontSwitch       ModeReserved = 0x40000
	ModeLocalAndRemoteHLEvents ModeReserved = 0x20
	ModeMultiLaunch            ModeReserved = 0x10000
	ModeNeedSuspendResume      ModeReserved = 0x4000
	ModeOnlyBackground         ModeReserved = 0x400
	ModeReservedValue          ModeReserved = 0x1000000
	ModeStationeryAware        ModeReserved = 0x10
	ModeUseTextEditServices    ModeReserved = 0x8
)

func (ModeReserved) String added in v0.6.17

func (e ModeReserved) String() string

type ModeText

type ModeText uint32
const (
	// 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 ModeText = 'L'<<24 | 'T'<<16 | 'R'<<8 | 'L' // 'LTRL'
	// 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 ModeText = 'N'<<24 | 'O'<<16 | 'R'<<8 | 'M' // 'NORM'
	// ModePhonemes: Used with soInputMode to indicate that the speech channel is in phoneme-processing mode.
	ModePhonemes ModeText = 'P'<<24 | 'H'<<16 | 'O'<<8 | 'N' // 'PHON'
	// ModeTextValue: Used with soInputMode to indicate that the speech channel is in text-processing mode.
	ModeTextValue ModeText = 'T'<<24 | 'E'<<16 | 'X'<<8 | 'T' // 'TEXT'
	ModeTune      ModeText = 'T'<<24 | 'U'<<16 | 'N'<<8 | 'E' // 'TUNE'
)

func (ModeText) String added in v0.6.17

func (e ModeText) String() string

type NameTable

type NameTable struct {
	StringCount  int16
	BaseFontName [256]uint8
}

NameTable

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

type OpenCPicParams

type OpenCPicParams struct {
	// contains filtered or unexported fields
}

OpenCPicParams

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

func (*OpenCPicParams) HRes

func (s *OpenCPicParams) HRes() int32

HRes returns the HRes field from the record's packed storage.

func (*OpenCPicParams) Reserved1

func (s *OpenCPicParams) Reserved1() int16

Reserved1 returns the Reserved1 field from the record's packed storage.

func (*OpenCPicParams) Reserved2

func (s *OpenCPicParams) Reserved2() int32

Reserved2 returns the Reserved2 field from the record's packed storage.

func (*OpenCPicParams) SetHRes added in v0.6.17

func (s *OpenCPicParams) SetHRes(v int32)

SetHRes updates the HRes field in the record's packed storage.

func (*OpenCPicParams) SetReserved1 added in v0.6.17

func (s *OpenCPicParams) SetReserved1(v int16)

SetReserved1 updates the Reserved1 field in the record's packed storage.

func (*OpenCPicParams) SetReserved2 added in v0.6.17

func (s *OpenCPicParams) SetReserved2(v int32)

SetReserved2 updates the Reserved2 field in the record's packed storage.

func (*OpenCPicParams) SetSrcRect added in v0.6.17

func (s *OpenCPicParams) SetSrcRect(v Rect)

SetSrcRect updates the SrcRect field in the record's packed storage.

func (*OpenCPicParams) SetVRes added in v0.6.17

func (s *OpenCPicParams) SetVRes(v int32)

SetVRes updates the VRes field in the record's packed storage.

func (*OpenCPicParams) SetVersion added in v0.6.17

func (s *OpenCPicParams) SetVersion(v int16)

SetVersion updates the Version field in the record's packed storage.

func (*OpenCPicParams) SrcRect

func (s *OpenCPicParams) SrcRect() Rect

SrcRect returns the SrcRect field from the record's packed storage.

func (*OpenCPicParams) VRes

func (s *OpenCPicParams) VRes() int32

VRes returns the VRes field from the record's packed storage.

func (*OpenCPicParams) Version

func (s *OpenCPicParams) Version() int16

Version returns the Version field from the record's packed storage.

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   [33]uint8 // Specifies the level of the imaging language used by the printer driver.
	Version [33]uint8 // Specifies the version of the imaging language.
	Release [33]uint8 // Specifies the release of the imaging language.

}

PMLanguageInfo

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

type PMObject

type PMObject = unsafe.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 = unsafe.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 = unsafe.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 = unsafe.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 = 4
	Promised         PasteboardFlavorFlags = 512
	RequestOnly      PasteboardFlavorFlags = 8
	SenderOnly       PasteboardFlavorFlags = 1
	SenderTranslated PasteboardFlavorFlags = 2
	SystemTranslated PasteboardFlavorFlags = 256
)

func (PasteboardFlavorFlags) String

func (e PasteboardFlavorFlags) String() string

type PasteboardRef

type PasteboardRef = uintptr

type PasteboardStandardLocation

type PasteboardStandardLocation uint32

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 [8]uint8
}

Pattern

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

type PhonemeDescriptor

type PhonemeDescriptor struct {
	PhonemeCount int16          // 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  [1]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      int16     // The opcode for the phoneme.
	PhStr       [16]uint8 // 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  [32]uint8 // An example word that illustrates use of the phoneme.
	HiliteStart int16     // The number of characters in the example word that precede the portion of that word representing the phoneme.
	HiliteEnd   int16     // 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  int16
	PicFrame Rect
}

Picture

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

type PixMap

type PixMap struct {
	// contains filtered or unexported fields
}

PixMap

PixMap records are normally obtained through a PixMapHandle rather than built with a composite literal.

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

func (*PixMap) BaseAddr

func (s *PixMap) BaseAddr() uintptr

BaseAddr returns the BaseAddr field from the record's packed storage.

func (*PixMap) Bounds

func (s *PixMap) Bounds() Rect

Bounds returns the Bounds field from the record's packed storage.

func (*PixMap) CmpCount

func (s *PixMap) CmpCount() int16

CmpCount returns the CmpCount field from the record's packed storage.

func (*PixMap) CmpSize

func (s *PixMap) CmpSize() int16

CmpSize returns the CmpSize field from the record's packed storage.

func (*PixMap) HRes

func (s *PixMap) HRes() int32

HRes returns the HRes field from the record's packed storage.

func (*PixMap) PackSize

func (s *PixMap) PackSize() int32

PackSize returns the PackSize field from the record's packed storage.

func (*PixMap) PackType

func (s *PixMap) PackType() int16

PackType returns the PackType field from the record's packed storage.

func (*PixMap) PixelFormat

func (s *PixMap) PixelFormat() uint32

PixelFormat returns the PixelFormat field from the record's packed storage.

func (*PixMap) PixelSize

func (s *PixMap) PixelSize() int16

PixelSize returns the PixelSize field from the record's packed storage.

func (*PixMap) PixelType

func (s *PixMap) PixelType() int16

PixelType returns the PixelType field from the record's packed storage.

func (*PixMap) PmExt

func (s *PixMap) PmExt() uintptr

PmExt returns the PmExt field from the record's packed storage.

func (*PixMap) PmTable

func (s *PixMap) PmTable() uintptr

PmTable returns the PmTable field from the record's packed storage.

func (*PixMap) PmVersion

func (s *PixMap) PmVersion() int16

PmVersion returns the PmVersion field from the record's packed storage.

func (*PixMap) RowBytes

func (s *PixMap) RowBytes() int16

RowBytes returns the RowBytes field from the record's packed storage.

func (*PixMap) SetBaseAddr added in v0.6.17

func (s *PixMap) SetBaseAddr(v uintptr)

SetBaseAddr updates the BaseAddr field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*PixMap) SetBounds added in v0.6.17

func (s *PixMap) SetBounds(v Rect)

SetBounds updates the Bounds field in the record's packed storage.

func (*PixMap) SetCmpCount added in v0.6.17

func (s *PixMap) SetCmpCount(v int16)

SetCmpCount updates the CmpCount field in the record's packed storage.

func (*PixMap) SetCmpSize added in v0.6.17

func (s *PixMap) SetCmpSize(v int16)

SetCmpSize updates the CmpSize field in the record's packed storage.

func (*PixMap) SetHRes added in v0.6.17

func (s *PixMap) SetHRes(v int32)

SetHRes updates the HRes field in the record's packed storage.

func (*PixMap) SetPackSize added in v0.6.17

func (s *PixMap) SetPackSize(v int32)

SetPackSize updates the PackSize field in the record's packed storage.

func (*PixMap) SetPackType added in v0.6.17

func (s *PixMap) SetPackType(v int16)

SetPackType updates the PackType field in the record's packed storage.

func (*PixMap) SetPixelFormat added in v0.6.17

func (s *PixMap) SetPixelFormat(v uint32)

SetPixelFormat updates the PixelFormat field in the record's packed storage.

func (*PixMap) SetPixelSize added in v0.6.17

func (s *PixMap) SetPixelSize(v int16)

SetPixelSize updates the PixelSize field in the record's packed storage.

func (*PixMap) SetPixelType added in v0.6.17

func (s *PixMap) SetPixelType(v int16)

SetPixelType updates the PixelType field in the record's packed storage.

func (*PixMap) SetPmExt added in v0.6.17

func (s *PixMap) SetPmExt(v uintptr)

SetPmExt updates the PmExt field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*PixMap) SetPmTable added in v0.6.17

func (s *PixMap) SetPmTable(v uintptr)

SetPmTable updates the PmTable field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*PixMap) SetPmVersion added in v0.6.17

func (s *PixMap) SetPmVersion(v int16)

SetPmVersion updates the PmVersion field in the record's packed storage.

func (*PixMap) SetRowBytes added in v0.6.17

func (s *PixMap) SetRowBytes(v int16)

SetRowBytes updates the RowBytes field in the record's packed storage.

func (*PixMap) SetVRes added in v0.6.17

func (s *PixMap) SetVRes(v int32)

SetVRes updates the VRes field in the record's packed storage.

func (*PixMap) VRes

func (s *PixMap) VRes() int32

VRes returns the VRes field from the record's packed storage.

type PixPat

type PixPat struct {
	// contains filtered or unexported fields
}

PixPat

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

func (*PixPat) Pat1Data

func (s *PixPat) Pat1Data() Pattern

Pat1Data returns the Pat1Data field from the record's packed storage.

func (*PixPat) PatData

func (s *PixPat) PatData() kernel.Pointer

PatData returns the PatData field from the record's packed storage.

func (*PixPat) PatMap

func (s *PixPat) PatMap() uintptr

PatMap returns the PatMap field from the record's packed storage.

func (*PixPat) PatType

func (s *PixPat) PatType() int16

PatType returns the PatType field from the record's packed storage.

func (*PixPat) PatXData

func (s *PixPat) PatXData() kernel.Pointer

PatXData returns the PatXData field from the record's packed storage.

func (*PixPat) PatXMap

func (s *PixPat) PatXMap() kernel.Pointer

PatXMap returns the PatXMap field from the record's packed storage.

func (*PixPat) PatXValid

func (s *PixPat) PatXValid() int16

PatXValid returns the PatXValid field from the record's packed storage.

func (*PixPat) SetPat1Data added in v0.6.17

func (s *PixPat) SetPat1Data(v Pattern)

SetPat1Data updates the Pat1Data field in the record's packed storage.

func (*PixPat) SetPatData added in v0.6.17

func (s *PixPat) SetPatData(v kernel.Pointer)

SetPatData updates the PatData field in the record's packed storage.

func (*PixPat) SetPatMap added in v0.6.17

func (s *PixPat) SetPatMap(v uintptr)

SetPatMap updates the PatMap field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*PixPat) SetPatType added in v0.6.17

func (s *PixPat) SetPatType(v int16)

SetPatType updates the PatType field in the record's packed storage.

func (*PixPat) SetPatXData added in v0.6.17

func (s *PixPat) SetPatXData(v kernel.Pointer)

SetPatXData updates the PatXData field in the record's packed storage.

func (*PixPat) SetPatXMap added in v0.6.17

func (s *PixPat) SetPatXMap(v kernel.Pointer)

SetPatXMap updates the PatXMap field in the record's packed storage.

func (*PixPat) SetPatXValid added in v0.6.17

func (s *PixPat) SetPatXValid(v int16)

SetPatXValid updates the PatXValid field in the record's packed storage.

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 {
	// contains filtered or unexported fields
}

ProcessInfoExtendedRec

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

func (*ProcessInfoExtendedRec) ProcessActiveTime

func (s *ProcessInfoExtendedRec) ProcessActiveTime() uint32

ProcessActiveTime returns the ProcessActiveTime field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessAppRef

func (s *ProcessInfoExtendedRec) ProcessAppRef() uintptr

ProcessAppRef returns the ProcessAppRef field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessFreeMem

func (s *ProcessInfoExtendedRec) ProcessFreeMem() uint32

ProcessFreeMem returns the ProcessFreeMem field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessInfoLength

func (s *ProcessInfoExtendedRec) ProcessInfoLength() uint32

ProcessInfoLength returns the ProcessInfoLength field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessLaunchDate

func (s *ProcessInfoExtendedRec) ProcessLaunchDate() uint32

ProcessLaunchDate returns the ProcessLaunchDate field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessLauncher

func (s *ProcessInfoExtendedRec) ProcessLauncher() *ProcessSerialNumber

ProcessLauncher returns the ProcessLauncher field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessLocation

func (s *ProcessInfoExtendedRec) ProcessLocation() uintptr

ProcessLocation returns the ProcessLocation field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessMode

func (s *ProcessInfoExtendedRec) ProcessMode() uint32

ProcessMode returns the ProcessMode field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessName

func (s *ProcessInfoExtendedRec) ProcessName() *byte

ProcessName returns the ProcessName field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessNumber

func (s *ProcessInfoExtendedRec) ProcessNumber() *ProcessSerialNumber

ProcessNumber returns the ProcessNumber field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessPurgeableTempMemTotal

func (s *ProcessInfoExtendedRec) ProcessPurgeableTempMemTotal() uint32

ProcessPurgeableTempMemTotal returns the ProcessPurgeableTempMemTotal field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessSignature

func (s *ProcessInfoExtendedRec) ProcessSignature() uint32

ProcessSignature returns the ProcessSignature field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessSize

func (s *ProcessInfoExtendedRec) ProcessSize() uint32

ProcessSize returns the ProcessSize field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessTempMemTotal

func (s *ProcessInfoExtendedRec) ProcessTempMemTotal() uint32

ProcessTempMemTotal returns the ProcessTempMemTotal field from the record's packed storage.

func (*ProcessInfoExtendedRec) ProcessType

func (s *ProcessInfoExtendedRec) ProcessType() uint32

ProcessType returns the ProcessType field from the record's packed storage.

func (*ProcessInfoExtendedRec) SetProcessActiveTime added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessActiveTime(v uint32)

SetProcessActiveTime updates the ProcessActiveTime field in the record's packed storage.

func (*ProcessInfoExtendedRec) SetProcessAppRef added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessAppRef(v uintptr)

SetProcessAppRef updates the ProcessAppRef field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ProcessInfoExtendedRec) SetProcessFreeMem added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessFreeMem(v uint32)

SetProcessFreeMem updates the ProcessFreeMem field in the record's packed storage.

func (*ProcessInfoExtendedRec) SetProcessInfoLength added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessInfoLength(v uint32)

SetProcessInfoLength updates the ProcessInfoLength field in the record's packed storage.

func (*ProcessInfoExtendedRec) SetProcessLaunchDate added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessLaunchDate(v uint32)

SetProcessLaunchDate updates the ProcessLaunchDate field in the record's packed storage.

func (*ProcessInfoExtendedRec) SetProcessLauncher added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessLauncher(v *ProcessSerialNumber)

SetProcessLauncher updates the ProcessLauncher field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ProcessInfoExtendedRec) SetProcessLocation added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessLocation(v uintptr)

SetProcessLocation updates the ProcessLocation field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ProcessInfoExtendedRec) SetProcessMode added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessMode(v uint32)

SetProcessMode updates the ProcessMode field in the record's packed storage.

func (*ProcessInfoExtendedRec) SetProcessName added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessName(v *byte)

SetProcessName updates the ProcessName field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ProcessInfoExtendedRec) SetProcessNumber added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessNumber(v *ProcessSerialNumber)

SetProcessNumber updates the ProcessNumber field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ProcessInfoExtendedRec) SetProcessPurgeableTempMemTotal added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessPurgeableTempMemTotal(v uint32)

SetProcessPurgeableTempMemTotal updates the ProcessPurgeableTempMemTotal field in the record's packed storage.

func (*ProcessInfoExtendedRec) SetProcessSignature added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessSignature(v uint32)

SetProcessSignature updates the ProcessSignature field in the record's packed storage.

func (*ProcessInfoExtendedRec) SetProcessSize added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessSize(v uint32)

SetProcessSize updates the ProcessSize field in the record's packed storage.

func (*ProcessInfoExtendedRec) SetProcessTempMemTotal added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessTempMemTotal(v uint32)

SetProcessTempMemTotal updates the ProcessTempMemTotal field in the record's packed storage.

func (*ProcessInfoExtendedRec) SetProcessType added in v0.6.17

func (s *ProcessInfoExtendedRec) SetProcessType(v uint32)

SetProcessType updates the ProcessType field in the record's packed storage.

type ProcessInfoRec

type ProcessInfoRec struct {
	// contains filtered or unexported fields
}

ProcessInfoRec

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

func (*ProcessInfoRec) ProcessActiveTime

func (s *ProcessInfoRec) ProcessActiveTime() uint32

ProcessActiveTime returns the ProcessActiveTime field from the record's packed storage.

func (*ProcessInfoRec) ProcessAppRef

func (s *ProcessInfoRec) ProcessAppRef() uintptr

ProcessAppRef returns the ProcessAppRef field from the record's packed storage.

func (*ProcessInfoRec) ProcessFreeMem

func (s *ProcessInfoRec) ProcessFreeMem() uint32

ProcessFreeMem returns the ProcessFreeMem field from the record's packed storage.

func (*ProcessInfoRec) ProcessInfoLength

func (s *ProcessInfoRec) ProcessInfoLength() uint32

ProcessInfoLength returns the ProcessInfoLength field from the record's packed storage.

func (*ProcessInfoRec) ProcessLaunchDate

func (s *ProcessInfoRec) ProcessLaunchDate() uint32

ProcessLaunchDate returns the ProcessLaunchDate field from the record's packed storage.

func (*ProcessInfoRec) ProcessLauncher

func (s *ProcessInfoRec) ProcessLauncher() *ProcessSerialNumber

ProcessLauncher returns the ProcessLauncher field from the record's packed storage.

func (*ProcessInfoRec) ProcessLocation

func (s *ProcessInfoRec) ProcessLocation() uintptr

ProcessLocation returns the ProcessLocation field from the record's packed storage.

func (*ProcessInfoRec) ProcessMode

func (s *ProcessInfoRec) ProcessMode() uint32

ProcessMode returns the ProcessMode field from the record's packed storage.

func (*ProcessInfoRec) ProcessName

func (s *ProcessInfoRec) ProcessName() *byte

ProcessName returns the ProcessName field from the record's packed storage.

func (*ProcessInfoRec) ProcessNumber

func (s *ProcessInfoRec) ProcessNumber() *ProcessSerialNumber

ProcessNumber returns the ProcessNumber field from the record's packed storage.

func (*ProcessInfoRec) ProcessSignature

func (s *ProcessInfoRec) ProcessSignature() uint32

ProcessSignature returns the ProcessSignature field from the record's packed storage.

func (*ProcessInfoRec) ProcessSize

func (s *ProcessInfoRec) ProcessSize() uint32

ProcessSize returns the ProcessSize field from the record's packed storage.

func (*ProcessInfoRec) ProcessType

func (s *ProcessInfoRec) ProcessType() uint32

ProcessType returns the ProcessType field from the record's packed storage.

func (*ProcessInfoRec) SetProcessActiveTime added in v0.6.17

func (s *ProcessInfoRec) SetProcessActiveTime(v uint32)

SetProcessActiveTime updates the ProcessActiveTime field in the record's packed storage.

func (*ProcessInfoRec) SetProcessAppRef added in v0.6.17

func (s *ProcessInfoRec) SetProcessAppRef(v uintptr)

SetProcessAppRef updates the ProcessAppRef field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ProcessInfoRec) SetProcessFreeMem added in v0.6.17

func (s *ProcessInfoRec) SetProcessFreeMem(v uint32)

SetProcessFreeMem updates the ProcessFreeMem field in the record's packed storage.

func (*ProcessInfoRec) SetProcessInfoLength added in v0.6.17

func (s *ProcessInfoRec) SetProcessInfoLength(v uint32)

SetProcessInfoLength updates the ProcessInfoLength field in the record's packed storage.

func (*ProcessInfoRec) SetProcessLaunchDate added in v0.6.17

func (s *ProcessInfoRec) SetProcessLaunchDate(v uint32)

SetProcessLaunchDate updates the ProcessLaunchDate field in the record's packed storage.

func (*ProcessInfoRec) SetProcessLauncher added in v0.6.17

func (s *ProcessInfoRec) SetProcessLauncher(v *ProcessSerialNumber)

SetProcessLauncher updates the ProcessLauncher field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ProcessInfoRec) SetProcessLocation added in v0.6.17

func (s *ProcessInfoRec) SetProcessLocation(v uintptr)

SetProcessLocation updates the ProcessLocation field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ProcessInfoRec) SetProcessMode added in v0.6.17

func (s *ProcessInfoRec) SetProcessMode(v uint32)

SetProcessMode updates the ProcessMode field in the record's packed storage.

func (*ProcessInfoRec) SetProcessName added in v0.6.17

func (s *ProcessInfoRec) SetProcessName(v *byte)

SetProcessName updates the ProcessName field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ProcessInfoRec) SetProcessNumber added in v0.6.17

func (s *ProcessInfoRec) SetProcessNumber(v *ProcessSerialNumber)

SetProcessNumber updates the ProcessNumber field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

func (*ProcessInfoRec) SetProcessSignature added in v0.6.17

func (s *ProcessInfoRec) SetProcessSignature(v uint32)

SetProcessSignature updates the ProcessSignature field in the record's packed storage.

func (*ProcessInfoRec) SetProcessSize added in v0.6.17

func (s *ProcessInfoRec) SetProcessSize(v uint32)

SetProcessSize updates the ProcessSize field in the record's packed storage.

func (*ProcessInfoRec) SetProcessType added in v0.6.17

func (s *ProcessInfoRec) SetProcessType(v uint32)

SetProcessType updates the ProcessType field in the record's packed storage.

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 {
	// contains filtered or unexported fields
}

SizeResourceRec

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

func (*SizeResourceRec) Flags

func (s *SizeResourceRec) Flags() uint16

Flags returns the Flags field from the record's packed storage.

func (*SizeResourceRec) MinimumHeapSize

func (s *SizeResourceRec) MinimumHeapSize() uint32

MinimumHeapSize returns the MinimumHeapSize field from the record's packed storage.

func (*SizeResourceRec) PreferredHeapSize

func (s *SizeResourceRec) PreferredHeapSize() uint32

PreferredHeapSize returns the PreferredHeapSize field from the record's packed storage.

func (*SizeResourceRec) SetFlags added in v0.6.17

func (s *SizeResourceRec) SetFlags(v uint16)

SetFlags updates the Flags field in the record's packed storage.

func (*SizeResourceRec) SetMinimumHeapSize added in v0.6.17

func (s *SizeResourceRec) SetMinimumHeapSize(v uint32)

SetMinimumHeapSize updates the MinimumHeapSize field in the record's packed storage.

func (*SizeResourceRec) SetPreferredHeapSize added in v0.6.17

func (s *SizeResourceRec) SetPreferredHeapSize(v uint32)

SetPreferredHeapSize updates the PreferredHeapSize field in the record's packed storage.

type So

type So uint32
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 uint32
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 {
	// contains filtered or unexported fields
}

SpeechChannelRecord - Represents a speech channel.

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

func (*SpeechChannelRecord) Data

func (s *SpeechChannelRecord) Data() [1]int

Data returns the Data field from the record's packed storage.

func (*SpeechChannelRecord) SetData added in v0.6.17

func (s *SpeechChannelRecord) SetData(v [1]int)

SetData updates the Data field in the record's packed storage.

type SpeechDoneProcPtr

type SpeechDoneProcPtr = func(*SpeechChannelRecord, uintptr)

type SpeechDoneUPP

type SpeechDoneUPP = unsafe.Pointer

func NewSpeechDoneUPP deprecated

func NewSpeechDoneUPP(userRoutine 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(chan_ *SpeechChannelRecord, refCon uintptr, theError 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 {
	// contains filtered or unexported fields
}

SpeechErrorInfo - Defines a speech error information structure.

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

func (*SpeechErrorInfo) Count

func (s *SpeechErrorInfo) Count() int16

Count returns the Count field from the record's packed storage.

func (*SpeechErrorInfo) NewPos

func (s *SpeechErrorInfo) NewPos() int

NewPos returns the NewPos field from the record's packed storage.

func (*SpeechErrorInfo) Newest

func (s *SpeechErrorInfo) Newest() int16

Newest returns the Newest field from the record's packed storage.

func (*SpeechErrorInfo) OldPos

func (s *SpeechErrorInfo) OldPos() int

OldPos returns the OldPos field from the record's packed storage.

func (*SpeechErrorInfo) Oldest

func (s *SpeechErrorInfo) Oldest() int16

Oldest returns the Oldest field from the record's packed storage.

func (*SpeechErrorInfo) SetCount added in v0.6.17

func (s *SpeechErrorInfo) SetCount(v int16)

SetCount updates the Count field in the record's packed storage.

func (*SpeechErrorInfo) SetNewPos added in v0.6.17

func (s *SpeechErrorInfo) SetNewPos(v int)

SetNewPos updates the NewPos field in the record's packed storage.

func (*SpeechErrorInfo) SetNewest added in v0.6.17

func (s *SpeechErrorInfo) SetNewest(v int16)

SetNewest updates the Newest field in the record's packed storage.

func (*SpeechErrorInfo) SetOldPos added in v0.6.17

func (s *SpeechErrorInfo) SetOldPos(v int)

SetOldPos updates the OldPos field in the record's packed storage.

func (*SpeechErrorInfo) SetOldest added in v0.6.17

func (s *SpeechErrorInfo) SetOldest(v int16)

SetOldest updates the Oldest field in the record's packed storage.

type SpeechErrorProcPtr

type SpeechErrorProcPtr = func(*SpeechChannelRecord, uintptr, int16, int32)

type SpeechErrorUPP

type SpeechErrorUPP = unsafe.Pointer

func NewSpeechErrorUPP deprecated

func NewSpeechErrorUPP(userRoutine 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(userRoutine 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 {
	// contains filtered or unexported fields
}

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

func (*SpeechStatusInfo) InputBytesLeft

func (s *SpeechStatusInfo) InputBytesLeft() int

InputBytesLeft returns the InputBytesLeft field from the record's packed storage.

func (*SpeechStatusInfo) OutputBusy

func (s *SpeechStatusInfo) OutputBusy() bool

OutputBusy returns the OutputBusy field from the record's packed storage.

func (*SpeechStatusInfo) OutputPaused

func (s *SpeechStatusInfo) OutputPaused() bool

OutputPaused returns the OutputPaused field from the record's packed storage.

func (*SpeechStatusInfo) PhonemeCode

func (s *SpeechStatusInfo) PhonemeCode() int16

PhonemeCode returns the PhonemeCode field from the record's packed storage.

func (*SpeechStatusInfo) SetInputBytesLeft added in v0.6.17

func (s *SpeechStatusInfo) SetInputBytesLeft(v int)

SetInputBytesLeft updates the InputBytesLeft field in the record's packed storage.

func (*SpeechStatusInfo) SetOutputBusy added in v0.6.17

func (s *SpeechStatusInfo) SetOutputBusy(v bool)

SetOutputBusy updates the OutputBusy field in the record's packed storage.

func (*SpeechStatusInfo) SetOutputPaused added in v0.6.17

func (s *SpeechStatusInfo) SetOutputPaused(v bool)

SetOutputPaused updates the OutputPaused field in the record's packed storage.

func (*SpeechStatusInfo) SetPhonemeCode added in v0.6.17

func (s *SpeechStatusInfo) SetPhonemeCode(v int16)

SetPhonemeCode updates the PhonemeCode field in the record's packed storage.

type SpeechSyncProcPtr

type SpeechSyncProcPtr = func(*SpeechChannelRecord, uintptr, uint32)

type SpeechSyncUPP

type SpeechSyncUPP = unsafe.Pointer

func NewSpeechSyncUPP deprecated

func NewSpeechSyncUPP(userRoutine 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(userRoutine 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 {
	// contains filtered or unexported fields
}

SpeechVersionInfo - Defines a speech version information structure.

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

func (*SpeechVersionInfo) SetSynthFlags added in v0.6.17

func (s *SpeechVersionInfo) SetSynthFlags(v int32)

SetSynthFlags updates the SynthFlags field in the record's packed storage.

func (*SpeechVersionInfo) SetSynthManufacturer added in v0.6.17

func (s *SpeechVersionInfo) SetSynthManufacturer(v uint32)

SetSynthManufacturer updates the SynthManufacturer field in the record's packed storage.

func (*SpeechVersionInfo) SetSynthSubType added in v0.6.17

func (s *SpeechVersionInfo) SetSynthSubType(v uint32)

SetSynthSubType updates the SynthSubType field in the record's packed storage.

func (*SpeechVersionInfo) SetSynthType added in v0.6.17

func (s *SpeechVersionInfo) SetSynthType(v uint32)

SetSynthType updates the SynthType field in the record's packed storage.

func (*SpeechVersionInfo) SetSynthVersion added in v0.6.17

func (s *SpeechVersionInfo) SetSynthVersion(v uint32)

SetSynthVersion updates the SynthVersion field in the record's packed storage.

func (*SpeechVersionInfo) SynthFlags

func (s *SpeechVersionInfo) SynthFlags() int32

SynthFlags returns the SynthFlags field from the record's packed storage.

func (*SpeechVersionInfo) SynthManufacturer

func (s *SpeechVersionInfo) SynthManufacturer() uint32

SynthManufacturer returns the SynthManufacturer field from the record's packed storage.

func (*SpeechVersionInfo) SynthSubType

func (s *SpeechVersionInfo) SynthSubType() uint32

SynthSubType returns the SynthSubType field from the record's packed storage.

func (*SpeechVersionInfo) SynthType

func (s *SpeechVersionInfo) SynthType() uint32

SynthType returns the SynthType field from the record's packed storage.

func (*SpeechVersionInfo) SynthVersion

func (s *SpeechVersionInfo) SynthVersion() uint32

SynthVersion returns the SynthVersion field from the record's packed storage.

type SpeechWordCFProcPtr

type SpeechWordCFProcPtr = func(chan_ *SpeechChannelRecord, refCon uintptr, aString corefoundation.CFStringRef, wordRange corefoundation.CFRange)

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(userRoutine 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 {
	// contains filtered or unexported fields
}

SpeechXtndData - Defines a speech extension data structure.

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

func (*SpeechXtndData) SetSynthCreator added in v0.6.17

func (s *SpeechXtndData) SetSynthCreator(v uint32)

SetSynthCreator updates the SynthCreator field in the record's packed storage.

func (*SpeechXtndData) SetSynthData added in v0.6.17

func (s *SpeechXtndData) SetSynthData(v [2]uint8)

SetSynthData updates the SynthData field in the record's packed storage.

func (*SpeechXtndData) SynthCreator

func (s *SpeechXtndData) SynthCreator() uint32

SynthCreator returns the SynthCreator field from the record's packed storage.

func (*SpeechXtndData) SynthData

func (s *SpeechXtndData) SynthData() [2]uint8

SynthData returns the SynthData field from the record's packed storage.

type StyleTable

type StyleTable struct {
	// contains filtered or unexported fields
}

StyleTable

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

func (*StyleTable) FontClass

func (s *StyleTable) FontClass() int16

FontClass returns the FontClass field from the record's packed storage.

func (*StyleTable) Indexes

func (s *StyleTable) Indexes() [48]int8

Indexes returns the Indexes field from the record's packed storage.

func (*StyleTable) Offset

func (s *StyleTable) Offset() int32

Offset returns the Offset field from the record's packed storage.

func (*StyleTable) Reserved

func (s *StyleTable) Reserved() int32

Reserved returns the Reserved field from the record's packed storage.

func (*StyleTable) SetFontClass added in v0.6.17

func (s *StyleTable) SetFontClass(v int16)

SetFontClass updates the FontClass field in the record's packed storage.

func (*StyleTable) SetIndexes added in v0.6.17

func (s *StyleTable) SetIndexes(v [48]int8)

SetIndexes updates the Indexes field in the record's packed storage.

func (*StyleTable) SetOffset added in v0.6.17

func (s *StyleTable) SetOffset(v int32)

SetOffset updates the Offset field in the record's packed storage.

func (*StyleTable) SetReserved added in v0.6.17

func (s *StyleTable) SetReserved(v int32)

SetReserved updates the Reserved field in the record's packed storage.

type Sv

type Sv uint32
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 uint32
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 {
	// contains filtered or unexported fields
}

VDGammaRecord

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

func (*VDGammaRecord) CsGTable

func (s *VDGammaRecord) CsGTable() uintptr

CsGTable returns the CsGTable field from the record's packed storage.

func (*VDGammaRecord) SetCsGTable added in v0.6.17

func (s *VDGammaRecord) SetCsGTable(v uintptr)

SetCsGTable updates the CsGTable field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

type VoiceDescription

type VoiceDescription struct {
	// contains filtered or unexported fields
}

VoiceDescription - Defines a voice description structure.

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

func (*VoiceDescription) Age

func (s *VoiceDescription) Age() int16

Age returns the Age field from the record's packed storage.

func (*VoiceDescription) Comment

func (s *VoiceDescription) Comment() [256]uint8

Comment returns the Comment field from the record's packed storage.

func (*VoiceDescription) Gender

func (s *VoiceDescription) Gender() int16

Gender returns the Gender field from the record's packed storage.

func (*VoiceDescription) Language

func (s *VoiceDescription) Language() int16

Language returns the Language field from the record's packed storage.

func (*VoiceDescription) Length

func (s *VoiceDescription) Length() int32

Length returns the Length field from the record's packed storage.

func (*VoiceDescription) Name

func (s *VoiceDescription) Name() [64]uint8

Name returns the Name field from the record's packed storage.

func (*VoiceDescription) Region

func (s *VoiceDescription) Region() int16

Region returns the Region field from the record's packed storage.

func (*VoiceDescription) Reserved

func (s *VoiceDescription) Reserved() [4]int32

Reserved returns the Reserved field from the record's packed storage.

func (*VoiceDescription) Script

func (s *VoiceDescription) Script() int16

Script returns the Script field from the record's packed storage.

func (*VoiceDescription) SetAge added in v0.6.17

func (s *VoiceDescription) SetAge(v int16)

SetAge updates the Age field in the record's packed storage.

func (*VoiceDescription) SetComment added in v0.6.17

func (s *VoiceDescription) SetComment(v [256]uint8)

SetComment updates the Comment field in the record's packed storage.

func (*VoiceDescription) SetGender added in v0.6.17

func (s *VoiceDescription) SetGender(v int16)

SetGender updates the Gender field in the record's packed storage.

func (*VoiceDescription) SetLanguage added in v0.6.17

func (s *VoiceDescription) SetLanguage(v int16)

SetLanguage updates the Language field in the record's packed storage.

func (*VoiceDescription) SetLength added in v0.6.17

func (s *VoiceDescription) SetLength(v int32)

SetLength updates the Length field in the record's packed storage.

func (*VoiceDescription) SetName added in v0.6.17

func (s *VoiceDescription) SetName(v [64]uint8)

SetName updates the Name field in the record's packed storage.

func (*VoiceDescription) SetRegion added in v0.6.17

func (s *VoiceDescription) SetRegion(v int16)

SetRegion updates the Region field in the record's packed storage.

func (*VoiceDescription) SetReserved added in v0.6.17

func (s *VoiceDescription) SetReserved(v [4]int32)

SetReserved updates the Reserved field in the record's packed storage.

func (*VoiceDescription) SetScript added in v0.6.17

func (s *VoiceDescription) SetScript(v int16)

SetScript updates the Script field in the record's packed storage.

func (*VoiceDescription) SetVersion added in v0.6.17

func (s *VoiceDescription) SetVersion(v int32)

SetVersion updates the Version field in the record's packed storage.

func (*VoiceDescription) SetVoice added in v0.6.17

func (s *VoiceDescription) SetVoice(v VoiceSpec)

SetVoice updates the Voice field in the record's packed storage.

func (*VoiceDescription) Version

func (s *VoiceDescription) Version() int32

Version returns the Version field from the record's packed storage.

func (*VoiceDescription) Voice

func (s *VoiceDescription) Voice() VoiceSpec

Voice returns the Voice field from the record's packed storage.

type VoiceFileInfo

type VoiceFileInfo struct {
	FileSpec [70]byte // 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    int16    // 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 {
	// contains filtered or unexported fields
}

VoiceSpec - Defines a voice specification structure.

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

func (*VoiceSpec) Creator

func (s *VoiceSpec) Creator() uint32

Creator returns the Creator field from the record's packed storage.

func (*VoiceSpec) Id

func (s *VoiceSpec) Id() uint32

Id returns the Id field from the record's packed storage.

func (*VoiceSpec) SetCreator added in v0.6.17

func (s *VoiceSpec) SetCreator(v uint32)

SetCreator updates the Creator field in the record's packed storage.

func (*VoiceSpec) SetId added in v0.6.17

func (s *VoiceSpec) SetId(v uint32)

SetId updates the Id field in the record's packed storage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL