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 ¶
- Apple Event Manager
- ColorSync Manager (CMFlattenProcPtr, CM2Profile, CMDeviceInfo, CMDeviceProfileArray, CMDeviceScope)
- Speech Synthesis Manager (SpeechDoneProcPtr, SpeechErrorProcPtr, SpeechErrorCFProcPtr, SpeechPhonemeProcPtr, SpeechSyncProcPtr)
Protocols ¶
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- func AXAPIEnabled() booldeprecated
- func AXIsProcessTrusted() bool
- func AXIsProcessTrustedWithOptions(options corefoundation.CFDictionaryRef) bool
- func AXObserverGetRunLoopSource(observer AXObserverRef) corefoundation.CFRunLoopSourceRef
- func AXObserverGetTypeID() uint
- func AXTextMarkerGetBytePtr(theTextMarker AXTextMarkerRef) uint8
- func AXTextMarkerGetLength(marker AXTextMarkerRef) int
- func AXTextMarkerGetTypeID() uint
- func AXTextMarkerRangeGetTypeID() uint
- func AXUIElementGetTypeID() uint
- func AXValueGetTypeID() uint
- func AXValueGetValue(value AXValueRef, theType AXValueType, valuePtr unsafe.Pointer) bool
- func BindFunc(fptr any, name string) (err error)
- func ContinueSpeech(chan_ *SpeechChannelRecord) int16deprecated
- func CopyPhonemesFromText(chan_ *SpeechChannelRecord, text corefoundation.CFStringRef, ...) int16deprecated
- func CopyProcessName(psn *ProcessSerialNumber, name *corefoundation.CFStringRef) int32deprecated
- func CopySpeechProperty(chan_ *SpeechChannelRecord, property corefoundation.CFStringRef, ...) int16deprecated
- func CountVoices(numVoices int16) int16deprecated
- func DisposeIconActionUPP(userUPP IconActionUPP)
- func DisposeIconGetterUPP(userUPP IconGetterUPP)
- func DisposeSpeechChannel(chan_ *SpeechChannelRecord) int16deprecated
- func DisposeSpeechDoneUPP(userUPP SpeechDoneUPP)deprecated
- func DisposeSpeechErrorUPP(userUPP SpeechErrorUPP)deprecated
- func DisposeSpeechPhonemeUPP(userUPP SpeechPhonemeUPP)deprecated
- func DisposeSpeechSyncUPP(userUPP SpeechSyncUPP)deprecated
- func DisposeSpeechTextDoneUPP(userUPP SpeechTextDoneUPP)deprecated
- func DisposeSpeechWordUPP(userUPP SpeechWordUPP)deprecated
- func ExitToShell()deprecated
- func GetCurrentProcess(pPSN *ProcessSerialNumber) int16deprecated
- func GetFrontProcess(pPSN *ProcessSerialNumber) int16deprecated
- func GetIconFamilyData(iconFamily unsafe.Pointer, iconType uint32, h kernel.Handle) int16
- func GetIconRefVariant(inIconRef unsafe.Pointer, inVariant uint32, outTransform *IconTransformType) unsafe.Pointer
- func GetIndVoice(index int16, voice unsafe.Pointer) int16deprecated
- func GetNextProcess(pPSN *ProcessSerialNumber) int16deprecated
- func GetProcessBundleLocation(psn *ProcessSerialNumber, location *coreservices.FSRef) int32deprecated
- func GetProcessForPID(pid int32, psn *ProcessSerialNumber) int32deprecated
- func GetProcessInformation(PSN *ProcessSerialNumber, info *ProcessInfoRec) int16deprecated
- func GetProcessPID(psn *ProcessSerialNumber, pid *int32) int32deprecated
- func GetSpeechInfo(chan_ *SpeechChannelRecord, selector uint32, speechInfo unsafe.Pointer) int16deprecated
- func GetSpeechPitch(chan_ *SpeechChannelRecord, pitch *int32) int16deprecated
- func GetSpeechRate(chan_ *SpeechChannelRecord, rate *int32) int16deprecated
- func GetVoiceDescription(voice unsafe.Pointer, info unsafe.Pointer, infoLength unsafe.Pointer) int16deprecated
- func GetVoiceInfo(voice unsafe.Pointer, selector uint32, voiceInfo unsafe.Pointer) int16deprecated
- func HIShapeContainsPoint(inShape HIShapeRef, inPoint unsafe.Pointer) bool
- func HIShapeDifference(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
- func HIShapeEnumerate(inShape HIShapeRef, inOptions uint32, inProc HIShapeEnumerateProcPtr, ...) int32
- func HIShapeGetAsQDRgn(inShape HIShapeRef, outRgn unsafe.Pointer) int32
- func HIShapeGetBounds(inShape HIShapeRef, outRect unsafe.Pointer) *corefoundation.CGRect
- func HIShapeGetTypeID() uint
- func HIShapeInset(inShape HIMutableShapeRef, inDX float64, inDY float64) int32
- func HIShapeIntersect(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
- func HIShapeIntersectsRect(inShape HIShapeRef, inRect unsafe.Pointer) bool
- func HIShapeIsEmpty(inShape HIShapeRef) bool
- func HIShapeIsRectangular(inShape HIShapeRef) bool
- func HIShapeOffset(inShape HIMutableShapeRef, inDX float64, inDY float64) int32
- func HIShapeReplacePathInCGContext(inShape HIShapeRef, inContext coregraphics.CGContextRef) int32
- func HIShapeSetEmpty(inShape HIMutableShapeRef) int32
- func HIShapeSetWithShape(inDestShape HIMutableShapeRef, inSrcShape HIShapeRef) int32
- func HIShapeUnion(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
- func HIShapeUnionWithRect(inShape HIMutableShapeRef, inRect unsafe.Pointer) int32
- func HIShapeXor(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
- func ICAddMapEntry(inst ICInstance, entries kernel.Handle, entry *ICMapEntry) int32deprecated
- func ICAddProfile(inst ICInstance, prototypeID ICProfileID, newID *ICProfileID) int32deprecated
- func ICBegin(inst ICInstance, perm ICPerm) int32deprecated
- func ICCountMapEntries(inst ICInstance, entries kernel.Handle, count *int) int32deprecated
- func ICCountPref(inst ICInstance, count *int) int32deprecated
- func ICCountProfiles(inst ICInstance, count *int) int32deprecated
- func ICCreateGURLEvent(inst ICInstance, helperCreator uint32, urlH kernel.Handle, ...) int32deprecated
- func ICDeleteMapEntry(inst ICInstance, entries kernel.Handle, pos int) int32deprecated
- func ICDeletePref(inst ICInstance, key unsafe.Pointer) int32deprecated
- func ICDeleteProfile(inst ICInstance, thisID ICProfileID) int32deprecated
- func ICEditPreferences(inst ICInstance, key unsafe.Pointer) int32deprecated
- func ICEnd(inst ICInstance) int32deprecated
- func ICFindPrefHandle(inst ICInstance, key unsafe.Pointer, attr *ICAttr, prefh kernel.Handle) int32deprecated
- func ICGetConfigName(inst ICInstance, longname bool, name unsafe.Pointer) int32deprecated
- func ICGetCurrentProfile(inst ICInstance, currentID *ICProfileID) int32deprecated
- func ICGetDefaultPref(inst ICInstance, key unsafe.Pointer, prefH kernel.Handle) int32deprecated
- func ICGetIndMapEntry(inst ICInstance, entries kernel.Handle, index int, pos *int, entry *ICMapEntry) int32deprecated
- func ICGetIndPref(inst ICInstance, index int, key unsafe.Pointer) int32deprecated
- func ICGetIndProfile(inst ICInstance, index int, thisID *ICProfileID) int32deprecated
- func ICGetMapEntry(inst ICInstance, entries kernel.Handle, pos int, entry *ICMapEntry) int32deprecated
- func ICGetPerm(inst ICInstance, perm *ICPerm) int32deprecated
- func ICGetPref(inst ICInstance, key unsafe.Pointer, attr *ICAttr, buf unsafe.Pointer, ...) int32deprecated
- func ICGetPrefHandle(inst ICInstance, key unsafe.Pointer, attr *ICAttr, prefh *kernel.Handle) int32deprecated
- func ICGetProfileName(inst ICInstance, thisID ICProfileID, name unsafe.Pointer) int32deprecated
- func ICGetSeed(inst ICInstance, seed *int) int32deprecated
- func ICGetVersion(inst ICInstance, whichVersion int, version *uint32) int32deprecated
- func ICLaunchURL(inst ICInstance, hint unsafe.Pointer, data unsafe.Pointer, len_ int, ...) int32deprecated
- func ICMapEntriesFilename(inst ICInstance, entries kernel.Handle, filename unsafe.Pointer, ...) int32deprecated
- func ICMapEntriesTypeCreator(inst ICInstance, entries kernel.Handle, fType uint32, fCreator uint32, ...) int32deprecated
- func ICMapFilename(inst ICInstance, filename unsafe.Pointer, entry *ICMapEntry) int32deprecated
- func ICMapTypeCreator(inst ICInstance, fType uint32, fCreator uint32, filename unsafe.Pointer, ...) int32deprecated
- func ICParseURL(inst ICInstance, hint unsafe.Pointer, data unsafe.Pointer, len_ int, ...) int32deprecated
- func ICSendGURLEvent(inst ICInstance, theEvent *coreservices.AppleEvent) int32deprecated
- func ICSetCurrentProfile(inst ICInstance, newID ICProfileID) int32deprecated
- func ICSetMapEntry(inst ICInstance, entries kernel.Handle, pos int, entry *ICMapEntry) int32deprecated
- func ICSetPref(inst ICInstance, key unsafe.Pointer, attr ICAttr, buf unsafe.Pointer, size int) int32deprecated
- func ICSetPrefHandle(inst ICInstance, key unsafe.Pointer, attr ICAttr, prefh kernel.Handle) int32deprecated
- func ICSetProfileName(inst ICInstance, thisID ICProfileID, name unsafe.Pointer) int32deprecated
- func ICStart(inst *ICInstance, signature uint32) int32deprecated
- func ICStop(inst ICInstance) int32deprecated
- func IconRefContainsCGPoint(testPt unsafe.Pointer, iconRect unsafe.Pointer, align IconAlignmentType, ...) bool
- func IconRefIntersectsCGRect(testRect unsafe.Pointer, iconRect unsafe.Pointer, align IconAlignmentType, ...) bool
- func IconRefToIconFamily(theIconRef unsafe.Pointer, whichIcons IconSelectorValue, ...) int16
- func InvokeIconActionUPP(theType uint32, theIcon *kernel.Handle, yourDataPtr unsafe.Pointer, ...) int16
- func InvokeIconGetterUPP(theType uint32, yourDataPtr unsafe.Pointer, userUPP IconGetterUPP) kernel.Handle
- func InvokeSpeechDoneUPP(chan_ *SpeechChannelRecord, refCon uintptr, userUPP SpeechDoneUPP)deprecated
- func InvokeSpeechErrorUPP(chan_ *SpeechChannelRecord, refCon uintptr, theError int16, bytePos int, ...)deprecated
- func InvokeSpeechPhonemeUPP(chan_ *SpeechChannelRecord, refCon uintptr, phonemeOpcode int16, ...)deprecated
- func InvokeSpeechSyncUPP(chan_ *SpeechChannelRecord, refCon uintptr, syncMessage uint32, ...)deprecated
- func InvokeSpeechTextDoneUPP(chan_ *SpeechChannelRecord, refCon uintptr, nextBuf unsafe.Pointer, ...)deprecated
- func InvokeSpeechWordUPP(chan_ *SpeechChannelRecord, refCon uintptr, wordPos uint, wordLen uint16, ...)deprecated
- func IsIconRefMaskEmpty(iconRef unsafe.Pointer) bool
- func IsProcessVisible(psn *ProcessSerialNumber) booldeprecated
- func KillProcess(inProcess *ProcessSerialNumber) int16deprecated
- func LaunchApplication(LaunchParams LaunchPBPtr) int16deprecated
- func MakeVoiceSpec(creator uint32, id uint32, voice unsafe.Pointer) int16deprecated
- func NewATSCubicClosePathProcPtrBlock(handler ATSCubicClosePathProcPtr) (objc.ID, func())
- func NewATSNotificationCallbackBlock(handler ATSNotificationCallback) (objc.ID, func())
- func NewATSQuadraticClosePathProcPtrBlock(handler ATSQuadraticClosePathProcPtr) (objc.ID, func())
- func NewATSQuadraticNewPathProcPtrBlock(handler ATSQuadraticNewPathProcPtr) (objc.ID, func())
- func NewAXObserverCallbackBlock(handler AXObserverCallback) (objc.ID, func())
- func NewAXObserverCallbackWithInfoBlock(handler AXObserverCallbackWithInfo) (objc.ID, func())
- func NewColorComplementProcPtrBlock(handler ColorComplementProcPtr) (objc.ID, func())
- func NewDragGrayRgnProcPtrBlock(handler DragGrayRgnProcPtr) (objc.ID, func())
- func NewQDArcProcPtrBlock(handler QDArcProcPtr) (objc.ID, func())
- func NewQDBitsProcPtrBlock(handler QDBitsProcPtr) (objc.ID, func())
- func NewQDCommentProcPtrBlock(handler QDCommentProcPtr) (objc.ID, func())
- func NewQDGetPicProcPtrBlock(handler QDGetPicProcPtr) (objc.ID, func())
- func NewQDJShieldCursorProcPtrBlock(handler QDJShieldCursorProcPtr) (objc.ID, func())
- func NewQDLineProcPtrBlock(handler QDLineProcPtr) (objc.ID, func())
- func NewQDOpcodeProcPtrBlock(handler QDOpcodeProcPtr) (objc.ID, func())
- func NewQDOvalProcPtrBlock(handler QDOvalProcPtr) (objc.ID, func())
- func NewQDPolyProcPtrBlock(handler QDPolyProcPtr) (objc.ID, func())
- func NewQDPutPicProcPtrBlock(handler QDPutPicProcPtr) (objc.ID, func())
- func NewQDRRectProcPtrBlock(handler QDRRectProcPtr) (objc.ID, func())
- func NewQDRectProcPtrBlock(handler QDRectProcPtr) (objc.ID, func())
- func NewQDRgnProcPtrBlock(handler QDRgnProcPtr) (objc.ID, func())
- func NewQDTextProcPtrBlock(handler QDTextProcPtr) (objc.ID, func())
- func NewSpeechChannel(voice unsafe.Pointer, chan_ **SpeechChannelRecord) int16deprecated
- func NewSpeechDoneProcPtrBlock(handler SpeechDoneProcPtr) (objc.ID, func())
- func NewSpeechErrorCFProcPtrBlock(handler SpeechErrorCFProcPtr) (objc.ID, func())
- func NewSpeechErrorProcPtrBlock(handler SpeechErrorProcPtr) (objc.ID, func())
- func NewSpeechPhonemeProcPtrBlock(handler SpeechPhonemeProcPtr) (objc.ID, func())
- func NewSpeechSyncProcPtrBlock(handler SpeechSyncProcPtr) (objc.ID, func())
- func NewSpeechTextDoneProcPtrBlock(handler SpeechTextDoneProcPtr) (objc.ID, func())
- func NewSpeechWordCFProcPtrBlock(handler SpeechWordCFProcPtr) (objc.ID, func())
- func NewSpeechWordProcPtrBlock(handler SpeechWordProcPtr) (objc.ID, func())
- func PMCGImageCreateWithEPSDataProvider(epsDataProvider coregraphics.CGDataProviderRef, ...) coregraphics.CGImageRef
- func PMCopyAvailablePPDs(domain PMPPDDomain, ppds *corefoundation.CFArrayRef) int32
- func PMCopyLocalizedPPD(ppd corefoundation.CFURLRef, localizedPPD *corefoundation.CFURLRef) int32
- func PMCopyPPDData(ppd corefoundation.CFURLRef, data *corefoundation.CFDataRef) int32
- func PMCopyPageFormat(formatSrc uintptr, formatDest uintptr) int32
- func PMCopyPrintSettings(settingSrc uintptr, settingDest uintptr) int32
- func PMCreateGenericPrinter(printer *uintptr) int32
- func PMCreatePageFormat(pageFormat *uintptr) int32
- func PMCreatePageFormatWithPMPaper(pageFormat *uintptr, paper uintptr) int32
- func PMCreatePrintSettings(printSettings *uintptr) int32
- func PMCreateSession(printSession *PMPrintSession) int32
- func PMGetAdjustedPageRect(pageFormat uintptr, pageRect unsafe.Pointer) int32
- func PMGetAdjustedPaperRect(pageFormat uintptr, paperRect unsafe.Pointer) int32
- func PMGetCollate(printSettings uintptr, collate unsafe.Pointer) int32
- func PMGetCopies(printSettings uintptr, copies *uint32) int32
- func PMGetDuplex(printSettings uintptr, duplexSetting *PMDuplexMode) int32
- func PMGetFirstPage(printSettings uintptr, first *uint32) int32
- func PMGetLastPage(printSettings uintptr, last *uint32) int32
- func PMGetOrientation(pageFormat uintptr, orientation *PMOrientation) int32
- func PMGetPageFormatExtendedData(pageFormat uintptr, dataID uint32, size *uint32, extendedData unsafe.Pointer) int32
- func PMGetPageFormatPaper(format uintptr, paper *uintptr) int32
- func PMGetPageRange(printSettings uintptr, minPage *uint32, maxPage *uint32) int32
- func PMGetScale(pageFormat uintptr, scale unsafe.Pointer) int32
- func PMGetUnadjustedPageRect(pageFormat uintptr, pageRect unsafe.Pointer) int32
- func PMGetUnadjustedPaperRect(pageFormat uintptr, paperRect unsafe.Pointer) int32
- func PMPageFormatCreateDataRepresentation(pageFormat uintptr, data *corefoundation.CFDataRef, format PMDataFormat) int32
- func PMPageFormatCreateWithDataRepresentation(data corefoundation.CFDataRef, pageFormat *uintptr) int32
- func PMPageFormatGetPrinterID(pageFormat uintptr, printerID *corefoundation.CFStringRef) int32
- func PMPaperCreateCustom(printer uintptr, id corefoundation.CFStringRef, ...) int32
- func PMPaperCreateLocalizedName(paper uintptr, printer uintptr, paperName *corefoundation.CFStringRef) int32
- func PMPaperGetHeight(paper uintptr, paperHeight unsafe.Pointer) int32
- func PMPaperGetID(paper uintptr, paperID *corefoundation.CFStringRef) int32
- func PMPaperGetMargins(paper uintptr, paperMargins *PMPaperMargins) int32
- func PMPaperGetPPDPaperName(paper uintptr, paperName *corefoundation.CFStringRef) int32
- func PMPaperGetPrinterID(paper uintptr, printerID *corefoundation.CFStringRef) int32
- func PMPaperGetWidth(paper uintptr, paperWidth unsafe.Pointer) int32
- func PMPaperIsCustom(paper uintptr) bool
- func PMPresetCopyName(preset PMPreset, name *corefoundation.CFStringRef) int32
- func PMPresetCreatePrintSettings(preset PMPreset, session PMPrintSession, printSettings *uintptr) int32
- func PMPresetGetAttributes(preset PMPreset, attributes *corefoundation.CFDictionaryRef) int32
- func PMPrintSettingsCopyAsDictionary(printSettings uintptr, settingsDictionary *corefoundation.CFDictionaryRef) int32
- func PMPrintSettingsCopyKeys(printSettings uintptr, settingsKeys *corefoundation.CFArrayRef) int32
- func PMPrintSettingsCreateDataRepresentation(printSettings uintptr, data *corefoundation.CFDataRef, format PMDataFormat) int32
- func PMPrintSettingsCreateWithDataRepresentation(data corefoundation.CFDataRef, printSettings *uintptr) int32
- func PMPrintSettingsGetJobName(printSettings uintptr, name *corefoundation.CFStringRef) int32
- func PMPrintSettingsGetValue(printSettings uintptr, key corefoundation.CFStringRef, ...) int32
- func PMPrintSettingsSetJobName(printSettings uintptr, name corefoundation.CFStringRef) int32
- func PMPrintSettingsSetValue(printSettings uintptr, key corefoundation.CFStringRef, ...) int32
- func PMPrintSettingsToOptions(settings uintptr, options string) int32
- func PMPrintSettingsToOptionsWithPrinterAndPageFormat(settings uintptr, printer uintptr, pageFormat uintptr, options string) int32
- func PMPrinterCopyDescriptionURL(printer uintptr, descriptionType corefoundation.CFStringRef, ...) int32
- func PMPrinterCopyDeviceURI(printer uintptr, deviceURI *corefoundation.CFURLRef) int32
- func PMPrinterCopyHostName(printer uintptr, hostNameP *corefoundation.CFStringRef) int32
- func PMPrinterCopyPresets(printer uintptr, presetList *corefoundation.CFArrayRef) int32
- func PMPrinterCopyState(printer uintptr, stateDict *corefoundation.CFDictionaryRef) int32
- func PMPrinterCreateFromPrinterID(printerID corefoundation.CFStringRef) uintptr
- func PMPrinterGetCommInfo(printer uintptr, supportsControlCharRangeP unsafe.Pointer, ...) int32
- func PMPrinterGetDriverCreator(printer uintptr, creator *uint32) int32
- func PMPrinterGetDriverReleaseInfo(printer uintptr, release *uintptr) int32
- func PMPrinterGetID(printer uintptr) corefoundation.CFStringRef
- func PMPrinterGetIndexedPrinterResolution(printer uintptr, index uint32, resolutionP unsafe.Pointer) int32
- func PMPrinterGetLanguageInfo(printer uintptr, info *PMLanguageInfo) int32
- func PMPrinterGetLocation(printer uintptr) corefoundation.CFStringRef
- func PMPrinterGetMakeAndModelName(printer uintptr, makeAndModel *corefoundation.CFStringRef) int32
- func PMPrinterGetMimeTypes(printer uintptr, settings uintptr, mimeTypes *corefoundation.CFArrayRef) int32
- func PMPrinterGetName(printer uintptr) corefoundation.CFStringRef
- func PMPrinterGetOutputResolution(printer uintptr, printSettings uintptr, resolutionP unsafe.Pointer) int32
- func PMPrinterGetPaperList(printer uintptr, paperList *corefoundation.CFArrayRef) int32
- func PMPrinterGetPrinterResolutionCount(printer uintptr, countP *uint32) int32
- func PMPrinterGetState(printer uintptr, state *PMPrinterState) int32
- func PMPrinterIsDefault(printer uintptr) bool
- func PMPrinterIsFavorite(printer uintptr) bool
- func PMPrinterIsPostScriptCapable(printer uintptr) bool
- func PMPrinterIsPostScriptPrinter(printer uintptr, isPSPrinter unsafe.Pointer) int32
- func PMPrinterIsRemote(printer uintptr, isRemoteP unsafe.Pointer) int32
- func PMPrinterPrintWithFile(printer uintptr, settings uintptr, format uintptr, ...) int32
- func PMPrinterPrintWithProvider(printer uintptr, settings uintptr, format uintptr, ...) int32
- func PMPrinterSendCommand(printer uintptr, commandString corefoundation.CFStringRef, ...) int32
- func PMPrinterSetDefault(printer uintptr) int32
- func PMPrinterSetOutputResolution(printer uintptr, printSettings uintptr, resolutionP unsafe.Pointer) int32
- func PMPrinterWritePostScriptToURL(printer uintptr, settings uintptr, format uintptr, ...) int32
- func PMRelease(object PMObject) int32
- func PMRetain(object PMObject) int32
- func PMServerCreatePrinterList(server PMServer, printerList *corefoundation.CFArrayRef) int32
- func PMServerLaunchPrinterBrowser(server PMServer, options corefoundation.CFDictionaryRef) int32
- func PMSessionBeginCGDocumentNoDialog(printSession PMPrintSession, printSettings uintptr, pageFormat uintptr) int32
- func PMSessionBeginPageNoDialog(printSession PMPrintSession, pageFormat uintptr, pageFrame unsafe.Pointer) int32
- func PMSessionCopyDestinationFormat(printSession PMPrintSession, printSettings uintptr, ...) int32
- func PMSessionCopyDestinationLocation(printSession PMPrintSession, printSettings uintptr, ...) int32
- func PMSessionCopyOutputFormatList(printSession PMPrintSession, destType PMDestinationType, ...) int32
- func PMSessionCreatePageFormatList(printSession PMPrintSession, printer uintptr, ...) int32
- func PMSessionCreatePrinterList(printSession PMPrintSession, printerList *corefoundation.CFArrayRef, ...) int32
- func PMSessionDefaultPageFormat(printSession PMPrintSession, pageFormat uintptr) int32
- func PMSessionDefaultPrintSettings(printSession PMPrintSession, printSettings uintptr) int32
- func PMSessionEndDocumentNoDialog(printSession PMPrintSession) int32
- func PMSessionEndPageNoDialog(printSession PMPrintSession) int32
- func PMSessionError(printSession PMPrintSession) int32
- func PMSessionGetCGGraphicsContext(printSession PMPrintSession, context *coregraphics.CGContextRef) int32
- func PMSessionGetCurrentPrinter(printSession PMPrintSession, currentPrinter *uintptr) int32
- func PMSessionGetDataFromSession(printSession PMPrintSession, key corefoundation.CFStringRef, ...) int32
- func PMSessionGetDestinationType(printSession PMPrintSession, printSettings uintptr, ...) int32
- func PMSessionSetCurrentPMPrinter(session PMPrintSession, printer uintptr) int32
- func PMSessionSetDataInSession(printSession PMPrintSession, key corefoundation.CFStringRef, ...) int32
- func PMSessionSetDestination(printSession PMPrintSession, printSettings uintptr, destType PMDestinationType, ...) int32
- func PMSessionSetError(printSession PMPrintSession, printError int32) int32
- func PMSessionValidatePageFormat(printSession PMPrintSession, pageFormat uintptr, changed unsafe.Pointer) int32
- func PMSessionValidatePrintSettings(printSession PMPrintSession, printSettings uintptr, changed unsafe.Pointer) int32
- func PMSetCollate(printSettings uintptr, collate unsafe.Pointer) int32
- func PMSetCopies(printSettings uintptr, copies uint32, lock unsafe.Pointer) int32
- func PMSetDuplex(printSettings uintptr, duplexSetting PMDuplexMode) int32
- func PMSetFirstPage(printSettings uintptr, first uint32, lock unsafe.Pointer) int32
- func PMSetLastPage(printSettings uintptr, last uint32, lock unsafe.Pointer) int32
- func PMSetOrientation(pageFormat uintptr, orientation PMOrientation, lock unsafe.Pointer) int32
- func PMSetPageFormatExtendedData(pageFormat uintptr, dataID uint32, size uint32, extendedData unsafe.Pointer) int32
- func PMSetPageRange(printSettings uintptr, minPage uint32, maxPage uint32) int32
- func PMSetScale(pageFormat uintptr, scale unsafe.Pointer) int32
- func PMWorkflowCopyItems(workflowItems *corefoundation.CFArrayRef) int32
- func PMWorkflowSubmitPDFWithOptions(workflowItem corefoundation.CFURLRef, title corefoundation.CFStringRef, ...) int32
- func PMWorkflowSubmitPDFWithSettings(workflowItem corefoundation.CFURLRef, settings uintptr, ...) int32
- func PasteboardClear(inPasteboard PasteboardRef) int32
- func PasteboardCopyItemFlavorData(inPasteboard PasteboardRef, inItem PasteboardItemID, ...) int32
- func PasteboardCopyItemFlavors(inPasteboard PasteboardRef, inItem PasteboardItemID, ...) int32
- func PasteboardCopyName(inPasteboard PasteboardRef, outName *corefoundation.CFStringRef) int32
- func PasteboardCopyPasteLocation(inPasteboard PasteboardRef, outPasteLocation *corefoundation.CFURLRef) int32
- func PasteboardCreate(inName corefoundation.CFStringRef, outPasteboard *PasteboardRef) int32
- func PasteboardGetItemCount(inPasteboard PasteboardRef, outItemCount unsafe.Pointer) int32
- func PasteboardGetItemFlavorFlags(inPasteboard PasteboardRef, inItem PasteboardItemID, ...) int32
- func PasteboardGetItemIdentifier(inPasteboard PasteboardRef, inIndex int, outItem *PasteboardItemID) int32
- func PasteboardGetTypeID() uint
- func PasteboardPutItemFlavor(inPasteboard PasteboardRef, inItem PasteboardItemID, ...) int32
- func PasteboardResolvePromises(inPasteboard PasteboardRef) int32
- func PasteboardSetPasteLocation(inPasteboard PasteboardRef, inPasteLocation corefoundation.CFURLRef) int32
- func PasteboardSetPromiseKeeper(inPasteboard PasteboardRef, inPromiseKeeper PasteboardPromiseKeeperProcPtr, ...) int32
- func PauseSpeechAt(chan_ *SpeechChannelRecord, whereToPause int32) int16deprecated
- func PlotIconRefInContext(inContext coregraphics.CGContextRef, inRect unsafe.Pointer, ...) int32
- func ProcessInformationCopyDictionary(PSN *ProcessSerialNumber, infoToReturn uint32) corefoundation.CFDictionaryRefdeprecated
- func SameProcess(PSN1 *ProcessSerialNumber, PSN2 *ProcessSerialNumber, result *bool) int16deprecated
- func SetFrontProcess(pPSN *ProcessSerialNumber) int16deprecated
- func SetFrontProcessWithOptions(inProcess *ProcessSerialNumber, inOptions uint32) int32deprecated
- func SetIconFamilyData(iconFamily unsafe.Pointer, iconType uint32, h kernel.Handle) int16
- func SetSpeechInfo(chan_ *SpeechChannelRecord, selector uint32, speechInfo unsafe.Pointer) int16deprecated
- func SetSpeechPitch(chan_ *SpeechChannelRecord, pitch int32) int16deprecated
- func SetSpeechProperty(chan_ *SpeechChannelRecord, property corefoundation.CFStringRef, ...) int16deprecated
- func SetSpeechRate(chan_ *SpeechChannelRecord, rate int32) int16deprecated
- func ShowHideProcess(psn *ProcessSerialNumber, visible bool) int16deprecated
- func SpeakBuffer(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint, ...) int16deprecated
- func SpeakCFString(chan_ *SpeechChannelRecord, aString corefoundation.CFStringRef, ...) int16deprecated
- func SpeakString(textToBeSpoken unsafe.Pointer) int16deprecated
- func SpeakText(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint) int16deprecated
- func SpeechBusy() int16deprecated
- func SpeechBusySystemWide() int16deprecated
- func SpeechManagerVersion() uint32deprecated
- func SpeechSynthesisRegisterModuleURL(url corefoundation.CFURLRef) int16deprecated
- func SpeechSynthesisUnregisterModuleURL(url corefoundation.CFURLRef) int16deprecated
- func StopSpeech(chan_ *SpeechChannelRecord) int16deprecated
- func StopSpeechAt(chan_ *SpeechChannelRecord, whereToStop int32) int16deprecated
- func SymbolAddress(name string) (uintptr, error)
- func TextToPhonemes(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint, ...) int16deprecated
- func TransformProcessType(psn unsafe.Pointer, transformState ProcessApplicationTransformState) int32
- func TranslationCopyDestinationType(inTranslation TranslationRef, outDestinationType *corefoundation.CFStringRef) int32
- func TranslationCopySourceType(inTranslation TranslationRef, outSourceType *corefoundation.CFStringRef) int32
- func TranslationCreate(inSourceType corefoundation.CFStringRef, ...) int32
- func TranslationCreateWithSourceArray(inSourceTypes corefoundation.CFArrayRef, inTranslationFlags TranslationFlags, ...) int32
- func TranslationGetTranslationFlags(inTranslation TranslationRef, outTranslationFlags *TranslationFlags) int32
- func TranslationGetTypeID() uint
- func TranslationPerformForData(inTranslation TranslationRef, inSourceData corefoundation.CFDataRef, ...) int32
- func TranslationPerformForFile(inTranslation TranslationRef, inSourceFile unsafe.Pointer, ...) int32
- func TranslationPerformForURL(inTranslation TranslationRef, inSourceURL corefoundation.CFURLRef, ...) int32
- func TryAXAPIEnabled() (bool, error)
- func TryAXIsProcessTrusted() (bool, error)
- func TryAXIsProcessTrustedWithOptions(options corefoundation.CFDictionaryRef) (bool, error)
- func TryAXObserverGetRunLoopSource(observer AXObserverRef) (corefoundation.CFRunLoopSourceRef, error)
- func TryAXObserverGetTypeID() (uint, error)
- func TryAXTextMarkerGetBytePtr(theTextMarker AXTextMarkerRef) (uint8, error)
- func TryAXTextMarkerGetLength(marker AXTextMarkerRef) (int, error)
- func TryAXTextMarkerGetTypeID() (uint, error)
- func TryAXTextMarkerRangeGetTypeID() (uint, error)
- func TryAXUIElementGetTypeID() (uint, error)
- func TryAXValueGetTypeID() (uint, error)
- func TryAXValueGetValue(value AXValueRef, theType AXValueType, valuePtr unsafe.Pointer) (bool, error)
- func TryContinueSpeech(chan_ *SpeechChannelRecord) (int16, error)
- func TryCopyPhonemesFromText(chan_ *SpeechChannelRecord, text corefoundation.CFStringRef, ...) (int16, error)
- func TryCopyProcessName(psn *ProcessSerialNumber, name *corefoundation.CFStringRef) (int32, error)
- func TryCopySpeechProperty(chan_ *SpeechChannelRecord, property corefoundation.CFStringRef, ...) (int16, error)
- func TryCountVoices(numVoices int16) (int16, error)
- func TryDisposeIconActionUPP(userUPP IconActionUPP) error
- func TryDisposeIconGetterUPP(userUPP IconGetterUPP) error
- func TryDisposeSpeechChannel(chan_ *SpeechChannelRecord) (int16, error)
- func TryDisposeSpeechDoneUPP(userUPP SpeechDoneUPP) error
- func TryDisposeSpeechErrorUPP(userUPP SpeechErrorUPP) error
- func TryDisposeSpeechPhonemeUPP(userUPP SpeechPhonemeUPP) error
- func TryDisposeSpeechSyncUPP(userUPP SpeechSyncUPP) error
- func TryDisposeSpeechTextDoneUPP(userUPP SpeechTextDoneUPP) error
- func TryDisposeSpeechWordUPP(userUPP SpeechWordUPP) error
- func TryExitToShell() error
- func TryGetCurrentProcess(pPSN *ProcessSerialNumber) (int16, error)
- func TryGetFrontProcess(pPSN *ProcessSerialNumber) (int16, error)
- func TryGetIconFamilyData(iconFamily unsafe.Pointer, iconType uint32, h kernel.Handle) (int16, error)
- func TryGetIconRefVariant(inIconRef unsafe.Pointer, inVariant uint32, outTransform *IconTransformType) (unsafe.Pointer, error)
- func TryGetIndVoice(index int16, voice unsafe.Pointer) (int16, error)
- func TryGetNextProcess(pPSN *ProcessSerialNumber) (int16, error)
- func TryGetProcessBundleLocation(psn *ProcessSerialNumber, location *coreservices.FSRef) (int32, error)
- func TryGetProcessForPID(pid int32, psn *ProcessSerialNumber) (int32, error)
- func TryGetProcessInformation(PSN *ProcessSerialNumber, info *ProcessInfoRec) (int16, error)
- func TryGetProcessPID(psn *ProcessSerialNumber, pid *int32) (int32, error)
- func TryGetSpeechInfo(chan_ *SpeechChannelRecord, selector uint32, speechInfo unsafe.Pointer) (int16, error)
- func TryGetSpeechPitch(chan_ *SpeechChannelRecord, pitch *int32) (int16, error)
- func TryGetSpeechRate(chan_ *SpeechChannelRecord, rate *int32) (int16, error)
- func TryGetVoiceDescription(voice unsafe.Pointer, info unsafe.Pointer, infoLength unsafe.Pointer) (int16, error)
- func TryGetVoiceInfo(voice unsafe.Pointer, selector uint32, voiceInfo unsafe.Pointer) (int16, error)
- func TryHIShapeContainsPoint(inShape HIShapeRef, inPoint unsafe.Pointer) (bool, error)
- func TryHIShapeDifference(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) (int32, error)
- func TryHIShapeEnumerate(inShape HIShapeRef, inOptions uint32, inProc HIShapeEnumerateProcPtr, ...) (int32, error)
- func TryHIShapeGetAsQDRgn(inShape HIShapeRef, outRgn unsafe.Pointer) (int32, error)
- func TryHIShapeGetBounds(inShape HIShapeRef, outRect unsafe.Pointer) (*corefoundation.CGRect, error)
- func TryHIShapeGetTypeID() (uint, error)
- func TryHIShapeInset(inShape HIMutableShapeRef, inDX float64, inDY float64) (int32, error)
- func TryHIShapeIntersect(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) (int32, error)
- func TryHIShapeIntersectsRect(inShape HIShapeRef, inRect unsafe.Pointer) (bool, error)
- func TryHIShapeIsEmpty(inShape HIShapeRef) (bool, error)
- func TryHIShapeIsRectangular(inShape HIShapeRef) (bool, error)
- func TryHIShapeOffset(inShape HIMutableShapeRef, inDX float64, inDY float64) (int32, error)
- func TryHIShapeReplacePathInCGContext(inShape HIShapeRef, inContext coregraphics.CGContextRef) (int32, error)
- func TryHIShapeSetEmpty(inShape HIMutableShapeRef) (int32, error)
- func TryHIShapeSetWithShape(inDestShape HIMutableShapeRef, inSrcShape HIShapeRef) (int32, error)
- func TryHIShapeUnion(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) (int32, error)
- func TryHIShapeUnionWithRect(inShape HIMutableShapeRef, inRect unsafe.Pointer) (int32, error)
- func TryHIShapeXor(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) (int32, error)
- func TryICAddMapEntry(inst ICInstance, entries kernel.Handle, entry *ICMapEntry) (int32, error)
- func TryICAddProfile(inst ICInstance, prototypeID ICProfileID, newID *ICProfileID) (int32, error)
- func TryICBegin(inst ICInstance, perm ICPerm) (int32, error)
- func TryICCountMapEntries(inst ICInstance, entries kernel.Handle, count *int) (int32, error)
- func TryICCountPref(inst ICInstance, count *int) (int32, error)
- func TryICCountProfiles(inst ICInstance, count *int) (int32, error)
- func TryICCreateGURLEvent(inst ICInstance, helperCreator uint32, urlH kernel.Handle, ...) (int32, error)
- func TryICDeleteMapEntry(inst ICInstance, entries kernel.Handle, pos int) (int32, error)
- func TryICDeletePref(inst ICInstance, key unsafe.Pointer) (int32, error)
- func TryICDeleteProfile(inst ICInstance, thisID ICProfileID) (int32, error)
- func TryICEditPreferences(inst ICInstance, key unsafe.Pointer) (int32, error)
- func TryICEnd(inst ICInstance) (int32, error)
- func TryICFindPrefHandle(inst ICInstance, key unsafe.Pointer, attr *ICAttr, prefh kernel.Handle) (int32, error)
- func TryICGetConfigName(inst ICInstance, longname bool, name unsafe.Pointer) (int32, error)
- func TryICGetCurrentProfile(inst ICInstance, currentID *ICProfileID) (int32, error)
- func TryICGetDefaultPref(inst ICInstance, key unsafe.Pointer, prefH kernel.Handle) (int32, error)
- func TryICGetIndMapEntry(inst ICInstance, entries kernel.Handle, index int, pos *int, entry *ICMapEntry) (int32, error)
- func TryICGetIndPref(inst ICInstance, index int, key unsafe.Pointer) (int32, error)
- func TryICGetIndProfile(inst ICInstance, index int, thisID *ICProfileID) (int32, error)
- func TryICGetMapEntry(inst ICInstance, entries kernel.Handle, pos int, entry *ICMapEntry) (int32, error)
- func TryICGetPerm(inst ICInstance, perm *ICPerm) (int32, error)
- func TryICGetPref(inst ICInstance, key unsafe.Pointer, attr *ICAttr, buf unsafe.Pointer, ...) (int32, error)
- func TryICGetPrefHandle(inst ICInstance, key unsafe.Pointer, attr *ICAttr, prefh *kernel.Handle) (int32, error)
- func TryICGetProfileName(inst ICInstance, thisID ICProfileID, name unsafe.Pointer) (int32, error)
- func TryICGetSeed(inst ICInstance, seed *int) (int32, error)
- func TryICGetVersion(inst ICInstance, whichVersion int, version *uint32) (int32, error)
- func TryICLaunchURL(inst ICInstance, hint unsafe.Pointer, data unsafe.Pointer, len_ int, ...) (int32, error)
- func TryICMapEntriesFilename(inst ICInstance, entries kernel.Handle, filename unsafe.Pointer, ...) (int32, error)
- func TryICMapEntriesTypeCreator(inst ICInstance, entries kernel.Handle, fType uint32, fCreator uint32, ...) (int32, error)
- func TryICMapFilename(inst ICInstance, filename unsafe.Pointer, entry *ICMapEntry) (int32, error)
- func TryICMapTypeCreator(inst ICInstance, fType uint32, fCreator uint32, filename unsafe.Pointer, ...) (int32, error)
- func TryICParseURL(inst ICInstance, hint unsafe.Pointer, data unsafe.Pointer, len_ int, ...) (int32, error)
- func TryICSendGURLEvent(inst ICInstance, theEvent *coreservices.AppleEvent) (int32, error)
- func TryICSetCurrentProfile(inst ICInstance, newID ICProfileID) (int32, error)
- func TryICSetMapEntry(inst ICInstance, entries kernel.Handle, pos int, entry *ICMapEntry) (int32, error)
- func TryICSetPref(inst ICInstance, key unsafe.Pointer, attr ICAttr, buf unsafe.Pointer, size int) (int32, error)
- func TryICSetPrefHandle(inst ICInstance, key unsafe.Pointer, attr ICAttr, prefh kernel.Handle) (int32, error)
- func TryICSetProfileName(inst ICInstance, thisID ICProfileID, name unsafe.Pointer) (int32, error)
- func TryICStart(inst *ICInstance, signature uint32) (int32, error)
- func TryICStop(inst ICInstance) (int32, error)
- func TryIconRefContainsCGPoint(testPt unsafe.Pointer, iconRect unsafe.Pointer, align IconAlignmentType, ...) (bool, error)
- func TryIconRefIntersectsCGRect(testRect unsafe.Pointer, iconRect unsafe.Pointer, align IconAlignmentType, ...) (bool, error)
- func TryIconRefToIconFamily(theIconRef unsafe.Pointer, whichIcons IconSelectorValue, ...) (int16, error)
- func TryInvokeIconActionUPP(theType uint32, theIcon *kernel.Handle, yourDataPtr unsafe.Pointer, ...) (int16, error)
- func TryInvokeIconGetterUPP(theType uint32, yourDataPtr unsafe.Pointer, userUPP IconGetterUPP) (kernel.Handle, error)
- func TryInvokeSpeechDoneUPP(chan_ *SpeechChannelRecord, refCon uintptr, userUPP SpeechDoneUPP) error
- func TryInvokeSpeechErrorUPP(chan_ *SpeechChannelRecord, refCon uintptr, theError int16, bytePos int, ...) error
- func TryInvokeSpeechPhonemeUPP(chan_ *SpeechChannelRecord, refCon uintptr, phonemeOpcode int16, ...) error
- func TryInvokeSpeechSyncUPP(chan_ *SpeechChannelRecord, refCon uintptr, syncMessage uint32, ...) error
- func TryInvokeSpeechTextDoneUPP(chan_ *SpeechChannelRecord, refCon uintptr, nextBuf unsafe.Pointer, ...) error
- func TryInvokeSpeechWordUPP(chan_ *SpeechChannelRecord, refCon uintptr, wordPos uint, wordLen uint16, ...) error
- func TryIsIconRefMaskEmpty(iconRef unsafe.Pointer) (bool, error)
- func TryIsProcessVisible(psn *ProcessSerialNumber) (bool, error)
- func TryKillProcess(inProcess *ProcessSerialNumber) (int16, error)
- func TryLaunchApplication(LaunchParams LaunchPBPtr) (int16, error)
- func TryMakeVoiceSpec(creator uint32, id uint32, voice unsafe.Pointer) (int16, error)
- func TryNewSpeechChannel(voice unsafe.Pointer, chan_ **SpeechChannelRecord) (int16, error)
- func TryPMCGImageCreateWithEPSDataProvider(epsDataProvider coregraphics.CGDataProviderRef, ...) (coregraphics.CGImageRef, error)
- func TryPMCopyAvailablePPDs(domain PMPPDDomain, ppds *corefoundation.CFArrayRef) (int32, error)
- func TryPMCopyLocalizedPPD(ppd corefoundation.CFURLRef, localizedPPD *corefoundation.CFURLRef) (int32, error)
- func TryPMCopyPPDData(ppd corefoundation.CFURLRef, data *corefoundation.CFDataRef) (int32, error)
- func TryPMCopyPageFormat(formatSrc uintptr, formatDest uintptr) (int32, error)
- func TryPMCopyPrintSettings(settingSrc uintptr, settingDest uintptr) (int32, error)
- func TryPMCreateGenericPrinter(printer *uintptr) (int32, error)
- func TryPMCreatePageFormat(pageFormat *uintptr) (int32, error)
- func TryPMCreatePageFormatWithPMPaper(pageFormat *uintptr, paper uintptr) (int32, error)
- func TryPMCreatePrintSettings(printSettings *uintptr) (int32, error)
- func TryPMCreateSession(printSession *PMPrintSession) (int32, error)
- func TryPMGetAdjustedPageRect(pageFormat uintptr, pageRect unsafe.Pointer) (int32, error)
- func TryPMGetAdjustedPaperRect(pageFormat uintptr, paperRect unsafe.Pointer) (int32, error)
- func TryPMGetCollate(printSettings uintptr, collate unsafe.Pointer) (int32, error)
- func TryPMGetCopies(printSettings uintptr, copies *uint32) (int32, error)
- func TryPMGetDuplex(printSettings uintptr, duplexSetting *PMDuplexMode) (int32, error)
- func TryPMGetFirstPage(printSettings uintptr, first *uint32) (int32, error)
- func TryPMGetLastPage(printSettings uintptr, last *uint32) (int32, error)
- func TryPMGetOrientation(pageFormat uintptr, orientation *PMOrientation) (int32, error)
- func TryPMGetPageFormatExtendedData(pageFormat uintptr, dataID uint32, size *uint32, extendedData unsafe.Pointer) (int32, error)
- func TryPMGetPageFormatPaper(format uintptr, paper *uintptr) (int32, error)
- func TryPMGetPageRange(printSettings uintptr, minPage *uint32, maxPage *uint32) (int32, error)
- func TryPMGetScale(pageFormat uintptr, scale unsafe.Pointer) (int32, error)
- func TryPMGetUnadjustedPageRect(pageFormat uintptr, pageRect unsafe.Pointer) (int32, error)
- func TryPMGetUnadjustedPaperRect(pageFormat uintptr, paperRect unsafe.Pointer) (int32, error)
- func TryPMPageFormatCreateDataRepresentation(pageFormat uintptr, data *corefoundation.CFDataRef, format PMDataFormat) (int32, error)
- func TryPMPageFormatCreateWithDataRepresentation(data corefoundation.CFDataRef, pageFormat *uintptr) (int32, error)
- func TryPMPageFormatGetPrinterID(pageFormat uintptr, printerID *corefoundation.CFStringRef) (int32, error)
- func TryPMPaperCreateCustom(printer uintptr, id corefoundation.CFStringRef, ...) (int32, error)
- func TryPMPaperCreateLocalizedName(paper uintptr, printer uintptr, paperName *corefoundation.CFStringRef) (int32, error)
- func TryPMPaperGetHeight(paper uintptr, paperHeight unsafe.Pointer) (int32, error)
- func TryPMPaperGetID(paper uintptr, paperID *corefoundation.CFStringRef) (int32, error)
- func TryPMPaperGetMargins(paper uintptr, paperMargins *PMPaperMargins) (int32, error)
- func TryPMPaperGetPPDPaperName(paper uintptr, paperName *corefoundation.CFStringRef) (int32, error)
- func TryPMPaperGetPrinterID(paper uintptr, printerID *corefoundation.CFStringRef) (int32, error)
- func TryPMPaperGetWidth(paper uintptr, paperWidth unsafe.Pointer) (int32, error)
- func TryPMPaperIsCustom(paper uintptr) (bool, error)
- func TryPMPresetCopyName(preset PMPreset, name *corefoundation.CFStringRef) (int32, error)
- func TryPMPresetCreatePrintSettings(preset PMPreset, session PMPrintSession, printSettings *uintptr) (int32, error)
- func TryPMPresetGetAttributes(preset PMPreset, attributes *corefoundation.CFDictionaryRef) (int32, error)
- func TryPMPrintSettingsCopyAsDictionary(printSettings uintptr, settingsDictionary *corefoundation.CFDictionaryRef) (int32, error)
- func TryPMPrintSettingsCopyKeys(printSettings uintptr, settingsKeys *corefoundation.CFArrayRef) (int32, error)
- func TryPMPrintSettingsCreateDataRepresentation(printSettings uintptr, data *corefoundation.CFDataRef, format PMDataFormat) (int32, error)
- func TryPMPrintSettingsCreateWithDataRepresentation(data corefoundation.CFDataRef, printSettings *uintptr) (int32, error)
- func TryPMPrintSettingsGetJobName(printSettings uintptr, name *corefoundation.CFStringRef) (int32, error)
- func TryPMPrintSettingsGetValue(printSettings uintptr, key corefoundation.CFStringRef, ...) (int32, error)
- func TryPMPrintSettingsSetJobName(printSettings uintptr, name corefoundation.CFStringRef) (int32, error)
- func TryPMPrintSettingsSetValue(printSettings uintptr, key corefoundation.CFStringRef, ...) (int32, error)
- func TryPMPrintSettingsToOptions(settings uintptr, options string) (int32, error)
- func TryPMPrintSettingsToOptionsWithPrinterAndPageFormat(settings uintptr, printer uintptr, pageFormat uintptr, options string) (int32, error)
- func TryPMPrinterCopyDescriptionURL(printer uintptr, descriptionType corefoundation.CFStringRef, ...) (int32, error)
- func TryPMPrinterCopyDeviceURI(printer uintptr, deviceURI *corefoundation.CFURLRef) (int32, error)
- func TryPMPrinterCopyHostName(printer uintptr, hostNameP *corefoundation.CFStringRef) (int32, error)
- func TryPMPrinterCopyPresets(printer uintptr, presetList *corefoundation.CFArrayRef) (int32, error)
- func TryPMPrinterCopyState(printer uintptr, stateDict *corefoundation.CFDictionaryRef) (int32, error)
- func TryPMPrinterCreateFromPrinterID(printerID corefoundation.CFStringRef) (uintptr, error)
- func TryPMPrinterGetCommInfo(printer uintptr, supportsControlCharRangeP unsafe.Pointer, ...) (int32, error)
- func TryPMPrinterGetDriverCreator(printer uintptr, creator *uint32) (int32, error)
- func TryPMPrinterGetDriverReleaseInfo(printer uintptr, release *uintptr) (int32, error)
- func TryPMPrinterGetID(printer uintptr) (corefoundation.CFStringRef, error)
- func TryPMPrinterGetIndexedPrinterResolution(printer uintptr, index uint32, resolutionP unsafe.Pointer) (int32, error)
- func TryPMPrinterGetLanguageInfo(printer uintptr, info *PMLanguageInfo) (int32, error)
- func TryPMPrinterGetLocation(printer uintptr) (corefoundation.CFStringRef, error)
- func TryPMPrinterGetMakeAndModelName(printer uintptr, makeAndModel *corefoundation.CFStringRef) (int32, error)
- func TryPMPrinterGetMimeTypes(printer uintptr, settings uintptr, mimeTypes *corefoundation.CFArrayRef) (int32, error)
- func TryPMPrinterGetName(printer uintptr) (corefoundation.CFStringRef, error)
- func TryPMPrinterGetOutputResolution(printer uintptr, printSettings uintptr, resolutionP unsafe.Pointer) (int32, error)
- func TryPMPrinterGetPaperList(printer uintptr, paperList *corefoundation.CFArrayRef) (int32, error)
- func TryPMPrinterGetPrinterResolutionCount(printer uintptr, countP *uint32) (int32, error)
- func TryPMPrinterGetState(printer uintptr, state *PMPrinterState) (int32, error)
- func TryPMPrinterIsDefault(printer uintptr) (bool, error)
- func TryPMPrinterIsFavorite(printer uintptr) (bool, error)
- func TryPMPrinterIsPostScriptCapable(printer uintptr) (bool, error)
- func TryPMPrinterIsPostScriptPrinter(printer uintptr, isPSPrinter unsafe.Pointer) (int32, error)
- func TryPMPrinterIsRemote(printer uintptr, isRemoteP unsafe.Pointer) (int32, error)
- func TryPMPrinterPrintWithFile(printer uintptr, settings uintptr, format uintptr, ...) (int32, error)
- func TryPMPrinterPrintWithProvider(printer uintptr, settings uintptr, format uintptr, ...) (int32, error)
- func TryPMPrinterSendCommand(printer uintptr, commandString corefoundation.CFStringRef, ...) (int32, error)
- func TryPMPrinterSetDefault(printer uintptr) (int32, error)
- func TryPMPrinterSetOutputResolution(printer uintptr, printSettings uintptr, resolutionP unsafe.Pointer) (int32, error)
- func TryPMPrinterWritePostScriptToURL(printer uintptr, settings uintptr, format uintptr, ...) (int32, error)
- func TryPMRelease(object PMObject) (int32, error)
- func TryPMRetain(object PMObject) (int32, error)
- func TryPMServerCreatePrinterList(server PMServer, printerList *corefoundation.CFArrayRef) (int32, error)
- func TryPMServerLaunchPrinterBrowser(server PMServer, options corefoundation.CFDictionaryRef) (int32, error)
- func TryPMSessionBeginCGDocumentNoDialog(printSession PMPrintSession, printSettings uintptr, pageFormat uintptr) (int32, error)
- func TryPMSessionBeginPageNoDialog(printSession PMPrintSession, pageFormat uintptr, pageFrame unsafe.Pointer) (int32, error)
- func TryPMSessionCopyDestinationFormat(printSession PMPrintSession, printSettings uintptr, ...) (int32, error)
- func TryPMSessionCopyDestinationLocation(printSession PMPrintSession, printSettings uintptr, ...) (int32, error)
- func TryPMSessionCopyOutputFormatList(printSession PMPrintSession, destType PMDestinationType, ...) (int32, error)
- func TryPMSessionCreatePageFormatList(printSession PMPrintSession, printer uintptr, ...) (int32, error)
- func TryPMSessionCreatePrinterList(printSession PMPrintSession, printerList *corefoundation.CFArrayRef, ...) (int32, error)
- func TryPMSessionDefaultPageFormat(printSession PMPrintSession, pageFormat uintptr) (int32, error)
- func TryPMSessionDefaultPrintSettings(printSession PMPrintSession, printSettings uintptr) (int32, error)
- func TryPMSessionEndDocumentNoDialog(printSession PMPrintSession) (int32, error)
- func TryPMSessionEndPageNoDialog(printSession PMPrintSession) (int32, error)
- func TryPMSessionError(printSession PMPrintSession) (int32, error)
- func TryPMSessionGetCGGraphicsContext(printSession PMPrintSession, context *coregraphics.CGContextRef) (int32, error)
- func TryPMSessionGetCurrentPrinter(printSession PMPrintSession, currentPrinter *uintptr) (int32, error)
- func TryPMSessionGetDataFromSession(printSession PMPrintSession, key corefoundation.CFStringRef, ...) (int32, error)
- func TryPMSessionGetDestinationType(printSession PMPrintSession, printSettings uintptr, ...) (int32, error)
- func TryPMSessionSetCurrentPMPrinter(session PMPrintSession, printer uintptr) (int32, error)
- func TryPMSessionSetDataInSession(printSession PMPrintSession, key corefoundation.CFStringRef, ...) (int32, error)
- func TryPMSessionSetDestination(printSession PMPrintSession, printSettings uintptr, destType PMDestinationType, ...) (int32, error)
- func TryPMSessionSetError(printSession PMPrintSession, printError int32) (int32, error)
- func TryPMSessionValidatePageFormat(printSession PMPrintSession, pageFormat uintptr, changed unsafe.Pointer) (int32, error)
- func TryPMSessionValidatePrintSettings(printSession PMPrintSession, printSettings uintptr, changed unsafe.Pointer) (int32, error)
- func TryPMSetCollate(printSettings uintptr, collate unsafe.Pointer) (int32, error)
- func TryPMSetCopies(printSettings uintptr, copies uint32, lock unsafe.Pointer) (int32, error)
- func TryPMSetDuplex(printSettings uintptr, duplexSetting PMDuplexMode) (int32, error)
- func TryPMSetFirstPage(printSettings uintptr, first uint32, lock unsafe.Pointer) (int32, error)
- func TryPMSetLastPage(printSettings uintptr, last uint32, lock unsafe.Pointer) (int32, error)
- func TryPMSetOrientation(pageFormat uintptr, orientation PMOrientation, lock unsafe.Pointer) (int32, error)
- func TryPMSetPageFormatExtendedData(pageFormat uintptr, dataID uint32, size uint32, extendedData unsafe.Pointer) (int32, error)
- func TryPMSetPageRange(printSettings uintptr, minPage uint32, maxPage uint32) (int32, error)
- func TryPMSetScale(pageFormat uintptr, scale unsafe.Pointer) (int32, error)
- func TryPMWorkflowCopyItems(workflowItems *corefoundation.CFArrayRef) (int32, error)
- func TryPMWorkflowSubmitPDFWithOptions(workflowItem corefoundation.CFURLRef, title corefoundation.CFStringRef, ...) (int32, error)
- func TryPMWorkflowSubmitPDFWithSettings(workflowItem corefoundation.CFURLRef, settings uintptr, ...) (int32, error)
- func TryPasteboardClear(inPasteboard PasteboardRef) (int32, error)
- func TryPasteboardCopyItemFlavorData(inPasteboard PasteboardRef, inItem PasteboardItemID, ...) (int32, error)
- func TryPasteboardCopyItemFlavors(inPasteboard PasteboardRef, inItem PasteboardItemID, ...) (int32, error)
- func TryPasteboardCopyName(inPasteboard PasteboardRef, outName *corefoundation.CFStringRef) (int32, error)
- func TryPasteboardCopyPasteLocation(inPasteboard PasteboardRef, outPasteLocation *corefoundation.CFURLRef) (int32, error)
- func TryPasteboardCreate(inName corefoundation.CFStringRef, outPasteboard *PasteboardRef) (int32, error)
- func TryPasteboardGetItemCount(inPasteboard PasteboardRef, outItemCount unsafe.Pointer) (int32, error)
- func TryPasteboardGetItemFlavorFlags(inPasteboard PasteboardRef, inItem PasteboardItemID, ...) (int32, error)
- func TryPasteboardGetItemIdentifier(inPasteboard PasteboardRef, inIndex int, outItem *PasteboardItemID) (int32, error)
- func TryPasteboardGetTypeID() (uint, error)
- func TryPasteboardPutItemFlavor(inPasteboard PasteboardRef, inItem PasteboardItemID, ...) (int32, error)
- func TryPasteboardResolvePromises(inPasteboard PasteboardRef) (int32, error)
- func TryPasteboardSetPasteLocation(inPasteboard PasteboardRef, inPasteLocation corefoundation.CFURLRef) (int32, error)
- func TryPasteboardSetPromiseKeeper(inPasteboard PasteboardRef, inPromiseKeeper PasteboardPromiseKeeperProcPtr, ...) (int32, error)
- func TryPauseSpeechAt(chan_ *SpeechChannelRecord, whereToPause int32) (int16, error)
- func TryPlotIconRefInContext(inContext coregraphics.CGContextRef, inRect unsafe.Pointer, ...) (int32, error)
- func TryProcessInformationCopyDictionary(PSN *ProcessSerialNumber, infoToReturn uint32) (corefoundation.CFDictionaryRef, error)
- func TrySameProcess(PSN1 *ProcessSerialNumber, PSN2 *ProcessSerialNumber, result *bool) (int16, error)
- func TrySetFrontProcess(pPSN *ProcessSerialNumber) (int16, error)
- func TrySetFrontProcessWithOptions(inProcess *ProcessSerialNumber, inOptions uint32) (int32, error)
- func TrySetIconFamilyData(iconFamily unsafe.Pointer, iconType uint32, h kernel.Handle) (int16, error)
- func TrySetSpeechInfo(chan_ *SpeechChannelRecord, selector uint32, speechInfo unsafe.Pointer) (int16, error)
- func TrySetSpeechPitch(chan_ *SpeechChannelRecord, pitch int32) (int16, error)
- func TrySetSpeechProperty(chan_ *SpeechChannelRecord, property corefoundation.CFStringRef, ...) (int16, error)
- func TrySetSpeechRate(chan_ *SpeechChannelRecord, rate int32) (int16, error)
- func TryShowHideProcess(psn *ProcessSerialNumber, visible bool) (int16, error)
- func TrySpeakBuffer(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint, ...) (int16, error)
- func TrySpeakCFString(chan_ *SpeechChannelRecord, aString corefoundation.CFStringRef, ...) (int16, error)
- func TrySpeakString(textToBeSpoken unsafe.Pointer) (int16, error)
- func TrySpeakText(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint) (int16, error)
- func TrySpeechBusy() (int16, error)
- func TrySpeechBusySystemWide() (int16, error)
- func TrySpeechManagerVersion() (uint32, error)
- func TrySpeechSynthesisRegisterModuleURL(url corefoundation.CFURLRef) (int16, error)
- func TrySpeechSynthesisUnregisterModuleURL(url corefoundation.CFURLRef) (int16, error)
- func TryStopSpeech(chan_ *SpeechChannelRecord) (int16, error)
- func TryStopSpeechAt(chan_ *SpeechChannelRecord, whereToStop int32) (int16, error)
- func TryTextToPhonemes(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint, ...) (int16, error)
- func TryTransformProcessType(psn unsafe.Pointer, transformState ProcessApplicationTransformState) (int32, error)
- func TryTranslationCopyDestinationType(inTranslation TranslationRef, outDestinationType *corefoundation.CFStringRef) (int32, error)
- func TryTranslationCopySourceType(inTranslation TranslationRef, outSourceType *corefoundation.CFStringRef) (int32, error)
- func TryTranslationCreate(inSourceType corefoundation.CFStringRef, ...) (int32, error)
- func TryTranslationCreateWithSourceArray(inSourceTypes corefoundation.CFArrayRef, inTranslationFlags TranslationFlags, ...) (int32, error)
- func TryTranslationGetTranslationFlags(inTranslation TranslationRef, outTranslationFlags *TranslationFlags) (int32, error)
- func TryTranslationGetTypeID() (uint, error)
- func TryTranslationPerformForData(inTranslation TranslationRef, inSourceData corefoundation.CFDataRef, ...) (int32, error)
- func TryTranslationPerformForFile(inTranslation TranslationRef, inSourceFile unsafe.Pointer, ...) (int32, error)
- func TryTranslationPerformForURL(inTranslation TranslationRef, inSourceURL corefoundation.CFURLRef, ...) (int32, error)
- func TryUAZoomChangeFocus(inRect unsafe.Pointer, inHighlightRect unsafe.Pointer, ...) (int32, error)
- func TryUAZoomEnabled() (bool, error)
- func TryUseDictionary(chan_ *SpeechChannelRecord, dictionary kernel.Handle) (int16, error)
- func TryUseSpeechDictionary(chan_ *SpeechChannelRecord, speechDictionary corefoundation.CFDictionaryRef) (int16, error)
- func TryWakeUpProcess(PSN *ProcessSerialNumber) (int16, error)
- func UAZoomChangeFocus(inRect unsafe.Pointer, inHighlightRect unsafe.Pointer, ...) int32
- func UAZoomEnabled() bool
- func UseDictionary(chan_ *SpeechChannelRecord, dictionary kernel.Handle) int16deprecated
- func UseSpeechDictionary(chan_ *SpeechChannelRecord, speechDictionary corefoundation.CFDictionaryRef) int16deprecated
- func WakeUpProcess(PSN *ProcessSerialNumber) int16deprecated
- type ATSCubicClosePathProcPtr
- type ATSCubicClosePathUPP
- type ATSCubicCurveToProcPtr
- type ATSCubicCurveToUPP
- type ATSCubicLineToProcPtr
- type ATSCubicLineToUPP
- type ATSCubicMoveToProcPtr
- type ATSCubicMoveToUPP
- type ATSCurveType
- type ATSFlatDataFontNameDataHeader
- func (s *ATSFlatDataFontNameDataHeader) NameSpecifierSize() uint32
- func (s *ATSFlatDataFontNameDataHeader) NameSpecifierType() ATSFlatDataFontSpeciferType
- func (s *ATSFlatDataFontNameDataHeader) SetNameSpecifierSize(v uint32)
- func (s *ATSFlatDataFontNameDataHeader) SetNameSpecifierType(v ATSFlatDataFontSpeciferType)
- type ATSFlatDataFontSpecRawNameData
- func (s *ATSFlatDataFontSpecRawNameData) FontNameLanguage() uint32
- func (s *ATSFlatDataFontSpecRawNameData) FontNameLength() uint32
- func (s *ATSFlatDataFontSpecRawNameData) FontNamePlatform() uint32
- func (s *ATSFlatDataFontSpecRawNameData) FontNameScript() uint32
- func (s *ATSFlatDataFontSpecRawNameData) FontNameType() uint32
- func (s *ATSFlatDataFontSpecRawNameData) SetFontNameLanguage(v uint32)
- func (s *ATSFlatDataFontSpecRawNameData) SetFontNameLength(v uint32)
- func (s *ATSFlatDataFontSpecRawNameData) SetFontNamePlatform(v uint32)
- func (s *ATSFlatDataFontSpecRawNameData) SetFontNameScript(v uint32)
- func (s *ATSFlatDataFontSpecRawNameData) SetFontNameType(v uint32)
- type ATSFlatDataFontSpecRawNameDataHeader
- func (s *ATSFlatDataFontSpecRawNameDataHeader) NameDataArray() [1]ATSFlatDataFontSpecRawNameData
- func (s *ATSFlatDataFontSpecRawNameDataHeader) NumberOfFlattenedNames() uint32
- func (s *ATSFlatDataFontSpecRawNameDataHeader) SetNameDataArray(v [1]ATSFlatDataFontSpecRawNameData)
- func (s *ATSFlatDataFontSpecRawNameDataHeader) SetNumberOfFlattenedNames(v uint32)
- type ATSFlatDataFontSpeciferType
- type ATSFlatDataLayoutControlsDataHeader
- func (s *ATSFlatDataLayoutControlsDataHeader) ControlArray() [1]ATSUAttributeInfo
- func (s *ATSFlatDataLayoutControlsDataHeader) NumberOfLayoutControls() uint32
- func (s *ATSFlatDataLayoutControlsDataHeader) SetControlArray(v [1]ATSUAttributeInfo)
- func (s *ATSFlatDataLayoutControlsDataHeader) SetNumberOfLayoutControls(v uint32)
- type ATSFlatDataLineInfoData
- type ATSFlatDataLineInfoHeader
- type ATSFlatDataMainHeaderBlock
- func (s *ATSFlatDataMainHeaderBlock) OffsetToStyleList() uint32
- func (s *ATSFlatDataMainHeaderBlock) OffsetToStyleRuns() uint32
- func (s *ATSFlatDataMainHeaderBlock) OffsetToTextLayouts() uint32
- func (s *ATSFlatDataMainHeaderBlock) SetOffsetToStyleList(v uint32)
- func (s *ATSFlatDataMainHeaderBlock) SetOffsetToStyleRuns(v uint32)
- func (s *ATSFlatDataMainHeaderBlock) SetOffsetToTextLayouts(v uint32)
- func (s *ATSFlatDataMainHeaderBlock) SetSizeOfDataBlock(v uint32)
- func (s *ATSFlatDataMainHeaderBlock) SetVersion(v uint32)
- func (s *ATSFlatDataMainHeaderBlock) SizeOfDataBlock() uint32
- func (s *ATSFlatDataMainHeaderBlock) Version() uint32
- type ATSFlatDataStyleListFeatureData
- type ATSFlatDataStyleListHeader
- func (s *ATSFlatDataStyleListHeader) NumberOfStyles() uint32
- func (s *ATSFlatDataStyleListHeader) SetNumberOfStyles(v uint32)
- func (s *ATSFlatDataStyleListHeader) SetStyleDataArray(v [1]ATSFlatDataStyleListStyleDataHeader)
- func (s *ATSFlatDataStyleListHeader) StyleDataArray() [1]ATSFlatDataStyleListStyleDataHeader
- type ATSFlatDataStyleListStyleDataHeader
- func (s *ATSFlatDataStyleListStyleDataHeader) NumberOfSetAttributes() uint32
- func (s *ATSFlatDataStyleListStyleDataHeader) NumberOfSetFeatures() uint32
- func (s *ATSFlatDataStyleListStyleDataHeader) NumberOfSetVariations() uint32
- func (s *ATSFlatDataStyleListStyleDataHeader) SetNumberOfSetAttributes(v uint32)
- func (s *ATSFlatDataStyleListStyleDataHeader) SetNumberOfSetFeatures(v uint32)
- func (s *ATSFlatDataStyleListStyleDataHeader) SetNumberOfSetVariations(v uint32)
- func (s *ATSFlatDataStyleListStyleDataHeader) SetSizeOfStyleInfo(v uint32)
- func (s *ATSFlatDataStyleListStyleDataHeader) SizeOfStyleInfo() uint32
- type ATSFlatDataStyleListVariationData
- func (s *ATSFlatDataStyleListVariationData) SetTheVariationAxis(v ATSUFontVariationAxis)
- func (s *ATSFlatDataStyleListVariationData) SetTheVariationValue(v ATSUFontVariationValue)
- func (s *ATSFlatDataStyleListVariationData) TheVariationAxis() ATSUFontVariationAxis
- func (s *ATSFlatDataStyleListVariationData) TheVariationValue() ATSUFontVariationValue
- type ATSFlatDataStyleRunDataHeader
- type ATSFlatDataTextLayoutDataHeader
- func (s *ATSFlatDataTextLayoutDataHeader) OffsetToLayoutControls() uint32
- func (s *ATSFlatDataTextLayoutDataHeader) OffsetToLineInfo() uint32
- func (s *ATSFlatDataTextLayoutDataHeader) SetOffsetToLayoutControls(v uint32)
- func (s *ATSFlatDataTextLayoutDataHeader) SetOffsetToLineInfo(v uint32)
- func (s *ATSFlatDataTextLayoutDataHeader) SetSizeOfLayoutData(v uint32)
- func (s *ATSFlatDataTextLayoutDataHeader) SetTextLayoutLength(v uint32)
- func (s *ATSFlatDataTextLayoutDataHeader) SizeOfLayoutData() uint32
- func (s *ATSFlatDataTextLayoutDataHeader) TextLayoutLength() uint32
- type ATSFlatDataTextLayoutHeader
- func (s *ATSFlatDataTextLayoutHeader) FlattenedTextLayouts() [1]ATSFlatDataTextLayoutDataHeader
- func (s *ATSFlatDataTextLayoutHeader) NumFlattenedTextLayouts() uint32
- func (s *ATSFlatDataTextLayoutHeader) SetFlattenedTextLayouts(v [1]ATSFlatDataTextLayoutDataHeader)
- func (s *ATSFlatDataTextLayoutHeader) SetNumFlattenedTextLayouts(v uint32)
- type ATSFontApplierFunction
- type ATSFontAutoActivationSetting
- type ATSFontContainerRef
- type ATSFontContext
- type ATSFontFamilyApplierFunction
- type ATSFontFamilyIterator
- type ATSFontFamilyRef
- type ATSFontFilter
- func (s *ATSFontFilter) Filter() [4]uint16
- func (s *ATSFontFilter) FilterSelector() ATSFontFilterSelector
- func (s *ATSFontFilter) SetFilter(v [4]uint16)
- func (s *ATSFontFilter) SetFilterSelector(v ATSFontFilterSelector)
- func (s *ATSFontFilter) SetVersion(v uint32)
- func (s *ATSFontFilter) Version() uint32
- type ATSFontFilterSelector
- type ATSFontFormat
- type ATSFontIterator
- type ATSFontMetrics
- func (s *ATSFontMetrics) Ascent() float64
- func (s *ATSFontMetrics) AvgAdvanceWidth() float64
- func (s *ATSFontMetrics) CapHeight() float64
- func (s *ATSFontMetrics) Descent() float64
- func (s *ATSFontMetrics) ItalicAngle() float64
- func (s *ATSFontMetrics) Leading() float64
- func (s *ATSFontMetrics) MaxAdvanceWidth() float64
- func (s *ATSFontMetrics) MinLeftSideBearing() float64
- func (s *ATSFontMetrics) MinRightSideBearing() float64
- func (s *ATSFontMetrics) SetAscent(v float64)
- func (s *ATSFontMetrics) SetAvgAdvanceWidth(v float64)
- func (s *ATSFontMetrics) SetCapHeight(v float64)
- func (s *ATSFontMetrics) SetDescent(v float64)
- func (s *ATSFontMetrics) SetItalicAngle(v float64)
- func (s *ATSFontMetrics) SetLeading(v float64)
- func (s *ATSFontMetrics) SetMaxAdvanceWidth(v float64)
- func (s *ATSFontMetrics) SetMinLeftSideBearing(v float64)
- func (s *ATSFontMetrics) SetMinRightSideBearing(v float64)
- func (s *ATSFontMetrics) SetStemHeight(v float64)
- func (s *ATSFontMetrics) SetStemWidth(v float64)
- func (s *ATSFontMetrics) SetUnderlinePosition(v float64)
- func (s *ATSFontMetrics) SetUnderlineThickness(v float64)
- func (s *ATSFontMetrics) SetVersion(v uint32)
- func (s *ATSFontMetrics) SetXHeight(v float64)
- func (s *ATSFontMetrics) StemHeight() float64
- func (s *ATSFontMetrics) StemWidth() float64
- func (s *ATSFontMetrics) UnderlinePosition() float64
- func (s *ATSFontMetrics) UnderlineThickness() float64
- func (s *ATSFontMetrics) Version() uint32
- func (s *ATSFontMetrics) XHeight() float64
- type ATSFontNotificationInfoRef
- type ATSFontNotificationRef
- type ATSFontNotifyAction
- type ATSFontNotifyOption
- type ATSFontQueryCallback
- type ATSFontQueryMessageID
- type ATSFontQuerySourceContext
- func (s *ATSFontQuerySourceContext) RefCon() uintptr
- func (s *ATSFontQuerySourceContext) Release() uintptr
- func (s *ATSFontQuerySourceContext) Retain() uintptr
- func (s *ATSFontQuerySourceContext) SetRefCon(v uintptr)
- func (s *ATSFontQuerySourceContext) SetRelease(v uintptr)
- func (s *ATSFontQuerySourceContext) SetRetain(v uintptr)
- func (s *ATSFontQuerySourceContext) SetVersion(v uint32)
- func (s *ATSFontQuerySourceContext) Version() uint32
- type ATSFontRef
- type ATSFontSize
- type ATSGeneration
- type ATSGlyphIdealMetrics
- func (s *ATSGlyphIdealMetrics) Advance() [2]uint64
- func (s *ATSGlyphIdealMetrics) OtherSideBearing() [2]uint64
- func (s *ATSGlyphIdealMetrics) SetAdvance(v [2]uint64)
- func (s *ATSGlyphIdealMetrics) SetOtherSideBearing(v [2]uint64)
- func (s *ATSGlyphIdealMetrics) SetSideBearing(v [2]uint64)
- func (s *ATSGlyphIdealMetrics) SideBearing() [2]uint64
- type ATSGlyphInfoFlags
- type ATSGlyphRef
- type ATSGlyphScreenMetrics
- func (s *ATSGlyphScreenMetrics) DeviceAdvance() [2]uint64
- func (s *ATSGlyphScreenMetrics) Height() uint32
- func (s *ATSGlyphScreenMetrics) OtherSideBearing() [2]uint64
- func (s *ATSGlyphScreenMetrics) SetDeviceAdvance(v [2]uint64)
- func (s *ATSGlyphScreenMetrics) SetHeight(v uint32)
- func (s *ATSGlyphScreenMetrics) SetOtherSideBearing(v [2]uint64)
- func (s *ATSGlyphScreenMetrics) SetSideBearing(v [2]uint64)
- func (s *ATSGlyphScreenMetrics) SetTopLeft(v [2]uint64)
- func (s *ATSGlyphScreenMetrics) SetWidth(v uint32)
- func (s *ATSGlyphScreenMetrics) SideBearing() [2]uint64
- func (s *ATSGlyphScreenMetrics) TopLeft() [2]uint64
- func (s *ATSGlyphScreenMetrics) Width() uint32
- type ATSJustPriorityWidthDeltaOverrides
- type ATSJustWidthDeltaEntryOverride
- func (s *ATSJustWidthDeltaEntryOverride) AfterGrowLimit() int32
- func (s *ATSJustWidthDeltaEntryOverride) AfterShrinkLimit() int32
- func (s *ATSJustWidthDeltaEntryOverride) BeforeGrowLimit() int32
- func (s *ATSJustWidthDeltaEntryOverride) BeforeShrinkLimit() int32
- func (s *ATSJustWidthDeltaEntryOverride) GrowFlags() uint16
- func (s *ATSJustWidthDeltaEntryOverride) SetAfterGrowLimit(v int32)
- func (s *ATSJustWidthDeltaEntryOverride) SetAfterShrinkLimit(v int32)
- func (s *ATSJustWidthDeltaEntryOverride) SetBeforeGrowLimit(v int32)
- func (s *ATSJustWidthDeltaEntryOverride) SetBeforeShrinkLimit(v int32)
- func (s *ATSJustWidthDeltaEntryOverride) SetGrowFlags(v uint16)
- func (s *ATSJustWidthDeltaEntryOverride) SetShrinkFlags(v uint16)
- func (s *ATSJustWidthDeltaEntryOverride) ShrinkFlags() uint16
- type ATSLayoutRecord
- func (s *ATSLayoutRecord) Flags() ATSGlyphInfoFlags
- func (s *ATSLayoutRecord) GlyphID() ATSGlyphRef
- func (s *ATSLayoutRecord) OriginalOffset() uint
- func (s *ATSLayoutRecord) RealPos() int32
- func (s *ATSLayoutRecord) SetFlags(v ATSGlyphInfoFlags)
- func (s *ATSLayoutRecord) SetGlyphID(v ATSGlyphRef)
- func (s *ATSLayoutRecord) SetOriginalOffset(v uint)
- func (s *ATSLayoutRecord) SetRealPos(v int32)
- type ATSLineLayoutOptions
- type ATSNotificationCallback
- type ATSOptionFlags
- type ATSPoint
- type ATSQuadraticClosePathProcPtr
- type ATSQuadraticClosePathUPP
- type ATSQuadraticCurveProcPtr
- type ATSQuadraticCurveUPP
- type ATSQuadraticLineProcPtr
- type ATSQuadraticLineUPP
- type ATSQuadraticNewPathProcPtr
- type ATSQuadraticNewPathUPP
- type ATSStyleRenderingOptions
- type ATSTrapezoid
- func (s *ATSTrapezoid) LowerLeft() [4]uint16
- func (s *ATSTrapezoid) LowerRight() [4]uint16
- func (s *ATSTrapezoid) SetLowerLeft(v [4]uint16)
- func (s *ATSTrapezoid) SetLowerRight(v [4]uint16)
- func (s *ATSTrapezoid) SetUpperLeft(v [4]uint16)
- func (s *ATSTrapezoid) SetUpperRight(v [4]uint16)
- func (s *ATSTrapezoid) UpperLeft() [4]uint16
- func (s *ATSTrapezoid) UpperRight() [4]uint16
- type ATSUAttributeInfo
- type ATSUAttributeTag
- type ATSUAttributeValuePtr
- type ATSUBackgroundColor
- type ATSUBackgroundData
- type ATSUBackgroundDataType
- type ATSUCaret
- type ATSUCursorMovementType
- type ATSUCurvePath
- type ATSUCurvePaths
- type ATSUDirectDataSelector
- type ATSUFlattenStyleRunOptions
- type ATSUFlattenedDataStreamFormat
- type ATSUFontFallbackMethod
- type ATSUFontFallbacks
- type ATSUFontFeatureSelector
- type ATSUFontFeatureType
- type ATSUFontID
- type ATSUFontVariationAxis
- type ATSUFontVariationValue
- type ATSUGlyphInfo
- func (s *ATSUGlyphInfo) CaretX() int16
- func (s *ATSUGlyphInfo) CharIndex() uint
- func (s *ATSUGlyphInfo) DeltaY() float32
- func (s *ATSUGlyphInfo) GlyphID() GlyphID
- func (s *ATSUGlyphInfo) IdealX() float32
- func (s *ATSUGlyphInfo) LayoutFlags() uint32
- func (s *ATSUGlyphInfo) Reserved() uint16
- func (s *ATSUGlyphInfo) ScreenX() int16
- func (s *ATSUGlyphInfo) SetCaretX(v int16)
- func (s *ATSUGlyphInfo) SetCharIndex(v uint)
- func (s *ATSUGlyphInfo) SetDeltaY(v float32)
- func (s *ATSUGlyphInfo) SetGlyphID(v GlyphID)
- func (s *ATSUGlyphInfo) SetIdealX(v float32)
- func (s *ATSUGlyphInfo) SetLayoutFlags(v uint32)
- func (s *ATSUGlyphInfo) SetReserved(v uint16)
- func (s *ATSUGlyphInfo) SetScreenX(v int16)
- func (s *ATSUGlyphInfo) SetStyle(v uintptr)
- func (s *ATSUGlyphInfo) Style() uintptr
- type ATSUGlyphInfoArray
- func (s *ATSUGlyphInfoArray) Glyphs() [1]ATSUGlyphInfo
- func (s *ATSUGlyphInfoArray) Layout() uintptr
- func (s *ATSUGlyphInfoArray) NumGlyphs() uint
- func (s *ATSUGlyphInfoArray) SetGlyphs(v [1]ATSUGlyphInfo)
- func (s *ATSUGlyphInfoArray) SetLayout(v uintptr)
- func (s *ATSUGlyphInfoArray) SetNumGlyphs(v uint)
- type ATSUGlyphSelector
- type ATSUHighlightMethod
- type ATSULayoutOperationCallbackStatus
- type ATSULayoutOperationSelector
- type ATSULineTruncation
- type ATSURGBAlphaColor
- func (s *ATSURGBAlphaColor) Alpha() float32
- func (s *ATSURGBAlphaColor) Blue() float32
- func (s *ATSURGBAlphaColor) Green() float32
- func (s *ATSURGBAlphaColor) Red() float32
- func (s *ATSURGBAlphaColor) SetAlpha(v float32)
- func (s *ATSURGBAlphaColor) SetBlue(v float32)
- func (s *ATSURGBAlphaColor) SetGreen(v float32)
- func (s *ATSURGBAlphaColor) SetRed(v float32)
- type ATSUStyle
- type ATSUStyleComparison
- type ATSUStyleLineCountType
- type ATSUStyleRunInfo
- type ATSUStyleSettingRef
- type ATSUTab
- type ATSUTabType
- type ATSUTextLayout
- type ATSUTextMeasurement
- type ATSUUnFlattenStyleRunOptions
- type ATSUUnhighlightData
- type ATSUVerticalCharacterType
- type AXCopyMultipleAttributeOptions
- type AXError
- func AXMakeProcessTrusted(executablePath corefoundation.CFStringRef) AXErrordeprecated
- func AXObserverAddNotification(observer AXObserverRef, element AXUIElementRef, ...) AXError
- func AXObserverCreate(application int32, callback AXObserverCallback, outObserver *AXObserverRef) AXError
- func AXObserverCreateWithInfoCallback(application int32, callback AXObserverCallbackWithInfo, ...) AXError
- func AXObserverRemoveNotification(observer AXObserverRef, element AXUIElementRef, ...) AXError
- func AXUIElementCopyActionDescription(element AXUIElementRef, action corefoundation.CFStringRef, ...) AXError
- func AXUIElementCopyActionNames(element AXUIElementRef, names *corefoundation.CFArrayRef) AXError
- func AXUIElementCopyAttributeNames(element AXUIElementRef, names *corefoundation.CFArrayRef) AXError
- func AXUIElementCopyAttributeValue(element AXUIElementRef, attribute corefoundation.CFStringRef, ...) AXError
- func AXUIElementCopyAttributeValues(element AXUIElementRef, attribute corefoundation.CFStringRef, index int, ...) AXError
- func AXUIElementCopyElementAtPosition(application AXUIElementRef, x unsafe.Pointer, y unsafe.Pointer, ...) AXError
- func AXUIElementCopyMultipleAttributeValues(element AXUIElementRef, attributes corefoundation.CFArrayRef, ...) AXError
- func AXUIElementCopyParameterizedAttributeNames(element AXUIElementRef, names *corefoundation.CFArrayRef) AXError
- func AXUIElementCopyParameterizedAttributeValue(element AXUIElementRef, parameterizedAttribute corefoundation.CFStringRef, ...) AXError
- func AXUIElementGetAttributeValueCount(element AXUIElementRef, attribute corefoundation.CFStringRef, count *int) AXError
- func AXUIElementGetPid(element AXUIElementRef, pid *int32) AXError
- func AXUIElementIsAttributeSettable(element AXUIElementRef, attribute corefoundation.CFStringRef, ...) AXError
- func AXUIElementPerformAction(element AXUIElementRef, action corefoundation.CFStringRef) AXError
- func AXUIElementPostKeyboardEvent(application AXUIElementRef, keyChar uint16, virtualKey uint16, keyDown bool) AXErrordeprecated
- func AXUIElementSetAttributeValue(element AXUIElementRef, attribute corefoundation.CFStringRef, ...) AXError
- func AXUIElementSetMessagingTimeout(element AXUIElementRef, timeoutInSeconds unsafe.Pointer) AXError
- func TryAXMakeProcessTrusted(executablePath corefoundation.CFStringRef) (AXError, error)
- func TryAXObserverAddNotification(observer AXObserverRef, element AXUIElementRef, ...) (AXError, error)
- func TryAXObserverCreate(application int32, callback AXObserverCallback, outObserver *AXObserverRef) (AXError, error)
- func TryAXObserverCreateWithInfoCallback(application int32, callback AXObserverCallbackWithInfo, ...) (AXError, error)
- func TryAXObserverRemoveNotification(observer AXObserverRef, element AXUIElementRef, ...) (AXError, error)
- func TryAXUIElementCopyActionDescription(element AXUIElementRef, action corefoundation.CFStringRef, ...) (AXError, error)
- func TryAXUIElementCopyActionNames(element AXUIElementRef, names *corefoundation.CFArrayRef) (AXError, error)
- func TryAXUIElementCopyAttributeNames(element AXUIElementRef, names *corefoundation.CFArrayRef) (AXError, error)
- func TryAXUIElementCopyAttributeValue(element AXUIElementRef, attribute corefoundation.CFStringRef, ...) (AXError, error)
- func TryAXUIElementCopyAttributeValues(element AXUIElementRef, attribute corefoundation.CFStringRef, index int, ...) (AXError, error)
- func TryAXUIElementCopyElementAtPosition(application AXUIElementRef, x unsafe.Pointer, y unsafe.Pointer, ...) (AXError, error)
- func TryAXUIElementCopyMultipleAttributeValues(element AXUIElementRef, attributes corefoundation.CFArrayRef, ...) (AXError, error)
- func TryAXUIElementCopyParameterizedAttributeNames(element AXUIElementRef, names *corefoundation.CFArrayRef) (AXError, error)
- func TryAXUIElementCopyParameterizedAttributeValue(element AXUIElementRef, parameterizedAttribute corefoundation.CFStringRef, ...) (AXError, error)
- func TryAXUIElementGetAttributeValueCount(element AXUIElementRef, attribute corefoundation.CFStringRef, count *int) (AXError, error)
- func TryAXUIElementGetPid(element AXUIElementRef, pid *int32) (AXError, error)
- func TryAXUIElementIsAttributeSettable(element AXUIElementRef, attribute corefoundation.CFStringRef, ...) (AXError, error)
- func TryAXUIElementPerformAction(element AXUIElementRef, action corefoundation.CFStringRef) (AXError, error)
- func TryAXUIElementPostKeyboardEvent(application AXUIElementRef, keyChar uint16, virtualKey uint16, keyDown bool) (AXError, error)
- func TryAXUIElementSetAttributeValue(element AXUIElementRef, attribute corefoundation.CFStringRef, ...) (AXError, error)
- func TryAXUIElementSetMessagingTimeout(element AXUIElementRef, timeoutInSeconds unsafe.Pointer) (AXError, error)
- type AXMenuItemModifiers
- type AXObserverCallback
- type AXObserverCallbackWithInfo
- type AXObserverRef
- type AXPriority
- type AXTextMarkerRangeRef
- func AXTextMarkerRangeCreate(allocator corefoundation.CFAllocatorRef, startMarker AXTextMarkerRef, ...) AXTextMarkerRangeRef
- func AXTextMarkerRangeCreateWithBytes(allocator corefoundation.CFAllocatorRef, startMarkerBytes []byte, ...) AXTextMarkerRangeRef
- func TryAXTextMarkerRangeCreate(allocator corefoundation.CFAllocatorRef, startMarker AXTextMarkerRef, ...) (AXTextMarkerRangeRef, error)
- func TryAXTextMarkerRangeCreateWithBytes(allocator corefoundation.CFAllocatorRef, startMarkerBytes []byte, ...) (AXTextMarkerRangeRef, error)
- type AXTextMarkerRef
- func AXTextMarkerCreate(allocator corefoundation.CFAllocatorRef, bytes []byte, length int) AXTextMarkerRef
- func AXTextMarkerRangeCopyEndMarker(textMarkerRange AXTextMarkerRangeRef) AXTextMarkerRef
- func AXTextMarkerRangeCopyStartMarker(textMarkerRange AXTextMarkerRangeRef) AXTextMarkerRef
- func TryAXTextMarkerCreate(allocator corefoundation.CFAllocatorRef, bytes []byte, length int) (AXTextMarkerRef, error)
- func TryAXTextMarkerRangeCopyEndMarker(textMarkerRange AXTextMarkerRangeRef) (AXTextMarkerRef, error)
- func TryAXTextMarkerRangeCopyStartMarker(textMarkerRange AXTextMarkerRangeRef) (AXTextMarkerRef, error)
- type AXUIElementRef
- type AXUnderlineStyle
- type AXValueRef
- type AXValueType
- type AppParameters
- func (s *AppParameters) EventRefCon() uint32
- func (s *AppParameters) Message() uint32
- func (s *AppParameters) MessageLength() uint32
- func (s *AppParameters) Modifiers() uint16
- func (s *AppParameters) SetEventRefCon(v uint32)
- func (s *AppParameters) SetMessage(v uint32)
- func (s *AppParameters) SetMessageLength(v uint32)
- func (s *AppParameters) SetModifiers(v uint16)
- func (s *AppParameters) SetTheMsgEvent(v [2]byte)
- func (s *AppParameters) SetWhat(v uint16)
- func (s *AppParameters) SetWhen(v uint32)
- func (s *AppParameters) SetWhere(v Point)
- func (s *AppParameters) TheMsgEvent() [2]byte
- func (s *AppParameters) What() uint16
- func (s *AppParameters) When() uint32
- func (s *AppParameters) Where() Point
- type AppParametersPtr
- type AsscEntry
- type At
- type BadPasteboardSyncErrConstants
- type BadTranslationRef
- type BitMap
- type BitMapHandle
- type BitMapPtr
- type CGrafPort
- type CM2Headerdeprecated
- type CM2Profile
- type CM2ProfileHandledeprecated
- type CM2ProfilePtr
- type CM4Headerdeprecated
- type CMAdaptationMatrixTypedeprecated
- type CMAppleProfileHeaderdeprecated
- type CMBitmapdeprecated
- type CMBitmapCallBackUPPdeprecated
- type CMBitmapColorSpacedeprecated
- type CMBufferLocationdeprecated
- type CMCMYColordeprecated
- type CMCMYKColordeprecated
- type CMChromaticAdaptationdeprecated
- type CMColordeprecated
- type CMConcatCallBackUPPdeprecated
- type CMConcatProfileSetdeprecated
- type CMCurveTypedeprecated
- type CMDataTypedeprecated
- type CMDateTimedeprecated
- type CMDateTimeTypedeprecated
- type CMDeviceClass
- type CMDeviceIDdeprecated
- type CMDeviceInfo
- type CMDeviceInfoPtrdeprecated
- type CMDeviceProfileArray
- type CMDeviceProfileArrayPtrdeprecated
- type CMDeviceProfileIDdeprecated
- type CMDeviceProfileInfodeprecated
- type CMDeviceProfileScopedeprecated
- type CMDeviceScope
- type CMDeviceStatedeprecated
- type CMDisplayIDTypedeprecated
- type CMFixedXYColordeprecated
- type CMFixedXYZColordeprecated
- type CMFlattenProcPtr
- type CMFlattenUPP
- type CMFloatBitmapdeprecated
- type CMFloatBitmapFlags
- type CMGrayColordeprecated
- type CMHLSColordeprecated
- type CMHSVColordeprecated
- type CMHandleLocationdeprecated
- type CMIntentCRDVMSizedeprecated
- type CMLabColordeprecated
- type CMLut8Typedeprecated
- type CMLut16Typedeprecated
- type CMLuvColordeprecated
- type CMMInfodeprecated
- type CMMIterateUPPdeprecated
- type CMMakeAndModeldeprecated
- type CMMakeAndModelTypedeprecated
- type CMMeasurementTypedeprecated
- type CMMultiFunctCLUTTypedeprecated
- type CMMultiFunctLutA2BType
- type CMMultiFunctLutB2ATypedeprecated
- type CMMultiFunctLutType
- type CMMultiLocalizedUniCodeEntryRecdeprecated
- type CMMultiLocalizedUniCodeTypedeprecated
- type CMMultichannel5Colordeprecated
- type CMMultichannel6Colordeprecated
- type CMMultichannel7Colordeprecated
- type CMMultichannel8Colordeprecated
- type CMNamedColordeprecated
- type CMNamedColor2EntryTypedeprecated
- type CMNamedColor2Typedeprecated
- type CMNamedColorTypedeprecated
- type CMNativeDisplayInfodeprecated
- type CMNativeDisplayInfoTypedeprecated
- type CMPS2CRDVMSizeTypedeprecated
- type CMParametricCurveTypedeprecated
- type CMPathLocationdeprecated
- type CMProfLocdeprecated
- type CMProfileIterateDatadeprecated
- type CMProfileIterateUPPdeprecated
- type CMProfileLocationdeprecated
- type CMProfileMD5deprecated
- type CMProfileMD5Ptrdeprecated
- type CMProfileRefdeprecated
- type CMProfileSequenceDescTypedeprecated
- type CMS15Fixed16ArrayTypedeprecated
- type CMScreeningChannelRecdeprecated
- type CMScreeningTypedeprecated
- type CMSignatureTypedeprecated
- type CMTagElemTabledeprecated
- type CMTagRecorddeprecated
- type CMTextDescriptionTypedeprecated
- type CMTextTypedeprecated
- type CMU16Fixed16ArrayTypedeprecated
- type CMUInt8ArrayTypedeprecated
- type CMUInt16ArrayTypedeprecated
- type CMUInt32ArrayTypedeprecated
- type CMUInt64ArrayTypedeprecated
- type CMUcrBgTypedeprecated
- type CMUnicodeTextTypedeprecated
- type CMVideoCardGammadeprecated
- type CMVideoCardGammaFormuladeprecated
- type CMVideoCardGammaTabledeprecated
- type CMVideoCardGammaTypedeprecated
- type CMViewingConditionsTypedeprecated
- type CMWorldRefdeprecated
- type CMXYZColor
- type CMXYZComponent
- type CMXYZTypedeprecated
- type CMYxyColordeprecated
- type CQDProcs
- func (s *CQDProcs) ArcProc() uintptr
- func (s *CQDProcs) BitsProc() uintptr
- func (s *CQDProcs) CommentProc() uintptr
- func (s *CQDProcs) GetPicProc() uintptr
- func (s *CQDProcs) GlyphsProc() uintptr
- func (s *CQDProcs) LineProc() uintptr
- func (s *CQDProcs) NewProc1() uintptr
- func (s *CQDProcs) NewProc4() uintptr
- func (s *CQDProcs) NewProc5() uintptr
- func (s *CQDProcs) NewProc6() uintptr
- func (s *CQDProcs) OpcodeProc() uintptr
- func (s *CQDProcs) OvalProc() uintptr
- func (s *CQDProcs) PolyProc() uintptr
- func (s *CQDProcs) PrinterStatusProc() uintptr
- func (s *CQDProcs) PutPicProc() uintptr
- func (s *CQDProcs) RRectProc() uintptr
- func (s *CQDProcs) RectProc() uintptr
- func (s *CQDProcs) RgnProc() uintptr
- func (s *CQDProcs) SetArcProc(v uintptr)
- func (s *CQDProcs) SetBitsProc(v uintptr)
- func (s *CQDProcs) SetCommentProc(v uintptr)
- func (s *CQDProcs) SetGetPicProc(v uintptr)
- func (s *CQDProcs) SetGlyphsProc(v uintptr)
- func (s *CQDProcs) SetLineProc(v uintptr)
- func (s *CQDProcs) SetNewProc1(v uintptr)
- func (s *CQDProcs) SetNewProc4(v uintptr)
- func (s *CQDProcs) SetNewProc5(v uintptr)
- func (s *CQDProcs) SetNewProc6(v uintptr)
- func (s *CQDProcs) SetOpcodeProc(v uintptr)
- func (s *CQDProcs) SetOvalProc(v uintptr)
- func (s *CQDProcs) SetPolyProc(v uintptr)
- func (s *CQDProcs) SetPrinterStatusProc(v uintptr)
- func (s *CQDProcs) SetPutPicProc(v uintptr)
- func (s *CQDProcs) SetRRectProc(v uintptr)
- func (s *CQDProcs) SetRectProc(v uintptr)
- func (s *CQDProcs) SetRgnProc(v uintptr)
- func (s *CQDProcs) SetTextProc(v uintptr)
- func (s *CQDProcs) SetTxMeasProc(v uintptr)
- func (s *CQDProcs) TextProc() uintptr
- func (s *CQDProcs) TxMeasProc() uintptr
- type CQDProcsPtr
- type CSpecArray
- type Cdev
- type CmAToB0TagConstants
- type CmAsciiDataConstants
- type CmBlackPoint
- type CmCS1
- type CmColorSpace
- type CmCurrent
- type CmDefault
- type CmDevice
- type CmDeviceDBNotFoundErrConstants
- type CmDeviceState
- type CmEmbedded
- type CmFlare0Constants
- type CmGeometryUnknownConstants
- type CmGray8SpaceConstants
- type CmICCProfileVersion4Constants
- type CmICCReservedFlagsMaskConstants
- type CmIlluminant
- type CmInputClassConstants
- type CmInputUseConstants
- type CmIterate
- type CmMacintoshConstants
- type CmMagic
- type CmNoColorPackingConstants
- type CmNoProfileBaseConstants
- type CmNoSpaceConstants
- type CmNormalModeConstants
- type CmNumHeader
- type CmOpenReadAccessConstants
- type CmOpenReadSpoolConstants
- type CmOriginalProfileLocationSizeConstants
- type CmP
- type CmPS2CRDVMSizeTagConstants
- type CmParametric
- type CmPerceptualConstants
- type CmProfileIterateData
- type CmProfileMajorVersionMaskConstants
- type CmPrtrDefaultScreensConstants
- type CmReflectiveConstants
- type CmReflectiveTransparentMaskConstants
- type CmSRGB16Channel
- type CmScannerDeviceClassConstants
- type CmSigCrdInfoTypeConstants
- type CmSigPS2CRDVMSizeTypeConstants
- type CmSpotFunction
- type CmStdobsUnknownConstants
- type CmTechnology
- type CmUseDefaultChromaticAdaptationConstants
- type CmVideoCardGamma
- type CmXYZDataConstants
- type ColorComplementProcPtr
- type ColorComplementUPP
- type ColorSearchProcPtr
- type ColorSearchUPP
- type ColorSpec
- type ColorSpecPtr
- type ColorTable
- func (s *ColorTable) CtFlags() int16
- func (s *ColorTable) CtSeed() int32
- func (s *ColorTable) CtSize() int16
- func (s *ColorTable) CtTable() [1]ColorSpec
- func (s *ColorTable) SetCtFlags(v int16)
- func (s *ColorTable) SetCtSeed(v int32)
- func (s *ColorTable) SetCtSize(v int16)
- func (s *ColorTable) SetCtTable(v [1]ColorSpec)
- type ConstATSUAttributeValuePtr
- type CsMax
- type DelimiterInfo
- type DragConstraint
- type DragGrayRgnProcPtr
- type DragGrayRgnUPP
- type Extended
- type FMFilterSelector
- type FMFont
- type FMFontFamily
- type FMFontFamilyInstance
- type FMFontFamilyInstanceIterator
- type FMFontFamilyIterator
- type FMFontIterator
- type FMFontSize
- type FMFontStyle
- type FMGeneration
- type FMInput
- type FamRec
- func (s *FamRec) FfAscent() int16
- func (s *FamRec) FfDescent() int16
- func (s *FamRec) FfFamID() int16
- func (s *FamRec) FfFirstChar() int16
- func (s *FamRec) FfFlags() int16
- func (s *FamRec) FfIntl() [2]int16
- func (s *FamRec) FfKernOff() int32
- func (s *FamRec) FfLastChar() int16
- func (s *FamRec) FfLeading() int16
- func (s *FamRec) FfProperty() [9]int16
- func (s *FamRec) FfStylOff() int32
- func (s *FamRec) FfVersion() int16
- func (s *FamRec) FfWTabOff() int32
- func (s *FamRec) FfWidMax() int16
- func (s *FamRec) SetFfAscent(v int16)
- func (s *FamRec) SetFfDescent(v int16)
- func (s *FamRec) SetFfFamID(v int16)
- func (s *FamRec) SetFfFirstChar(v int16)
- func (s *FamRec) SetFfFlags(v int16)
- func (s *FamRec) SetFfIntl(v [2]int16)
- func (s *FamRec) SetFfKernOff(v int32)
- func (s *FamRec) SetFfLastChar(v int16)
- func (s *FamRec) SetFfLeading(v int16)
- func (s *FamRec) SetFfProperty(v [9]int16)
- func (s *FamRec) SetFfStylOff(v int32)
- func (s *FamRec) SetFfVersion(v int16)
- func (s *FamRec) SetFfWTabOff(v int32)
- func (s *FamRec) SetFfWidMax(v int16)
- type FontAssoc
- type FontInfo
- type FontRec
- type FontRecHdl
- type FontRecPtr
- type GDevice
- func (s *GDevice) GdCCBytes() int16
- func (s *GDevice) GdCCDepth() int16
- func (s *GDevice) GdCCXData() uintptr
- func (s *GDevice) GdCCXMask() uintptr
- func (s *GDevice) GdCompProc() uintptr
- func (s *GDevice) GdExt() uintptr
- func (s *GDevice) GdFlags() int16
- func (s *GDevice) GdID() int16
- func (s *GDevice) GdITable() uintptr
- func (s *GDevice) GdMode() int32
- func (s *GDevice) GdNextGD() uintptr
- func (s *GDevice) GdPMap() uintptr
- func (s *GDevice) GdRect() Rect
- func (s *GDevice) GdRefCon() int32
- func (s *GDevice) GdRefNum() int16
- func (s *GDevice) GdResPref() int16
- func (s *GDevice) GdSearchProc() uintptr
- func (s *GDevice) GdType() int16
- func (s *GDevice) SetGdCCBytes(v int16)
- func (s *GDevice) SetGdCCDepth(v int16)
- func (s *GDevice) SetGdCCXData(v uintptr)
- func (s *GDevice) SetGdCCXMask(v uintptr)
- func (s *GDevice) SetGdCompProc(v uintptr)
- func (s *GDevice) SetGdExt(v uintptr)
- func (s *GDevice) SetGdFlags(v int16)
- func (s *GDevice) SetGdID(v int16)
- func (s *GDevice) SetGdITable(v uintptr)
- func (s *GDevice) SetGdMode(v int32)
- func (s *GDevice) SetGdNextGD(v uintptr)
- func (s *GDevice) SetGdPMap(v uintptr)
- func (s *GDevice) SetGdRect(v Rect)
- func (s *GDevice) SetGdRefCon(v int32)
- func (s *GDevice) SetGdRefNum(v int16)
- func (s *GDevice) SetGdResPref(v int16)
- func (s *GDevice) SetGdSearchProc(v uintptr)
- func (s *GDevice) SetGdType(v int16)
- type GlyphCollection
- type GlyphID
- type GrafPort
- type GrafVerb
- type HIMutableShapeRef
- func HIShapeCreateMutable() HIMutableShapeRef
- func HIShapeCreateMutableCopy(inOrig HIShapeRef) HIMutableShapeRef
- func HIShapeCreateMutableWithRect(inRect unsafe.Pointer) HIMutableShapeRef
- func TryHIShapeCreateMutable() (HIMutableShapeRef, error)
- func TryHIShapeCreateMutableCopy(inOrig HIShapeRef) (HIMutableShapeRef, error)
- func TryHIShapeCreateMutableWithRect(inRect unsafe.Pointer) (HIMutableShapeRef, error)
- type HIShapeEnumerateProcPtr
- type HIShapeRef
- func HIShapeCreateCopy(inShape HIShapeRef) HIShapeRef
- func HIShapeCreateDifference(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
- func HIShapeCreateEmpty() HIShapeRef
- func HIShapeCreateIntersection(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
- func HIShapeCreateUnion(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
- func HIShapeCreateWithQDRgn(inRgn unsafe.Pointer) HIShapeRef
- func HIShapeCreateWithRect(inRect unsafe.Pointer) HIShapeRef
- func HIShapeCreateXor(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
- func IconRefToHIShape(iconRect unsafe.Pointer, align IconAlignmentType, ...) HIShapeRef
- func TryHIShapeCreateCopy(inShape HIShapeRef) (HIShapeRef, error)
- func TryHIShapeCreateDifference(inShape1 HIShapeRef, inShape2 HIShapeRef) (HIShapeRef, error)
- func TryHIShapeCreateEmpty() (HIShapeRef, error)
- func TryHIShapeCreateIntersection(inShape1 HIShapeRef, inShape2 HIShapeRef) (HIShapeRef, error)
- func TryHIShapeCreateUnion(inShape1 HIShapeRef, inShape2 HIShapeRef) (HIShapeRef, error)
- func TryHIShapeCreateWithQDRgn(inRgn unsafe.Pointer) (HIShapeRef, error)
- func TryHIShapeCreateWithRect(inRect unsafe.Pointer) (HIShapeRef, error)
- func TryHIShapeCreateXor(inShape1 HIShapeRef, inShape2 HIShapeRef) (HIShapeRef, error)
- func TryIconRefToHIShape(iconRect unsafe.Pointer, align IconAlignmentType, ...) (HIShapeRef, error)
- type ICAppSpec
- type ICAppSpecHandle
- type ICAppSpecList
- type ICAppSpecListHandle
- type ICAppSpecListPtr
- type ICAppSpecPtr
- type ICAttr
- type ICCharTable
- type ICCharTableHandle
- type ICCharTablePtr
- type ICFileSpec
- func (s *ICFileSpec) Alias() coreservices.AliasRecord
- func (s *ICFileSpec) Fss() coreservices.FSSpec
- func (s *ICFileSpec) SetAlias(v coreservices.AliasRecord)
- func (s *ICFileSpec) SetFss(v coreservices.FSSpec)
- func (s *ICFileSpec) SetVolCreationDate(v int32)
- func (s *ICFileSpec) SetVolName(v [32]uint8)
- func (s *ICFileSpec) VolCreationDate() int32
- func (s *ICFileSpec) VolName() [32]uint8
- type ICFileSpecHandle
- type ICFileSpecPtr
- type ICFixedLength
- type ICFontRecord
- type ICFontRecordHandle
- type ICFontRecordPtr
- type ICInstance
- type ICMapEntry
- func (s *ICMapEntry) CreatorAppName() [256]uint8
- func (s *ICMapEntry) EntryName() [256]uint8
- func (s *ICMapEntry) Extension() [256]uint8
- func (s *ICMapEntry) FileCreator() uint32
- func (s *ICMapEntry) FileType() uint32
- func (s *ICMapEntry) FixedLength() ICFixedLength
- func (s *ICMapEntry) Flags() ICMapEntryFlags
- func (s *ICMapEntry) MIMEType() [256]uint8
- func (s *ICMapEntry) PostAppName() [256]uint8
- func (s *ICMapEntry) PostCreator() uint32
- func (s *ICMapEntry) SetCreatorAppName(v [256]uint8)
- func (s *ICMapEntry) SetEntryName(v [256]uint8)
- func (s *ICMapEntry) SetExtension(v [256]uint8)
- func (s *ICMapEntry) SetFileCreator(v uint32)
- func (s *ICMapEntry) SetFileType(v uint32)
- func (s *ICMapEntry) SetFixedLength(v ICFixedLength)
- func (s *ICMapEntry) SetFlags(v ICMapEntryFlags)
- func (s *ICMapEntry) SetMIMEType(v [256]uint8)
- func (s *ICMapEntry) SetPostAppName(v [256]uint8)
- func (s *ICMapEntry) SetPostCreator(v uint32)
- func (s *ICMapEntry) SetTotalLength(v int16)
- func (s *ICMapEntry) SetVersion(v int16)
- func (s *ICMapEntry) TotalLength() int16
- func (s *ICMapEntry) Version() int16
- type ICMapEntryFlags
- type ICMapEntryHandle
- type ICMapEntryPtr
- type ICPerm
- type ICProfileID
- type ICProfileIDPtr
- type ICServiceEntry
- type ICServiceEntryFlags
- type ICServiceEntryHandle
- type ICServiceEntryPtr
- type ICServices
- type ICServicesHandle
- type ICServicesPtr
- type IcNoPermConstants
- type IcPrefNotFoundErrConstants
- type IconActionProcPtr
- type IconActionUPP
- type IconAlignmentType
- type IconGetterProcPtr
- type IconGetterUPP
- type IconRef
- type IconSelectorValue
- type IconTransformType
- type InitDevConstants
- type K1MonochromePixelFormatConstants
- type KATSCubicCurveTypeConstants
- type KATSDeleted
- type KATSFlatDataUstl
- type KATSFlattenedFontSpecifierRawName
- type KATSFontAutoActivation
- type KATSFontContext
- type KATSFontFilterCurrent
- type KATSFontFormat
- type KATSGenerationUnspecifiedConstants
- type KATSGlyphInfo
- type KATSItalicQDSkewConstants
- type KATSIterationCompletedConstants
- type KATSLine
- type KATSOptionFlagsActivateDisabledConstants
- type KATSOptionFlagsDefaultConstants
- type KATSOptionFlagsIterateByPrecedenceMaskConstants
- type KATSStyle
- type KATSUBackground
- type KATSUBy
- type KATSUDataStreamUnicodeStyled
- type KATSUDefaultFontFallbacksConstants
- type KATSUDirectData
- type KATSUFlattenOptionNoOptions
- type KATSUFromTextBeginningConstants
- type KATSUInvalidFontI
- type KATSULayoutOperation
- type KATSULayoutOperationCallbackStatus
- type KATSULeftTabConstants
- type KATSULeftToRightBaseDirectionConstants
- type KATSULineWidthTagConstants
- type KATSUNo
- type KATSUStrongly
- type KATSUStyleSingleLineCountConstants
- type KATSUStyleUnequalConstants
- type KATSUTruncateNoneConstants
- type KATSUUnFlattenOptionNoOptions
- type KATSUUseGrafPortPenLocConstants
- type KATSUUseLineControl
- type KATSUse
- type KATSUseGlyphAdvanceConstants
- type KAlign
- type KAllPPDDomainsConstants
- type KAudioUnit
- type KDefaultCMM
- type KFMCurrentFilter
- type KFMFontTechnologyFilterSelectorConstants
- type KFMTrueTypeFontTechnologyConstants
- type KGlyphCollection
- type KHIShapeEnumerate
- type KHIShapeParseFrom
- type KICAttrLockedBitConstants
- type KICAttrNoChangeConstants
- type KICComponentInterface
- type KICComponentVersionConstants
- type KICEditPreferenceEventClassConstants
- type KICFileSpecHeader
- type KICFileTypeConstants
- type KICMapBinaryBitConstants
- type KICMapBinaryMaskConstants
- type KICMapFixed
- type KICNilProfileI
- type KICNoUserInteractionBitConstants
- type KICNoUserInteractionMaskConstants
- type KICServicesTCPBitConstants
- type KICServicesTCPMaskConstants
- type KImmediateConstants
- type KInternetEventClassConstants
- type KInvalid
- type KInvertHighlightingConstants
- type KNeuterConstants
- type KNoConstraintConstants
- type KNoEndingProsodyConstants
- type KNoProcessConstants
- type KNoTransformConstants
- type KPMAllocationFailureConstants
- type KPMBorder
- type KPMCancelConstants
- type KPMCoverPage
- type KPMDestination
- type KPMDuplexNoneConstants
- type KPMHideInlineItemsConstants
- type KPMInvalidPrintSessionConstants
- type KPMLayout
- type KPMNoErrorConstants
- type KPMPaperType
- type KPMPortraitConstants
- type KPMPrintAll
- type KPMPrinter
- type KPMQuality
- type KPMScaling
- type KPMUnknownColorSpaceModelConstants
- type KPMUnlockedConstants
- type KPlotIconRef
- type KProcessDictionaryIncludeAllInformation
- type KProcessTransformTo
- type KQuit
- type KSelector
- type KSetFrontProcess
- type KSpeech
- type KTextToSpeech
- type KTransform
- type KTranslation
- type KUAZoomFocusType
- type KernEntry
- type KernPair
- type KernTable
- type Launch
- type LaunchFlags
- type LaunchPBPtr
- type LaunchParamBlockRec
- func (s *LaunchParamBlockRec) LaunchAppParameters() uintptr
- func (s *LaunchParamBlockRec) LaunchAppRef() uintptr
- func (s *LaunchParamBlockRec) LaunchAvailableSize() uint32
- func (s *LaunchParamBlockRec) LaunchBlockID() uint16
- func (s *LaunchParamBlockRec) LaunchControlFlags() LaunchFlags
- func (s *LaunchParamBlockRec) LaunchEPBLength() uint32
- func (s *LaunchParamBlockRec) LaunchFileFlags() uint16
- func (s *LaunchParamBlockRec) LaunchMinimumSize() uint32
- func (s *LaunchParamBlockRec) LaunchPreferredSize() uint32
- func (s *LaunchParamBlockRec) LaunchProcessSN() *ProcessSerialNumber
- func (s *LaunchParamBlockRec) Reserved1() uint32
- func (s *LaunchParamBlockRec) Reserved2() uint16
- func (s *LaunchParamBlockRec) SetLaunchAppParameters(v uintptr)
- func (s *LaunchParamBlockRec) SetLaunchAppRef(v uintptr)
- func (s *LaunchParamBlockRec) SetLaunchAvailableSize(v uint32)
- func (s *LaunchParamBlockRec) SetLaunchBlockID(v uint16)
- func (s *LaunchParamBlockRec) SetLaunchControlFlags(v LaunchFlags)
- func (s *LaunchParamBlockRec) SetLaunchEPBLength(v uint32)
- func (s *LaunchParamBlockRec) SetLaunchFileFlags(v uint16)
- func (s *LaunchParamBlockRec) SetLaunchMinimumSize(v uint32)
- func (s *LaunchParamBlockRec) SetLaunchPreferredSize(v uint32)
- func (s *LaunchParamBlockRec) SetLaunchProcessSN(v *ProcessSerialNumber)
- func (s *LaunchParamBlockRec) SetReserved1(v uint32)
- func (s *LaunchParamBlockRec) SetReserved2(v uint16)
- type MacPolygon
- type ModeReservedConstants
- type ModeTextConstants
- type NCMConcatProfileSetdeprecated
- type NCMConcatProfileSpecdeprecated
- type NCMDeviceProfileInfodeprecated
- type NameTable
- type OpenCPicParams
- func (s *OpenCPicParams) HRes() int32
- func (s *OpenCPicParams) Reserved1() int16
- func (s *OpenCPicParams) Reserved2() int32
- func (s *OpenCPicParams) SetHRes(v int32)
- func (s *OpenCPicParams) SetReserved1(v int16)
- func (s *OpenCPicParams) SetReserved2(v int32)
- func (s *OpenCPicParams) SetSrcRect(v Rect)
- func (s *OpenCPicParams) SetVRes(v int32)
- func (s *OpenCPicParams) SetVersion(v int16)
- func (s *OpenCPicParams) SrcRect() Rect
- func (s *OpenCPicParams) VRes() int32
- func (s *OpenCPicParams) Version() int16
- type OptionBits
- type PDEPanel
- type PDEPanelObject
- type PDEPlugIn
- type PDEPlugInCallbackProtocol
- type PDEPlugInCallbackProtocolObject
- type PDEPlugInObject
- type PMBorderType
- type PMColorSpaceModel
- type PMDataFormat
- type PMDestinationType
- type PMDuplexMode
- type PMLanguageInfo
- type PMLayoutDirection
- type PMObject
- type PMOrientation
- type PMPPDDomain
- type PMPageFormat
- type PMPageToPaperMappingType
- type PMPaper
- type PMPaperMargins
- type PMPaperType
- type PMPreset
- type PMPrintDialogOptionFlags
- type PMPrintSession
- type PMPrintSettings
- type PMPrinter
- type PMPrinterState
- type PMQualityMode
- type PMRect
- type PMResolution
- type PMScalingAlignment
- type PMServer
- type PasteboardFlavorFlags
- type PasteboardItemID
- type PasteboardPromiseKeeperProcPtr
- type PasteboardRef
- type PasteboardStandardLocation
- type PasteboardSyncFlags
- type PatHandle
- type PatPtr
- type Pattern
- type PhonemeDescriptor
- type PhonemeInfo
- type Picture
- type PixMap
- func (s *PixMap) BaseAddr() uintptr
- func (s *PixMap) Bounds() Rect
- func (s *PixMap) CmpCount() int16
- func (s *PixMap) CmpSize() int16
- func (s *PixMap) HRes() int32
- func (s *PixMap) PackSize() int32
- func (s *PixMap) PackType() int16
- func (s *PixMap) PixelFormat() uint32
- func (s *PixMap) PixelSize() int16
- func (s *PixMap) PixelType() int16
- func (s *PixMap) PmExt() uintptr
- func (s *PixMap) PmTable() uintptr
- func (s *PixMap) PmVersion() int16
- func (s *PixMap) RowBytes() int16
- func (s *PixMap) SetBaseAddr(v uintptr)
- func (s *PixMap) SetBounds(v Rect)
- func (s *PixMap) SetCmpCount(v int16)
- func (s *PixMap) SetCmpSize(v int16)
- func (s *PixMap) SetHRes(v int32)
- func (s *PixMap) SetPackSize(v int32)
- func (s *PixMap) SetPackType(v int16)
- func (s *PixMap) SetPixelFormat(v uint32)
- func (s *PixMap) SetPixelSize(v int16)
- func (s *PixMap) SetPixelType(v int16)
- func (s *PixMap) SetPmExt(v uintptr)
- func (s *PixMap) SetPmTable(v uintptr)
- func (s *PixMap) SetPmVersion(v int16)
- func (s *PixMap) SetRowBytes(v int16)
- func (s *PixMap) SetVRes(v int32)
- func (s *PixMap) VRes() int32
- type PixPat
- func (s *PixPat) Pat1Data() Pattern
- func (s *PixPat) PatData() uintptr
- func (s *PixPat) PatMap() uintptr
- func (s *PixPat) PatType() int16
- func (s *PixPat) PatXData() uintptr
- func (s *PixPat) PatXMap() uintptr
- func (s *PixPat) PatXValid() int16
- func (s *PixPat) SetPat1Data(v Pattern)
- func (s *PixPat) SetPatData(v uintptr)
- func (s *PixPat) SetPatMap(v uintptr)
- func (s *PixPat) SetPatType(v int16)
- func (s *PixPat) SetPatXData(v uintptr)
- func (s *PixPat) SetPatXMap(v uintptr)
- func (s *PixPat) SetPatXValid(v int16)
- type PixPatHandle
- type PixPatPtr
- type PlotIconRefFlags
- type Point
- type PolyHandle
- type PolyPtr
- type Polygon
- type PrinterStatusOpcode
- type ProcessApplicationTransformState
- type ProcessInfoExtendedRec
- func (s *ProcessInfoExtendedRec) ProcessActiveTime() uint32
- func (s *ProcessInfoExtendedRec) ProcessAppRef() uintptr
- func (s *ProcessInfoExtendedRec) ProcessFreeMem() uint32
- func (s *ProcessInfoExtendedRec) ProcessInfoLength() uint32
- func (s *ProcessInfoExtendedRec) ProcessLaunchDate() uint32
- func (s *ProcessInfoExtendedRec) ProcessLauncher() *ProcessSerialNumber
- func (s *ProcessInfoExtendedRec) ProcessLocation() uintptr
- func (s *ProcessInfoExtendedRec) ProcessMode() uint32
- func (s *ProcessInfoExtendedRec) ProcessName() *byte
- func (s *ProcessInfoExtendedRec) ProcessNumber() *ProcessSerialNumber
- func (s *ProcessInfoExtendedRec) ProcessPurgeableTempMemTotal() uint32
- func (s *ProcessInfoExtendedRec) ProcessSignature() uint32
- func (s *ProcessInfoExtendedRec) ProcessSize() uint32
- func (s *ProcessInfoExtendedRec) ProcessTempMemTotal() uint32
- func (s *ProcessInfoExtendedRec) ProcessType() uint32
- func (s *ProcessInfoExtendedRec) SetProcessActiveTime(v uint32)
- func (s *ProcessInfoExtendedRec) SetProcessAppRef(v uintptr)
- func (s *ProcessInfoExtendedRec) SetProcessFreeMem(v uint32)
- func (s *ProcessInfoExtendedRec) SetProcessInfoLength(v uint32)
- func (s *ProcessInfoExtendedRec) SetProcessLaunchDate(v uint32)
- func (s *ProcessInfoExtendedRec) SetProcessLauncher(v *ProcessSerialNumber)
- func (s *ProcessInfoExtendedRec) SetProcessLocation(v uintptr)
- func (s *ProcessInfoExtendedRec) SetProcessMode(v uint32)
- func (s *ProcessInfoExtendedRec) SetProcessName(v *byte)
- func (s *ProcessInfoExtendedRec) SetProcessNumber(v *ProcessSerialNumber)
- func (s *ProcessInfoExtendedRec) SetProcessPurgeableTempMemTotal(v uint32)
- func (s *ProcessInfoExtendedRec) SetProcessSignature(v uint32)
- func (s *ProcessInfoExtendedRec) SetProcessSize(v uint32)
- func (s *ProcessInfoExtendedRec) SetProcessTempMemTotal(v uint32)
- func (s *ProcessInfoExtendedRec) SetProcessType(v uint32)
- type ProcessInfoExtendedRecPtr
- type ProcessInfoRec
- func (s *ProcessInfoRec) ProcessActiveTime() uint32
- func (s *ProcessInfoRec) ProcessAppRef() uintptr
- func (s *ProcessInfoRec) ProcessFreeMem() uint32
- func (s *ProcessInfoRec) ProcessInfoLength() uint32
- func (s *ProcessInfoRec) ProcessLaunchDate() uint32
- func (s *ProcessInfoRec) ProcessLauncher() *ProcessSerialNumber
- func (s *ProcessInfoRec) ProcessLocation() uintptr
- func (s *ProcessInfoRec) ProcessMode() uint32
- func (s *ProcessInfoRec) ProcessName() *byte
- func (s *ProcessInfoRec) ProcessNumber() *ProcessSerialNumber
- func (s *ProcessInfoRec) ProcessSignature() uint32
- func (s *ProcessInfoRec) ProcessSize() uint32
- func (s *ProcessInfoRec) ProcessType() uint32
- func (s *ProcessInfoRec) SetProcessActiveTime(v uint32)
- func (s *ProcessInfoRec) SetProcessAppRef(v uintptr)
- func (s *ProcessInfoRec) SetProcessFreeMem(v uint32)
- func (s *ProcessInfoRec) SetProcessInfoLength(v uint32)
- func (s *ProcessInfoRec) SetProcessLaunchDate(v uint32)
- func (s *ProcessInfoRec) SetProcessLauncher(v *ProcessSerialNumber)
- func (s *ProcessInfoRec) SetProcessLocation(v uintptr)
- func (s *ProcessInfoRec) SetProcessMode(v uint32)
- func (s *ProcessInfoRec) SetProcessName(v *byte)
- func (s *ProcessInfoRec) SetProcessNumber(v *ProcessSerialNumber)
- func (s *ProcessInfoRec) SetProcessSignature(v uint32)
- func (s *ProcessInfoRec) SetProcessSize(v uint32)
- func (s *ProcessInfoRec) SetProcessType(v uint32)
- type ProcessInfoRecPtr
- type ProcessSerialNumber
- type QDArcProcPtr
- type QDArcUPP
- type QDBitsProcPtr
- type QDBitsUPP
- type QDCommentProcPtr
- type QDCommentUPP
- type QDErr
- type QDGetPicProcPtr
- type QDGetPicUPP
- type QDJShieldCursorProcPtr
- type QDJShieldCursorUPP
- type QDLineProcPtr
- type QDLineUPP
- type QDOpcodeProcPtr
- type QDOpcodeUPP
- type QDOvalProcPtr
- type QDOvalUPP
- type QDPolyProcPtr
- type QDPolyUPP
- type QDPrinterStatusProcPtr
- type QDPrinterStatusUPP
- type QDPutPicProcPtr
- type QDPutPicUPP
- type QDRRectProcPtr
- type QDRRectUPP
- type QDRectProcPtr
- type QDRectUPP
- type QDRegionParseDirection
- type QDRgnProcPtr
- type QDRgnUPP
- type QDStdGlyphsProcPtr
- type QDStdGlyphsUPP
- type QDStdTextUPP
- type QDTextProcPtr
- type QDTextUPP
- type QDTextWidthUPP
- type QDTxMeasProcPtr
- type QDTxMeasUPP
- type RGBColor
- type Rect
- type RedrawBackgroundProcPtr
- type RedrawBackgroundUPP
- type RegionToRectsProcPtr
- type RegionToRectsUPP
- type SizeResourceRec
- func (s *SizeResourceRec) Flags() uint16
- func (s *SizeResourceRec) MinimumHeapSize() uint32
- func (s *SizeResourceRec) PreferredHeapSize() uint32
- func (s *SizeResourceRec) SetFlags(v uint16)
- func (s *SizeResourceRec) SetMinimumHeapSize(v uint32)
- func (s *SizeResourceRec) SetPreferredHeapSize(v uint32)
- type SizeResourceRecHandle
- type SizeResourceRecPtr
- type So
- type SoVoice
- type SpeechChannel
- type SpeechChannelRecord
- type SpeechDoneProcPtr
- type SpeechDoneUPP
- type SpeechErrorCFProcPtr
- type SpeechErrorInfo
- func (s *SpeechErrorInfo) Count() int16
- func (s *SpeechErrorInfo) NewPos() int
- func (s *SpeechErrorInfo) Newest() int16
- func (s *SpeechErrorInfo) OldPos() int
- func (s *SpeechErrorInfo) Oldest() int16
- func (s *SpeechErrorInfo) SetCount(v int16)
- func (s *SpeechErrorInfo) SetNewPos(v int)
- func (s *SpeechErrorInfo) SetNewest(v int16)
- func (s *SpeechErrorInfo) SetOldPos(v int)
- func (s *SpeechErrorInfo) SetOldest(v int16)
- type SpeechErrorProcPtr
- type SpeechErrorUPP
- type SpeechPhonemeProcPtr
- type SpeechPhonemeUPP
- type SpeechStatusInfo
- func (s *SpeechStatusInfo) InputBytesLeft() int
- func (s *SpeechStatusInfo) OutputBusy() bool
- func (s *SpeechStatusInfo) OutputPaused() bool
- func (s *SpeechStatusInfo) PhonemeCode() int16
- func (s *SpeechStatusInfo) SetInputBytesLeft(v int)
- func (s *SpeechStatusInfo) SetOutputBusy(v bool)
- func (s *SpeechStatusInfo) SetOutputPaused(v bool)
- func (s *SpeechStatusInfo) SetPhonemeCode(v int16)
- type SpeechSyncProcPtr
- type SpeechSyncUPP
- type SpeechTextDoneProcPtr
- type SpeechTextDoneUPP
- type SpeechVersionInfo
- func (s *SpeechVersionInfo) SetSynthFlags(v int32)
- func (s *SpeechVersionInfo) SetSynthManufacturer(v uint32)
- func (s *SpeechVersionInfo) SetSynthSubType(v uint32)
- func (s *SpeechVersionInfo) SetSynthType(v uint32)
- func (s *SpeechVersionInfo) SetSynthVersion(v uint32)
- func (s *SpeechVersionInfo) SynthFlags() int32
- func (s *SpeechVersionInfo) SynthManufacturer() uint32
- func (s *SpeechVersionInfo) SynthSubType() uint32
- func (s *SpeechVersionInfo) SynthType() uint32
- func (s *SpeechVersionInfo) SynthVersion() uint32
- type SpeechWordCFProcPtr
- type SpeechWordProcPtr
- type SpeechWordUPP
- type SpeechXtndData
- type StyleTable
- func (s *StyleTable) FontClass() int16
- func (s *StyleTable) Indexes() [48]int8
- func (s *StyleTable) Offset() int32
- func (s *StyleTable) Reserved() int32
- func (s *StyleTable) SetFontClass(v int16)
- func (s *StyleTable) SetIndexes(v [48]int8)
- func (s *StyleTable) SetOffset(v int32)
- func (s *StyleTable) SetReserved(v int32)
- type Sv
- type TranslationFlags
- type TranslationRef
- type TruncCode
- type Tt
- type UAZoomChangeFocusType
- type VDGamRecPtr
- type VDGammaRecord
- type VoiceDescription
- func (s *VoiceDescription) Age() int16
- func (s *VoiceDescription) Comment() [256]uint8
- func (s *VoiceDescription) Gender() int16
- func (s *VoiceDescription) Language() int16
- func (s *VoiceDescription) Length() int32
- func (s *VoiceDescription) Name() [64]uint8
- func (s *VoiceDescription) Region() int16
- func (s *VoiceDescription) Reserved() [4]int32
- func (s *VoiceDescription) Script() int16
- func (s *VoiceDescription) SetAge(v int16)
- func (s *VoiceDescription) SetComment(v [256]uint8)
- func (s *VoiceDescription) SetGender(v int16)
- func (s *VoiceDescription) SetLanguage(v int16)
- func (s *VoiceDescription) SetLength(v int32)
- func (s *VoiceDescription) SetName(v [64]uint8)
- func (s *VoiceDescription) SetRegion(v int16)
- func (s *VoiceDescription) SetReserved(v [4]int32)
- func (s *VoiceDescription) SetScript(v int16)
- func (s *VoiceDescription) SetVersion(v int32)
- func (s *VoiceDescription) SetVoice(v VoiceSpec)
- func (s *VoiceDescription) Version() int32
- func (s *VoiceDescription) Voice() VoiceSpec
- type VoiceFileInfo
- type VoiceSpec
- type VoiceSpecPtr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AXAPIEnabled
deprecated
func AXAPIEnabled() bool
AXAPIEnabled returns whether the accessibility API is enabled.
It panics if AXAPIEnabled is unavailable at run time; use TryAXAPIEnabled to get an error instead.
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.
It panics if AXIsProcessTrusted is unavailable at run time; use TryAXIsProcessTrusted to get an error instead.
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.
It panics if AXIsProcessTrustedWithOptions is unavailable at run time; use TryAXIsProcessTrustedWithOptions to get an error instead.
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.
It panics if AXObserverGetRunLoopSource is unavailable at run time; use TryAXObserverGetRunLoopSource to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459139-axobservergetrunloopsource
func AXObserverGetTypeID ¶
func AXObserverGetTypeID() uint
AXObserverGetTypeID returns the unique type identifier for the AXObserverRef type.
It panics if AXObserverGetTypeID is unavailable at run time; use TryAXObserverGetTypeID to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461244-axobservergettypeid
func AXTextMarkerGetBytePtr ¶
func AXTextMarkerGetBytePtr(theTextMarker AXTextMarkerRef) uint8
AXTextMarkerGetBytePtr.
It panics if AXTextMarkerGetBytePtr is unavailable at run time; use TryAXTextMarkerGetBytePtr to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/3882824-axtextmarkergetbyteptr
func AXTextMarkerGetLength ¶
func AXTextMarkerGetLength(marker AXTextMarkerRef) int
AXTextMarkerGetLength.
It panics if AXTextMarkerGetLength is unavailable at run time; use TryAXTextMarkerGetLength to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/3882825-axtextmarkergetlength
func AXTextMarkerGetTypeID ¶
func AXTextMarkerGetTypeID() uint
AXTextMarkerGetTypeID.
It panics if AXTextMarkerGetTypeID is unavailable at run time; use TryAXTextMarkerGetTypeID to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/3882826-axtextmarkergettypeid
func AXTextMarkerRangeGetTypeID ¶
func AXTextMarkerRangeGetTypeID() uint
AXTextMarkerRangeGetTypeID.
It panics if AXTextMarkerRangeGetTypeID is unavailable at run time; use TryAXTextMarkerRangeGetTypeID to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/3882831-axtextmarkerrangegettypeid
func AXUIElementGetTypeID ¶
func AXUIElementGetTypeID() uint
AXUIElementGetTypeID returns the unique type identifier for the AXUIElementRef type.
It panics if AXUIElementGetTypeID is unavailable at run time; use TryAXUIElementGetTypeID to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460085-axuielementgettypeid
func AXValueGetTypeID ¶
func AXValueGetTypeID() uint
AXValueGetTypeID.
It panics if AXValueGetTypeID is unavailable at run time; use TryAXValueGetTypeID to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460780-axvaluegettypeid
func AXValueGetValue ¶
func AXValueGetValue(value AXValueRef, theType AXValueType, valuePtr unsafe.Pointer) bool
AXValueGetValue.
It panics if AXValueGetValue is unavailable at run time; use TryAXValueGetValue to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462933-axvaluegetvalue
func BindFunc ¶
BindFunc binds the ApplicationServices symbol name into fptr, which must be a pointer to a func variable.
The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.
func ContinueSpeech
deprecated
func ContinueSpeech(chan_ *SpeechChannelRecord) int16
ContinueSpeech resumes speech paused by the PauseSpeechAt function.
It panics if ContinueSpeech is unavailable at run time; use TryContinueSpeech to get an error instead.
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.
It panics if CopyPhonemesFromText is unavailable at run time; use TryCopyPhonemesFromText to get an error instead.
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.
It panics if CopyProcessName is unavailable at run time; use TryCopyProcessName to get an error instead.
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.
It panics if CopySpeechProperty is unavailable at run time; use TryCopySpeechProperty to get an error instead.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1459075-copyspeechproperty
func CountVoices
deprecated
added in
v0.6.17
CountVoices determines how many voices are available.
It panics if CountVoices is unavailable at run time; use TryCountVoices to get an error instead.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1459947-countvoices
func DisposeIconActionUPP ¶
func DisposeIconActionUPP(userUPP IconActionUPP)
DisposeIconActionUPP.
It panics if DisposeIconActionUPP is unavailable at run time; use TryDisposeIconActionUPP to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461028-disposeiconactionupp
func DisposeIconGetterUPP ¶
func DisposeIconGetterUPP(userUPP IconGetterUPP)
DisposeIconGetterUPP.
It panics if DisposeIconGetterUPP is unavailable at run time; use TryDisposeIconGetterUPP to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461061-disposeicongetterupp
func DisposeSpeechChannel
deprecated
func DisposeSpeechChannel(chan_ *SpeechChannelRecord) int16
DisposeSpeechChannel disposes of an existing speech channel.
It panics if DisposeSpeechChannel is unavailable at run time; use TryDisposeSpeechChannel to get an error instead.
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.
It panics if DisposeSpeechDoneUPP is unavailable at run time; use TryDisposeSpeechDoneUPP to get an error instead.
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.
It panics if DisposeSpeechErrorUPP is unavailable at run time; use TryDisposeSpeechErrorUPP to get an error instead.
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.
It panics if DisposeSpeechPhonemeUPP is unavailable at run time; use TryDisposeSpeechPhonemeUPP to get an error instead.
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.
It panics if DisposeSpeechSyncUPP is unavailable at run time; use TryDisposeSpeechSyncUPP to get an error instead.
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.
It panics if DisposeSpeechTextDoneUPP is unavailable at run time; use TryDisposeSpeechTextDoneUPP to get an error instead.
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.
It panics if DisposeSpeechWordUPP is unavailable at run time; use TryDisposeSpeechWordUPP to get an error instead.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552222-disposespeechwordupp
func ExitToShell
deprecated
func ExitToShell()
ExitToShell.
It panics if ExitToShell is unavailable at run time; use TryExitToShell to get an error instead.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1500985-exittoshell
func GetCurrentProcess
deprecated
func GetCurrentProcess(pPSN *ProcessSerialNumber) int16
GetCurrentProcess.
It panics if GetCurrentProcess is unavailable at run time; use TryGetCurrentProcess to get an error instead.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501115-getcurrentprocess
func GetFrontProcess
deprecated
func GetFrontProcess(pPSN *ProcessSerialNumber) int16
GetFrontProcess.
It panics if GetFrontProcess is unavailable at run time; use TryGetFrontProcess to get an error instead.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501050-getfrontprocess
func GetIconFamilyData ¶
GetIconFamilyData.
It panics if GetIconFamilyData is unavailable at run time; use TryGetIconFamilyData to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462743-geticonfamilydata
func GetIconRefVariant ¶
func GetIconRefVariant(inIconRef unsafe.Pointer, inVariant uint32, outTransform *IconTransformType) unsafe.Pointer
GetIconRefVariant.
It panics if GetIconRefVariant is unavailable at run time; use TryGetIconRefVariant to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463088-geticonrefvariant
func GetIndVoice
deprecated
GetIndVoice gets a voice specification structure for a voice bypassing an index to the GetIndVoice function.
It panics if GetIndVoice is unavailable at run time; use TryGetIndVoice to get an error instead.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1464595-getindvoice
func GetNextProcess
deprecated
func GetNextProcess(pPSN *ProcessSerialNumber) int16
GetNextProcess.
It panics if GetNextProcess is unavailable at run time; use TryGetNextProcess to get an error instead.
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.
It panics if GetProcessBundleLocation is unavailable at run time; use TryGetProcessBundleLocation to get an error instead.
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.
It panics if GetProcessForPID is unavailable at run time; use TryGetProcessForPID to get an error instead.
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.
It panics if GetProcessInformation is unavailable at run time; use TryGetProcessInformation to get an error instead.
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.
It panics if GetProcessPID is unavailable at run time; use TryGetProcessPID to get an error instead.
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.
It panics if GetSpeechInfo is unavailable at run time; use TryGetSpeechInfo to get an error instead.
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.
It panics if GetSpeechPitch is unavailable at run time; use TryGetSpeechPitch to get an error instead.
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.
It panics if GetSpeechRate is unavailable at run time; use TryGetSpeechRate to get an error instead.
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.
It panics if GetVoiceDescription is unavailable at run time; use TryGetVoiceDescription to get an error instead.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1463940-getvoicedescription
func GetVoiceInfo
deprecated
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.
It panics if GetVoiceInfo is unavailable at run time; use TryGetVoiceInfo to get an error instead.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1461410-getvoiceinfo
func HIShapeContainsPoint ¶
func HIShapeContainsPoint(inShape HIShapeRef, inPoint unsafe.Pointer) bool
HIShapeContainsPoint.
It panics if HIShapeContainsPoint is unavailable at run time; use TryHIShapeContainsPoint to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464704-hishapecontainspoint
func HIShapeDifference ¶
func HIShapeDifference(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
HIShapeDifference.
It panics if HIShapeDifference is unavailable at run time; use TryHIShapeDifference to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1458876-hishapedifference
func HIShapeEnumerate ¶
func HIShapeEnumerate(inShape HIShapeRef, inOptions uint32, inProc HIShapeEnumerateProcPtr, inRefcon unsafe.Pointer) int32
HIShapeEnumerate.
It panics if HIShapeEnumerate is unavailable at run time; use TryHIShapeEnumerate to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459161-hishapeenumerate
func HIShapeGetAsQDRgn ¶
func HIShapeGetAsQDRgn(inShape HIShapeRef, outRgn unsafe.Pointer) int32
HIShapeGetAsQDRgn.
It panics if HIShapeGetAsQDRgn is unavailable at run time; use TryHIShapeGetAsQDRgn to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464369-hishapegetasqdrgn
func HIShapeGetBounds ¶
func HIShapeGetBounds(inShape HIShapeRef, outRect unsafe.Pointer) *corefoundation.CGRect
HIShapeGetBounds.
It panics if HIShapeGetBounds is unavailable at run time; use TryHIShapeGetBounds to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460255-hishapegetbounds
func HIShapeGetTypeID ¶
func HIShapeGetTypeID() uint
HIShapeGetTypeID.
It panics if HIShapeGetTypeID is unavailable at run time; use TryHIShapeGetTypeID to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463371-hishapegettypeid
func HIShapeInset ¶
func HIShapeInset(inShape HIMutableShapeRef, inDX float64, inDY float64) int32
HIShapeInset.
It panics if HIShapeInset is unavailable at run time; use TryHIShapeInset to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463337-hishapeinset
func HIShapeIntersect ¶
func HIShapeIntersect(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
HIShapeIntersect.
It panics if HIShapeIntersect is unavailable at run time; use TryHIShapeIntersect to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462645-hishapeintersect
func HIShapeIntersectsRect ¶
func HIShapeIntersectsRect(inShape HIShapeRef, inRect unsafe.Pointer) bool
HIShapeIntersectsRect.
It panics if HIShapeIntersectsRect is unavailable at run time; use TryHIShapeIntersectsRect to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459614-hishapeintersectsrect
func HIShapeIsEmpty ¶
func HIShapeIsEmpty(inShape HIShapeRef) bool
HIShapeIsEmpty.
It panics if HIShapeIsEmpty is unavailable at run time; use TryHIShapeIsEmpty to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461878-hishapeisempty
func HIShapeIsRectangular ¶
func HIShapeIsRectangular(inShape HIShapeRef) bool
HIShapeIsRectangular.
It panics if HIShapeIsRectangular is unavailable at run time; use TryHIShapeIsRectangular to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461292-hishapeisrectangular
func HIShapeOffset ¶
func HIShapeOffset(inShape HIMutableShapeRef, inDX float64, inDY float64) int32
HIShapeOffset.
It panics if HIShapeOffset is unavailable at run time; use TryHIShapeOffset to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461775-hishapeoffset
func HIShapeReplacePathInCGContext ¶
func HIShapeReplacePathInCGContext(inShape HIShapeRef, inContext coregraphics.CGContextRef) int32
HIShapeReplacePathInCGContext.
It panics if HIShapeReplacePathInCGContext is unavailable at run time; use TryHIShapeReplacePathInCGContext to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460747-hishapereplacepathincgcontext
func HIShapeSetEmpty ¶
func HIShapeSetEmpty(inShape HIMutableShapeRef) int32
HIShapeSetEmpty.
It panics if HIShapeSetEmpty is unavailable at run time; use TryHIShapeSetEmpty to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461259-hishapesetempty
func HIShapeSetWithShape ¶
func HIShapeSetWithShape(inDestShape HIMutableShapeRef, inSrcShape HIShapeRef) int32
HIShapeSetWithShape.
It panics if HIShapeSetWithShape is unavailable at run time; use TryHIShapeSetWithShape to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462473-hishapesetwithshape
func HIShapeUnion ¶
func HIShapeUnion(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
HIShapeUnion.
It panics if HIShapeUnion is unavailable at run time; use TryHIShapeUnion to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459542-hishapeunion
func HIShapeUnionWithRect ¶
func HIShapeUnionWithRect(inShape HIMutableShapeRef, inRect unsafe.Pointer) int32
HIShapeUnionWithRect.
It panics if HIShapeUnionWithRect is unavailable at run time; use TryHIShapeUnionWithRect to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462757-hishapeunionwithrect
func HIShapeXor ¶
func HIShapeXor(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
HIShapeXor.
It panics if HIShapeXor is unavailable at run time; use TryHIShapeXor to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461294-hishapexor
func ICAddMapEntry
deprecated
func ICAddMapEntry(inst ICInstance, entries kernel.Handle, entry *ICMapEntry) int32
ICAddMapEntry.
It panics if ICAddMapEntry is unavailable at run time; use TryICAddMapEntry to get an error instead.
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.
It panics if ICAddProfile is unavailable at run time; use TryICAddProfile to get an error instead.
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.
It panics if ICBegin is unavailable at run time; use TryICBegin to get an error instead.
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.
It panics if ICCountMapEntries is unavailable at run time; use TryICCountMapEntries to get an error instead.
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.
It panics if ICCountPref is unavailable at run time; use TryICCountPref to get an error instead.
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.
It panics if ICCountProfiles is unavailable at run time; use TryICCountProfiles to get an error instead.
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.AppleEvent) int32
ICCreateGURLEvent.
It panics if ICCreateGURLEvent is unavailable at run time; use TryICCreateGURLEvent to get an error instead.
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.
It panics if ICDeleteMapEntry is unavailable at run time; use TryICDeleteMapEntry to get an error instead.
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.
It panics if ICDeletePref is unavailable at run time; use TryICDeletePref to get an error instead.
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.
It panics if ICDeleteProfile is unavailable at run time; use TryICDeleteProfile to get an error instead.
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.
It panics if ICEditPreferences is unavailable at run time; use TryICEditPreferences to get an error instead.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578512-iceditpreferences
func ICEnd
deprecated
func ICEnd(inst ICInstance) int32
ICEnd.
It panics if ICEnd is unavailable at run time; use TryICEnd to get an error instead.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578544-icend
func ICFindPrefHandle
deprecated
ICFindPrefHandle.
It panics if ICFindPrefHandle is unavailable at run time; use TryICFindPrefHandle to get an error instead.
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.
It panics if ICGetConfigName is unavailable at run time; use TryICGetConfigName to get an error instead.
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.
It panics if ICGetCurrentProfile is unavailable at run time; use TryICGetCurrentProfile to get an error instead.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578505-icgetcurrentprofile
func ICGetDefaultPref
deprecated
ICGetDefaultPref.
It panics if ICGetDefaultPref is unavailable at run time; use TryICGetDefaultPref to get an error instead.
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.
It panics if ICGetIndMapEntry is unavailable at run time; use TryICGetIndMapEntry to get an error instead.
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.
It panics if ICGetIndPref is unavailable at run time; use TryICGetIndPref to get an error instead.
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.
It panics if ICGetIndProfile is unavailable at run time; use TryICGetIndProfile to get an error instead.
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.
It panics if ICGetMapEntry is unavailable at run time; use TryICGetMapEntry to get an error instead.
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.
It panics if ICGetPerm is unavailable at run time; use TryICGetPerm to get an error instead.
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.
It panics if ICGetPref is unavailable at run time; use TryICGetPref to get an error instead.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578522-icgetpref
func ICGetPrefHandle
deprecated
ICGetPrefHandle.
It panics if ICGetPrefHandle is unavailable at run time; use TryICGetPrefHandle to get an error instead.
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.
It panics if ICGetProfileName is unavailable at run time; use TryICGetProfileName to get an error instead.
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.
It panics if ICGetSeed is unavailable at run time; use TryICGetSeed to get an error instead.
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.
It panics if ICGetVersion is unavailable at run time; use TryICGetVersion to get an error instead.
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.
It panics if ICLaunchURL is unavailable at run time; use TryICLaunchURL to get an error instead.
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.
It panics if ICMapEntriesFilename is unavailable at run time; use TryICMapEntriesFilename to get an error instead.
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.
It panics if ICMapEntriesTypeCreator is unavailable at run time; use TryICMapEntriesTypeCreator to get an error instead.
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.
It panics if ICMapFilename is unavailable at run time; use TryICMapFilename to get an error instead.
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.
It panics if ICMapTypeCreator is unavailable at run time; use TryICMapTypeCreator to get an error instead.
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.
It panics if ICParseURL is unavailable at run time; use TryICParseURL to get an error instead.
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.AppleEvent) int32
ICSendGURLEvent.
It panics if ICSendGURLEvent is unavailable at run time; use TryICSendGURLEvent to get an error instead.
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.
It panics if ICSetCurrentProfile is unavailable at run time; use TryICSetCurrentProfile to get an error instead.
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.
It panics if ICSetMapEntry is unavailable at run time; use TryICSetMapEntry to get an error instead.
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.
It panics if ICSetPref is unavailable at run time; use TryICSetPref to get an error instead.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578533-icsetpref
func ICSetPrefHandle
deprecated
ICSetPrefHandle.
It panics if ICSetPrefHandle is unavailable at run time; use TryICSetPrefHandle to get an error instead.
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.
It panics if ICSetProfileName is unavailable at run time; use TryICSetProfileName to get an error instead.
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.
It panics if ICStart is unavailable at run time; use TryICStart to get an error instead.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578513-icstart
func ICStop
deprecated
func ICStop(inst ICInstance) int32
ICStop.
It panics if ICStop is unavailable at run time; use TryICStop to get an error instead.
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.
It panics if IconRefContainsCGPoint is unavailable at run time; use TryIconRefContainsCGPoint to get an error instead.
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.
It panics if IconRefIntersectsCGRect is unavailable at run time; use TryIconRefIntersectsCGRect to get an error instead.
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.
It panics if IconRefToIconFamily is unavailable at run time; use TryIconRefToIconFamily to get an error instead.
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.
It panics if InvokeIconActionUPP is unavailable at run time; use TryInvokeIconActionUPP to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464116-invokeiconactionupp
func InvokeIconGetterUPP ¶
func InvokeIconGetterUPP(theType uint32, yourDataPtr unsafe.Pointer, userUPP IconGetterUPP) kernel.Handle
InvokeIconGetterUPP.
It panics if InvokeIconGetterUPP is unavailable at run time; use TryInvokeIconGetterUPP to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460976-invokeicongetterupp
func InvokeSpeechDoneUPP
deprecated
func InvokeSpeechDoneUPP(chan_ *SpeechChannelRecord, refCon uintptr, userUPP SpeechDoneUPP)
InvokeSpeechDoneUPP invokes your speech-done callback function.
It panics if InvokeSpeechDoneUPP is unavailable at run time; use TryInvokeSpeechDoneUPP to get an error instead.
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.
It panics if InvokeSpeechErrorUPP is unavailable at run time; use TryInvokeSpeechErrorUPP to get an error instead.
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.
It panics if InvokeSpeechPhonemeUPP is unavailable at run time; use TryInvokeSpeechPhonemeUPP to get an error instead.
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.
It panics if InvokeSpeechSyncUPP is unavailable at run time; use TryInvokeSpeechSyncUPP to get an error instead.
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.
It panics if InvokeSpeechTextDoneUPP is unavailable at run time; use TryInvokeSpeechTextDoneUPP to get an error instead.
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.
It panics if InvokeSpeechWordUPP is unavailable at run time; use TryInvokeSpeechWordUPP to get an error instead.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552227-invokespeechwordupp
func IsIconRefMaskEmpty ¶
IsIconRefMaskEmpty.
It panics if IsIconRefMaskEmpty is unavailable at run time; use TryIsIconRefMaskEmpty to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464419-isiconrefmaskempty
func IsProcessVisible
deprecated
func IsProcessVisible(psn *ProcessSerialNumber) bool
IsProcessVisible.
It panics if IsProcessVisible is unavailable at run time; use TryIsProcessVisible to get an error instead.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501035-isprocessvisible
func KillProcess
deprecated
func KillProcess(inProcess *ProcessSerialNumber) int16
KillProcess.
It panics if KillProcess is unavailable at run time; use TryKillProcess to get an error instead.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501110-killprocess
func LaunchApplication
deprecated
func LaunchApplication(LaunchParams LaunchPBPtr) int16
LaunchApplication.
It panics if LaunchApplication is unavailable at run time; use TryLaunchApplication to get an error instead.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501089-launchapplication
func MakeVoiceSpec
deprecated
MakeVoiceSpec sets the fields of a voice specification structure.
It panics if MakeVoiceSpec is unavailable at run time; use TryMakeVoiceSpec to get an error instead.
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.
It panics if NewSpeechChannel is unavailable at run time; use TryNewSpeechChannel to get an error instead.
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.
It panics if PMCGImageCreateWithEPSDataProvider is unavailable at run time; use TryPMCGImageCreateWithEPSDataProvider to get an error instead.
func PMCopyAvailablePPDs ¶
func PMCopyAvailablePPDs(domain PMPPDDomain, ppds *corefoundation.CFArrayRef) int32
PMCopyAvailablePPDs obtains the list of PostScript printer description (PPD) files in a PPD domain.
It panics if PMCopyAvailablePPDs is unavailable at run time; use TryPMCopyAvailablePPDs to get an error instead.
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.
It panics if PMCopyLocalizedPPD is unavailable at run time; use TryPMCopyLocalizedPPD to get an error instead.
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.
It panics if PMCopyPPDData is unavailable at run time; use TryPMCopyPPDData to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460345-pmcopyppddata
func PMCopyPageFormat ¶
PMCopyPageFormat copies the settings from one page format object into another.
It panics if PMCopyPageFormat is unavailable at run time; use TryPMCopyPageFormat to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464669-pmcopypageformat
func PMCopyPrintSettings ¶
PMCopyPrintSettings copies the settings from one print settings object into another.
It panics if PMCopyPrintSettings is unavailable at run time; use TryPMCopyPrintSettings to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462491-pmcopyprintsettings
func PMCreateGenericPrinter ¶
PMCreateGenericPrinter creates a generic printer object.
It panics if PMCreateGenericPrinter is unavailable at run time; use TryPMCreateGenericPrinter to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461960-pmcreategenericprinter
func PMCreatePageFormat ¶
PMCreatePageFormat creates a new page format object.
It panics if PMCreatePageFormat is unavailable at run time; use TryPMCreatePageFormat to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459485-pmcreatepageformat
func PMCreatePageFormatWithPMPaper ¶
PMCreatePageFormatWithPMPaper creates a page format object with a specified paper.
It panics if PMCreatePageFormatWithPMPaper is unavailable at run time; use TryPMCreatePageFormatWithPMPaper to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459274-pmcreatepageformatwithpmpaper
func PMCreatePrintSettings ¶
PMCreatePrintSettings creates a new print settings object.
It panics if PMCreatePrintSettings is unavailable at run time; use TryPMCreatePrintSettings to get an error instead.
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.
It panics if PMCreateSession is unavailable at run time; use TryPMCreateSession to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463247-pmcreatesession
func PMGetAdjustedPageRect ¶
PMGetAdjustedPageRect obtains the imageable area or page rectangle, taking into account orientation, application drawing resolution, and scaling settings.
It panics if PMGetAdjustedPageRect is unavailable at run time; use TryPMGetAdjustedPageRect to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461543-pmgetadjustedpagerect
func PMGetAdjustedPaperRect ¶
PMGetAdjustedPaperRect obtains the rectangle defining the paper size, taking into account orientation, application drawing resolution, and scaling settings.
It panics if PMGetAdjustedPaperRect is unavailable at run time; use TryPMGetAdjustedPaperRect to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459167-pmgetadjustedpaperrect
func PMGetCollate ¶
PMGetCollate obtains a Boolean value that indicates whether the job collate option is selected.
It panics if PMGetCollate is unavailable at run time; use TryPMGetCollate to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464492-pmgetcollate
func PMGetCopies ¶
PMGetCopies obtains the number of copies that the user requests to be printed.
It panics if PMGetCopies is unavailable at run time; use TryPMGetCopies to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464480-pmgetcopies
func PMGetDuplex ¶
func PMGetDuplex(printSettings uintptr, duplexSetting *PMDuplexMode) int32
PMGetDuplex obtains the selected duplex mode.
It panics if PMGetDuplex is unavailable at run time; use TryPMGetDuplex to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1458921-pmgetduplex
func PMGetFirstPage ¶
PMGetFirstPage obtains the number of the first page to be printed.
It panics if PMGetFirstPage is unavailable at run time; use TryPMGetFirstPage to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460271-pmgetfirstpage
func PMGetLastPage ¶
PMGetLastPage obtains the number of the last page to be printed.
It panics if PMGetLastPage is unavailable at run time; use TryPMGetLastPage to get an error instead.
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.
It panics if PMGetOrientation is unavailable at run time; use TryPMGetOrientation to get an error instead.
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.
It panics if PMGetPageFormatExtendedData is unavailable at run time; use TryPMGetPageFormatExtendedData to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464455-pmgetpageformatextendeddata
func PMGetPageFormatPaper ¶
PMGetPageFormatPaper obtains the paper associated with a page format object.
It panics if PMGetPageFormatPaper is unavailable at run time; use TryPMGetPageFormatPaper to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461319-pmgetpageformatpaper
func PMGetPageRange ¶
PMGetPageRange obtains the valid range of pages that can be printed.
It panics if PMGetPageRange is unavailable at run time; use TryPMGetPageRange to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459324-pmgetpagerange
func PMGetScale ¶
PMGetScale obtains the scaling factor currently applied to the page and paper rectangles.
It panics if PMGetScale is unavailable at run time; use TryPMGetScale to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1458796-pmgetscale
func PMGetUnadjustedPageRect ¶
PMGetUnadjustedPageRect obtains the imageable area or page rectangle, unaffected by orientation, resolution, or scaling.
It panics if PMGetUnadjustedPageRect is unavailable at run time; use TryPMGetUnadjustedPageRect to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462944-pmgetunadjustedpagerect
func PMGetUnadjustedPaperRect ¶
PMGetUnadjustedPaperRect obtains the paper rectangle, unaffected by rotation, resolution, or scaling.
It panics if PMGetUnadjustedPaperRect is unavailable at run time; use TryPMGetUnadjustedPaperRect to get an error instead.
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.
It panics if PMPageFormatCreateDataRepresentation is unavailable at run time; use TryPMPageFormatCreateDataRepresentation to get an error instead.
func PMPageFormatCreateWithDataRepresentation ¶
func PMPageFormatCreateWithDataRepresentation(data corefoundation.CFDataRef, pageFormat *uintptr) int32
PMPageFormatCreateWithDataRepresentation creates a page format object from a data representation.
It panics if PMPageFormatCreateWithDataRepresentation is unavailable at run time; use TryPMPageFormatCreateWithDataRepresentation to get an error instead.
func PMPageFormatGetPrinterID ¶
func PMPageFormatGetPrinterID(pageFormat uintptr, printerID *corefoundation.CFStringRef) int32
PMPageFormatGetPrinterID obtains the identifier of the formatting printer for a page format object.
It panics if PMPageFormatGetPrinterID is unavailable at run time; use TryPMPageFormatGetPrinterID to get an error instead.
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.
It panics if PMPaperCreateCustom is unavailable at run time; use TryPMPaperCreateCustom to get an error instead.
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.
It panics if PMPaperCreateLocalizedName is unavailable at run time; use TryPMPaperCreateLocalizedName to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460981-pmpapercreatelocalizedname
func PMPaperGetHeight ¶
PMPaperGetHeight obtains the height of the sheet of paper represented by a paper object.
It panics if PMPaperGetHeight is unavailable at run time; use TryPMPaperGetHeight to get an error instead.
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.
It panics if PMPaperGetID is unavailable at run time; use TryPMPaperGetID to get an error instead.
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.
It panics if PMPaperGetMargins is unavailable at run time; use TryPMPaperGetMargins to get an error instead.
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.
It panics if PMPaperGetPPDPaperName is unavailable at run time; use TryPMPaperGetPPDPaperName to get an error instead.
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.
It panics if PMPaperGetPrinterID is unavailable at run time; use TryPMPaperGetPrinterID to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461737-pmpapergetprinterid
func PMPaperGetWidth ¶
PMPaperGetWidth obtains the width of the sheet of paper represented by a paper object.
It panics if PMPaperGetWidth is unavailable at run time; use TryPMPaperGetWidth to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459209-pmpapergetwidth
func PMPaperIsCustom ¶
PMPaperIsCustom returns a Boolean value indicating whether a specified paper is a custom paper.
It panics if PMPaperIsCustom is unavailable at run time; use TryPMPaperIsCustom to get an error instead.
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.
It panics if PMPresetCopyName is unavailable at run time; use TryPMPresetCopyName to get an error instead.
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.
It panics if PMPresetCreatePrintSettings is unavailable at run time; use TryPMPresetCreatePrintSettings to get an error instead.
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.
It panics if PMPresetGetAttributes is unavailable at run time; use TryPMPresetGetAttributes to get an error instead.
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.
It panics if PMPrintSettingsCopyAsDictionary is unavailable at run time; use TryPMPrintSettingsCopyAsDictionary to get an error instead.
func PMPrintSettingsCopyKeys ¶
func PMPrintSettingsCopyKeys(printSettings uintptr, settingsKeys *corefoundation.CFArrayRef) int32
PMPrintSettingsCopyKeys obtains the keys for items in a print settings object.
It panics if PMPrintSettingsCopyKeys is unavailable at run time; use TryPMPrintSettingsCopyKeys to get an error instead.
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.
It panics if PMPrintSettingsCreateDataRepresentation is unavailable at run time; use TryPMPrintSettingsCreateDataRepresentation to get an error instead.
func PMPrintSettingsCreateWithDataRepresentation ¶
func PMPrintSettingsCreateWithDataRepresentation(data corefoundation.CFDataRef, printSettings *uintptr) int32
PMPrintSettingsCreateWithDataRepresentation creates a print settings object from a data representation.
It panics if PMPrintSettingsCreateWithDataRepresentation is unavailable at run time; use TryPMPrintSettingsCreateWithDataRepresentation to get an error instead.
func PMPrintSettingsGetJobName ¶
func PMPrintSettingsGetJobName(printSettings uintptr, name *corefoundation.CFStringRef) int32
PMPrintSettingsGetJobName obtains the name of a print job.
It panics if PMPrintSettingsGetJobName is unavailable at run time; use TryPMPrintSettingsGetJobName to get an error instead.
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.
It panics if PMPrintSettingsGetValue is unavailable at run time; use TryPMPrintSettingsGetValue to get an error instead.
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.
It panics if PMPrintSettingsSetJobName is unavailable at run time; use TryPMPrintSettingsSetJobName to get an error instead.
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.
It panics if PMPrintSettingsSetValue is unavailable at run time; use TryPMPrintSettingsSetValue to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461697-pmprintsettingssetvalue
func PMPrintSettingsToOptions ¶
PMPrintSettingsToOptions converts print settings into a CUPS options string.
It panics if PMPrintSettingsToOptions is unavailable at run time; use TryPMPrintSettingsToOptions to get an error instead.
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.
It panics if PMPrintSettingsToOptionsWithPrinterAndPageFormat is unavailable at run time; use TryPMPrintSettingsToOptionsWithPrinterAndPageFormat to get an error instead.
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.
It panics if PMPrinterCopyDescriptionURL is unavailable at run time; use TryPMPrinterCopyDescriptionURL to get an error instead.
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.
It panics if PMPrinterCopyDeviceURI is unavailable at run time; use TryPMPrinterCopyDeviceURI to get an error instead.
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.
It panics if PMPrinterCopyHostName is unavailable at run time; use TryPMPrinterCopyHostName to get an error instead.
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.
It panics if PMPrinterCopyPresets is unavailable at run time; use TryPMPrinterCopyPresets to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459117-pmprintercopypresets
func PMPrinterCopyState ¶
func PMPrinterCopyState(printer uintptr, stateDict *corefoundation.CFDictionaryRef) int32
PMPrinterCopyState.
It panics if PMPrinterCopyState is unavailable at run time; use TryPMPrinterCopyState to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460381-pmprintercopystate
func PMPrinterCreateFromPrinterID ¶
func PMPrinterCreateFromPrinterID(printerID corefoundation.CFStringRef) uintptr
PMPrinterCreateFromPrinterID creates a printer object from a print queue identifier.
It panics if PMPrinterCreateFromPrinterID is unavailable at run time; use TryPMPrinterCreateFromPrinterID to get an error instead.
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.
It panics if PMPrinterGetCommInfo is unavailable at run time; use TryPMPrinterGetCommInfo to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461069-pmprintergetcomminfo
func PMPrinterGetDriverCreator ¶
PMPrinterGetDriverCreator obtains the creator of the driver associated with the specified printer.
It panics if PMPrinterGetDriverCreator is unavailable at run time; use TryPMPrinterGetDriverCreator to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459107-pmprintergetdrivercreator
func PMPrinterGetDriverReleaseInfo ¶
PMPrinterGetDriverReleaseInfo obtains version information for the driver associated with the specified printer.
It panics if PMPrinterGetDriverReleaseInfo is unavailable at run time; use TryPMPrinterGetDriverReleaseInfo to get an error instead.
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.
It panics if PMPrinterGetID is unavailable at run time; use TryPMPrinterGetID to get an error instead.
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.
It panics if PMPrinterGetIndexedPrinterResolution is unavailable at run time; use TryPMPrinterGetIndexedPrinterResolution to get an error instead.
func PMPrinterGetLanguageInfo ¶
func PMPrinterGetLanguageInfo(printer uintptr, info *PMLanguageInfo) int32
PMPrinterGetLanguageInfo obtains information about the imaging language for the specified printer.
It panics if PMPrinterGetLanguageInfo is unavailable at run time; use TryPMPrinterGetLanguageInfo to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1458956-pmprintergetlanguageinfo
func PMPrinterGetLocation ¶
func PMPrinterGetLocation(printer uintptr) corefoundation.CFStringRef
PMPrinterGetLocation returns the location of a printer.
It panics if PMPrinterGetLocation is unavailable at run time; use TryPMPrinterGetLocation to get an error instead.
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.
It panics if PMPrinterGetMakeAndModelName is unavailable at run time; use TryPMPrinterGetMakeAndModelName to get an error instead.
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.
It panics if PMPrinterGetMimeTypes is unavailable at run time; use TryPMPrinterGetMimeTypes to get an error instead.
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.
It panics if PMPrinterGetName is unavailable at run time; use TryPMPrinterGetName to get an error instead.
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.
It panics if PMPrinterGetOutputResolution is unavailable at run time; use TryPMPrinterGetOutputResolution to get an error instead.
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.
It panics if PMPrinterGetPaperList is unavailable at run time; use TryPMPrinterGetPaperList to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460088-pmprintergetpaperlist
func PMPrinterGetPrinterResolutionCount ¶
PMPrinterGetPrinterResolutionCount obtains the number of resolution settings supported by the specified printer.
It panics if PMPrinterGetPrinterResolutionCount is unavailable at run time; use TryPMPrinterGetPrinterResolutionCount to get an error instead.
func PMPrinterGetState ¶
func PMPrinterGetState(printer uintptr, state *PMPrinterState) int32
PMPrinterGetState obtains the current state of the print queue for a printer.
It panics if PMPrinterGetState is unavailable at run time; use TryPMPrinterGetState to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462954-pmprintergetstate
func PMPrinterIsDefault ¶
PMPrinterIsDefault returns a Boolean value indicating whether a printer is the default printer for the current user.
It panics if PMPrinterIsDefault is unavailable at run time; use TryPMPrinterIsDefault to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459030-pmprinterisdefault
func PMPrinterIsFavorite ¶
PMPrinterIsFavorite returns a Boolean value indicating whether a printer is in the user’s list of favorite printers.
It panics if PMPrinterIsFavorite is unavailable at run time; use TryPMPrinterIsFavorite to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462074-pmprinterisfavorite
func PMPrinterIsPostScriptCapable ¶
PMPrinterIsPostScriptCapable returns a Boolean value indicating whether a printer is PostScript capable.
It panics if PMPrinterIsPostScriptCapable is unavailable at run time; use TryPMPrinterIsPostScriptCapable to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464168-pmprinterispostscriptcapable
func PMPrinterIsPostScriptPrinter ¶
PMPrinterIsPostScriptPrinter determines whether a printer is a PostScript printer.
It panics if PMPrinterIsPostScriptPrinter is unavailable at run time; use TryPMPrinterIsPostScriptPrinter to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462257-pmprinterispostscriptprinter
func PMPrinterIsRemote ¶
PMPrinterIsRemote indicates whether a printer is hosted by a remote print server.
It panics if PMPrinterIsRemote is unavailable at run time; use TryPMPrinterIsRemote to get an error instead.
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.
It panics if PMPrinterPrintWithFile is unavailable at run time; use TryPMPrinterPrintWithFile to get an error instead.
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.
It panics if PMPrinterPrintWithProvider is unavailable at run time; use TryPMPrinterPrintWithProvider to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461110-pmprinterprintwithprovider
func PMPrinterSendCommand ¶
func PMPrinterSendCommand(printer uintptr, commandString corefoundation.CFStringRef, jobTitle corefoundation.CFStringRef, options corefoundation.CFDictionaryRef) int32
PMPrinterSendCommand.
It panics if PMPrinterSendCommand is unavailable at run time; use TryPMPrinterSendCommand to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463872-pmprintersendcommand
func PMPrinterSetDefault ¶
PMPrinterSetDefault sets the default printer for the current user.
It panics if PMPrinterSetDefault is unavailable at run time; use TryPMPrinterSetDefault to get an error instead.
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.
It panics if PMPrinterSetOutputResolution is unavailable at run time; use TryPMPrinterSetOutputResolution to get an error instead.
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.
It panics if PMPrinterWritePostScriptToURL is unavailable at run time; use TryPMPrinterWritePostScriptToURL to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459729-pmprinterwritepostscripttourl
func PMRelease ¶
PMRelease releases a printing object by decrementing its reference count.
It panics if PMRelease is unavailable at run time; use TryPMRelease to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461402-pmrelease
func PMRetain ¶
PMRetain retains a printing object by incrementing its reference count.
It panics if PMRetain is unavailable at run time; use TryPMRetain to get an error instead.
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.
It panics if PMServerCreatePrinterList is unavailable at run time; use TryPMServerCreatePrinterList to get an error instead.
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.
It panics if PMServerLaunchPrinterBrowser is unavailable at run time; use TryPMServerLaunchPrinterBrowser to get an error instead.
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.
It panics if PMSessionBeginCGDocumentNoDialog is unavailable at run time; use TryPMSessionBeginCGDocumentNoDialog to get an error instead.
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.
It panics if PMSessionBeginPageNoDialog is unavailable at run time; use TryPMSessionBeginPageNoDialog to get an error instead.
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.
It panics if PMSessionCopyDestinationFormat is unavailable at run time; use TryPMSessionCopyDestinationFormat to get an error instead.
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.
It panics if PMSessionCopyDestinationLocation is unavailable at run time; use TryPMSessionCopyDestinationLocation to get an error instead.
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.
It panics if PMSessionCopyOutputFormatList is unavailable at run time; use TryPMSessionCopyOutputFormatList to get an error instead.
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.
It panics if PMSessionCreatePageFormatList is unavailable at run time; use TryPMSessionCreatePageFormatList to get an error instead.
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.
It panics if PMSessionCreatePrinterList is unavailable at run time; use TryPMSessionCreatePrinterList to get an error instead.
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.
It panics if PMSessionDefaultPageFormat is unavailable at run time; use TryPMSessionDefaultPageFormat to get an error instead.
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.
It panics if PMSessionDefaultPrintSettings is unavailable at run time; use TryPMSessionDefaultPrintSettings to get an error instead.
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.
It panics if PMSessionEndDocumentNoDialog is unavailable at run time; use TryPMSessionEndDocumentNoDialog to get an error instead.
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.
It panics if PMSessionEndPageNoDialog is unavailable at run time; use TryPMSessionEndPageNoDialog to get an error instead.
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.
It panics if PMSessionError is unavailable at run time; use TryPMSessionError to get an error instead.
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.
It panics if PMSessionGetCGGraphicsContext is unavailable at run time; use TryPMSessionGetCGGraphicsContext to get an error instead.
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.
It panics if PMSessionGetCurrentPrinter is unavailable at run time; use TryPMSessionGetCurrentPrinter to get an error instead.
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.
It panics if PMSessionGetDataFromSession is unavailable at run time; use TryPMSessionGetDataFromSession to get an error instead.
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.
It panics if PMSessionGetDestinationType is unavailable at run time; use TryPMSessionGetDestinationType to get an error instead.
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.
It panics if PMSessionSetCurrentPMPrinter is unavailable at run time; use TryPMSessionSetCurrentPMPrinter to get an error instead.
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.
It panics if PMSessionSetDataInSession is unavailable at run time; use TryPMSessionSetDataInSession to get an error instead.
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.
It panics if PMSessionSetDestination is unavailable at run time; use TryPMSessionSetDestination to get an error instead.
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.
It panics if PMSessionSetError is unavailable at run time; use TryPMSessionSetError to get an error instead.
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.
It panics if PMSessionValidatePageFormat is unavailable at run time; use TryPMSessionValidatePageFormat to get an error instead.
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.
It panics if PMSessionValidatePrintSettings is unavailable at run time; use TryPMSessionValidatePrintSettings to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1458994-pmsessionvalidateprintsettings
func PMSetCollate ¶
PMSetCollate specifies whether the job collate option is selected.
It panics if PMSetCollate is unavailable at run time; use TryPMSetCollate to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463223-pmsetcollate
func PMSetCopies ¶
PMSetCopies sets the initial value for the number of copies to be printed.
It panics if PMSetCopies is unavailable at run time; use TryPMSetCopies to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463804-pmsetcopies
func PMSetDuplex ¶
func PMSetDuplex(printSettings uintptr, duplexSetting PMDuplexMode) int32
PMSetDuplex sets the duplex mode.
It panics if PMSetDuplex is unavailable at run time; use TryPMSetDuplex to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462000-pmsetduplex
func PMSetFirstPage ¶
PMSetFirstPage sets the default page number of the first page to be printed.
It panics if PMSetFirstPage is unavailable at run time; use TryPMSetFirstPage to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461519-pmsetfirstpage
func PMSetLastPage ¶
PMSetLastPage sets the page number of the last page to be printed.
It panics if PMSetLastPage is unavailable at run time; use TryPMSetLastPage to get an error instead.
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.
It panics if PMSetOrientation is unavailable at run time; use TryPMSetOrientation to get an error instead.
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.
It panics if PMSetPageFormatExtendedData is unavailable at run time; use TryPMSetPageFormatExtendedData to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463464-pmsetpageformatextendeddata
func PMSetPageRange ¶
PMSetPageRange sets the valid range of pages that can be printed.
It panics if PMSetPageRange is unavailable at run time; use TryPMSetPageRange to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462294-pmsetpagerange
func PMSetScale ¶
PMSetScale sets the scaling factor for the page and paper rectangles.
It panics if PMSetScale is unavailable at run time; use TryPMSetScale to get an error instead.
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.
It panics if PMWorkflowCopyItems is unavailable at run time; use TryPMWorkflowCopyItems to get an error instead.
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.
It panics if PMWorkflowSubmitPDFWithOptions is unavailable at run time; use TryPMWorkflowSubmitPDFWithOptions to get an error instead.
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.
It panics if PMWorkflowSubmitPDFWithSettings is unavailable at run time; use TryPMWorkflowSubmitPDFWithSettings to get an error instead.
func PasteboardClear ¶
func PasteboardClear(inPasteboard PasteboardRef) int32
PasteboardClear.
It panics if PasteboardClear is unavailable at run time; use TryPasteboardClear to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460800-pasteboardclear
func PasteboardCopyItemFlavorData ¶
func PasteboardCopyItemFlavorData(inPasteboard PasteboardRef, inItem PasteboardItemID, inFlavorType corefoundation.CFStringRef, outData *corefoundation.CFDataRef) int32
PasteboardCopyItemFlavorData.
It panics if PasteboardCopyItemFlavorData is unavailable at run time; use TryPasteboardCopyItemFlavorData to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1458917-pasteboardcopyitemflavordata
func PasteboardCopyItemFlavors ¶
func PasteboardCopyItemFlavors(inPasteboard PasteboardRef, inItem PasteboardItemID, outFlavorTypes *corefoundation.CFArrayRef) int32
PasteboardCopyItemFlavors.
It panics if PasteboardCopyItemFlavors is unavailable at run time; use TryPasteboardCopyItemFlavors to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460005-pasteboardcopyitemflavors
func PasteboardCopyName ¶
func PasteboardCopyName(inPasteboard PasteboardRef, outName *corefoundation.CFStringRef) int32
PasteboardCopyName.
It panics if PasteboardCopyName is unavailable at run time; use TryPasteboardCopyName to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459455-pasteboardcopyname
func PasteboardCopyPasteLocation ¶
func PasteboardCopyPasteLocation(inPasteboard PasteboardRef, outPasteLocation *corefoundation.CFURLRef) int32
PasteboardCopyPasteLocation.
It panics if PasteboardCopyPasteLocation is unavailable at run time; use TryPasteboardCopyPasteLocation to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462546-pasteboardcopypastelocation
func PasteboardCreate ¶
func PasteboardCreate(inName corefoundation.CFStringRef, outPasteboard *PasteboardRef) int32
PasteboardCreate.
It panics if PasteboardCreate is unavailable at run time; use TryPasteboardCreate to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1461248-pasteboardcreate
func PasteboardGetItemCount ¶
func PasteboardGetItemCount(inPasteboard PasteboardRef, outItemCount unsafe.Pointer) int32
PasteboardGetItemCount.
It panics if PasteboardGetItemCount is unavailable at run time; use TryPasteboardGetItemCount to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459551-pasteboardgetitemcount
func PasteboardGetItemFlavorFlags ¶
func PasteboardGetItemFlavorFlags(inPasteboard PasteboardRef, inItem PasteboardItemID, inFlavorType corefoundation.CFStringRef, outFlags *PasteboardFlavorFlags) int32
PasteboardGetItemFlavorFlags.
It panics if PasteboardGetItemFlavorFlags is unavailable at run time; use TryPasteboardGetItemFlavorFlags to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459353-pasteboardgetitemflavorflags
func PasteboardGetItemIdentifier ¶
func PasteboardGetItemIdentifier(inPasteboard PasteboardRef, inIndex int, outItem *PasteboardItemID) int32
PasteboardGetItemIdentifier.
It panics if PasteboardGetItemIdentifier is unavailable at run time; use TryPasteboardGetItemIdentifier to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463412-pasteboardgetitemidentifier
func PasteboardGetTypeID ¶
func PasteboardGetTypeID() uint
PasteboardGetTypeID.
It panics if PasteboardGetTypeID is unavailable at run time; use TryPasteboardGetTypeID to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463386-pasteboardgettypeid
func PasteboardPutItemFlavor ¶
func PasteboardPutItemFlavor(inPasteboard PasteboardRef, inItem PasteboardItemID, inFlavorType corefoundation.CFStringRef, inData corefoundation.CFDataRef, inFlags PasteboardFlavorFlags) int32
PasteboardPutItemFlavor.
It panics if PasteboardPutItemFlavor is unavailable at run time; use TryPasteboardPutItemFlavor to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463184-pasteboardputitemflavor
func PasteboardResolvePromises ¶
func PasteboardResolvePromises(inPasteboard PasteboardRef) int32
PasteboardResolvePromises.
It panics if PasteboardResolvePromises is unavailable at run time; use TryPasteboardResolvePromises to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460816-pasteboardresolvepromises
func PasteboardSetPasteLocation ¶
func PasteboardSetPasteLocation(inPasteboard PasteboardRef, inPasteLocation corefoundation.CFURLRef) int32
PasteboardSetPasteLocation.
It panics if PasteboardSetPasteLocation is unavailable at run time; use TryPasteboardSetPasteLocation to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460572-pasteboardsetpastelocation
func PasteboardSetPromiseKeeper ¶
func PasteboardSetPromiseKeeper(inPasteboard PasteboardRef, inPromiseKeeper PasteboardPromiseKeeperProcPtr, inContext unsafe.Pointer) int32
PasteboardSetPromiseKeeper.
It panics if PasteboardSetPromiseKeeper is unavailable at run time; use TryPasteboardSetPromiseKeeper to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463604-pasteboardsetpromisekeeper
func PauseSpeechAt
deprecated
func PauseSpeechAt(chan_ *SpeechChannelRecord, whereToPause int32) int16
PauseSpeechAt pauses speech on a speech channel.
It panics if PauseSpeechAt is unavailable at run time; use TryPauseSpeechAt to get an error instead.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1461174-pausespeechat
func PlotIconRefInContext ¶
func PlotIconRefInContext(inContext coregraphics.CGContextRef, inRect unsafe.Pointer, inAlign IconAlignmentType, inTransform IconTransformType, inLabelColor unsafe.Pointer, inFlags PlotIconRefFlags, inIconRef unsafe.Pointer) int32
PlotIconRefInContext.
It panics if PlotIconRefInContext is unavailable at run time; use TryPlotIconRefInContext to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463721-ploticonrefincontext
func ProcessInformationCopyDictionary
deprecated
func ProcessInformationCopyDictionary(PSN *ProcessSerialNumber, infoToReturn uint32) corefoundation.CFDictionaryRef
ProcessInformationCopyDictionary.
It panics if ProcessInformationCopyDictionary is unavailable at run time; use TryProcessInformationCopyDictionary to get an error instead.
Deprecated: Deprecated since macOS 10.9.
func SameProcess
deprecated
func SameProcess(PSN1 *ProcessSerialNumber, PSN2 *ProcessSerialNumber, result *bool) int16
SameProcess.
It panics if SameProcess is unavailable at run time; use TrySameProcess to get an error instead.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501087-sameprocess
func SetFrontProcess
deprecated
func SetFrontProcess(pPSN *ProcessSerialNumber) int16
SetFrontProcess.
It panics if SetFrontProcess is unavailable at run time; use TrySetFrontProcess to get an error instead.
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.
It panics if SetFrontProcessWithOptions is unavailable at run time; use TrySetFrontProcessWithOptions to get an error instead.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501003-setfrontprocesswithoptions
func SetIconFamilyData ¶
SetIconFamilyData.
It panics if SetIconFamilyData is unavailable at run time; use TrySetIconFamilyData to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462050-seticonfamilydata
func SetSpeechInfo
deprecated
func SetSpeechInfo(chan_ *SpeechChannelRecord, selector uint32, speechInfo unsafe.Pointer) int16
SetSpeechInfo changes a setting of a particular speech channel.
It panics if SetSpeechInfo is unavailable at run time; use TrySetSpeechInfo to get an error instead.
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.
It panics if SetSpeechPitch is unavailable at run time; use TrySetSpeechPitch to get an error instead.
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.
It panics if SetSpeechProperty is unavailable at run time; use TrySetSpeechProperty to get an error instead.
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.
It panics if SetSpeechRate is unavailable at run time; use TrySetSpeechRate to get an error instead.
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.
It panics if ShowHideProcess is unavailable at run time; use TryShowHideProcess to get an error instead.
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.
It panics if SpeakBuffer is unavailable at run time; use TrySpeakBuffer to get an error instead.
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.
It panics if SpeakCFString is unavailable at run time; use TrySpeakCFString to get an error instead.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1461621-speakcfstring
func SpeakString
deprecated
SpeakString begins speaking a text string.
It panics if SpeakString is unavailable at run time; use TrySpeakString to get an error instead.
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.
It panics if SpeakText is unavailable at run time; use TrySpeakText to get an error instead.
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.
It panics if SpeechBusy is unavailable at run time; use TrySpeechBusy to get an error instead.
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.
It panics if SpeechBusySystemWide is unavailable at run time; use TrySpeechBusySystemWide to get an error instead.
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.
It panics if SpeechManagerVersion is unavailable at run time; use TrySpeechManagerVersion to get an error instead.
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.
It panics if SpeechSynthesisRegisterModuleURL is unavailable at run time; use TrySpeechSynthesisRegisterModuleURL to get an error instead.
Deprecated: Deprecated since macOS 13.0.
func SpeechSynthesisUnregisterModuleURL
deprecated
func SpeechSynthesisUnregisterModuleURL(url corefoundation.CFURLRef) int16
SpeechSynthesisUnregisterModuleURL unregisters a registered speech synthesizer or voice.
It panics if SpeechSynthesisUnregisterModuleURL is unavailable at run time; use TrySpeechSynthesisUnregisterModuleURL to get an error instead.
Deprecated: Deprecated since macOS 13.0.
func StopSpeech
deprecated
func StopSpeech(chan_ *SpeechChannelRecord) int16
StopSpeech terminates speech immediately on the specified channel.
It panics if StopSpeech is unavailable at run time; use TryStopSpeech to get an error instead.
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.
It panics if StopSpeechAt is unavailable at run time; use TryStopSpeechAt to get an error instead.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1459780-stopspeechat
func SymbolAddress ¶
SymbolAddress returns the address of name in ApplicationServices, whether or not this package generated a binding for it.
What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.
The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.
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.
It panics if TextToPhonemes is unavailable at run time; use TryTextToPhonemes to get an error instead.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552235-texttophonemes
func TransformProcessType ¶
func TransformProcessType(psn unsafe.Pointer, transformState ProcessApplicationTransformState) int32
TransformProcessType.
It panics if TransformProcessType is unavailable at run time; use TryTransformProcessType to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462420-transformprocesstype
func TranslationCopyDestinationType ¶
func TranslationCopyDestinationType(inTranslation TranslationRef, outDestinationType *corefoundation.CFStringRef) int32
TranslationCopyDestinationType.
It panics if TranslationCopyDestinationType is unavailable at run time; use TryTranslationCopyDestinationType to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459620-translationcopydestinationtype
func TranslationCopySourceType ¶
func TranslationCopySourceType(inTranslation TranslationRef, outSourceType *corefoundation.CFStringRef) int32
TranslationCopySourceType.
It panics if TranslationCopySourceType is unavailable at run time; use TryTranslationCopySourceType to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459344-translationcopysourcetype
func TranslationCreate ¶
func TranslationCreate(inSourceType corefoundation.CFStringRef, inDestinationType corefoundation.CFStringRef, inTranslationFlags TranslationFlags, outTranslation *TranslationRef) int32
TranslationCreate.
It panics if TranslationCreate is unavailable at run time; use TryTranslationCreate to get an error instead.
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.
It panics if TranslationCreateWithSourceArray is unavailable at run time; use TryTranslationCreateWithSourceArray to get an error instead.
func TranslationGetTranslationFlags ¶
func TranslationGetTranslationFlags(inTranslation TranslationRef, outTranslationFlags *TranslationFlags) int32
TranslationGetTranslationFlags.
It panics if TranslationGetTranslationFlags is unavailable at run time; use TryTranslationGetTranslationFlags to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459307-translationgettranslationflags
func TranslationGetTypeID ¶
func TranslationGetTypeID() uint
TranslationGetTypeID.
It panics if TranslationGetTypeID is unavailable at run time; use TryTranslationGetTypeID to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463809-translationgettypeid
func TranslationPerformForData ¶
func TranslationPerformForData(inTranslation TranslationRef, inSourceData corefoundation.CFDataRef, outDestinationData *corefoundation.CFDataRef) int32
TranslationPerformForData.
It panics if TranslationPerformForData is unavailable at run time; use TryTranslationPerformForData to get an error instead.
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.
It panics if TranslationPerformForFile is unavailable at run time; use TryTranslationPerformForFile to get an error instead.
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.
It panics if TranslationPerformForURL is unavailable at run time; use TryTranslationPerformForURL to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460118-translationperformforurl
func TryAXAPIEnabled ¶
TryAXAPIEnabled is like AXAPIEnabled but returns an error instead of panicking if AXAPIEnabled is unavailable at run time.
func TryAXIsProcessTrusted ¶
TryAXIsProcessTrusted is like AXIsProcessTrusted but returns an error instead of panicking if AXIsProcessTrusted is unavailable at run time.
func TryAXIsProcessTrustedWithOptions ¶
func TryAXIsProcessTrustedWithOptions(options corefoundation.CFDictionaryRef) (bool, error)
TryAXIsProcessTrustedWithOptions is like AXIsProcessTrustedWithOptions but returns an error instead of panicking if AXIsProcessTrustedWithOptions is unavailable at run time.
func TryAXObserverGetRunLoopSource ¶
func TryAXObserverGetRunLoopSource(observer AXObserverRef) (corefoundation.CFRunLoopSourceRef, error)
TryAXObserverGetRunLoopSource is like AXObserverGetRunLoopSource but returns an error instead of panicking if AXObserverGetRunLoopSource is unavailable at run time.
func TryAXObserverGetTypeID ¶
TryAXObserverGetTypeID is like AXObserverGetTypeID but returns an error instead of panicking if AXObserverGetTypeID is unavailable at run time.
func TryAXTextMarkerGetBytePtr ¶
func TryAXTextMarkerGetBytePtr(theTextMarker AXTextMarkerRef) (uint8, error)
TryAXTextMarkerGetBytePtr is like AXTextMarkerGetBytePtr but returns an error instead of panicking if AXTextMarkerGetBytePtr is unavailable at run time.
func TryAXTextMarkerGetLength ¶
func TryAXTextMarkerGetLength(marker AXTextMarkerRef) (int, error)
TryAXTextMarkerGetLength is like AXTextMarkerGetLength but returns an error instead of panicking if AXTextMarkerGetLength is unavailable at run time.
func TryAXTextMarkerGetTypeID ¶
TryAXTextMarkerGetTypeID is like AXTextMarkerGetTypeID but returns an error instead of panicking if AXTextMarkerGetTypeID is unavailable at run time.
func TryAXTextMarkerRangeGetTypeID ¶
TryAXTextMarkerRangeGetTypeID is like AXTextMarkerRangeGetTypeID but returns an error instead of panicking if AXTextMarkerRangeGetTypeID is unavailable at run time.
func TryAXUIElementGetTypeID ¶
TryAXUIElementGetTypeID is like AXUIElementGetTypeID but returns an error instead of panicking if AXUIElementGetTypeID is unavailable at run time.
func TryAXValueGetTypeID ¶
TryAXValueGetTypeID is like AXValueGetTypeID but returns an error instead of panicking if AXValueGetTypeID is unavailable at run time.
func TryAXValueGetValue ¶
func TryAXValueGetValue(value AXValueRef, theType AXValueType, valuePtr unsafe.Pointer) (bool, error)
TryAXValueGetValue is like AXValueGetValue but returns an error instead of panicking if AXValueGetValue is unavailable at run time.
func TryContinueSpeech ¶
func TryContinueSpeech(chan_ *SpeechChannelRecord) (int16, error)
TryContinueSpeech is like ContinueSpeech but returns an error instead of panicking if ContinueSpeech is unavailable at run time.
func TryCopyPhonemesFromText ¶
func TryCopyPhonemesFromText(chan_ *SpeechChannelRecord, text corefoundation.CFStringRef, phonemes *corefoundation.CFStringRef) (int16, error)
TryCopyPhonemesFromText is like CopyPhonemesFromText but returns an error instead of panicking if CopyPhonemesFromText is unavailable at run time.
func TryCopyProcessName ¶
func TryCopyProcessName(psn *ProcessSerialNumber, name *corefoundation.CFStringRef) (int32, error)
TryCopyProcessName is like CopyProcessName but returns an error instead of panicking if CopyProcessName is unavailable at run time.
func TryCopySpeechProperty ¶
func TryCopySpeechProperty(chan_ *SpeechChannelRecord, property corefoundation.CFStringRef, object *corefoundation.CFTypeRef) (int16, error)
TryCopySpeechProperty is like CopySpeechProperty but returns an error instead of panicking if CopySpeechProperty is unavailable at run time.
func TryCountVoices ¶
TryCountVoices is like CountVoices but returns an error instead of panicking if CountVoices is unavailable at run time.
func TryDisposeIconActionUPP ¶
func TryDisposeIconActionUPP(userUPP IconActionUPP) error
TryDisposeIconActionUPP is like DisposeIconActionUPP but returns an error instead of panicking if DisposeIconActionUPP is unavailable at run time.
func TryDisposeIconGetterUPP ¶
func TryDisposeIconGetterUPP(userUPP IconGetterUPP) error
TryDisposeIconGetterUPP is like DisposeIconGetterUPP but returns an error instead of panicking if DisposeIconGetterUPP is unavailable at run time.
func TryDisposeSpeechChannel ¶
func TryDisposeSpeechChannel(chan_ *SpeechChannelRecord) (int16, error)
TryDisposeSpeechChannel is like DisposeSpeechChannel but returns an error instead of panicking if DisposeSpeechChannel is unavailable at run time.
func TryDisposeSpeechDoneUPP ¶
func TryDisposeSpeechDoneUPP(userUPP SpeechDoneUPP) error
TryDisposeSpeechDoneUPP is like DisposeSpeechDoneUPP but returns an error instead of panicking if DisposeSpeechDoneUPP is unavailable at run time.
func TryDisposeSpeechErrorUPP ¶
func TryDisposeSpeechErrorUPP(userUPP SpeechErrorUPP) error
TryDisposeSpeechErrorUPP is like DisposeSpeechErrorUPP but returns an error instead of panicking if DisposeSpeechErrorUPP is unavailable at run time.
func TryDisposeSpeechPhonemeUPP ¶
func TryDisposeSpeechPhonemeUPP(userUPP SpeechPhonemeUPP) error
TryDisposeSpeechPhonemeUPP is like DisposeSpeechPhonemeUPP but returns an error instead of panicking if DisposeSpeechPhonemeUPP is unavailable at run time.
func TryDisposeSpeechSyncUPP ¶
func TryDisposeSpeechSyncUPP(userUPP SpeechSyncUPP) error
TryDisposeSpeechSyncUPP is like DisposeSpeechSyncUPP but returns an error instead of panicking if DisposeSpeechSyncUPP is unavailable at run time.
func TryDisposeSpeechTextDoneUPP ¶
func TryDisposeSpeechTextDoneUPP(userUPP SpeechTextDoneUPP) error
TryDisposeSpeechTextDoneUPP is like DisposeSpeechTextDoneUPP but returns an error instead of panicking if DisposeSpeechTextDoneUPP is unavailable at run time.
func TryDisposeSpeechWordUPP ¶
func TryDisposeSpeechWordUPP(userUPP SpeechWordUPP) error
TryDisposeSpeechWordUPP is like DisposeSpeechWordUPP but returns an error instead of panicking if DisposeSpeechWordUPP is unavailable at run time.
func TryExitToShell ¶
func TryExitToShell() error
TryExitToShell is like ExitToShell but returns an error instead of panicking if ExitToShell is unavailable at run time.
func TryGetCurrentProcess ¶
func TryGetCurrentProcess(pPSN *ProcessSerialNumber) (int16, error)
TryGetCurrentProcess is like GetCurrentProcess but returns an error instead of panicking if GetCurrentProcess is unavailable at run time.
func TryGetFrontProcess ¶
func TryGetFrontProcess(pPSN *ProcessSerialNumber) (int16, error)
TryGetFrontProcess is like GetFrontProcess but returns an error instead of panicking if GetFrontProcess is unavailable at run time.
func TryGetIconFamilyData ¶
func TryGetIconFamilyData(iconFamily unsafe.Pointer, iconType uint32, h kernel.Handle) (int16, error)
TryGetIconFamilyData is like GetIconFamilyData but returns an error instead of panicking if GetIconFamilyData is unavailable at run time.
func TryGetIconRefVariant ¶
func TryGetIconRefVariant(inIconRef unsafe.Pointer, inVariant uint32, outTransform *IconTransformType) (unsafe.Pointer, error)
TryGetIconRefVariant is like GetIconRefVariant but returns an error instead of panicking if GetIconRefVariant is unavailable at run time.
func TryGetIndVoice ¶
TryGetIndVoice is like GetIndVoice but returns an error instead of panicking if GetIndVoice is unavailable at run time.
func TryGetNextProcess ¶
func TryGetNextProcess(pPSN *ProcessSerialNumber) (int16, error)
TryGetNextProcess is like GetNextProcess but returns an error instead of panicking if GetNextProcess is unavailable at run time.
func TryGetProcessBundleLocation ¶
func TryGetProcessBundleLocation(psn *ProcessSerialNumber, location *coreservices.FSRef) (int32, error)
TryGetProcessBundleLocation is like GetProcessBundleLocation but returns an error instead of panicking if GetProcessBundleLocation is unavailable at run time.
func TryGetProcessForPID ¶
func TryGetProcessForPID(pid int32, psn *ProcessSerialNumber) (int32, error)
TryGetProcessForPID is like GetProcessForPID but returns an error instead of panicking if GetProcessForPID is unavailable at run time.
func TryGetProcessInformation ¶
func TryGetProcessInformation(PSN *ProcessSerialNumber, info *ProcessInfoRec) (int16, error)
TryGetProcessInformation is like GetProcessInformation but returns an error instead of panicking if GetProcessInformation is unavailable at run time.
func TryGetProcessPID ¶
func TryGetProcessPID(psn *ProcessSerialNumber, pid *int32) (int32, error)
TryGetProcessPID is like GetProcessPID but returns an error instead of panicking if GetProcessPID is unavailable at run time.
func TryGetSpeechInfo ¶
func TryGetSpeechInfo(chan_ *SpeechChannelRecord, selector uint32, speechInfo unsafe.Pointer) (int16, error)
TryGetSpeechInfo is like GetSpeechInfo but returns an error instead of panicking if GetSpeechInfo is unavailable at run time.
func TryGetSpeechPitch ¶
func TryGetSpeechPitch(chan_ *SpeechChannelRecord, pitch *int32) (int16, error)
TryGetSpeechPitch is like GetSpeechPitch but returns an error instead of panicking if GetSpeechPitch is unavailable at run time.
func TryGetSpeechRate ¶
func TryGetSpeechRate(chan_ *SpeechChannelRecord, rate *int32) (int16, error)
TryGetSpeechRate is like GetSpeechRate but returns an error instead of panicking if GetSpeechRate is unavailable at run time.
func TryGetVoiceDescription ¶
func TryGetVoiceDescription(voice unsafe.Pointer, info unsafe.Pointer, infoLength unsafe.Pointer) (int16, error)
TryGetVoiceDescription is like GetVoiceDescription but returns an error instead of panicking if GetVoiceDescription is unavailable at run time.
func TryGetVoiceInfo ¶
func TryGetVoiceInfo(voice unsafe.Pointer, selector uint32, voiceInfo unsafe.Pointer) (int16, error)
TryGetVoiceInfo is like GetVoiceInfo but returns an error instead of panicking if GetVoiceInfo is unavailable at run time.
func TryHIShapeContainsPoint ¶
func TryHIShapeContainsPoint(inShape HIShapeRef, inPoint unsafe.Pointer) (bool, error)
TryHIShapeContainsPoint is like HIShapeContainsPoint but returns an error instead of panicking if HIShapeContainsPoint is unavailable at run time.
func TryHIShapeDifference ¶
func TryHIShapeDifference(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) (int32, error)
TryHIShapeDifference is like HIShapeDifference but returns an error instead of panicking if HIShapeDifference is unavailable at run time.
func TryHIShapeEnumerate ¶
func TryHIShapeEnumerate(inShape HIShapeRef, inOptions uint32, inProc HIShapeEnumerateProcPtr, inRefcon unsafe.Pointer) (int32, error)
TryHIShapeEnumerate is like HIShapeEnumerate but returns an error instead of panicking if HIShapeEnumerate is unavailable at run time.
func TryHIShapeGetAsQDRgn ¶
func TryHIShapeGetAsQDRgn(inShape HIShapeRef, outRgn unsafe.Pointer) (int32, error)
TryHIShapeGetAsQDRgn is like HIShapeGetAsQDRgn but returns an error instead of panicking if HIShapeGetAsQDRgn is unavailable at run time.
func TryHIShapeGetBounds ¶
func TryHIShapeGetBounds(inShape HIShapeRef, outRect unsafe.Pointer) (*corefoundation.CGRect, error)
TryHIShapeGetBounds is like HIShapeGetBounds but returns an error instead of panicking if HIShapeGetBounds is unavailable at run time.
func TryHIShapeGetTypeID ¶
TryHIShapeGetTypeID is like HIShapeGetTypeID but returns an error instead of panicking if HIShapeGetTypeID is unavailable at run time.
func TryHIShapeInset ¶
func TryHIShapeInset(inShape HIMutableShapeRef, inDX float64, inDY float64) (int32, error)
TryHIShapeInset is like HIShapeInset but returns an error instead of panicking if HIShapeInset is unavailable at run time.
func TryHIShapeIntersect ¶
func TryHIShapeIntersect(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) (int32, error)
TryHIShapeIntersect is like HIShapeIntersect but returns an error instead of panicking if HIShapeIntersect is unavailable at run time.
func TryHIShapeIntersectsRect ¶
func TryHIShapeIntersectsRect(inShape HIShapeRef, inRect unsafe.Pointer) (bool, error)
TryHIShapeIntersectsRect is like HIShapeIntersectsRect but returns an error instead of panicking if HIShapeIntersectsRect is unavailable at run time.
func TryHIShapeIsEmpty ¶
func TryHIShapeIsEmpty(inShape HIShapeRef) (bool, error)
TryHIShapeIsEmpty is like HIShapeIsEmpty but returns an error instead of panicking if HIShapeIsEmpty is unavailable at run time.
func TryHIShapeIsRectangular ¶
func TryHIShapeIsRectangular(inShape HIShapeRef) (bool, error)
TryHIShapeIsRectangular is like HIShapeIsRectangular but returns an error instead of panicking if HIShapeIsRectangular is unavailable at run time.
func TryHIShapeOffset ¶
func TryHIShapeOffset(inShape HIMutableShapeRef, inDX float64, inDY float64) (int32, error)
TryHIShapeOffset is like HIShapeOffset but returns an error instead of panicking if HIShapeOffset is unavailable at run time.
func TryHIShapeReplacePathInCGContext ¶
func TryHIShapeReplacePathInCGContext(inShape HIShapeRef, inContext coregraphics.CGContextRef) (int32, error)
TryHIShapeReplacePathInCGContext is like HIShapeReplacePathInCGContext but returns an error instead of panicking if HIShapeReplacePathInCGContext is unavailable at run time.
func TryHIShapeSetEmpty ¶
func TryHIShapeSetEmpty(inShape HIMutableShapeRef) (int32, error)
TryHIShapeSetEmpty is like HIShapeSetEmpty but returns an error instead of panicking if HIShapeSetEmpty is unavailable at run time.
func TryHIShapeSetWithShape ¶
func TryHIShapeSetWithShape(inDestShape HIMutableShapeRef, inSrcShape HIShapeRef) (int32, error)
TryHIShapeSetWithShape is like HIShapeSetWithShape but returns an error instead of panicking if HIShapeSetWithShape is unavailable at run time.
func TryHIShapeUnion ¶
func TryHIShapeUnion(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) (int32, error)
TryHIShapeUnion is like HIShapeUnion but returns an error instead of panicking if HIShapeUnion is unavailable at run time.
func TryHIShapeUnionWithRect ¶
func TryHIShapeUnionWithRect(inShape HIMutableShapeRef, inRect unsafe.Pointer) (int32, error)
TryHIShapeUnionWithRect is like HIShapeUnionWithRect but returns an error instead of panicking if HIShapeUnionWithRect is unavailable at run time.
func TryHIShapeXor ¶
func TryHIShapeXor(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) (int32, error)
TryHIShapeXor is like HIShapeXor but returns an error instead of panicking if HIShapeXor is unavailable at run time.
func TryICAddMapEntry ¶
func TryICAddMapEntry(inst ICInstance, entries kernel.Handle, entry *ICMapEntry) (int32, error)
TryICAddMapEntry is like ICAddMapEntry but returns an error instead of panicking if ICAddMapEntry is unavailable at run time.
func TryICAddProfile ¶
func TryICAddProfile(inst ICInstance, prototypeID ICProfileID, newID *ICProfileID) (int32, error)
TryICAddProfile is like ICAddProfile but returns an error instead of panicking if ICAddProfile is unavailable at run time.
func TryICBegin ¶
func TryICBegin(inst ICInstance, perm ICPerm) (int32, error)
TryICBegin is like ICBegin but returns an error instead of panicking if ICBegin is unavailable at run time.
func TryICCountMapEntries ¶
TryICCountMapEntries is like ICCountMapEntries but returns an error instead of panicking if ICCountMapEntries is unavailable at run time.
func TryICCountPref ¶
func TryICCountPref(inst ICInstance, count *int) (int32, error)
TryICCountPref is like ICCountPref but returns an error instead of panicking if ICCountPref is unavailable at run time.
func TryICCountProfiles ¶
func TryICCountProfiles(inst ICInstance, count *int) (int32, error)
TryICCountProfiles is like ICCountProfiles but returns an error instead of panicking if ICCountProfiles is unavailable at run time.
func TryICCreateGURLEvent ¶
func TryICCreateGURLEvent(inst ICInstance, helperCreator uint32, urlH kernel.Handle, theEvent *coreservices.AppleEvent) (int32, error)
TryICCreateGURLEvent is like ICCreateGURLEvent but returns an error instead of panicking if ICCreateGURLEvent is unavailable at run time.
func TryICDeleteMapEntry ¶
TryICDeleteMapEntry is like ICDeleteMapEntry but returns an error instead of panicking if ICDeleteMapEntry is unavailable at run time.
func TryICDeletePref ¶
func TryICDeletePref(inst ICInstance, key unsafe.Pointer) (int32, error)
TryICDeletePref is like ICDeletePref but returns an error instead of panicking if ICDeletePref is unavailable at run time.
func TryICDeleteProfile ¶
func TryICDeleteProfile(inst ICInstance, thisID ICProfileID) (int32, error)
TryICDeleteProfile is like ICDeleteProfile but returns an error instead of panicking if ICDeleteProfile is unavailable at run time.
func TryICEditPreferences ¶
func TryICEditPreferences(inst ICInstance, key unsafe.Pointer) (int32, error)
TryICEditPreferences is like ICEditPreferences but returns an error instead of panicking if ICEditPreferences is unavailable at run time.
func TryICEnd ¶
func TryICEnd(inst ICInstance) (int32, error)
TryICEnd is like ICEnd but returns an error instead of panicking if ICEnd is unavailable at run time.
func TryICFindPrefHandle ¶
func TryICFindPrefHandle(inst ICInstance, key unsafe.Pointer, attr *ICAttr, prefh kernel.Handle) (int32, error)
TryICFindPrefHandle is like ICFindPrefHandle but returns an error instead of panicking if ICFindPrefHandle is unavailable at run time.
func TryICGetConfigName ¶
TryICGetConfigName is like ICGetConfigName but returns an error instead of panicking if ICGetConfigName is unavailable at run time.
func TryICGetCurrentProfile ¶
func TryICGetCurrentProfile(inst ICInstance, currentID *ICProfileID) (int32, error)
TryICGetCurrentProfile is like ICGetCurrentProfile but returns an error instead of panicking if ICGetCurrentProfile is unavailable at run time.
func TryICGetDefaultPref ¶
TryICGetDefaultPref is like ICGetDefaultPref but returns an error instead of panicking if ICGetDefaultPref is unavailable at run time.
func TryICGetIndMapEntry ¶
func TryICGetIndMapEntry(inst ICInstance, entries kernel.Handle, index int, pos *int, entry *ICMapEntry) (int32, error)
TryICGetIndMapEntry is like ICGetIndMapEntry but returns an error instead of panicking if ICGetIndMapEntry is unavailable at run time.
func TryICGetIndPref ¶
TryICGetIndPref is like ICGetIndPref but returns an error instead of panicking if ICGetIndPref is unavailable at run time.
func TryICGetIndProfile ¶
func TryICGetIndProfile(inst ICInstance, index int, thisID *ICProfileID) (int32, error)
TryICGetIndProfile is like ICGetIndProfile but returns an error instead of panicking if ICGetIndProfile is unavailable at run time.
func TryICGetMapEntry ¶
func TryICGetMapEntry(inst ICInstance, entries kernel.Handle, pos int, entry *ICMapEntry) (int32, error)
TryICGetMapEntry is like ICGetMapEntry but returns an error instead of panicking if ICGetMapEntry is unavailable at run time.
func TryICGetPerm ¶
func TryICGetPerm(inst ICInstance, perm *ICPerm) (int32, error)
TryICGetPerm is like ICGetPerm but returns an error instead of panicking if ICGetPerm is unavailable at run time.
func TryICGetPref ¶
func TryICGetPref(inst ICInstance, key unsafe.Pointer, attr *ICAttr, buf unsafe.Pointer, size *int) (int32, error)
TryICGetPref is like ICGetPref but returns an error instead of panicking if ICGetPref is unavailable at run time.
func TryICGetPrefHandle ¶
func TryICGetPrefHandle(inst ICInstance, key unsafe.Pointer, attr *ICAttr, prefh *kernel.Handle) (int32, error)
TryICGetPrefHandle is like ICGetPrefHandle but returns an error instead of panicking if ICGetPrefHandle is unavailable at run time.
func TryICGetProfileName ¶
func TryICGetProfileName(inst ICInstance, thisID ICProfileID, name unsafe.Pointer) (int32, error)
TryICGetProfileName is like ICGetProfileName but returns an error instead of panicking if ICGetProfileName is unavailable at run time.
func TryICGetSeed ¶
func TryICGetSeed(inst ICInstance, seed *int) (int32, error)
TryICGetSeed is like ICGetSeed but returns an error instead of panicking if ICGetSeed is unavailable at run time.
func TryICGetVersion ¶
func TryICGetVersion(inst ICInstance, whichVersion int, version *uint32) (int32, error)
TryICGetVersion is like ICGetVersion but returns an error instead of panicking if ICGetVersion is unavailable at run time.
func TryICLaunchURL ¶
func TryICLaunchURL(inst ICInstance, hint unsafe.Pointer, data unsafe.Pointer, len_ int, selStart *int, selEnd *int) (int32, error)
TryICLaunchURL is like ICLaunchURL but returns an error instead of panicking if ICLaunchURL is unavailable at run time.
func TryICMapEntriesFilename ¶
func TryICMapEntriesFilename(inst ICInstance, entries kernel.Handle, filename unsafe.Pointer, entry *ICMapEntry) (int32, error)
TryICMapEntriesFilename is like ICMapEntriesFilename but returns an error instead of panicking if ICMapEntriesFilename is unavailable at run time.
func TryICMapEntriesTypeCreator ¶
func TryICMapEntriesTypeCreator(inst ICInstance, entries kernel.Handle, fType uint32, fCreator uint32, filename unsafe.Pointer, entry *ICMapEntry) (int32, error)
TryICMapEntriesTypeCreator is like ICMapEntriesTypeCreator but returns an error instead of panicking if ICMapEntriesTypeCreator is unavailable at run time.
func TryICMapFilename ¶
func TryICMapFilename(inst ICInstance, filename unsafe.Pointer, entry *ICMapEntry) (int32, error)
TryICMapFilename is like ICMapFilename but returns an error instead of panicking if ICMapFilename is unavailable at run time.
func TryICMapTypeCreator ¶
func TryICMapTypeCreator(inst ICInstance, fType uint32, fCreator uint32, filename unsafe.Pointer, entry *ICMapEntry) (int32, error)
TryICMapTypeCreator is like ICMapTypeCreator but returns an error instead of panicking if ICMapTypeCreator is unavailable at run time.
func TryICParseURL ¶
func TryICParseURL(inst ICInstance, hint unsafe.Pointer, data unsafe.Pointer, len_ int, selStart *int, selEnd *int, url kernel.Handle) (int32, error)
TryICParseURL is like ICParseURL but returns an error instead of panicking if ICParseURL is unavailable at run time.
func TryICSendGURLEvent ¶
func TryICSendGURLEvent(inst ICInstance, theEvent *coreservices.AppleEvent) (int32, error)
TryICSendGURLEvent is like ICSendGURLEvent but returns an error instead of panicking if ICSendGURLEvent is unavailable at run time.
func TryICSetCurrentProfile ¶
func TryICSetCurrentProfile(inst ICInstance, newID ICProfileID) (int32, error)
TryICSetCurrentProfile is like ICSetCurrentProfile but returns an error instead of panicking if ICSetCurrentProfile is unavailable at run time.
func TryICSetMapEntry ¶
func TryICSetMapEntry(inst ICInstance, entries kernel.Handle, pos int, entry *ICMapEntry) (int32, error)
TryICSetMapEntry is like ICSetMapEntry but returns an error instead of panicking if ICSetMapEntry is unavailable at run time.
func TryICSetPref ¶
func TryICSetPref(inst ICInstance, key unsafe.Pointer, attr ICAttr, buf unsafe.Pointer, size int) (int32, error)
TryICSetPref is like ICSetPref but returns an error instead of panicking if ICSetPref is unavailable at run time.
func TryICSetPrefHandle ¶
func TryICSetPrefHandle(inst ICInstance, key unsafe.Pointer, attr ICAttr, prefh kernel.Handle) (int32, error)
TryICSetPrefHandle is like ICSetPrefHandle but returns an error instead of panicking if ICSetPrefHandle is unavailable at run time.
func TryICSetProfileName ¶
func TryICSetProfileName(inst ICInstance, thisID ICProfileID, name unsafe.Pointer) (int32, error)
TryICSetProfileName is like ICSetProfileName but returns an error instead of panicking if ICSetProfileName is unavailable at run time.
func TryICStart ¶
func TryICStart(inst *ICInstance, signature uint32) (int32, error)
TryICStart is like ICStart but returns an error instead of panicking if ICStart is unavailable at run time.
func TryICStop ¶
func TryICStop(inst ICInstance) (int32, error)
TryICStop is like ICStop but returns an error instead of panicking if ICStop is unavailable at run time.
func TryIconRefContainsCGPoint ¶
func TryIconRefContainsCGPoint(testPt unsafe.Pointer, iconRect unsafe.Pointer, align IconAlignmentType, iconServicesUsageFlags uint32, theIconRef unsafe.Pointer) (bool, error)
TryIconRefContainsCGPoint is like IconRefContainsCGPoint but returns an error instead of panicking if IconRefContainsCGPoint is unavailable at run time.
func TryIconRefIntersectsCGRect ¶
func TryIconRefIntersectsCGRect(testRect unsafe.Pointer, iconRect unsafe.Pointer, align IconAlignmentType, iconServicesUsageFlags uint32, theIconRef unsafe.Pointer) (bool, error)
TryIconRefIntersectsCGRect is like IconRefIntersectsCGRect but returns an error instead of panicking if IconRefIntersectsCGRect is unavailable at run time.
func TryIconRefToIconFamily ¶
func TryIconRefToIconFamily(theIconRef unsafe.Pointer, whichIcons IconSelectorValue, iconFamily *coreservices.IconFamilyHandle) (int16, error)
TryIconRefToIconFamily is like IconRefToIconFamily but returns an error instead of panicking if IconRefToIconFamily is unavailable at run time.
func TryInvokeIconActionUPP ¶
func TryInvokeIconActionUPP(theType uint32, theIcon *kernel.Handle, yourDataPtr unsafe.Pointer, userUPP IconActionUPP) (int16, error)
TryInvokeIconActionUPP is like InvokeIconActionUPP but returns an error instead of panicking if InvokeIconActionUPP is unavailable at run time.
func TryInvokeIconGetterUPP ¶
func TryInvokeIconGetterUPP(theType uint32, yourDataPtr unsafe.Pointer, userUPP IconGetterUPP) (kernel.Handle, error)
TryInvokeIconGetterUPP is like InvokeIconGetterUPP but returns an error instead of panicking if InvokeIconGetterUPP is unavailable at run time.
func TryInvokeSpeechDoneUPP ¶
func TryInvokeSpeechDoneUPP(chan_ *SpeechChannelRecord, refCon uintptr, userUPP SpeechDoneUPP) error
TryInvokeSpeechDoneUPP is like InvokeSpeechDoneUPP but returns an error instead of panicking if InvokeSpeechDoneUPP is unavailable at run time.
func TryInvokeSpeechErrorUPP ¶
func TryInvokeSpeechErrorUPP(chan_ *SpeechChannelRecord, refCon uintptr, theError int16, bytePos int, userUPP SpeechErrorUPP) error
TryInvokeSpeechErrorUPP is like InvokeSpeechErrorUPP but returns an error instead of panicking if InvokeSpeechErrorUPP is unavailable at run time.
func TryInvokeSpeechPhonemeUPP ¶
func TryInvokeSpeechPhonemeUPP(chan_ *SpeechChannelRecord, refCon uintptr, phonemeOpcode int16, userUPP SpeechPhonemeUPP) error
TryInvokeSpeechPhonemeUPP is like InvokeSpeechPhonemeUPP but returns an error instead of panicking if InvokeSpeechPhonemeUPP is unavailable at run time.
func TryInvokeSpeechSyncUPP ¶
func TryInvokeSpeechSyncUPP(chan_ *SpeechChannelRecord, refCon uintptr, syncMessage uint32, userUPP SpeechSyncUPP) error
TryInvokeSpeechSyncUPP is like InvokeSpeechSyncUPP but returns an error instead of panicking if InvokeSpeechSyncUPP is unavailable at run time.
func TryInvokeSpeechTextDoneUPP ¶
func TryInvokeSpeechTextDoneUPP(chan_ *SpeechChannelRecord, refCon uintptr, nextBuf unsafe.Pointer, byteLen *uint, controlFlags *int32, userUPP SpeechTextDoneUPP) error
TryInvokeSpeechTextDoneUPP is like InvokeSpeechTextDoneUPP but returns an error instead of panicking if InvokeSpeechTextDoneUPP is unavailable at run time.
func TryInvokeSpeechWordUPP ¶
func TryInvokeSpeechWordUPP(chan_ *SpeechChannelRecord, refCon uintptr, wordPos uint, wordLen uint16, userUPP SpeechWordUPP) error
TryInvokeSpeechWordUPP is like InvokeSpeechWordUPP but returns an error instead of panicking if InvokeSpeechWordUPP is unavailable at run time.
func TryIsIconRefMaskEmpty ¶
TryIsIconRefMaskEmpty is like IsIconRefMaskEmpty but returns an error instead of panicking if IsIconRefMaskEmpty is unavailable at run time.
func TryIsProcessVisible ¶
func TryIsProcessVisible(psn *ProcessSerialNumber) (bool, error)
TryIsProcessVisible is like IsProcessVisible but returns an error instead of panicking if IsProcessVisible is unavailable at run time.
func TryKillProcess ¶
func TryKillProcess(inProcess *ProcessSerialNumber) (int16, error)
TryKillProcess is like KillProcess but returns an error instead of panicking if KillProcess is unavailable at run time.
func TryLaunchApplication ¶
func TryLaunchApplication(LaunchParams LaunchPBPtr) (int16, error)
TryLaunchApplication is like LaunchApplication but returns an error instead of panicking if LaunchApplication is unavailable at run time.
func TryMakeVoiceSpec ¶
TryMakeVoiceSpec is like MakeVoiceSpec but returns an error instead of panicking if MakeVoiceSpec is unavailable at run time.
func TryNewSpeechChannel ¶
func TryNewSpeechChannel(voice unsafe.Pointer, chan_ **SpeechChannelRecord) (int16, error)
TryNewSpeechChannel is like NewSpeechChannel but returns an error instead of panicking if NewSpeechChannel is unavailable at run time.
func TryPMCGImageCreateWithEPSDataProvider ¶
func TryPMCGImageCreateWithEPSDataProvider(epsDataProvider coregraphics.CGDataProviderRef, epsPreview coregraphics.CGImageRef) (coregraphics.CGImageRef, error)
TryPMCGImageCreateWithEPSDataProvider is like PMCGImageCreateWithEPSDataProvider but returns an error instead of panicking if PMCGImageCreateWithEPSDataProvider is unavailable at run time.
func TryPMCopyAvailablePPDs ¶
func TryPMCopyAvailablePPDs(domain PMPPDDomain, ppds *corefoundation.CFArrayRef) (int32, error)
TryPMCopyAvailablePPDs is like PMCopyAvailablePPDs but returns an error instead of panicking if PMCopyAvailablePPDs is unavailable at run time.
func TryPMCopyLocalizedPPD ¶
func TryPMCopyLocalizedPPD(ppd corefoundation.CFURLRef, localizedPPD *corefoundation.CFURLRef) (int32, error)
TryPMCopyLocalizedPPD is like PMCopyLocalizedPPD but returns an error instead of panicking if PMCopyLocalizedPPD is unavailable at run time.
func TryPMCopyPPDData ¶
func TryPMCopyPPDData(ppd corefoundation.CFURLRef, data *corefoundation.CFDataRef) (int32, error)
TryPMCopyPPDData is like PMCopyPPDData but returns an error instead of panicking if PMCopyPPDData is unavailable at run time.
func TryPMCopyPageFormat ¶
TryPMCopyPageFormat is like PMCopyPageFormat but returns an error instead of panicking if PMCopyPageFormat is unavailable at run time.
func TryPMCopyPrintSettings ¶
TryPMCopyPrintSettings is like PMCopyPrintSettings but returns an error instead of panicking if PMCopyPrintSettings is unavailable at run time.
func TryPMCreateGenericPrinter ¶
TryPMCreateGenericPrinter is like PMCreateGenericPrinter but returns an error instead of panicking if PMCreateGenericPrinter is unavailable at run time.
func TryPMCreatePageFormat ¶
TryPMCreatePageFormat is like PMCreatePageFormat but returns an error instead of panicking if PMCreatePageFormat is unavailable at run time.
func TryPMCreatePageFormatWithPMPaper ¶
TryPMCreatePageFormatWithPMPaper is like PMCreatePageFormatWithPMPaper but returns an error instead of panicking if PMCreatePageFormatWithPMPaper is unavailable at run time.
func TryPMCreatePrintSettings ¶
TryPMCreatePrintSettings is like PMCreatePrintSettings but returns an error instead of panicking if PMCreatePrintSettings is unavailable at run time.
func TryPMCreateSession ¶
func TryPMCreateSession(printSession *PMPrintSession) (int32, error)
TryPMCreateSession is like PMCreateSession but returns an error instead of panicking if PMCreateSession is unavailable at run time.
func TryPMGetAdjustedPageRect ¶
TryPMGetAdjustedPageRect is like PMGetAdjustedPageRect but returns an error instead of panicking if PMGetAdjustedPageRect is unavailable at run time.
func TryPMGetAdjustedPaperRect ¶
TryPMGetAdjustedPaperRect is like PMGetAdjustedPaperRect but returns an error instead of panicking if PMGetAdjustedPaperRect is unavailable at run time.
func TryPMGetCollate ¶
TryPMGetCollate is like PMGetCollate but returns an error instead of panicking if PMGetCollate is unavailable at run time.
func TryPMGetCopies ¶
TryPMGetCopies is like PMGetCopies but returns an error instead of panicking if PMGetCopies is unavailable at run time.
func TryPMGetDuplex ¶
func TryPMGetDuplex(printSettings uintptr, duplexSetting *PMDuplexMode) (int32, error)
TryPMGetDuplex is like PMGetDuplex but returns an error instead of panicking if PMGetDuplex is unavailable at run time.
func TryPMGetFirstPage ¶
TryPMGetFirstPage is like PMGetFirstPage but returns an error instead of panicking if PMGetFirstPage is unavailable at run time.
func TryPMGetLastPage ¶
TryPMGetLastPage is like PMGetLastPage but returns an error instead of panicking if PMGetLastPage is unavailable at run time.
func TryPMGetOrientation ¶
func TryPMGetOrientation(pageFormat uintptr, orientation *PMOrientation) (int32, error)
TryPMGetOrientation is like PMGetOrientation but returns an error instead of panicking if PMGetOrientation is unavailable at run time.
func TryPMGetPageFormatExtendedData ¶
func TryPMGetPageFormatExtendedData(pageFormat uintptr, dataID uint32, size *uint32, extendedData unsafe.Pointer) (int32, error)
TryPMGetPageFormatExtendedData is like PMGetPageFormatExtendedData but returns an error instead of panicking if PMGetPageFormatExtendedData is unavailable at run time.
func TryPMGetPageFormatPaper ¶
TryPMGetPageFormatPaper is like PMGetPageFormatPaper but returns an error instead of panicking if PMGetPageFormatPaper is unavailable at run time.
func TryPMGetPageRange ¶
TryPMGetPageRange is like PMGetPageRange but returns an error instead of panicking if PMGetPageRange is unavailable at run time.
func TryPMGetScale ¶
TryPMGetScale is like PMGetScale but returns an error instead of panicking if PMGetScale is unavailable at run time.
func TryPMGetUnadjustedPageRect ¶
TryPMGetUnadjustedPageRect is like PMGetUnadjustedPageRect but returns an error instead of panicking if PMGetUnadjustedPageRect is unavailable at run time.
func TryPMGetUnadjustedPaperRect ¶
TryPMGetUnadjustedPaperRect is like PMGetUnadjustedPaperRect but returns an error instead of panicking if PMGetUnadjustedPaperRect is unavailable at run time.
func TryPMPageFormatCreateDataRepresentation ¶
func TryPMPageFormatCreateDataRepresentation(pageFormat uintptr, data *corefoundation.CFDataRef, format PMDataFormat) (int32, error)
TryPMPageFormatCreateDataRepresentation is like PMPageFormatCreateDataRepresentation but returns an error instead of panicking if PMPageFormatCreateDataRepresentation is unavailable at run time.
func TryPMPageFormatCreateWithDataRepresentation ¶
func TryPMPageFormatCreateWithDataRepresentation(data corefoundation.CFDataRef, pageFormat *uintptr) (int32, error)
TryPMPageFormatCreateWithDataRepresentation is like PMPageFormatCreateWithDataRepresentation but returns an error instead of panicking if PMPageFormatCreateWithDataRepresentation is unavailable at run time.
func TryPMPageFormatGetPrinterID ¶
func TryPMPageFormatGetPrinterID(pageFormat uintptr, printerID *corefoundation.CFStringRef) (int32, error)
TryPMPageFormatGetPrinterID is like PMPageFormatGetPrinterID but returns an error instead of panicking if PMPageFormatGetPrinterID is unavailable at run time.
func TryPMPaperCreateCustom ¶
func TryPMPaperCreateCustom(printer uintptr, id corefoundation.CFStringRef, name corefoundation.CFStringRef, width unsafe.Pointer, height unsafe.Pointer, margins *PMPaperMargins, paperP *uintptr) (int32, error)
TryPMPaperCreateCustom is like PMPaperCreateCustom but returns an error instead of panicking if PMPaperCreateCustom is unavailable at run time.
func TryPMPaperCreateLocalizedName ¶
func TryPMPaperCreateLocalizedName(paper uintptr, printer uintptr, paperName *corefoundation.CFStringRef) (int32, error)
TryPMPaperCreateLocalizedName is like PMPaperCreateLocalizedName but returns an error instead of panicking if PMPaperCreateLocalizedName is unavailable at run time.
func TryPMPaperGetHeight ¶
TryPMPaperGetHeight is like PMPaperGetHeight but returns an error instead of panicking if PMPaperGetHeight is unavailable at run time.
func TryPMPaperGetID ¶
func TryPMPaperGetID(paper uintptr, paperID *corefoundation.CFStringRef) (int32, error)
TryPMPaperGetID is like PMPaperGetID but returns an error instead of panicking if PMPaperGetID is unavailable at run time.
func TryPMPaperGetMargins ¶
func TryPMPaperGetMargins(paper uintptr, paperMargins *PMPaperMargins) (int32, error)
TryPMPaperGetMargins is like PMPaperGetMargins but returns an error instead of panicking if PMPaperGetMargins is unavailable at run time.
func TryPMPaperGetPPDPaperName ¶
func TryPMPaperGetPPDPaperName(paper uintptr, paperName *corefoundation.CFStringRef) (int32, error)
TryPMPaperGetPPDPaperName is like PMPaperGetPPDPaperName but returns an error instead of panicking if PMPaperGetPPDPaperName is unavailable at run time.
func TryPMPaperGetPrinterID ¶
func TryPMPaperGetPrinterID(paper uintptr, printerID *corefoundation.CFStringRef) (int32, error)
TryPMPaperGetPrinterID is like PMPaperGetPrinterID but returns an error instead of panicking if PMPaperGetPrinterID is unavailable at run time.
func TryPMPaperGetWidth ¶
TryPMPaperGetWidth is like PMPaperGetWidth but returns an error instead of panicking if PMPaperGetWidth is unavailable at run time.
func TryPMPaperIsCustom ¶
TryPMPaperIsCustom is like PMPaperIsCustom but returns an error instead of panicking if PMPaperIsCustom is unavailable at run time.
func TryPMPresetCopyName ¶
func TryPMPresetCopyName(preset PMPreset, name *corefoundation.CFStringRef) (int32, error)
TryPMPresetCopyName is like PMPresetCopyName but returns an error instead of panicking if PMPresetCopyName is unavailable at run time.
func TryPMPresetCreatePrintSettings ¶
func TryPMPresetCreatePrintSettings(preset PMPreset, session PMPrintSession, printSettings *uintptr) (int32, error)
TryPMPresetCreatePrintSettings is like PMPresetCreatePrintSettings but returns an error instead of panicking if PMPresetCreatePrintSettings is unavailable at run time.
func TryPMPresetGetAttributes ¶
func TryPMPresetGetAttributes(preset PMPreset, attributes *corefoundation.CFDictionaryRef) (int32, error)
TryPMPresetGetAttributes is like PMPresetGetAttributes but returns an error instead of panicking if PMPresetGetAttributes is unavailable at run time.
func TryPMPrintSettingsCopyAsDictionary ¶
func TryPMPrintSettingsCopyAsDictionary(printSettings uintptr, settingsDictionary *corefoundation.CFDictionaryRef) (int32, error)
TryPMPrintSettingsCopyAsDictionary is like PMPrintSettingsCopyAsDictionary but returns an error instead of panicking if PMPrintSettingsCopyAsDictionary is unavailable at run time.
func TryPMPrintSettingsCopyKeys ¶
func TryPMPrintSettingsCopyKeys(printSettings uintptr, settingsKeys *corefoundation.CFArrayRef) (int32, error)
TryPMPrintSettingsCopyKeys is like PMPrintSettingsCopyKeys but returns an error instead of panicking if PMPrintSettingsCopyKeys is unavailable at run time.
func TryPMPrintSettingsCreateDataRepresentation ¶
func TryPMPrintSettingsCreateDataRepresentation(printSettings uintptr, data *corefoundation.CFDataRef, format PMDataFormat) (int32, error)
TryPMPrintSettingsCreateDataRepresentation is like PMPrintSettingsCreateDataRepresentation but returns an error instead of panicking if PMPrintSettingsCreateDataRepresentation is unavailable at run time.
func TryPMPrintSettingsCreateWithDataRepresentation ¶
func TryPMPrintSettingsCreateWithDataRepresentation(data corefoundation.CFDataRef, printSettings *uintptr) (int32, error)
TryPMPrintSettingsCreateWithDataRepresentation is like PMPrintSettingsCreateWithDataRepresentation but returns an error instead of panicking if PMPrintSettingsCreateWithDataRepresentation is unavailable at run time.
func TryPMPrintSettingsGetJobName ¶
func TryPMPrintSettingsGetJobName(printSettings uintptr, name *corefoundation.CFStringRef) (int32, error)
TryPMPrintSettingsGetJobName is like PMPrintSettingsGetJobName but returns an error instead of panicking if PMPrintSettingsGetJobName is unavailable at run time.
func TryPMPrintSettingsGetValue ¶
func TryPMPrintSettingsGetValue(printSettings uintptr, key corefoundation.CFStringRef, value *corefoundation.CFTypeRef) (int32, error)
TryPMPrintSettingsGetValue is like PMPrintSettingsGetValue but returns an error instead of panicking if PMPrintSettingsGetValue is unavailable at run time.
func TryPMPrintSettingsSetJobName ¶
func TryPMPrintSettingsSetJobName(printSettings uintptr, name corefoundation.CFStringRef) (int32, error)
TryPMPrintSettingsSetJobName is like PMPrintSettingsSetJobName but returns an error instead of panicking if PMPrintSettingsSetJobName is unavailable at run time.
func TryPMPrintSettingsSetValue ¶
func TryPMPrintSettingsSetValue(printSettings uintptr, key corefoundation.CFStringRef, value corefoundation.CFTypeRef, locked unsafe.Pointer) (int32, error)
TryPMPrintSettingsSetValue is like PMPrintSettingsSetValue but returns an error instead of panicking if PMPrintSettingsSetValue is unavailable at run time.
func TryPMPrintSettingsToOptions ¶
TryPMPrintSettingsToOptions is like PMPrintSettingsToOptions but returns an error instead of panicking if PMPrintSettingsToOptions is unavailable at run time.
func TryPMPrintSettingsToOptionsWithPrinterAndPageFormat ¶
func TryPMPrintSettingsToOptionsWithPrinterAndPageFormat(settings uintptr, printer uintptr, pageFormat uintptr, options string) (int32, error)
TryPMPrintSettingsToOptionsWithPrinterAndPageFormat is like PMPrintSettingsToOptionsWithPrinterAndPageFormat but returns an error instead of panicking if PMPrintSettingsToOptionsWithPrinterAndPageFormat is unavailable at run time.
func TryPMPrinterCopyDescriptionURL ¶
func TryPMPrinterCopyDescriptionURL(printer uintptr, descriptionType corefoundation.CFStringRef, fileURL *corefoundation.CFURLRef) (int32, error)
TryPMPrinterCopyDescriptionURL is like PMPrinterCopyDescriptionURL but returns an error instead of panicking if PMPrinterCopyDescriptionURL is unavailable at run time.
func TryPMPrinterCopyDeviceURI ¶
func TryPMPrinterCopyDeviceURI(printer uintptr, deviceURI *corefoundation.CFURLRef) (int32, error)
TryPMPrinterCopyDeviceURI is like PMPrinterCopyDeviceURI but returns an error instead of panicking if PMPrinterCopyDeviceURI is unavailable at run time.
func TryPMPrinterCopyHostName ¶
func TryPMPrinterCopyHostName(printer uintptr, hostNameP *corefoundation.CFStringRef) (int32, error)
TryPMPrinterCopyHostName is like PMPrinterCopyHostName but returns an error instead of panicking if PMPrinterCopyHostName is unavailable at run time.
func TryPMPrinterCopyPresets ¶
func TryPMPrinterCopyPresets(printer uintptr, presetList *corefoundation.CFArrayRef) (int32, error)
TryPMPrinterCopyPresets is like PMPrinterCopyPresets but returns an error instead of panicking if PMPrinterCopyPresets is unavailable at run time.
func TryPMPrinterCopyState ¶
func TryPMPrinterCopyState(printer uintptr, stateDict *corefoundation.CFDictionaryRef) (int32, error)
TryPMPrinterCopyState is like PMPrinterCopyState but returns an error instead of panicking if PMPrinterCopyState is unavailable at run time.
func TryPMPrinterCreateFromPrinterID ¶
func TryPMPrinterCreateFromPrinterID(printerID corefoundation.CFStringRef) (uintptr, error)
TryPMPrinterCreateFromPrinterID is like PMPrinterCreateFromPrinterID but returns an error instead of panicking if PMPrinterCreateFromPrinterID is unavailable at run time.
func TryPMPrinterGetCommInfo ¶
func TryPMPrinterGetCommInfo(printer uintptr, supportsControlCharRangeP unsafe.Pointer, supportsEightBitP unsafe.Pointer) (int32, error)
TryPMPrinterGetCommInfo is like PMPrinterGetCommInfo but returns an error instead of panicking if PMPrinterGetCommInfo is unavailable at run time.
func TryPMPrinterGetDriverCreator ¶
TryPMPrinterGetDriverCreator is like PMPrinterGetDriverCreator but returns an error instead of panicking if PMPrinterGetDriverCreator is unavailable at run time.
func TryPMPrinterGetDriverReleaseInfo ¶
TryPMPrinterGetDriverReleaseInfo is like PMPrinterGetDriverReleaseInfo but returns an error instead of panicking if PMPrinterGetDriverReleaseInfo is unavailable at run time.
func TryPMPrinterGetID ¶
func TryPMPrinterGetID(printer uintptr) (corefoundation.CFStringRef, error)
TryPMPrinterGetID is like PMPrinterGetID but returns an error instead of panicking if PMPrinterGetID is unavailable at run time.
func TryPMPrinterGetIndexedPrinterResolution ¶
func TryPMPrinterGetIndexedPrinterResolution(printer uintptr, index uint32, resolutionP unsafe.Pointer) (int32, error)
TryPMPrinterGetIndexedPrinterResolution is like PMPrinterGetIndexedPrinterResolution but returns an error instead of panicking if PMPrinterGetIndexedPrinterResolution is unavailable at run time.
func TryPMPrinterGetLanguageInfo ¶
func TryPMPrinterGetLanguageInfo(printer uintptr, info *PMLanguageInfo) (int32, error)
TryPMPrinterGetLanguageInfo is like PMPrinterGetLanguageInfo but returns an error instead of panicking if PMPrinterGetLanguageInfo is unavailable at run time.
func TryPMPrinterGetLocation ¶
func TryPMPrinterGetLocation(printer uintptr) (corefoundation.CFStringRef, error)
TryPMPrinterGetLocation is like PMPrinterGetLocation but returns an error instead of panicking if PMPrinterGetLocation is unavailable at run time.
func TryPMPrinterGetMakeAndModelName ¶
func TryPMPrinterGetMakeAndModelName(printer uintptr, makeAndModel *corefoundation.CFStringRef) (int32, error)
TryPMPrinterGetMakeAndModelName is like PMPrinterGetMakeAndModelName but returns an error instead of panicking if PMPrinterGetMakeAndModelName is unavailable at run time.
func TryPMPrinterGetMimeTypes ¶
func TryPMPrinterGetMimeTypes(printer uintptr, settings uintptr, mimeTypes *corefoundation.CFArrayRef) (int32, error)
TryPMPrinterGetMimeTypes is like PMPrinterGetMimeTypes but returns an error instead of panicking if PMPrinterGetMimeTypes is unavailable at run time.
func TryPMPrinterGetName ¶
func TryPMPrinterGetName(printer uintptr) (corefoundation.CFStringRef, error)
TryPMPrinterGetName is like PMPrinterGetName but returns an error instead of panicking if PMPrinterGetName is unavailable at run time.
func TryPMPrinterGetOutputResolution ¶
func TryPMPrinterGetOutputResolution(printer uintptr, printSettings uintptr, resolutionP unsafe.Pointer) (int32, error)
TryPMPrinterGetOutputResolution is like PMPrinterGetOutputResolution but returns an error instead of panicking if PMPrinterGetOutputResolution is unavailable at run time.
func TryPMPrinterGetPaperList ¶
func TryPMPrinterGetPaperList(printer uintptr, paperList *corefoundation.CFArrayRef) (int32, error)
TryPMPrinterGetPaperList is like PMPrinterGetPaperList but returns an error instead of panicking if PMPrinterGetPaperList is unavailable at run time.
func TryPMPrinterGetPrinterResolutionCount ¶
TryPMPrinterGetPrinterResolutionCount is like PMPrinterGetPrinterResolutionCount but returns an error instead of panicking if PMPrinterGetPrinterResolutionCount is unavailable at run time.
func TryPMPrinterGetState ¶
func TryPMPrinterGetState(printer uintptr, state *PMPrinterState) (int32, error)
TryPMPrinterGetState is like PMPrinterGetState but returns an error instead of panicking if PMPrinterGetState is unavailable at run time.
func TryPMPrinterIsDefault ¶
TryPMPrinterIsDefault is like PMPrinterIsDefault but returns an error instead of panicking if PMPrinterIsDefault is unavailable at run time.
func TryPMPrinterIsFavorite ¶
TryPMPrinterIsFavorite is like PMPrinterIsFavorite but returns an error instead of panicking if PMPrinterIsFavorite is unavailable at run time.
func TryPMPrinterIsPostScriptCapable ¶
TryPMPrinterIsPostScriptCapable is like PMPrinterIsPostScriptCapable but returns an error instead of panicking if PMPrinterIsPostScriptCapable is unavailable at run time.
func TryPMPrinterIsPostScriptPrinter ¶
TryPMPrinterIsPostScriptPrinter is like PMPrinterIsPostScriptPrinter but returns an error instead of panicking if PMPrinterIsPostScriptPrinter is unavailable at run time.
func TryPMPrinterIsRemote ¶
TryPMPrinterIsRemote is like PMPrinterIsRemote but returns an error instead of panicking if PMPrinterIsRemote is unavailable at run time.
func TryPMPrinterPrintWithFile ¶
func TryPMPrinterPrintWithFile(printer uintptr, settings uintptr, format uintptr, mimeType corefoundation.CFStringRef, fileURL corefoundation.CFURLRef) (int32, error)
TryPMPrinterPrintWithFile is like PMPrinterPrintWithFile but returns an error instead of panicking if PMPrinterPrintWithFile is unavailable at run time.
func TryPMPrinterPrintWithProvider ¶
func TryPMPrinterPrintWithProvider(printer uintptr, settings uintptr, format uintptr, mimeType corefoundation.CFStringRef, provider coregraphics.CGDataProviderRef) (int32, error)
TryPMPrinterPrintWithProvider is like PMPrinterPrintWithProvider but returns an error instead of panicking if PMPrinterPrintWithProvider is unavailable at run time.
func TryPMPrinterSendCommand ¶
func TryPMPrinterSendCommand(printer uintptr, commandString corefoundation.CFStringRef, jobTitle corefoundation.CFStringRef, options corefoundation.CFDictionaryRef) (int32, error)
TryPMPrinterSendCommand is like PMPrinterSendCommand but returns an error instead of panicking if PMPrinterSendCommand is unavailable at run time.
func TryPMPrinterSetDefault ¶
TryPMPrinterSetDefault is like PMPrinterSetDefault but returns an error instead of panicking if PMPrinterSetDefault is unavailable at run time.
func TryPMPrinterSetOutputResolution ¶
func TryPMPrinterSetOutputResolution(printer uintptr, printSettings uintptr, resolutionP unsafe.Pointer) (int32, error)
TryPMPrinterSetOutputResolution is like PMPrinterSetOutputResolution but returns an error instead of panicking if PMPrinterSetOutputResolution is unavailable at run time.
func TryPMPrinterWritePostScriptToURL ¶
func TryPMPrinterWritePostScriptToURL(printer uintptr, settings uintptr, format uintptr, mimeType corefoundation.CFStringRef, sourceFileURL corefoundation.CFURLRef, destinationFileURL corefoundation.CFURLRef) (int32, error)
TryPMPrinterWritePostScriptToURL is like PMPrinterWritePostScriptToURL but returns an error instead of panicking if PMPrinterWritePostScriptToURL is unavailable at run time.
func TryPMRelease ¶
TryPMRelease is like PMRelease but returns an error instead of panicking if PMRelease is unavailable at run time.
func TryPMRetain ¶
TryPMRetain is like PMRetain but returns an error instead of panicking if PMRetain is unavailable at run time.
func TryPMServerCreatePrinterList ¶
func TryPMServerCreatePrinterList(server PMServer, printerList *corefoundation.CFArrayRef) (int32, error)
TryPMServerCreatePrinterList is like PMServerCreatePrinterList but returns an error instead of panicking if PMServerCreatePrinterList is unavailable at run time.
func TryPMServerLaunchPrinterBrowser ¶
func TryPMServerLaunchPrinterBrowser(server PMServer, options corefoundation.CFDictionaryRef) (int32, error)
TryPMServerLaunchPrinterBrowser is like PMServerLaunchPrinterBrowser but returns an error instead of panicking if PMServerLaunchPrinterBrowser is unavailable at run time.
func TryPMSessionBeginCGDocumentNoDialog ¶
func TryPMSessionBeginCGDocumentNoDialog(printSession PMPrintSession, printSettings uintptr, pageFormat uintptr) (int32, error)
TryPMSessionBeginCGDocumentNoDialog is like PMSessionBeginCGDocumentNoDialog but returns an error instead of panicking if PMSessionBeginCGDocumentNoDialog is unavailable at run time.
func TryPMSessionBeginPageNoDialog ¶
func TryPMSessionBeginPageNoDialog(printSession PMPrintSession, pageFormat uintptr, pageFrame unsafe.Pointer) (int32, error)
TryPMSessionBeginPageNoDialog is like PMSessionBeginPageNoDialog but returns an error instead of panicking if PMSessionBeginPageNoDialog is unavailable at run time.
func TryPMSessionCopyDestinationFormat ¶
func TryPMSessionCopyDestinationFormat(printSession PMPrintSession, printSettings uintptr, destFormatP *corefoundation.CFStringRef) (int32, error)
TryPMSessionCopyDestinationFormat is like PMSessionCopyDestinationFormat but returns an error instead of panicking if PMSessionCopyDestinationFormat is unavailable at run time.
func TryPMSessionCopyDestinationLocation ¶
func TryPMSessionCopyDestinationLocation(printSession PMPrintSession, printSettings uintptr, destLocationP *corefoundation.CFURLRef) (int32, error)
TryPMSessionCopyDestinationLocation is like PMSessionCopyDestinationLocation but returns an error instead of panicking if PMSessionCopyDestinationLocation is unavailable at run time.
func TryPMSessionCopyOutputFormatList ¶
func TryPMSessionCopyOutputFormatList(printSession PMPrintSession, destType PMDestinationType, documentFormatP *corefoundation.CFArrayRef) (int32, error)
TryPMSessionCopyOutputFormatList is like PMSessionCopyOutputFormatList but returns an error instead of panicking if PMSessionCopyOutputFormatList is unavailable at run time.
func TryPMSessionCreatePageFormatList ¶
func TryPMSessionCreatePageFormatList(printSession PMPrintSession, printer uintptr, pageFormatList *corefoundation.CFArrayRef) (int32, error)
TryPMSessionCreatePageFormatList is like PMSessionCreatePageFormatList but returns an error instead of panicking if PMSessionCreatePageFormatList is unavailable at run time.
func TryPMSessionCreatePrinterList ¶
func TryPMSessionCreatePrinterList(printSession PMPrintSession, printerList *corefoundation.CFArrayRef, currentIndex *int, currentPrinter *uintptr) (int32, error)
TryPMSessionCreatePrinterList is like PMSessionCreatePrinterList but returns an error instead of panicking if PMSessionCreatePrinterList is unavailable at run time.
func TryPMSessionDefaultPageFormat ¶
func TryPMSessionDefaultPageFormat(printSession PMPrintSession, pageFormat uintptr) (int32, error)
TryPMSessionDefaultPageFormat is like PMSessionDefaultPageFormat but returns an error instead of panicking if PMSessionDefaultPageFormat is unavailable at run time.
func TryPMSessionDefaultPrintSettings ¶
func TryPMSessionDefaultPrintSettings(printSession PMPrintSession, printSettings uintptr) (int32, error)
TryPMSessionDefaultPrintSettings is like PMSessionDefaultPrintSettings but returns an error instead of panicking if PMSessionDefaultPrintSettings is unavailable at run time.
func TryPMSessionEndDocumentNoDialog ¶
func TryPMSessionEndDocumentNoDialog(printSession PMPrintSession) (int32, error)
TryPMSessionEndDocumentNoDialog is like PMSessionEndDocumentNoDialog but returns an error instead of panicking if PMSessionEndDocumentNoDialog is unavailable at run time.
func TryPMSessionEndPageNoDialog ¶
func TryPMSessionEndPageNoDialog(printSession PMPrintSession) (int32, error)
TryPMSessionEndPageNoDialog is like PMSessionEndPageNoDialog but returns an error instead of panicking if PMSessionEndPageNoDialog is unavailable at run time.
func TryPMSessionError ¶
func TryPMSessionError(printSession PMPrintSession) (int32, error)
TryPMSessionError is like PMSessionError but returns an error instead of panicking if PMSessionError is unavailable at run time.
func TryPMSessionGetCGGraphicsContext ¶
func TryPMSessionGetCGGraphicsContext(printSession PMPrintSession, context *coregraphics.CGContextRef) (int32, error)
TryPMSessionGetCGGraphicsContext is like PMSessionGetCGGraphicsContext but returns an error instead of panicking if PMSessionGetCGGraphicsContext is unavailable at run time.
func TryPMSessionGetCurrentPrinter ¶
func TryPMSessionGetCurrentPrinter(printSession PMPrintSession, currentPrinter *uintptr) (int32, error)
TryPMSessionGetCurrentPrinter is like PMSessionGetCurrentPrinter but returns an error instead of panicking if PMSessionGetCurrentPrinter is unavailable at run time.
func TryPMSessionGetDataFromSession ¶
func TryPMSessionGetDataFromSession(printSession PMPrintSession, key corefoundation.CFStringRef, data *corefoundation.CFTypeRef) (int32, error)
TryPMSessionGetDataFromSession is like PMSessionGetDataFromSession but returns an error instead of panicking if PMSessionGetDataFromSession is unavailable at run time.
func TryPMSessionGetDestinationType ¶
func TryPMSessionGetDestinationType(printSession PMPrintSession, printSettings uintptr, destTypeP *PMDestinationType) (int32, error)
TryPMSessionGetDestinationType is like PMSessionGetDestinationType but returns an error instead of panicking if PMSessionGetDestinationType is unavailable at run time.
func TryPMSessionSetCurrentPMPrinter ¶
func TryPMSessionSetCurrentPMPrinter(session PMPrintSession, printer uintptr) (int32, error)
TryPMSessionSetCurrentPMPrinter is like PMSessionSetCurrentPMPrinter but returns an error instead of panicking if PMSessionSetCurrentPMPrinter is unavailable at run time.
func TryPMSessionSetDataInSession ¶
func TryPMSessionSetDataInSession(printSession PMPrintSession, key corefoundation.CFStringRef, data corefoundation.CFTypeRef) (int32, error)
TryPMSessionSetDataInSession is like PMSessionSetDataInSession but returns an error instead of panicking if PMSessionSetDataInSession is unavailable at run time.
func TryPMSessionSetDestination ¶
func TryPMSessionSetDestination(printSession PMPrintSession, printSettings uintptr, destType PMDestinationType, destFormat corefoundation.CFStringRef, destLocation corefoundation.CFURLRef) (int32, error)
TryPMSessionSetDestination is like PMSessionSetDestination but returns an error instead of panicking if PMSessionSetDestination is unavailable at run time.
func TryPMSessionSetError ¶
func TryPMSessionSetError(printSession PMPrintSession, printError int32) (int32, error)
TryPMSessionSetError is like PMSessionSetError but returns an error instead of panicking if PMSessionSetError is unavailable at run time.
func TryPMSessionValidatePageFormat ¶
func TryPMSessionValidatePageFormat(printSession PMPrintSession, pageFormat uintptr, changed unsafe.Pointer) (int32, error)
TryPMSessionValidatePageFormat is like PMSessionValidatePageFormat but returns an error instead of panicking if PMSessionValidatePageFormat is unavailable at run time.
func TryPMSessionValidatePrintSettings ¶
func TryPMSessionValidatePrintSettings(printSession PMPrintSession, printSettings uintptr, changed unsafe.Pointer) (int32, error)
TryPMSessionValidatePrintSettings is like PMSessionValidatePrintSettings but returns an error instead of panicking if PMSessionValidatePrintSettings is unavailable at run time.
func TryPMSetCollate ¶
TryPMSetCollate is like PMSetCollate but returns an error instead of panicking if PMSetCollate is unavailable at run time.
func TryPMSetCopies ¶
TryPMSetCopies is like PMSetCopies but returns an error instead of panicking if PMSetCopies is unavailable at run time.
func TryPMSetDuplex ¶
func TryPMSetDuplex(printSettings uintptr, duplexSetting PMDuplexMode) (int32, error)
TryPMSetDuplex is like PMSetDuplex but returns an error instead of panicking if PMSetDuplex is unavailable at run time.
func TryPMSetFirstPage ¶
TryPMSetFirstPage is like PMSetFirstPage but returns an error instead of panicking if PMSetFirstPage is unavailable at run time.
func TryPMSetLastPage ¶
TryPMSetLastPage is like PMSetLastPage but returns an error instead of panicking if PMSetLastPage is unavailable at run time.
func TryPMSetOrientation ¶
func TryPMSetOrientation(pageFormat uintptr, orientation PMOrientation, lock unsafe.Pointer) (int32, error)
TryPMSetOrientation is like PMSetOrientation but returns an error instead of panicking if PMSetOrientation is unavailable at run time.
func TryPMSetPageFormatExtendedData ¶
func TryPMSetPageFormatExtendedData(pageFormat uintptr, dataID uint32, size uint32, extendedData unsafe.Pointer) (int32, error)
TryPMSetPageFormatExtendedData is like PMSetPageFormatExtendedData but returns an error instead of panicking if PMSetPageFormatExtendedData is unavailable at run time.
func TryPMSetPageRange ¶
TryPMSetPageRange is like PMSetPageRange but returns an error instead of panicking if PMSetPageRange is unavailable at run time.
func TryPMSetScale ¶
TryPMSetScale is like PMSetScale but returns an error instead of panicking if PMSetScale is unavailable at run time.
func TryPMWorkflowCopyItems ¶
func TryPMWorkflowCopyItems(workflowItems *corefoundation.CFArrayRef) (int32, error)
TryPMWorkflowCopyItems is like PMWorkflowCopyItems but returns an error instead of panicking if PMWorkflowCopyItems is unavailable at run time.
func TryPMWorkflowSubmitPDFWithOptions ¶
func TryPMWorkflowSubmitPDFWithOptions(workflowItem corefoundation.CFURLRef, title corefoundation.CFStringRef, options string, pdfFile corefoundation.CFURLRef) (int32, error)
TryPMWorkflowSubmitPDFWithOptions is like PMWorkflowSubmitPDFWithOptions but returns an error instead of panicking if PMWorkflowSubmitPDFWithOptions is unavailable at run time.
func TryPMWorkflowSubmitPDFWithSettings ¶
func TryPMWorkflowSubmitPDFWithSettings(workflowItem corefoundation.CFURLRef, settings uintptr, pdfFile corefoundation.CFURLRef) (int32, error)
TryPMWorkflowSubmitPDFWithSettings is like PMWorkflowSubmitPDFWithSettings but returns an error instead of panicking if PMWorkflowSubmitPDFWithSettings is unavailable at run time.
func TryPasteboardClear ¶
func TryPasteboardClear(inPasteboard PasteboardRef) (int32, error)
TryPasteboardClear is like PasteboardClear but returns an error instead of panicking if PasteboardClear is unavailable at run time.
func TryPasteboardCopyItemFlavorData ¶
func TryPasteboardCopyItemFlavorData(inPasteboard PasteboardRef, inItem PasteboardItemID, inFlavorType corefoundation.CFStringRef, outData *corefoundation.CFDataRef) (int32, error)
TryPasteboardCopyItemFlavorData is like PasteboardCopyItemFlavorData but returns an error instead of panicking if PasteboardCopyItemFlavorData is unavailable at run time.
func TryPasteboardCopyItemFlavors ¶
func TryPasteboardCopyItemFlavors(inPasteboard PasteboardRef, inItem PasteboardItemID, outFlavorTypes *corefoundation.CFArrayRef) (int32, error)
TryPasteboardCopyItemFlavors is like PasteboardCopyItemFlavors but returns an error instead of panicking if PasteboardCopyItemFlavors is unavailable at run time.
func TryPasteboardCopyName ¶
func TryPasteboardCopyName(inPasteboard PasteboardRef, outName *corefoundation.CFStringRef) (int32, error)
TryPasteboardCopyName is like PasteboardCopyName but returns an error instead of panicking if PasteboardCopyName is unavailable at run time.
func TryPasteboardCopyPasteLocation ¶
func TryPasteboardCopyPasteLocation(inPasteboard PasteboardRef, outPasteLocation *corefoundation.CFURLRef) (int32, error)
TryPasteboardCopyPasteLocation is like PasteboardCopyPasteLocation but returns an error instead of panicking if PasteboardCopyPasteLocation is unavailable at run time.
func TryPasteboardCreate ¶
func TryPasteboardCreate(inName corefoundation.CFStringRef, outPasteboard *PasteboardRef) (int32, error)
TryPasteboardCreate is like PasteboardCreate but returns an error instead of panicking if PasteboardCreate is unavailable at run time.
func TryPasteboardGetItemCount ¶
func TryPasteboardGetItemCount(inPasteboard PasteboardRef, outItemCount unsafe.Pointer) (int32, error)
TryPasteboardGetItemCount is like PasteboardGetItemCount but returns an error instead of panicking if PasteboardGetItemCount is unavailable at run time.
func TryPasteboardGetItemFlavorFlags ¶
func TryPasteboardGetItemFlavorFlags(inPasteboard PasteboardRef, inItem PasteboardItemID, inFlavorType corefoundation.CFStringRef, outFlags *PasteboardFlavorFlags) (int32, error)
TryPasteboardGetItemFlavorFlags is like PasteboardGetItemFlavorFlags but returns an error instead of panicking if PasteboardGetItemFlavorFlags is unavailable at run time.
func TryPasteboardGetItemIdentifier ¶
func TryPasteboardGetItemIdentifier(inPasteboard PasteboardRef, inIndex int, outItem *PasteboardItemID) (int32, error)
TryPasteboardGetItemIdentifier is like PasteboardGetItemIdentifier but returns an error instead of panicking if PasteboardGetItemIdentifier is unavailable at run time.
func TryPasteboardGetTypeID ¶
TryPasteboardGetTypeID is like PasteboardGetTypeID but returns an error instead of panicking if PasteboardGetTypeID is unavailable at run time.
func TryPasteboardPutItemFlavor ¶
func TryPasteboardPutItemFlavor(inPasteboard PasteboardRef, inItem PasteboardItemID, inFlavorType corefoundation.CFStringRef, inData corefoundation.CFDataRef, inFlags PasteboardFlavorFlags) (int32, error)
TryPasteboardPutItemFlavor is like PasteboardPutItemFlavor but returns an error instead of panicking if PasteboardPutItemFlavor is unavailable at run time.
func TryPasteboardResolvePromises ¶
func TryPasteboardResolvePromises(inPasteboard PasteboardRef) (int32, error)
TryPasteboardResolvePromises is like PasteboardResolvePromises but returns an error instead of panicking if PasteboardResolvePromises is unavailable at run time.
func TryPasteboardSetPasteLocation ¶
func TryPasteboardSetPasteLocation(inPasteboard PasteboardRef, inPasteLocation corefoundation.CFURLRef) (int32, error)
TryPasteboardSetPasteLocation is like PasteboardSetPasteLocation but returns an error instead of panicking if PasteboardSetPasteLocation is unavailable at run time.
func TryPasteboardSetPromiseKeeper ¶
func TryPasteboardSetPromiseKeeper(inPasteboard PasteboardRef, inPromiseKeeper PasteboardPromiseKeeperProcPtr, inContext unsafe.Pointer) (int32, error)
TryPasteboardSetPromiseKeeper is like PasteboardSetPromiseKeeper but returns an error instead of panicking if PasteboardSetPromiseKeeper is unavailable at run time.
func TryPauseSpeechAt ¶
func TryPauseSpeechAt(chan_ *SpeechChannelRecord, whereToPause int32) (int16, error)
TryPauseSpeechAt is like PauseSpeechAt but returns an error instead of panicking if PauseSpeechAt is unavailable at run time.
func TryPlotIconRefInContext ¶
func TryPlotIconRefInContext(inContext coregraphics.CGContextRef, inRect unsafe.Pointer, inAlign IconAlignmentType, inTransform IconTransformType, inLabelColor unsafe.Pointer, inFlags PlotIconRefFlags, inIconRef unsafe.Pointer) (int32, error)
TryPlotIconRefInContext is like PlotIconRefInContext but returns an error instead of panicking if PlotIconRefInContext is unavailable at run time.
func TryProcessInformationCopyDictionary ¶
func TryProcessInformationCopyDictionary(PSN *ProcessSerialNumber, infoToReturn uint32) (corefoundation.CFDictionaryRef, error)
TryProcessInformationCopyDictionary is like ProcessInformationCopyDictionary but returns an error instead of panicking if ProcessInformationCopyDictionary is unavailable at run time.
func TrySameProcess ¶
func TrySameProcess(PSN1 *ProcessSerialNumber, PSN2 *ProcessSerialNumber, result *bool) (int16, error)
TrySameProcess is like SameProcess but returns an error instead of panicking if SameProcess is unavailable at run time.
func TrySetFrontProcess ¶
func TrySetFrontProcess(pPSN *ProcessSerialNumber) (int16, error)
TrySetFrontProcess is like SetFrontProcess but returns an error instead of panicking if SetFrontProcess is unavailable at run time.
func TrySetFrontProcessWithOptions ¶
func TrySetFrontProcessWithOptions(inProcess *ProcessSerialNumber, inOptions uint32) (int32, error)
TrySetFrontProcessWithOptions is like SetFrontProcessWithOptions but returns an error instead of panicking if SetFrontProcessWithOptions is unavailable at run time.
func TrySetIconFamilyData ¶
func TrySetIconFamilyData(iconFamily unsafe.Pointer, iconType uint32, h kernel.Handle) (int16, error)
TrySetIconFamilyData is like SetIconFamilyData but returns an error instead of panicking if SetIconFamilyData is unavailable at run time.
func TrySetSpeechInfo ¶
func TrySetSpeechInfo(chan_ *SpeechChannelRecord, selector uint32, speechInfo unsafe.Pointer) (int16, error)
TrySetSpeechInfo is like SetSpeechInfo but returns an error instead of panicking if SetSpeechInfo is unavailable at run time.
func TrySetSpeechPitch ¶
func TrySetSpeechPitch(chan_ *SpeechChannelRecord, pitch int32) (int16, error)
TrySetSpeechPitch is like SetSpeechPitch but returns an error instead of panicking if SetSpeechPitch is unavailable at run time.
func TrySetSpeechProperty ¶
func TrySetSpeechProperty(chan_ *SpeechChannelRecord, property corefoundation.CFStringRef, object corefoundation.CFTypeRef) (int16, error)
TrySetSpeechProperty is like SetSpeechProperty but returns an error instead of panicking if SetSpeechProperty is unavailable at run time.
func TrySetSpeechRate ¶
func TrySetSpeechRate(chan_ *SpeechChannelRecord, rate int32) (int16, error)
TrySetSpeechRate is like SetSpeechRate but returns an error instead of panicking if SetSpeechRate is unavailable at run time.
func TryShowHideProcess ¶
func TryShowHideProcess(psn *ProcessSerialNumber, visible bool) (int16, error)
TryShowHideProcess is like ShowHideProcess but returns an error instead of panicking if ShowHideProcess is unavailable at run time.
func TrySpeakBuffer ¶
func TrySpeakBuffer(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint, controlFlags int32) (int16, error)
TrySpeakBuffer is like SpeakBuffer but returns an error instead of panicking if SpeakBuffer is unavailable at run time.
func TrySpeakCFString ¶
func TrySpeakCFString(chan_ *SpeechChannelRecord, aString corefoundation.CFStringRef, options corefoundation.CFDictionaryRef) (int16, error)
TrySpeakCFString is like SpeakCFString but returns an error instead of panicking if SpeakCFString is unavailable at run time.
func TrySpeakString ¶
TrySpeakString is like SpeakString but returns an error instead of panicking if SpeakString is unavailable at run time.
func TrySpeakText ¶
func TrySpeakText(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint) (int16, error)
TrySpeakText is like SpeakText but returns an error instead of panicking if SpeakText is unavailable at run time.
func TrySpeechBusy ¶
TrySpeechBusy is like SpeechBusy but returns an error instead of panicking if SpeechBusy is unavailable at run time.
func TrySpeechBusySystemWide ¶
TrySpeechBusySystemWide is like SpeechBusySystemWide but returns an error instead of panicking if SpeechBusySystemWide is unavailable at run time.
func TrySpeechManagerVersion ¶
TrySpeechManagerVersion is like SpeechManagerVersion but returns an error instead of panicking if SpeechManagerVersion is unavailable at run time.
func TrySpeechSynthesisRegisterModuleURL ¶
func TrySpeechSynthesisRegisterModuleURL(url corefoundation.CFURLRef) (int16, error)
TrySpeechSynthesisRegisterModuleURL is like SpeechSynthesisRegisterModuleURL but returns an error instead of panicking if SpeechSynthesisRegisterModuleURL is unavailable at run time.
func TrySpeechSynthesisUnregisterModuleURL ¶
func TrySpeechSynthesisUnregisterModuleURL(url corefoundation.CFURLRef) (int16, error)
TrySpeechSynthesisUnregisterModuleURL is like SpeechSynthesisUnregisterModuleURL but returns an error instead of panicking if SpeechSynthesisUnregisterModuleURL is unavailable at run time.
func TryStopSpeech ¶
func TryStopSpeech(chan_ *SpeechChannelRecord) (int16, error)
TryStopSpeech is like StopSpeech but returns an error instead of panicking if StopSpeech is unavailable at run time.
func TryStopSpeechAt ¶
func TryStopSpeechAt(chan_ *SpeechChannelRecord, whereToStop int32) (int16, error)
TryStopSpeechAt is like StopSpeechAt but returns an error instead of panicking if StopSpeechAt is unavailable at run time.
func TryTextToPhonemes ¶
func TryTextToPhonemes(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint, phonemeBuf kernel.Handle, phonemeBytes *int) (int16, error)
TryTextToPhonemes is like TextToPhonemes but returns an error instead of panicking if TextToPhonemes is unavailable at run time.
func TryTransformProcessType ¶
func TryTransformProcessType(psn unsafe.Pointer, transformState ProcessApplicationTransformState) (int32, error)
TryTransformProcessType is like TransformProcessType but returns an error instead of panicking if TransformProcessType is unavailable at run time.
func TryTranslationCopyDestinationType ¶
func TryTranslationCopyDestinationType(inTranslation TranslationRef, outDestinationType *corefoundation.CFStringRef) (int32, error)
TryTranslationCopyDestinationType is like TranslationCopyDestinationType but returns an error instead of panicking if TranslationCopyDestinationType is unavailable at run time.
func TryTranslationCopySourceType ¶
func TryTranslationCopySourceType(inTranslation TranslationRef, outSourceType *corefoundation.CFStringRef) (int32, error)
TryTranslationCopySourceType is like TranslationCopySourceType but returns an error instead of panicking if TranslationCopySourceType is unavailable at run time.
func TryTranslationCreate ¶
func TryTranslationCreate(inSourceType corefoundation.CFStringRef, inDestinationType corefoundation.CFStringRef, inTranslationFlags TranslationFlags, outTranslation *TranslationRef) (int32, error)
TryTranslationCreate is like TranslationCreate but returns an error instead of panicking if TranslationCreate is unavailable at run time.
func TryTranslationCreateWithSourceArray ¶
func TryTranslationCreateWithSourceArray(inSourceTypes corefoundation.CFArrayRef, inTranslationFlags TranslationFlags, outDestinationTypes *corefoundation.CFArrayRef, outTranslations *corefoundation.CFDictionaryRef) (int32, error)
TryTranslationCreateWithSourceArray is like TranslationCreateWithSourceArray but returns an error instead of panicking if TranslationCreateWithSourceArray is unavailable at run time.
func TryTranslationGetTranslationFlags ¶
func TryTranslationGetTranslationFlags(inTranslation TranslationRef, outTranslationFlags *TranslationFlags) (int32, error)
TryTranslationGetTranslationFlags is like TranslationGetTranslationFlags but returns an error instead of panicking if TranslationGetTranslationFlags is unavailable at run time.
func TryTranslationGetTypeID ¶
TryTranslationGetTypeID is like TranslationGetTypeID but returns an error instead of panicking if TranslationGetTypeID is unavailable at run time.
func TryTranslationPerformForData ¶
func TryTranslationPerformForData(inTranslation TranslationRef, inSourceData corefoundation.CFDataRef, outDestinationData *corefoundation.CFDataRef) (int32, error)
TryTranslationPerformForData is like TranslationPerformForData but returns an error instead of panicking if TranslationPerformForData is unavailable at run time.
func TryTranslationPerformForFile ¶
func TryTranslationPerformForFile(inTranslation TranslationRef, inSourceFile unsafe.Pointer, inDestinationDirectory unsafe.Pointer, inDestinationName corefoundation.CFStringRef, outTranslatedFile unsafe.Pointer) (int32, error)
TryTranslationPerformForFile is like TranslationPerformForFile but returns an error instead of panicking if TranslationPerformForFile is unavailable at run time.
func TryTranslationPerformForURL ¶
func TryTranslationPerformForURL(inTranslation TranslationRef, inSourceURL corefoundation.CFURLRef, inDestinationURL corefoundation.CFURLRef, outTranslatedURL *corefoundation.CFURLRef) (int32, error)
TryTranslationPerformForURL is like TranslationPerformForURL but returns an error instead of panicking if TranslationPerformForURL is unavailable at run time.
func TryUAZoomChangeFocus ¶
func TryUAZoomChangeFocus(inRect unsafe.Pointer, inHighlightRect unsafe.Pointer, inType UAZoomChangeFocusType) (int32, error)
TryUAZoomChangeFocus is like UAZoomChangeFocus but returns an error instead of panicking if UAZoomChangeFocus is unavailable at run time.
func TryUAZoomEnabled ¶
TryUAZoomEnabled is like UAZoomEnabled but returns an error instead of panicking if UAZoomEnabled is unavailable at run time.
func TryUseDictionary ¶
func TryUseDictionary(chan_ *SpeechChannelRecord, dictionary kernel.Handle) (int16, error)
TryUseDictionary is like UseDictionary but returns an error instead of panicking if UseDictionary is unavailable at run time.
func TryUseSpeechDictionary ¶
func TryUseSpeechDictionary(chan_ *SpeechChannelRecord, speechDictionary corefoundation.CFDictionaryRef) (int16, error)
TryUseSpeechDictionary is like UseSpeechDictionary but returns an error instead of panicking if UseSpeechDictionary is unavailable at run time.
func TryWakeUpProcess ¶
func TryWakeUpProcess(PSN *ProcessSerialNumber) (int16, error)
TryWakeUpProcess is like WakeUpProcess but returns an error instead of panicking if WakeUpProcess is unavailable at run time.
func UAZoomChangeFocus ¶
func UAZoomChangeFocus(inRect unsafe.Pointer, inHighlightRect unsafe.Pointer, inType UAZoomChangeFocusType) int32
UAZoomChangeFocus tells the Universal Access zoom feature where it should focus.
It panics if UAZoomChangeFocus is unavailable at run time; use TryUAZoomChangeFocus to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1458830-uazoomchangefocus
func UAZoomEnabled ¶
func UAZoomEnabled() bool
UAZoomEnabled determines if the Universal Access zoom feature is enabled.
It panics if UAZoomEnabled is unavailable at run time; use TryUAZoomEnabled to get an error instead.
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.
It panics if UseDictionary is unavailable at run time; use TryUseDictionary to get an error instead.
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.
It panics if UseSpeechDictionary is unavailable at run time; use TryUseSpeechDictionary to get an error instead.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1463688-usespeechdictionary
func WakeUpProcess
deprecated
func WakeUpProcess(PSN *ProcessSerialNumber) int16
WakeUpProcess.
It panics if WakeUpProcess is unavailable at run time; use TryWakeUpProcess to get an error instead.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501091-wakeupprocess
Types ¶
type ATSCubicClosePathProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/atscubicclosepathprocptr
type ATSCubicClosePathUPP ¶
See: https://developer.apple.com/documentation/applicationservices/atscubicclosepathupp
type ATSCubicCurveToProcPtr ¶
type ATSCubicCurveToProcPtr = func(unsafe.Pointer, unsafe.Pointer, unsafe.Pointer, unsafe.Pointer) int32
See: https://developer.apple.com/documentation/applicationservices/atscubiccurvetoprocptr
type ATSCubicCurveToUPP ¶
See: https://developer.apple.com/documentation/applicationservices/atscubiccurvetoupp
type ATSCubicLineToProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/atscubiclinetoprocptr
type ATSCubicLineToUPP ¶
See: https://developer.apple.com/documentation/applicationservices/atscubiclinetoupp
type ATSCubicMoveToProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/atscubicmovetoprocptr
type ATSCubicMoveToUPP ¶
See: https://developer.apple.com/documentation/applicationservices/atscubicmovetoupp
type ATSCurveType ¶
type ATSCurveType = uint16
See: https://developer.apple.com/documentation/applicationservices/atscurvetype
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 ¶
func (s *ATSFlatDataFontNameDataHeader) NameSpecifierType() ATSFlatDataFontSpeciferType
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
func (s *ATSFlatDataFontNameDataHeader) SetNameSpecifierType(v ATSFlatDataFontSpeciferType)
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 ¶
func (s *ATSFlatDataFontSpecRawNameDataHeader) NameDataArray() [1]ATSFlatDataFontSpecRawNameData
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
func (s *ATSFlatDataFontSpecRawNameDataHeader) SetNameDataArray(v [1]ATSFlatDataFontSpecRawNameData)
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 ATSFlatDataFontSpeciferType ¶
type ATSFlatDataFontSpeciferType = uint32
See: https://developer.apple.com/documentation/applicationservices/atsflatdatafontspecifertype
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 ¶
func (s *ATSFlatDataLayoutControlsDataHeader) ControlArray() [1]ATSUAttributeInfo
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
func (s *ATSFlatDataStyleListHeader) SetStyleDataArray(v [1]ATSFlatDataStyleListStyleDataHeader)
SetStyleDataArray updates the StyleDataArray field in the record's packed storage.
func (*ATSFlatDataStyleListHeader) StyleDataArray ¶
func (s *ATSFlatDataStyleListHeader) StyleDataArray() [1]ATSFlatDataStyleListStyleDataHeader
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 ¶
func (s *ATSFlatDataStyleListVariationData) TheVariationAxis() ATSUFontVariationAxis
TheVariationAxis returns the TheVariationAxis field from the record's packed storage.
func (*ATSFlatDataStyleListVariationData) TheVariationValue ¶
func (s *ATSFlatDataStyleListVariationData) TheVariationValue() ATSUFontVariationValue
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 ATSFontApplierFunction ¶
type ATSFontApplierFunction = func(ATSFontRef, unsafe.Pointer) int32
See: https://developer.apple.com/documentation/applicationservices/atsfontapplierfunction
type ATSFontAutoActivationSetting ¶
type ATSFontAutoActivationSetting = uint32
See: https://developer.apple.com/documentation/applicationservices/atsfontautoactivationsetting
type ATSFontContainerRef ¶
type ATSFontContainerRef = uint32
See: https://developer.apple.com/documentation/applicationservices/atsfontcontainerref
type ATSFontContext ¶
type ATSFontContext = uint32
See: https://developer.apple.com/documentation/applicationservices/atsfontcontext
type ATSFontFamilyApplierFunction ¶
type ATSFontFamilyApplierFunction = func(ATSFontFamilyRef, unsafe.Pointer) int32
See: https://developer.apple.com/documentation/applicationservices/atsfontfamilyapplierfunction
type ATSFontFamilyIterator ¶
See: https://developer.apple.com/documentation/applicationservices/atsfontfamilyiterator
type ATSFontFamilyRef ¶
type ATSFontFamilyRef = uint32
See: https://developer.apple.com/documentation/applicationservices/atsfontfamilyref
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 ATSFontFormat ¶
type ATSFontFormat = uint32
See: https://developer.apple.com/documentation/applicationservices/atsfontformat
type ATSFontIterator ¶
See: https://developer.apple.com/documentation/applicationservices/atsfontiterator
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 ATSFontNotificationInfoRef ¶
type ATSFontNotificationInfoRef uintptr
See: https://developer.apple.com/documentation/applicationservices/atsfontnotificationinforef
type ATSFontNotificationRef ¶
type ATSFontNotificationRef uintptr
See: https://developer.apple.com/documentation/applicationservices/atsfontnotificationref
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 ATSFontQueryCallback ¶
type ATSFontQueryCallback = func(ATSFontQueryMessageID, corefoundation.CFPropertyListRef, unsafe.Pointer) corefoundation.CFPropertyListRef
See: https://developer.apple.com/documentation/applicationservices/atsfontquerycallback
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 ATSFontRef ¶
type ATSFontRef = uint32
See: https://developer.apple.com/documentation/CoreText/ATSFontRef
type ATSFontSize ¶
type ATSFontSize = float64
See: https://developer.apple.com/documentation/applicationservices/atsfontsize
type ATSGeneration ¶
type ATSGeneration = uint32
See: https://developer.apple.com/documentation/applicationservices/atsgeneration
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 ATSGlyphInfoFlags ¶
type ATSGlyphInfoFlags = uint32
See: https://developer.apple.com/documentation/applicationservices/atsglyphinfoflags
type ATSGlyphRef ¶
type ATSGlyphRef = uint16
See: https://developer.apple.com/documentation/applicationservices/atsglyphref
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 ¶
func (s *ATSLayoutRecord) Flags() ATSGlyphInfoFlags
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 ATSLineLayoutOptions ¶
type ATSLineLayoutOptions = uint32
See: https://developer.apple.com/documentation/applicationservices/atslinelayoutoptions
type ATSNotificationCallback ¶
type ATSNotificationCallback = func(ATSFontNotificationInfoRef, unsafe.Pointer)
See: https://developer.apple.com/documentation/applicationservices/atsnotificationcallback
type ATSOptionFlags ¶
type ATSOptionFlags = uint32
See: https://developer.apple.com/documentation/applicationservices/atsoptionflags
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 ATSQuadraticClosePathProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/atsquadraticclosepathprocptr
type ATSQuadraticClosePathUPP ¶
See: https://developer.apple.com/documentation/applicationservices/atsquadraticclosepathupp
type ATSQuadraticCurveProcPtr ¶
type ATSQuadraticCurveProcPtr = func(unsafe.Pointer, unsafe.Pointer, unsafe.Pointer, unsafe.Pointer) int32
See: https://developer.apple.com/documentation/applicationservices/atsquadraticcurveprocptr
type ATSQuadraticCurveUPP ¶
See: https://developer.apple.com/documentation/applicationservices/atsquadraticcurveupp
type ATSQuadraticLineProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/atsquadraticlineprocptr
type ATSQuadraticLineUPP ¶
See: https://developer.apple.com/documentation/applicationservices/atsquadraticlineupp
type ATSQuadraticNewPathProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/atsquadraticnewpathprocptr
type ATSQuadraticNewPathUPP ¶
See: https://developer.apple.com/documentation/applicationservices/atsquadraticnewpathupp
type ATSStyleRenderingOptions ¶
type ATSStyleRenderingOptions = uint32
See: https://developer.apple.com/documentation/applicationservices/atsstylerenderingoptions
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 ¶
func (s *ATSUAttributeInfo) FTag() ATSUAttributeTag
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 ATSUAttributeTag ¶
type ATSUAttributeTag = uint32
See: https://developer.apple.com/documentation/applicationservices/atsuattributetag
type ATSUAttributeValuePtr ¶
See: https://developer.apple.com/documentation/applicationservices/atsuattributevalueptr
type ATSUBackgroundColor ¶
type ATSUBackgroundColor = ATSURGBAlphaColor
See: https://developer.apple.com/documentation/applicationservices/atsubackgroundcolor
type ATSUBackgroundData ¶ added in v0.6.17
type ATSUBackgroundData [8]uint16
ATSUBackgroundData is a C union type.
func (*ATSUBackgroundData) BackgroundColor ¶ added in v0.6.17
func (u *ATSUBackgroundData) BackgroundColor() *ATSUBackgroundColor
BackgroundColor returns the union interpreted as *ATSUBackgroundColor. The returned pointer aliases the receiver's memory.
func (*ATSUBackgroundData) BackgroundUPP ¶ added in v0.6.17
func (u *ATSUBackgroundData) BackgroundUPP() *RedrawBackgroundUPP
BackgroundUPP returns the union interpreted as *RedrawBackgroundUPP. The returned pointer aliases the receiver's memory.
type ATSUBackgroundDataType ¶
type ATSUBackgroundDataType = uint32
See: https://developer.apple.com/documentation/applicationservices/atsubackgrounddatatype
type ATSUCaret ¶
type ATSUCaret struct {
// contains filtered or unexported fields
}
ATSUCaret
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/atsucaret
func (*ATSUCaret) SetFDeltaX ¶ added in v0.6.17
SetFDeltaX updates the FDeltaX field in the record's packed storage.
func (*ATSUCaret) SetFDeltaY ¶ added in v0.6.17
SetFDeltaY updates the FDeltaY field in the record's packed storage.
type ATSUCursorMovementType ¶
type ATSUCursorMovementType = uint16
See: https://developer.apple.com/documentation/applicationservices/atsucursormovementtype
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 ATSUDirectDataSelector ¶
type ATSUDirectDataSelector = uint32
See: https://developer.apple.com/documentation/applicationservices/atsudirectdataselector
type ATSUFlattenStyleRunOptions ¶
type ATSUFlattenStyleRunOptions = uint32
See: https://developer.apple.com/documentation/applicationservices/atsuflattenstylerunoptions
type ATSUFlattenedDataStreamFormat ¶
type ATSUFlattenedDataStreamFormat = uint32
See: https://developer.apple.com/documentation/applicationservices/atsuflatteneddatastreamformat
type ATSUFontFallbackMethod ¶
type ATSUFontFallbackMethod = uint16
See: https://developer.apple.com/documentation/applicationservices/atsufontfallbackmethod
type ATSUFontFallbacks ¶
See: https://developer.apple.com/documentation/applicationservices/atsufontfallbacks
type ATSUFontFeatureSelector ¶
type ATSUFontFeatureSelector = uint16
See: https://developer.apple.com/documentation/applicationservices/atsufontfeatureselector
type ATSUFontFeatureType ¶
type ATSUFontFeatureType = uint16
See: https://developer.apple.com/documentation/applicationservices/atsufontfeaturetype
type ATSUFontID ¶
type ATSUFontID = uint32
See: https://developer.apple.com/documentation/applicationservices/atsufontid
type ATSUFontVariationAxis ¶
type ATSUFontVariationAxis = uint32
See: https://developer.apple.com/documentation/applicationservices/atsufontvariationaxis
type ATSUFontVariationValue ¶
type ATSUFontVariationValue = int32
See: https://developer.apple.com/documentation/applicationservices/atsufontvariationvalue
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 ATSUHighlightMethod ¶
type ATSUHighlightMethod = uint32
See: https://developer.apple.com/documentation/applicationservices/atsuhighlightmethod
type ATSULayoutOperationCallbackStatus ¶
type ATSULayoutOperationCallbackStatus = uint32
See: https://developer.apple.com/documentation/applicationservices/atsulayoutoperationcallbackstatus
type ATSULayoutOperationSelector ¶
type ATSULayoutOperationSelector = uint32
See: https://developer.apple.com/documentation/applicationservices/atsulayoutoperationselector
type ATSULineTruncation ¶
type ATSULineTruncation = uint32
See: https://developer.apple.com/documentation/applicationservices/atsulinetruncation
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 ATSUStyleComparison ¶
type ATSUStyleComparison = uint16
See: https://developer.apple.com/documentation/applicationservices/atsustylecomparison
type ATSUStyleLineCountType ¶
type ATSUStyleLineCountType = uint16
See: https://developer.apple.com/documentation/applicationservices/atsustylelinecounttype
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 ATSUStyleSettingRef ¶
type ATSUStyleSettingRef uintptr
See: https://developer.apple.com/documentation/applicationservices/atsustylesettingref
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 ATSUTabType ¶
type ATSUTabType = uint16
See: https://developer.apple.com/documentation/applicationservices/atsutabtype
type ATSUTextLayout ¶
See: https://developer.apple.com/documentation/applicationservices/atsutextlayout
type ATSUTextMeasurement ¶
type ATSUTextMeasurement = int32
See: https://developer.apple.com/documentation/applicationservices/atsutextmeasurement
type ATSUUnFlattenStyleRunOptions ¶
type ATSUUnFlattenStyleRunOptions = uint32
See: https://developer.apple.com/documentation/applicationservices/atsuunflattenstylerunoptions
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 ¶
func (s *ATSUUnhighlightData) DataType() ATSUBackgroundDataType
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 ATSUVerticalCharacterType ¶
type ATSUVerticalCharacterType = uint16
See: https://developer.apple.com/documentation/applicationservices/atsuverticalcharactertype
type AXCopyMultipleAttributeOptions ¶
type AXCopyMultipleAttributeOptions uint32
See: https://developer.apple.com/documentation/applicationservices/axcopymultipleattributeoptions
const (
StopOnError AXCopyMultipleAttributeOptions = 0x1
)
func (AXCopyMultipleAttributeOptions) String ¶
func (e AXCopyMultipleAttributeOptions) String() 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.
It panics if AXMakeProcessTrusted is unavailable at run time; use TryAXMakeProcessTrusted to get an error instead.
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.
It panics if AXObserverAddNotification is unavailable at run time; use TryAXObserverAddNotification to get an error instead.
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.
It panics if AXObserverCreate is unavailable at run time; use TryAXObserverCreate to get an error instead.
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.
It panics if AXObserverCreateWithInfoCallback is unavailable at run time; use TryAXObserverCreateWithInfoCallback to get an error instead.
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.
It panics if AXObserverRemoveNotification is unavailable at run time; use TryAXObserverRemoveNotification to get an error instead.
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.
It panics if AXUIElementCopyActionDescription is unavailable at run time; use TryAXUIElementCopyActionDescription to get an error instead.
func AXUIElementCopyActionNames ¶
func AXUIElementCopyActionNames(element AXUIElementRef, names *corefoundation.CFArrayRef) AXError
AXUIElementCopyActionNames returns a list of all the actions the specified accessibility object can perform.
It panics if AXUIElementCopyActionNames is unavailable at run time; use TryAXUIElementCopyActionNames to get an error instead.
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.
It panics if AXUIElementCopyAttributeNames is unavailable at run time; use TryAXUIElementCopyAttributeNames to get an error instead.
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.
It panics if AXUIElementCopyAttributeValue is unavailable at run time; use TryAXUIElementCopyAttributeValue to get an error instead.
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.
It panics if AXUIElementCopyAttributeValues is unavailable at run time; use TryAXUIElementCopyAttributeValues to get an error instead.
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.
It panics if AXUIElementCopyElementAtPosition is unavailable at run time; use TryAXUIElementCopyElementAtPosition to get an error instead.
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.
It panics if AXUIElementCopyMultipleAttributeValues is unavailable at run time; use TryAXUIElementCopyMultipleAttributeValues to get an error instead.
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.
It panics if AXUIElementCopyParameterizedAttributeNames is unavailable at run time; use TryAXUIElementCopyParameterizedAttributeNames to get an error instead.
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.
It panics if AXUIElementCopyParameterizedAttributeValue is unavailable at run time; use TryAXUIElementCopyParameterizedAttributeValue to get an error instead.
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.
It panics if AXUIElementGetAttributeValueCount is unavailable at run time; use TryAXUIElementGetAttributeValueCount to get an error instead.
func AXUIElementGetPid ¶
func AXUIElementGetPid(element AXUIElementRef, pid *int32) AXError
AXUIElementGetPid returns the process ID associated with the specified accessibility object.
It panics if AXUIElementGetPid is unavailable at run time; use TryAXUIElementGetPid to get an error instead.
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.
It panics if AXUIElementIsAttributeSettable is unavailable at run time; use TryAXUIElementIsAttributeSettable to get an error instead.
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.
It panics if AXUIElementPerformAction is unavailable at run time; use TryAXUIElementPerformAction to get an error instead.
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.
It panics if AXUIElementPostKeyboardEvent is unavailable at run time; use TryAXUIElementPostKeyboardEvent to get an error instead.
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.
It panics if AXUIElementSetAttributeValue is unavailable at run time; use TryAXUIElementSetAttributeValue to get an error instead.
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.
It panics if AXUIElementSetMessagingTimeout is unavailable at run time; use TryAXUIElementSetMessagingTimeout to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459345-axuielementsetmessagingtimeout
func TryAXMakeProcessTrusted ¶
func TryAXMakeProcessTrusted(executablePath corefoundation.CFStringRef) (AXError, error)
TryAXMakeProcessTrusted is like AXMakeProcessTrusted but returns an error instead of panicking if AXMakeProcessTrusted is unavailable at run time.
func TryAXObserverAddNotification ¶
func TryAXObserverAddNotification(observer AXObserverRef, element AXUIElementRef, notification corefoundation.CFStringRef, refcon uintptr) (AXError, error)
TryAXObserverAddNotification is like AXObserverAddNotification but returns an error instead of panicking if AXObserverAddNotification is unavailable at run time.
func TryAXObserverCreate ¶
func TryAXObserverCreate(application int32, callback AXObserverCallback, outObserver *AXObserverRef) (AXError, error)
TryAXObserverCreate is like AXObserverCreate but returns an error instead of panicking if AXObserverCreate is unavailable at run time.
func TryAXObserverCreateWithInfoCallback ¶
func TryAXObserverCreateWithInfoCallback(application int32, callback AXObserverCallbackWithInfo, outObserver *AXObserverRef) (AXError, error)
TryAXObserverCreateWithInfoCallback is like AXObserverCreateWithInfoCallback but returns an error instead of panicking if AXObserverCreateWithInfoCallback is unavailable at run time.
func TryAXObserverRemoveNotification ¶
func TryAXObserverRemoveNotification(observer AXObserverRef, element AXUIElementRef, notification corefoundation.CFStringRef) (AXError, error)
TryAXObserverRemoveNotification is like AXObserverRemoveNotification but returns an error instead of panicking if AXObserverRemoveNotification is unavailable at run time.
func TryAXUIElementCopyActionDescription ¶
func TryAXUIElementCopyActionDescription(element AXUIElementRef, action corefoundation.CFStringRef, description *corefoundation.CFStringRef) (AXError, error)
TryAXUIElementCopyActionDescription is like AXUIElementCopyActionDescription but returns an error instead of panicking if AXUIElementCopyActionDescription is unavailable at run time.
func TryAXUIElementCopyActionNames ¶
func TryAXUIElementCopyActionNames(element AXUIElementRef, names *corefoundation.CFArrayRef) (AXError, error)
TryAXUIElementCopyActionNames is like AXUIElementCopyActionNames but returns an error instead of panicking if AXUIElementCopyActionNames is unavailable at run time.
func TryAXUIElementCopyAttributeNames ¶
func TryAXUIElementCopyAttributeNames(element AXUIElementRef, names *corefoundation.CFArrayRef) (AXError, error)
TryAXUIElementCopyAttributeNames is like AXUIElementCopyAttributeNames but returns an error instead of panicking if AXUIElementCopyAttributeNames is unavailable at run time.
func TryAXUIElementCopyAttributeValue ¶
func TryAXUIElementCopyAttributeValue(element AXUIElementRef, attribute corefoundation.CFStringRef, value *corefoundation.CFTypeRef) (AXError, error)
TryAXUIElementCopyAttributeValue is like AXUIElementCopyAttributeValue but returns an error instead of panicking if AXUIElementCopyAttributeValue is unavailable at run time.
func TryAXUIElementCopyAttributeValues ¶
func TryAXUIElementCopyAttributeValues(element AXUIElementRef, attribute corefoundation.CFStringRef, index int, maxValues int, values *corefoundation.CFArrayRef) (AXError, error)
TryAXUIElementCopyAttributeValues is like AXUIElementCopyAttributeValues but returns an error instead of panicking if AXUIElementCopyAttributeValues is unavailable at run time.
func TryAXUIElementCopyElementAtPosition ¶
func TryAXUIElementCopyElementAtPosition(application AXUIElementRef, x unsafe.Pointer, y unsafe.Pointer, element *AXUIElementRef) (AXError, error)
TryAXUIElementCopyElementAtPosition is like AXUIElementCopyElementAtPosition but returns an error instead of panicking if AXUIElementCopyElementAtPosition is unavailable at run time.
func TryAXUIElementCopyMultipleAttributeValues ¶
func TryAXUIElementCopyMultipleAttributeValues(element AXUIElementRef, attributes corefoundation.CFArrayRef, options AXCopyMultipleAttributeOptions, values *corefoundation.CFArrayRef) (AXError, error)
TryAXUIElementCopyMultipleAttributeValues is like AXUIElementCopyMultipleAttributeValues but returns an error instead of panicking if AXUIElementCopyMultipleAttributeValues is unavailable at run time.
func TryAXUIElementCopyParameterizedAttributeNames ¶
func TryAXUIElementCopyParameterizedAttributeNames(element AXUIElementRef, names *corefoundation.CFArrayRef) (AXError, error)
TryAXUIElementCopyParameterizedAttributeNames is like AXUIElementCopyParameterizedAttributeNames but returns an error instead of panicking if AXUIElementCopyParameterizedAttributeNames is unavailable at run time.
func TryAXUIElementCopyParameterizedAttributeValue ¶
func TryAXUIElementCopyParameterizedAttributeValue(element AXUIElementRef, parameterizedAttribute corefoundation.CFStringRef, parameter corefoundation.CFTypeRef, result *corefoundation.CFTypeRef) (AXError, error)
TryAXUIElementCopyParameterizedAttributeValue is like AXUIElementCopyParameterizedAttributeValue but returns an error instead of panicking if AXUIElementCopyParameterizedAttributeValue is unavailable at run time.
func TryAXUIElementGetAttributeValueCount ¶
func TryAXUIElementGetAttributeValueCount(element AXUIElementRef, attribute corefoundation.CFStringRef, count *int) (AXError, error)
TryAXUIElementGetAttributeValueCount is like AXUIElementGetAttributeValueCount but returns an error instead of panicking if AXUIElementGetAttributeValueCount is unavailable at run time.
func TryAXUIElementGetPid ¶
func TryAXUIElementGetPid(element AXUIElementRef, pid *int32) (AXError, error)
TryAXUIElementGetPid is like AXUIElementGetPid but returns an error instead of panicking if AXUIElementGetPid is unavailable at run time.
func TryAXUIElementIsAttributeSettable ¶
func TryAXUIElementIsAttributeSettable(element AXUIElementRef, attribute corefoundation.CFStringRef, settable unsafe.Pointer) (AXError, error)
TryAXUIElementIsAttributeSettable is like AXUIElementIsAttributeSettable but returns an error instead of panicking if AXUIElementIsAttributeSettable is unavailable at run time.
func TryAXUIElementPerformAction ¶
func TryAXUIElementPerformAction(element AXUIElementRef, action corefoundation.CFStringRef) (AXError, error)
TryAXUIElementPerformAction is like AXUIElementPerformAction but returns an error instead of panicking if AXUIElementPerformAction is unavailable at run time.
func TryAXUIElementPostKeyboardEvent ¶
func TryAXUIElementPostKeyboardEvent(application AXUIElementRef, keyChar uint16, virtualKey uint16, keyDown bool) (AXError, error)
TryAXUIElementPostKeyboardEvent is like AXUIElementPostKeyboardEvent but returns an error instead of panicking if AXUIElementPostKeyboardEvent is unavailable at run time.
func TryAXUIElementSetAttributeValue ¶
func TryAXUIElementSetAttributeValue(element AXUIElementRef, attribute corefoundation.CFStringRef, value corefoundation.CFTypeRef) (AXError, error)
TryAXUIElementSetAttributeValue is like AXUIElementSetAttributeValue but returns an error instead of panicking if AXUIElementSetAttributeValue is unavailable at run time.
func TryAXUIElementSetMessagingTimeout ¶
func TryAXUIElementSetMessagingTimeout(element AXUIElementRef, timeoutInSeconds unsafe.Pointer) (AXError, error)
TryAXUIElementSetMessagingTimeout is like AXUIElementSetMessagingTimeout but returns an error instead of panicking if AXUIElementSetMessagingTimeout is unavailable at run time.
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 AXObserverCallback ¶
type AXObserverCallback = func(observer AXObserverRef, element AXUIElementRef, notification corefoundation.CFStringRef, refcon unsafe.Pointer)
See: https://developer.apple.com/documentation/applicationservices/axobservercallback
type AXObserverCallbackWithInfo ¶
type AXObserverCallbackWithInfo = func(observer AXObserverRef, element AXUIElementRef, notification corefoundation.CFStringRef, info corefoundation.CFDictionaryRef, refcon unsafe.Pointer)
See: https://developer.apple.com/documentation/applicationservices/axobservercallbackwithinfo
type AXObserverRef ¶
type AXObserverRef uintptr
See: https://developer.apple.com/documentation/applicationservices/axobserverref
type AXPriority ¶
type AXPriority int
See: https://developer.apple.com/documentation/applicationservices/axpriority
type AXTextMarkerRangeRef ¶
type AXTextMarkerRangeRef uintptr
See: https://developer.apple.com/documentation/applicationservices/axtextmarkerrangeref
func AXTextMarkerRangeCreate ¶
func AXTextMarkerRangeCreate(allocator corefoundation.CFAllocatorRef, startMarker AXTextMarkerRef, endMarker AXTextMarkerRef) AXTextMarkerRangeRef
AXTextMarkerRangeCreate.
It panics if AXTextMarkerRangeCreate is unavailable at run time; use TryAXTextMarkerRangeCreate to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/3882829-axtextmarkerrangecreate
func AXTextMarkerRangeCreateWithBytes ¶
func AXTextMarkerRangeCreateWithBytes(allocator corefoundation.CFAllocatorRef, startMarkerBytes []byte, startMarkerLength int, endMarkerBytes []byte, endMarkerLength int) AXTextMarkerRangeRef
AXTextMarkerRangeCreateWithBytes.
It panics if AXTextMarkerRangeCreateWithBytes is unavailable at run time; use TryAXTextMarkerRangeCreateWithBytes to get an error instead.
func TryAXTextMarkerRangeCreate ¶
func TryAXTextMarkerRangeCreate(allocator corefoundation.CFAllocatorRef, startMarker AXTextMarkerRef, endMarker AXTextMarkerRef) (AXTextMarkerRangeRef, error)
TryAXTextMarkerRangeCreate is like AXTextMarkerRangeCreate but returns an error instead of panicking if AXTextMarkerRangeCreate is unavailable at run time.
func TryAXTextMarkerRangeCreateWithBytes ¶
func TryAXTextMarkerRangeCreateWithBytes(allocator corefoundation.CFAllocatorRef, startMarkerBytes []byte, startMarkerLength int, endMarkerBytes []byte, endMarkerLength int) (AXTextMarkerRangeRef, error)
TryAXTextMarkerRangeCreateWithBytes is like AXTextMarkerRangeCreateWithBytes but returns an error instead of panicking if AXTextMarkerRangeCreateWithBytes is unavailable at run time.
type AXTextMarkerRef ¶
type AXTextMarkerRef uintptr
See: https://developer.apple.com/documentation/applicationservices/axtextmarkerref
func AXTextMarkerCreate ¶
func AXTextMarkerCreate(allocator corefoundation.CFAllocatorRef, bytes []byte, length int) AXTextMarkerRef
AXTextMarkerCreate.
It panics if AXTextMarkerCreate is unavailable at run time; use TryAXTextMarkerCreate to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/3882823-axtextmarkercreate
func AXTextMarkerRangeCopyEndMarker ¶
func AXTextMarkerRangeCopyEndMarker(textMarkerRange AXTextMarkerRangeRef) AXTextMarkerRef
AXTextMarkerRangeCopyEndMarker.
It panics if AXTextMarkerRangeCopyEndMarker is unavailable at run time; use TryAXTextMarkerRangeCopyEndMarker to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/3882827-axtextmarkerrangecopyendmarker
func AXTextMarkerRangeCopyStartMarker ¶
func AXTextMarkerRangeCopyStartMarker(textMarkerRange AXTextMarkerRangeRef) AXTextMarkerRef
AXTextMarkerRangeCopyStartMarker.
It panics if AXTextMarkerRangeCopyStartMarker is unavailable at run time; use TryAXTextMarkerRangeCopyStartMarker to get an error instead.
func TryAXTextMarkerCreate ¶
func TryAXTextMarkerCreate(allocator corefoundation.CFAllocatorRef, bytes []byte, length int) (AXTextMarkerRef, error)
TryAXTextMarkerCreate is like AXTextMarkerCreate but returns an error instead of panicking if AXTextMarkerCreate is unavailable at run time.
func TryAXTextMarkerRangeCopyEndMarker ¶
func TryAXTextMarkerRangeCopyEndMarker(textMarkerRange AXTextMarkerRangeRef) (AXTextMarkerRef, error)
TryAXTextMarkerRangeCopyEndMarker is like AXTextMarkerRangeCopyEndMarker but returns an error instead of panicking if AXTextMarkerRangeCopyEndMarker is unavailable at run time.
func TryAXTextMarkerRangeCopyStartMarker ¶
func TryAXTextMarkerRangeCopyStartMarker(textMarkerRange AXTextMarkerRangeRef) (AXTextMarkerRef, error)
TryAXTextMarkerRangeCopyStartMarker is like AXTextMarkerRangeCopyStartMarker but returns an error instead of panicking if AXTextMarkerRangeCopyStartMarker is unavailable at run time.
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.
It panics if AXUIElementCreateApplication is unavailable at run time; use TryAXUIElementCreateApplication to get an error instead.
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.
It panics if AXUIElementCreateSystemWide is unavailable at run time; use TryAXUIElementCreateSystemWide to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462095-axuielementcreatesystemwide
func TryAXUIElementCreateApplication ¶
func TryAXUIElementCreateApplication(pid int32) (AXUIElementRef, error)
TryAXUIElementCreateApplication is like AXUIElementCreateApplication but returns an error instead of panicking if AXUIElementCreateApplication is unavailable at run time.
func TryAXUIElementCreateSystemWide ¶
func TryAXUIElementCreateSystemWide() (AXUIElementRef, error)
TryAXUIElementCreateSystemWide is like AXUIElementCreateSystemWide but returns an error instead of panicking if AXUIElementCreateSystemWide is unavailable at run time.
type AXUnderlineStyle ¶
type AXUnderlineStyle uint32
See: https://developer.apple.com/documentation/applicationservices/axunderlinestyle
type AXValueRef ¶
type AXValueRef uintptr
See: https://developer.apple.com/documentation/applicationservices/axvalueref
func AXValueCreate ¶
func AXValueCreate(theType AXValueType, valuePtr unsafe.Pointer) AXValueRef
AXValueCreate.
It panics if AXValueCreate is unavailable at run time; use TryAXValueCreate to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459351-axvaluecreate
func TryAXValueCreate ¶
func TryAXValueCreate(theType AXValueType, valuePtr unsafe.Pointer) (AXValueRef, error)
TryAXValueCreate is like AXValueCreate but returns an error instead of panicking if AXValueCreate is unavailable at run time.
type AXValueType ¶
type AXValueType uint32
See: https://developer.apple.com/documentation/applicationservices/axvaluetype
func AXValueGetType ¶
func AXValueGetType(value AXValueRef) AXValueType
AXValueGetType.
It panics if AXValueGetType is unavailable at run time; use TryAXValueGetType to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460911-axvaluegettype
func TryAXValueGetType ¶
func TryAXValueGetType(value AXValueRef) (AXValueType, error)
TryAXValueGetType is like AXValueGetType but returns an error instead of panicking if AXValueGetType is unavailable at run time.
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 AppParametersPtr ¶
See: https://developer.apple.com/documentation/applicationservices/appparametersptr
type AsscEntry ¶
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 )
type BadPasteboardSyncErrConstants ¶
type BadPasteboardSyncErrConstants int32
const ( BadPasteboardFlavorErr BadPasteboardSyncErrConstants = -25133 BadPasteboardIndexErr BadPasteboardSyncErrConstants = -25131 BadPasteboardItemErr BadPasteboardSyncErrConstants = -25132 BadPasteboardSyncErr BadPasteboardSyncErrConstants = -25130 DuplicatePasteboardFlavorErr BadPasteboardSyncErrConstants = -25134 NoPasteboardPromiseKeeperErr BadPasteboardSyncErrConstants = -25136 NotPasteboardOwnerErr BadPasteboardSyncErrConstants = -25135 )
func (BadPasteboardSyncErrConstants) String ¶
func (e BadPasteboardSyncErrConstants) 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) SetBaseAddr ¶ added in v0.6.17
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
SetBounds updates the Bounds field in the record's packed storage.
func (*BitMap) SetRowBytes ¶ added in v0.6.17
SetRowBytes updates the RowBytes field in the record's packed storage.
type BitMapHandle ¶
type BitMapHandle = *BitMapPtr
See: https://developer.apple.com/documentation/applicationservices/bitmaphandle
type BitMapPtr ¶
type BitMapPtr = *BitMap
See: https://developer.apple.com/documentation/applicationservices/bitmapptr
type CGrafPort ¶
type CGrafPort = GrafPort
See: https://developer.apple.com/documentation/applicationservices/cgrafport
type CM2Header
deprecated
type CM2Header [64]uint16
CM2Header is contains information that supports the header format specified by the ICC format specification for version 2.x profiles.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cm2header CM2Header is opaque storage with the size and alignment C gives CM2Header: 128 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 128 into.
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 CM2ProfileHandle
deprecated
type CM2ProfileHandle = uintptr
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cm2profilehandle
type CM2ProfilePtr ¶
type CM2ProfilePtr = *CM2Profile
See: https://developer.apple.com/documentation/applicationservices/cm2profileptr
type CM4Header
deprecated
type CM4Header [64]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cm4header CM4Header is opaque storage with the size and alignment C gives CM4Header: 128 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 128 into.
type CMAdaptationMatrixType
deprecated
type CMAdaptationMatrixType [22]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmadaptationmatrixtype CMAdaptationMatrixType is opaque storage with the size and alignment C gives CMAdaptationMatrixType: 44 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 44 into.
type CMAppleProfileHeader
deprecated
type CMAppleProfileHeader [64]uint16
CMAppleProfileHeader is defines a data structure to provide access to both version 2.x and version 1.0 profiles, as specified by the International Color Consortium.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/1560290-cmappleprofileheader CMAppleProfileHeader is opaque storage with the size and alignment C gives CMAppleProfileHeader: 128 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 128 into.
type CMBitmap
deprecated
type CMBitmap [7]uint64
CMBitmap is contains information that describes color bitmap images.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmbitmap CMBitmap is opaque storage with the size and alignment C gives CMBitmap: 56 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 56 into.
type CMBitmapCallBackUPP
deprecated
CMBitmapCallBackUPP is defines a universal procedure pointer to a bitmap callback.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmbitmapcallbackupp
type CMBitmapColorSpace
deprecated
type CMBitmapColorSpace = uint32
CMBitmapColorSpace is specifies bitmap spaces with a wide range of data formats appropriate for multiple platforms.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmbitmapcolorspace
type CMBufferLocation
deprecated
type CMBufferLocation [2]uint64
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmbufferlocation CMBufferLocation is opaque storage with the size and alignment C gives CMBufferLocation: 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 CMCMYColor
deprecated
type CMCMYColor [3]uint16
CMCMYColor is contains color values expressed in the CMY color space.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmcmycolor CMCMYColor is opaque storage with the size and alignment C gives CMCMYColor: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.
type CMCMYKColor
deprecated
type CMCMYKColor [4]uint16
CMCMYKColor is contains color values expressed in the CMYK color space.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmcmykcolor CMCMYKColor is opaque storage with the size and alignment C gives CMCMYKColor: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.
type CMChromaticAdaptation
deprecated
type CMChromaticAdaptation = uint32
CMChromaticAdaptation is specify a transformation to use for chromaric adaptation.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmchromaticadaptation
type CMColor
deprecated
type CMColor [2]uint32
CMColor is defines a union that can be used to specify a color value defined by one of the 15 data types supported by the union.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/1560453-cmcolor CMColor is opaque storage with the size and alignment C gives CMColor: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.
type CMConcatCallBackUPP
deprecated
CMConcatCallBackUPP is defines a universal procedure pointer to a progress-monitoring function that the ColorSync Manager calls during lengthy color world processing.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmconcatcallbackupp
type CMConcatProfileSet
deprecated
type CMConcatProfileSet [2]uint64
CMConcatProfileSet is contains profile and other information needed to set up a color world.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmconcatprofileset CMConcatProfileSet is opaque storage with the size and alignment C gives CMConcatProfileSet: 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 CMCurveType
deprecated
type CMCurveType [7]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmcurvetype CMCurveType is opaque storage with the size and alignment C gives CMCurveType: 14 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 14 into.
type CMDataType
deprecated
type CMDataType [7]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmdatatype CMDataType is opaque storage with the size and alignment C gives CMDataType: 14 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 14 into.
type CMDateTime
deprecated
type CMDateTime [6]uint16
CMDateTime is contains data that specifies a date and time in year, month, day of the month, hours, minutes, and seconds.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmdatetime CMDateTime is opaque storage with the size and alignment C gives CMDateTime: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.
type CMDateTimeType
deprecated
type CMDateTimeType [10]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmdatetimetype CMDateTimeType is opaque storage with the size and alignment C gives CMDateTimeType: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.
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 CMDeviceID
deprecated
type CMDeviceID = uint32
CMDeviceID is defines a data type for a CM device ID.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmdeviceid
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 CMDeviceInfoPtr
deprecated
type CMDeviceInfoPtr = uintptr
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmdeviceinfoptr
type CMDeviceProfileArray ¶
CMDeviceProfileArray
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmdeviceprofilearray
type CMDeviceProfileArrayPtr
deprecated
type CMDeviceProfileArrayPtr = uintptr
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmdeviceprofilearrayptr
type CMDeviceProfileID
deprecated
type CMDeviceProfileID = uint32
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmdeviceprofileid
type CMDeviceProfileInfo
deprecated
type CMDeviceProfileInfo [132]uint64
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmdeviceprofileinfo CMDeviceProfileInfo is opaque storage with the size and alignment C gives CMDeviceProfileInfo: 1056 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 1056 into.
type CMDeviceProfileScope
deprecated
type CMDeviceProfileScope = CMDeviceScope
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmdeviceprofilescope
type CMDeviceScope ¶
CMDeviceScope
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmdevicescope
type CMDeviceState
deprecated
type CMDeviceState = uint32
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmdevicestate
type CMDisplayIDType
deprecated
type CMDisplayIDType = uint32
CMDisplayIDType is defines a data type for a display ID type.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmdisplayidtype
type CMFixedXYColor
deprecated
type CMFixedXYColor [4]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmfixedxycolor CMFixedXYColor is opaque storage with the size and alignment C gives CMFixedXYColor: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.
type CMFixedXYZColor
deprecated
type CMFixedXYZColor [6]uint16
CMFixedXYZColor is contains data that specifies the profile illuminant in the profile header’s `white` field and other profile element values.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmfixedxyzcolor CMFixedXYZColor is opaque storage with the size and alignment C gives CMFixedXYZColor: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.
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 ¶
CMFlattenUPP is defines a universal procedure pointer to a data-flattening callback.
See: https://developer.apple.com/documentation/applicationservices/cmflattenupp
type CMFloatBitmap
deprecated
type CMFloatBitmap [22]uint64
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmfloatbitmap CMFloatBitmap is opaque storage with the size and alignment C gives CMFloatBitmap: 176 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 176 into.
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 CMGrayColor
deprecated
type CMGrayColor [1]uint16
CMGrayColor is contains a color value expressed in the gray color space.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmgraycolor CMGrayColor is opaque storage with the size and alignment C gives CMGrayColor: 2 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2 into.
type CMHLSColor
deprecated
type CMHLSColor [3]uint16
CMHLSColor is contains a color value expressed in the HLS color space.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmhlscolor CMHLSColor is opaque storage with the size and alignment C gives CMHLSColor: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.
type CMHSVColor
deprecated
type CMHSVColor [3]uint16
CMHSVColor is contains a color value expressed in the HSV color space.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmhsvcolor CMHSVColor is opaque storage with the size and alignment C gives CMHSVColor: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.
type CMHandleLocation
deprecated
type CMHandleLocation [1]uint64
CMHandleLocation is contains a handle specification for a profile stored in relocatable memory.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmhandlelocation CMHandleLocation is opaque storage with the size and alignment C gives CMHandleLocation: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.
type CMIntentCRDVMSize
deprecated
type CMIntentCRDVMSize [4]uint16
CMIntentCRDVMSize is defines the rendering intent and its maximum VM size.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmintentcrdvmsize CMIntentCRDVMSize is opaque storage with the size and alignment C gives CMIntentCRDVMSize: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.
type CMLabColor
deprecated
type CMLabColor [3]uint16
CMLabColor is contains a color value expressed in the L*a*b* color space.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmlabcolor CMLabColor is opaque storage with the size and alignment C gives CMLabColor: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.
type CMLut8Type
deprecated
type CMLut8Type [25]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmlut8type CMLut8Type is opaque storage with the size and alignment C gives CMLut8Type: 50 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 50 into.
type CMLut16Type
deprecated
type CMLut16Type [27]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmlut16type CMLut16Type is opaque storage with the size and alignment C gives CMLut16Type: 54 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 54 into.
type CMLuvColor
deprecated
type CMLuvColor [3]uint16
CMLuvColor is contains a color value expressed in the L*u*v* color space.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmluvcolor CMLuvColor is opaque storage with the size and alignment C gives CMLuvColor: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.
type CMMInfo
deprecated
type CMMInfo [113]uint64
CMMInfo is contains information pertaining to a color management module.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmminfo CMMInfo is opaque storage with the size and alignment C gives CMMInfo: 904 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 904 into.
type CMMIterateUPP
deprecated
CMMIterateUPP is defines a universal procedure pointer to a CMM iteration callback.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmiterateupp
type CMMakeAndModel
deprecated
type CMMakeAndModel [16]uint16
CMMakeAndModel is contains make and model information fro a device.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmakeandmodel CMMakeAndModel is opaque storage with the size and alignment C gives CMMakeAndModel: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.
type CMMakeAndModelType
deprecated
type CMMakeAndModelType [20]uint16
CMMakeAndModelType is contains make and model information along with a type descriptor.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmakeandmodeltype CMMakeAndModelType is opaque storage with the size and alignment C gives CMMakeAndModelType: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.
type CMMeasurementType
deprecated
type CMMeasurementType [18]uint16
CMMeasurementType is contains measurement type information.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmeasurementtype CMMeasurementType is opaque storage with the size and alignment C gives CMMeasurementType: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.
type CMMultiFunctCLUTType
deprecated
type CMMultiFunctCLUTType [22]byte
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmultifunctcluttype CMMultiFunctCLUTType is opaque storage with the size and alignment C gives CMMultiFunctCLUTType: 22 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 22 into.
type CMMultiFunctLutA2BType ¶
type CMMultiFunctLutA2BType = CMMultiFunctLutType
See: https://developer.apple.com/documentation/applicationservices/cmmultifunctluta2btype
type CMMultiFunctLutB2AType
deprecated
type CMMultiFunctLutB2AType = CMMultiFunctLutType
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmultifunctlutb2atype
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 CMMultiLocalizedUniCodeEntryRec
deprecated
type CMMultiLocalizedUniCodeEntryRec [6]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmultilocalizedunicodeentryrec CMMultiLocalizedUniCodeEntryRec is opaque storage with the size and alignment C gives CMMultiLocalizedUniCodeEntryRec: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.
type CMMultiLocalizedUniCodeType
deprecated
type CMMultiLocalizedUniCodeType [8]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmultilocalizedunicodetype CMMultiLocalizedUniCodeType is opaque storage with the size and alignment C gives CMMultiLocalizedUniCodeType: 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 CMMultichannel5Color
deprecated
type CMMultichannel5Color [5]byte
CMMultichannel5Color is contains a color value expressed in the multichannel color space with 5 channels.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmultichannel5color CMMultichannel5Color is opaque storage with the size and alignment C gives CMMultichannel5Color: 5 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 5 into.
type CMMultichannel6Color
deprecated
type CMMultichannel6Color [6]byte
CMMultichannel6Color is contains a color expressed in the multichannel color space with 6 channels.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmultichannel6color CMMultichannel6Color is opaque storage with the size and alignment C gives CMMultichannel6Color: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.
type CMMultichannel7Color
deprecated
type CMMultichannel7Color [7]byte
CMMultichannel7Color is contains a color value expressed in the multichannel color space with 7 channels.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmultichannel7color CMMultichannel7Color is opaque storage with the size and alignment C gives CMMultichannel7Color: 7 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 7 into.
type CMMultichannel8Color
deprecated
type CMMultichannel8Color [8]byte
CMMultichannel8Color is contains a color value expressed in the multichannel color space with 8 channels.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmmultichannel8color CMMultichannel8Color is opaque storage with the size and alignment C gives CMMultichannel8Color: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.
type CMNamedColor
deprecated
type CMNamedColor [1]uint32
CMNamedColor is contains a color value expressed in a named color space.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmnamedcolor CMNamedColor is opaque storage with the size and alignment C gives CMNamedColor: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.
type CMNamedColor2EntryType
deprecated
type CMNamedColor2EntryType [20]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmnamedcolor2entrytype CMNamedColor2EntryType is opaque storage with the size and alignment C gives CMNamedColor2EntryType: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.
type CMNamedColor2Type
deprecated
type CMNamedColor2Type [43]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmnamedcolor2type CMNamedColor2Type is opaque storage with the size and alignment C gives CMNamedColor2Type: 86 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 86 into.
type CMNamedColorType
deprecated
type CMNamedColorType [9]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmnamedcolortype CMNamedColorType is opaque storage with the size and alignment C gives CMNamedColorType: 18 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 18 into.
type CMNativeDisplayInfo
deprecated
type CMNativeDisplayInfo [28]uint16
CMNativeDisplayInfo is contains color information for a native display.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmnativedisplayinfo CMNativeDisplayInfo is opaque storage with the size and alignment C gives CMNativeDisplayInfo: 56 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 56 into.
type CMNativeDisplayInfoType
deprecated
type CMNativeDisplayInfoType [32]uint16
CMNativeDisplayInfoType is contains color information and a type descriptor for a native display.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmnativedisplayinfotype CMNativeDisplayInfoType is opaque storage with the size and alignment C gives CMNativeDisplayInfoType: 64 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 64 into.
type CMPS2CRDVMSizeType
deprecated
type CMPS2CRDVMSizeType [10]uint16
CMPS2CRDVMSizeType is defines the Apple-defined `'psvm'` optional tag.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmps2crdvmsizetype CMPS2CRDVMSizeType is opaque storage with the size and alignment C gives CMPS2CRDVMSizeType: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.
type CMParametricCurveType
deprecated
type CMParametricCurveType [8]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmparametriccurvetype CMParametricCurveType is opaque storage with the size and alignment C gives CMParametricCurveType: 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 CMPathLocation
deprecated
type CMPathLocation [1024]byte
CMPathLocation is contains path information.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmpathlocation CMPathLocation is opaque storage with the size and alignment C gives CMPathLocation: 1024 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 1024 into.
type CMProfLoc
deprecated
type CMProfLoc [128]uint64
CMProfLoc is defines a union that identifies the location of a profile.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/1560460-cmprofloc CMProfLoc is opaque storage with the size and alignment C gives CMProfLoc: 1024 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 1024 into.
type CMProfileIterateData
deprecated
type CMProfileIterateData [183]uint64
CMProfileIterateData is contains a callback routine with a description of a profile that is during an iteration through the available profiles.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmprofileiteratedata CMProfileIterateData is opaque storage with the size and alignment C gives CMProfileIterateData: 1464 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 1464 into.
type CMProfileIterateUPP
deprecated
CMProfileIterateUPP is defines a universal procedure pointer to a profile iteration callback.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmprofileiterateupp
type CMProfileLocation
deprecated
type CMProfileLocation [129]uint64
CMProfileLocation is contains profile location information.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmprofilelocation CMProfileLocation is opaque storage with the size and alignment C gives CMProfileLocation: 1032 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 1032 into.
type CMProfileMD5
deprecated
type CMProfileMD5 = byte
CMProfileMD5 is defines a data type for an MD5 digest.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmprofilemd5
type CMProfileMD5Ptr
deprecated
type CMProfileMD5Ptr = *uintptr
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmprofilemd5ptr
type CMProfileRef
deprecated
type CMProfileRef uintptr
CMProfileRef is defines a reference to an opaque data type that specifies profile information.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmprofileref
type CMProfileSequenceDescType
deprecated
type CMProfileSequenceDescType [7]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmprofilesequencedesctype CMProfileSequenceDescType is opaque storage with the size and alignment C gives CMProfileSequenceDescType: 14 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 14 into.
type CMS15Fixed16ArrayType
deprecated
type CMS15Fixed16ArrayType [6]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cms15fixed16arraytype CMS15Fixed16ArrayType is opaque storage with the size and alignment C gives CMS15Fixed16ArrayType: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.
type CMScreeningChannelRec
deprecated
type CMScreeningChannelRec [6]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmscreeningchannelrec CMScreeningChannelRec is opaque storage with the size and alignment C gives CMScreeningChannelRec: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.
type CMScreeningType
deprecated
type CMScreeningType [14]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmscreeningtype CMScreeningType is opaque storage with the size and alignment C gives CMScreeningType: 28 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 28 into.
type CMSignatureType
deprecated
type CMSignatureType [6]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmsignaturetype CMSignatureType is opaque storage with the size and alignment C gives CMSignatureType: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.
type CMTagElemTable
deprecated
type CMTagElemTable [8]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmtagelemtable CMTagElemTable is opaque storage with the size and alignment C gives CMTagElemTable: 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 CMTagRecord
deprecated
type CMTagRecord [6]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmtagrecord CMTagRecord is opaque storage with the size and alignment C gives CMTagRecord: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.
type CMTextDescriptionType
deprecated
type CMTextDescriptionType [7]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmtextdescriptiontype CMTextDescriptionType is opaque storage with the size and alignment C gives CMTextDescriptionType: 14 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 14 into.
type CMTextType
deprecated
type CMTextType [5]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmtexttype CMTextType is opaque storage with the size and alignment C gives CMTextType: 10 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 10 into.
type CMU16Fixed16ArrayType
deprecated
type CMU16Fixed16ArrayType [6]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmu16fixed16arraytype CMU16Fixed16ArrayType is opaque storage with the size and alignment C gives CMU16Fixed16ArrayType: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.
type CMUInt8ArrayType
deprecated
type CMUInt8ArrayType [5]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmuint8arraytype CMUInt8ArrayType is opaque storage with the size and alignment C gives CMUInt8ArrayType: 10 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 10 into.
type CMUInt16ArrayType
deprecated
type CMUInt16ArrayType [5]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmuint16arraytype CMUInt16ArrayType is opaque storage with the size and alignment C gives CMUInt16ArrayType: 10 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 10 into.
type CMUInt32ArrayType
deprecated
type CMUInt32ArrayType [6]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmuint32arraytype CMUInt32ArrayType is opaque storage with the size and alignment C gives CMUInt32ArrayType: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.
type CMUInt64ArrayType
deprecated
type CMUInt64ArrayType [6]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmuint64arraytype CMUInt64ArrayType is opaque storage with the size and alignment C gives CMUInt64ArrayType: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.
type CMUcrBgType
deprecated
type CMUcrBgType [7]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmucrbgtype CMUcrBgType is opaque storage with the size and alignment C gives CMUcrBgType: 14 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 14 into.
type CMUnicodeTextType
deprecated
type CMUnicodeTextType [5]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmunicodetexttype CMUnicodeTextType is opaque storage with the size and alignment C gives CMUnicodeTextType: 10 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 10 into.
type CMVideoCardGamma
deprecated
type CMVideoCardGamma [20]uint16
CMVideoCardGamma is contains video gamma data to store with a video gamma profile tag.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmvideocardgamma CMVideoCardGamma is opaque storage with the size and alignment C gives CMVideoCardGamma: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.
type CMVideoCardGammaFormula
deprecated
type CMVideoCardGammaFormula [18]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmvideocardgammaformula CMVideoCardGammaFormula is opaque storage with the size and alignment C gives CMVideoCardGammaFormula: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.
type CMVideoCardGammaTable
deprecated
type CMVideoCardGammaTable [4]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmvideocardgammatable CMVideoCardGammaTable is opaque storage with the size and alignment C gives CMVideoCardGammaTable: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.
type CMVideoCardGammaType
deprecated
type CMVideoCardGammaType [24]uint16
CMVideoCardGammaType is specifies a video card gamma profile tag.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmvideocardgammatype CMVideoCardGammaType is opaque storage with the size and alignment C gives CMVideoCardGammaType: 48 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 48 into.
type CMViewingConditionsType
deprecated
type CMViewingConditionsType [18]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmviewingconditionstype CMViewingConditionsType is opaque storage with the size and alignment C gives CMViewingConditionsType: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.
type CMWorldRef
deprecated
type CMWorldRef uintptr
CMWorldRef is defines an opaque data type used for color-matching and color-checking sessions.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmworldref
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 CMXYZComponent ¶
type CMXYZComponent = uint16
See: https://developer.apple.com/documentation/applicationservices/cmxyzcomponent
type CMXYZType
deprecated
type CMXYZType [10]uint16
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmxyztype CMXYZType is opaque storage with the size and alignment C gives CMXYZType: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.
type CMYxyColor
deprecated
type CMYxyColor [3]uint16
CMYxyColor is contains values for a color expressed in the Yxy color space.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/cmyxycolor CMYxyColor is opaque storage with the size and alignment C gives CMYxyColor: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.
type CQDProcs ¶
type CQDProcs struct {
// contains filtered or unexported fields
}
CQDProcs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cqdprocs
func (*CQDProcs) CommentProc ¶
CommentProc returns the CommentProc field from the record's packed storage.
func (*CQDProcs) GetPicProc ¶
GetPicProc returns the GetPicProc field from the record's packed storage.
func (*CQDProcs) GlyphsProc ¶
GlyphsProc returns the GlyphsProc field from the record's packed storage.
func (*CQDProcs) OpcodeProc ¶
OpcodeProc returns the OpcodeProc field from the record's packed storage.
func (*CQDProcs) PrinterStatusProc ¶
PrinterStatusProc returns the PrinterStatusProc field from the record's packed storage.
func (*CQDProcs) PutPicProc ¶
PutPicProc returns the PutPicProc field from the record's packed storage.
func (*CQDProcs) RRectProc ¶
RRectProc returns the RRectProc field from the record's packed storage.
func (*CQDProcs) SetArcProc ¶ added in v0.6.17
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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) TxMeasProc ¶
TxMeasProc returns the TxMeasProc field from the record's packed storage.
type CQDProcsPtr ¶
type CQDProcsPtr = *CQDProcs
See: https://developer.apple.com/documentation/applicationservices/cqdprocsptr
type CSpecArray ¶
type CSpecArray = ColorSpec
See: https://developer.apple.com/documentation/applicationservices/cspecarray
type CmAToB0TagConstants ¶
type CmAToB0TagConstants uint32
const ( CmAToB0Tag CmAToB0TagConstants = 'A'<<24 | '2'<<16 | 'B'<<8 | '0' // 'A2B0' CmAToB1Tag CmAToB0TagConstants = 'A'<<24 | '2'<<16 | 'B'<<8 | '1' // 'A2B1' CmAToB2Tag CmAToB0TagConstants = 'A'<<24 | '2'<<16 | 'B'<<8 | '2' // 'A2B2' CmBToA0Tag CmAToB0TagConstants = 'B'<<24 | '2'<<16 | 'A'<<8 | '0' // 'B2A0' CmBToA1Tag CmAToB0TagConstants = 'B'<<24 | '2'<<16 | 'A'<<8 | '1' // 'B2A1' CmBToA2Tag CmAToB0TagConstants = 'B'<<24 | '2'<<16 | 'A'<<8 | '2' // 'B2A2' CmBlueColorantTag CmAToB0TagConstants = 'b'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'bXYZ' CmBlueTRCTag CmAToB0TagConstants = 'b'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'bTRC' CmCalibrationDateTimeTag CmAToB0TagConstants = 'c'<<24 | 'a'<<16 | 'l'<<8 | 't' // 'calt' CmCharTargetTag CmAToB0TagConstants = 't'<<24 | 'a'<<16 | 'r'<<8 | 'g' // 'targ' CmChromaticAdaptationTag CmAToB0TagConstants = 'c'<<24 | 'h'<<16 | 'a'<<8 | 'd' // 'chad' CmCopyrightTag CmAToB0TagConstants = 'c'<<24 | 'p'<<16 | 'r'<<8 | 't' // 'cprt' CmDeviceMfgDescTag CmAToB0TagConstants = 'd'<<24 | 'm'<<16 | 'n'<<8 | 'd' // 'dmnd' CmDeviceModelDescTag CmAToB0TagConstants = 'd'<<24 | 'm'<<16 | 'd'<<8 | 'd' // 'dmdd' CmGamutTag CmAToB0TagConstants = 'g'<<24 | 'a'<<16 | 'm'<<8 | 't' // 'gamt' CmGrayTRCTag CmAToB0TagConstants = 'k'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'kTRC' CmGreenColorantTag CmAToB0TagConstants = 'g'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'gXYZ' CmGreenTRCTag CmAToB0TagConstants = 'g'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'gTRC' CmLuminanceTag CmAToB0TagConstants = 'l'<<24 | 'u'<<16 | 'm'<<8 | 'i' // 'lumi' CmMeasurementTag CmAToB0TagConstants = 'm'<<24 | 'e'<<16 | 'a'<<8 | 's' // 'meas' CmMediaBlackPointTag CmAToB0TagConstants = 'b'<<24 | 'k'<<16 | 'p'<<8 | 't' // 'bkpt' CmMediaWhitePointTag CmAToB0TagConstants = 'w'<<24 | 't'<<16 | 'p'<<8 | 't' // 'wtpt' CmNamedColor2Tag CmAToB0TagConstants = 'n'<<24 | 'c'<<16 | 'l'<<8 | '2' // 'ncl2' CmNamedColorTag CmAToB0TagConstants = 'n'<<24 | 'c'<<16 | 'o'<<8 | 'l' // 'ncol' CmPS2CRD0Tag CmAToB0TagConstants = 'p'<<24 | 's'<<16 | 'd'<<8 | '0' // 'psd0' CmPS2CRD1Tag CmAToB0TagConstants = 'p'<<24 | 's'<<16 | 'd'<<8 | '1' // 'psd1' CmPS2CRD2Tag CmAToB0TagConstants = 'p'<<24 | 's'<<16 | 'd'<<8 | '2' // 'psd2' CmPS2CRD3Tag CmAToB0TagConstants = 'p'<<24 | 's'<<16 | 'd'<<8 | '3' // 'psd3' CmPS2CSATag CmAToB0TagConstants = 'p'<<24 | 's'<<16 | '2'<<8 | 's' // 'ps2s' CmPS2RenderingIntentTag CmAToB0TagConstants = 'p'<<24 | 's'<<16 | '2'<<8 | 'i' // 'ps2i' CmPreview0Tag CmAToB0TagConstants = 'p'<<24 | 'r'<<16 | 'e'<<8 | '0' // 'pre0' CmPreview1Tag CmAToB0TagConstants = 'p'<<24 | 'r'<<16 | 'e'<<8 | '1' // 'pre1' CmPreview2Tag CmAToB0TagConstants = 'p'<<24 | 'r'<<16 | 'e'<<8 | '2' // 'pre2' CmProfileDescriptionTag CmAToB0TagConstants = 'd'<<24 | 'e'<<16 | 's'<<8 | 'c' // 'desc' CmProfileSequenceDescTag CmAToB0TagConstants = 'p'<<24 | 's'<<16 | 'e'<<8 | 'q' // 'pseq' CmRedColorantTag CmAToB0TagConstants = 'r'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'rXYZ' CmRedTRCTag CmAToB0TagConstants = 'r'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'rTRC' CmScreeningDescTag CmAToB0TagConstants = 's'<<24 | 'c'<<16 | 'r'<<8 | 'd' // 'scrd' CmScreeningTag CmAToB0TagConstants = 's'<<24 | 'c'<<16 | 'r'<<8 | 'n' // 'scrn' CmTechnologyTag CmAToB0TagConstants = 't'<<24 | 'e'<<16 | 'c'<<8 | 'h' // 'tech' CmUcrBgTag CmAToB0TagConstants = 'b'<<24 | 'f'<<16 | 'd'<<8 | ' ' // 'bfd ' CmViewingConditionsDescTag CmAToB0TagConstants = 'v'<<24 | 'u'<<16 | 'e'<<8 | 'd' // 'vued' CmViewingConditionsTag CmAToB0TagConstants = 'v'<<24 | 'i'<<16 | 'e'<<8 | 'w' // 'view' )
func (CmAToB0TagConstants) String ¶
func (e CmAToB0TagConstants) String() string
type CmAsciiDataConstants ¶
type CmAsciiDataConstants uint32
const ( // CmAsciiData: ASCII data. CmAsciiData CmAsciiDataConstants = 0 // CmBinaryData: Binary data. CmBinaryData CmAsciiDataConstants = 1 )
func (CmAsciiDataConstants) String ¶
func (e CmAsciiDataConstants) 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 ' )
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 CmDeviceDBNotFoundErrConstants ¶
type CmDeviceDBNotFoundErrConstants int32
const ( // CmDeviceAlreadyRegistered: Device already registered; returned by a CM device integration routine. CmDeviceAlreadyRegistered CmDeviceDBNotFoundErrConstants = -4228 // CmDeviceDBNotFoundErr: Preferences not found or loaded; returned by a CM device integration routine. CmDeviceDBNotFoundErr CmDeviceDBNotFoundErrConstants = -4227 // CmDeviceNotRegistered: Device not found; returned by a CM device integration routine. CmDeviceNotRegistered CmDeviceDBNotFoundErrConstants = -4229 // CmDeviceProfilesNotFound: Profiles not found; returned by a CM device integration routine. CmDeviceProfilesNotFound CmDeviceDBNotFoundErrConstants = -4230 // CmInternalCFErr: CoreFoundation failure; returned by a CM device integration routine. CmInternalCFErr CmDeviceDBNotFoundErrConstants = -4231 CmPrefsSynchError CmDeviceDBNotFoundErrConstants = -4232 )
func (CmDeviceDBNotFoundErrConstants) String ¶
func (e CmDeviceDBNotFoundErrConstants) 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 CmFlare0Constants ¶
type CmFlare0Constants uint32
const ( CmFlare0 CmFlare0Constants = 0 CmFlare100 CmFlare0Constants = 0x1 )
func (CmFlare0Constants) String ¶
func (e CmFlare0Constants) String() string
type CmGeometryUnknownConstants ¶
type CmGeometryUnknownConstants uint32
const ( CmGeometry045or450 CmGeometryUnknownConstants = 0x1 CmGeometry0dord0 CmGeometryUnknownConstants = 0x2 CmGeometryUnknown CmGeometryUnknownConstants = 0 )
func (CmGeometryUnknownConstants) String ¶
func (e CmGeometryUnknownConstants) String() string
type CmGray8SpaceConstants ¶
type CmGray8SpaceConstants uint32
const ( CmARGB32PmulSpace CmGray8SpaceConstants = 6337 // CmARGB32Space: # Discussion CmARGB32Space CmGray8SpaceConstants = 6273 CmARGB64LPmulSpace CmGray8SpaceConstants = 31425 CmARGB64LSpace CmGray8SpaceConstants = 31361 CmARGB64PmulSpace CmGray8SpaceConstants = 15041 CmARGB64Space CmGray8SpaceConstants = 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 CmGray8SpaceConstants = 2050 CmCMYK64LSpace CmGray8SpaceConstants = 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 CmGray8SpaceConstants = 10754 // CmGamutResult1Space: # Discussion CmGamutResult1Space CmGray8SpaceConstants = 2828 CmGray16LSpace CmGray8SpaceConstants = 16394 // CmGray16Space: A luminance color space with a single 16-bit component, gray. CmGray16Space CmGray8SpaceConstants = 10 CmGray8Space CmGray8SpaceConstants = 10250 CmGrayA16PmulSpace CmGray8SpaceConstants = 8394 CmGrayA16Space CmGray8SpaceConstants = 8330 CmGrayA32LPmulSpace CmGray8SpaceConstants = 16586 CmGrayA32LSpace CmGray8SpaceConstants = 16522 CmGrayA32PmulSpace CmGray8SpaceConstants = 202 // CmGrayA32Space: A luminance color space with two components, a gray component followed by an alpha channel component. CmGrayA32Space CmGray8SpaceConstants = 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 CmGray8SpaceConstants = 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 CmGray8SpaceConstants = 2563 // CmLAB24Space: # Discussion CmLAB24Space CmGray8SpaceConstants = 8456 // CmLAB32Space: # Discussion CmLAB32Space CmGray8SpaceConstants = 2568 CmLAB48LSpace CmGray8SpaceConstants = 26888 // CmLAB48Space: # Discussion CmLAB48Space CmGray8SpaceConstants = 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 CmGray8SpaceConstants = 2567 // CmMCEight8Space: An eight-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. CmMCEight8Space CmGray8SpaceConstants = 9492 // CmMCFive8Space: A five-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. CmMCFive8Space CmGray8SpaceConstants = 8721 // CmMCSeven8Space: A seven-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. CmMCSeven8Space CmGray8SpaceConstants = 9235 // CmMCSix8Space: A six-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. CmMCSix8Space CmGray8SpaceConstants = 8978 CmNamedIndexed32LSpace CmGray8SpaceConstants = 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 CmGray8SpaceConstants = 10000 CmRGB16LSpace CmGray8SpaceConstants = 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 CmGray8SpaceConstants = 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 CmGray8SpaceConstants = 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 CmGray8SpaceConstants = 2049 CmRGB48LSpace CmGray8SpaceConstants = 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 CmGray8SpaceConstants = 10497 CmRGB565LSpace CmGray8SpaceConstants = 17921 CmRGB565Space CmGray8SpaceConstants = 1537 CmRGBA32PmulSpace CmGray8SpaceConstants = 2241 // CmRGBA32Space: An RGB color space composed of red, green, and blue color value components, followed by an alpha channel component. CmRGBA32Space CmGray8SpaceConstants = 2177 CmRGBA64LPmulSpace CmGray8SpaceConstants = 27329 CmRGBA64LSpace CmGray8SpaceConstants = 27265 CmRGBA64PmulSpace CmGray8SpaceConstants = 10945 CmRGBA64Space CmGray8SpaceConstants = 10881 CmXYZ24Space CmGray8SpaceConstants = 8454 // CmXYZ32Space: An XYZ color space composed of X, Y, and Z components whose values are packed with 10 bits per component. CmXYZ32Space CmGray8SpaceConstants = 2566 CmXYZ48LSpace CmGray8SpaceConstants = 26886 CmXYZ48Space CmGray8SpaceConstants = 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 CmGray8SpaceConstants = 2565 )
func (CmGray8SpaceConstants) String ¶
func (e CmGray8SpaceConstants) String() string
type CmICCProfileVersion4Constants ¶
type CmICCProfileVersion4Constants uint32
const ( CmCS1ProfileVersion CmICCProfileVersion4Constants = 0x100 CmCS2ProfileVersion CmICCProfileVersion4Constants = 33554432 CmICCProfileVersion2 CmICCProfileVersion4Constants = 0x2000000 CmICCProfileVersion21 CmICCProfileVersion4Constants = 0x2100000 CmICCProfileVersion4 CmICCProfileVersion4Constants = 0x4000000 )
func (CmICCProfileVersion4Constants) String ¶
func (e CmICCProfileVersion4Constants) String() string
type CmICCReservedFlagsMaskConstants ¶
type CmICCReservedFlagsMaskConstants int32
const ( CmBlackPointCompensationMask CmICCReservedFlagsMaskConstants = 0x4 // CmCMSReservedFlagsMask: # Discussion CmCMSReservedFlagsMask CmICCReservedFlagsMaskConstants = -65536 // CmEmbeddedMask: This mask provides access to bit 0 of the `flags` field, which specifies whether the profile is embedded. CmEmbeddedMask CmICCReservedFlagsMaskConstants = 0x1 // CmEmbeddedUseMask: # Discussion CmEmbeddedUseMask CmICCReservedFlagsMaskConstants = 0x2 // CmGamutCheckingMask: # Discussion CmGamutCheckingMask CmICCReservedFlagsMaskConstants = 0x80000 // CmICCReservedFlagsMask: # Discussion CmICCReservedFlagsMask CmICCReservedFlagsMaskConstants = 0xffff // CmInterpolationMask: # Discussion CmInterpolationMask CmICCReservedFlagsMaskConstants = 0x40000 // CmQualityMask: # Discussion CmQualityMask CmICCReservedFlagsMaskConstants = 0x30000 )
func (CmICCReservedFlagsMaskConstants) String ¶
func (e CmICCReservedFlagsMaskConstants) 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 CmInputClassConstants ¶
type CmInputClassConstants uint32
const ( // CmAbstractClass: An abstract profile. CmAbstractClass CmInputClassConstants = 'a'<<24 | 'b'<<16 | 's'<<8 | 't' // 'abst' // CmColorSpaceClass: A color space profile. CmColorSpaceClass CmInputClassConstants = 's'<<24 | 'p'<<16 | 'a'<<8 | 'c' // 'spac' // CmDisplayClass: A display device profile defined for a monitor. CmDisplayClass CmInputClassConstants = 'm'<<24 | 'n'<<16 | 't'<<8 | 'r' // 'mntr' // CmInputClass: An input device profile defined for a scanner. CmInputClass CmInputClassConstants = 's'<<24 | 'c'<<16 | 'n'<<8 | 'r' // 'scnr' // CmLinkClass: A device link profile. CmLinkClass CmInputClassConstants = 'l'<<24 | 'i'<<16 | 'n'<<8 | 'k' // 'link' // CmNamedColorClass: A named color space profile. CmNamedColorClass CmInputClassConstants = 'n'<<24 | 'm'<<16 | 'c'<<8 | 'l' // 'nmcl' // CmOutputClass: An output device profile defined for a printer. CmOutputClass CmInputClassConstants = 'p'<<24 | 'r'<<16 | 't'<<8 | 'r' // 'prtr' )
func (CmInputClassConstants) String ¶
func (e CmInputClassConstants) String() string
type CmInputUseConstants ¶
type CmInputUseConstants uint32
const ( CmDisplayUse CmInputUseConstants = 'd'<<24 | 'p'<<16 | 'l'<<8 | 'y' // 'dply' CmInputUse CmInputUseConstants = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt' CmOutputUse CmInputUseConstants = 'o'<<24 | 'u'<<16 | 't'<<8 | 'p' // 'outp' CmProofUse CmInputUseConstants = 'p'<<24 | 'r'<<16 | 'u'<<8 | 'f' // 'pruf' )
func (CmInputUseConstants) String ¶
func (e CmInputUseConstants) 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 )
type CmMacintoshConstants ¶
type CmMacintoshConstants uint32
const ( CmMacintosh CmMacintoshConstants = 'A'<<24 | 'P'<<16 | 'P'<<8 | 'L' // 'APPL' CmMicrosoft CmMacintoshConstants = 'M'<<24 | 'S'<<16 | 'F'<<8 | 'T' // 'MSFT' CmSiliconGraphics CmMacintoshConstants = 'S'<<24 | 'G'<<16 | 'I'<<8 | ' ' // 'SGI ' CmSolaris CmMacintoshConstants = 'S'<<24 | 'U'<<16 | 'N'<<8 | 'W' // 'SUNW' CmTaligent CmMacintoshConstants = 'T'<<24 | 'G'<<16 | 'N'<<8 | 'T' // 'TGNT' )
func (CmMacintoshConstants) String ¶
func (e CmMacintoshConstants) String() string
type CmMagic ¶
type CmMagic uint32
const (
CmMagicNumber CmMagic = 'a'<<24 | 'c'<<16 | 's'<<8 | 'p' // 'acsp'
)
type CmNoColorPackingConstants ¶
type CmNoColorPackingConstants uint32
const ( Cm16_8ColorPacking CmNoColorPackingConstants = 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 CmNoColorPackingConstants = 0x2100 // Cm32_16ColorPacking: The color values for two 16-bit color channels are stored in a 32-bit word. Cm32_16ColorPacking CmNoColorPackingConstants = 0x2600 // Cm32_32ColorPacking: The color value for a 32-bit color channel is stored in a 32-bit word. Cm32_32ColorPacking CmNoColorPackingConstants = 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 CmNoColorPackingConstants = 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 CmNoColorPackingConstants = 0x2200 // Cm48_16ColorPacking: The color values for three 16-bit color channels are stored in 48 consecutive bits. Cm48_16ColorPacking CmNoColorPackingConstants = 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 CmNoColorPackingConstants = 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 CmNoColorPackingConstants = 0x2400 // Cm64_16ColorPacking: The color values for four 16-bit color channels are stored in 64 consecutive bits. Cm64_16ColorPacking CmNoColorPackingConstants = 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 CmNoColorPackingConstants = 0x2500 Cm8_8ColorPacking CmNoColorPackingConstants = 0x2800 // CmAlphaFirstPacking: An alpha channel is added to the color value as its first component. CmAlphaFirstPacking CmNoColorPackingConstants = 0x1000 CmAlphaLastPacking CmNoColorPackingConstants = 0 CmLittleEndianPacking CmNoColorPackingConstants = 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 CmNoColorPackingConstants = 0xa00 // CmLong8ColorPacking: # Discussion CmLong8ColorPacking CmNoColorPackingConstants = 0x800 // CmNoColorPacking: This constant is not used for ColorSync bitmaps. CmNoColorPacking CmNoColorPackingConstants = 0 // CmOneBitDirectPacking: One bit is used as the pixel format. CmOneBitDirectPacking CmNoColorPackingConstants = 0xb00 CmReverseChannelPacking CmNoColorPackingConstants = 0x8000 CmWord565ColorPacking CmNoColorPackingConstants = 0x600 // CmWord5ColorPacking: The color values for three 5-bit color channels are stored consecutively in 16-bits, with the highest order bit unused. CmWord5ColorPacking CmNoColorPackingConstants = 0x500 )
func (CmNoColorPackingConstants) String ¶
func (e CmNoColorPackingConstants) String() string
type CmNoProfileBaseConstants ¶
type CmNoProfileBaseConstants uint32
const ( CmBufferBasedProfile CmNoProfileBaseConstants = 6 // CmNoProfileBase: The profile is temporary. CmNoProfileBase CmNoProfileBaseConstants = 0 CmPathBasedProfile CmNoProfileBaseConstants = 5 )
func (CmNoProfileBaseConstants) String ¶
func (e CmNoProfileBaseConstants) String() string
type CmNoSpaceConstants ¶
type CmNoSpaceConstants uint32
const ( // CmAlphaPmulSpace: A premultiplied alpha channel component is added to the color value. CmAlphaPmulSpace CmNoSpaceConstants = 0x40 // CmAlphaSpace: An alpha channel component is added to the color value. CmAlphaSpace CmNoSpaceConstants = 0x80 // CmCMYKSpace: A CMYK color space composed of cyan, magenta, yellow, and black. CmCMYKSpace CmNoSpaceConstants = 0x2 // CmGamutResultSpace: # Discussion CmGamutResultSpace CmNoSpaceConstants = 0xc CmGrayAPmulSpace CmNoSpaceConstants = 202 // CmGrayASpace: A luminance color space with two components, a gray component followed by an alpha channel component. CmGrayASpace CmNoSpaceConstants = 138 // CmGraySpace: A luminance color space with a single component, gray. CmGraySpace CmNoSpaceConstants = 0xa // CmHLSSpace: An HLS color space composed of hue, lightness, and saturation components. CmHLSSpace CmNoSpaceConstants = 0x4 // CmHSVSpace: An HSV color space composed of hue, saturation, and value components. CmHSVSpace CmNoSpaceConstants = 0x3 // CmLABSpace: An L*a*b* color space composed of L*, a*, b* components. CmLABSpace CmNoSpaceConstants = 0x8 // CmLUVSpace: An L*u*v* color space composed of L*, u*, and v* components. CmLUVSpace CmNoSpaceConstants = 0x7 // CmMCEightSpace: An eight-channel multichannel (HiFi) data color space. CmMCEightSpace CmNoSpaceConstants = 0x14 // CmMCFiveSpace: A five-channel multichannel (HiFi) data color space. CmMCFiveSpace CmNoSpaceConstants = 0x11 // CmMCSevenSpace: A seven-channel multichannel (HiFi) data color space. CmMCSevenSpace CmNoSpaceConstants = 0x13 // CmMCSixSpace: A six-channel multichannel (HiFi) data color space. CmMCSixSpace CmNoSpaceConstants = 0x12 // CmNamedIndexedSpace: A named indexed color space. CmNamedIndexedSpace CmNoSpaceConstants = 0x10 // CmNoSpace: The ColorSync Manager does not use this constant. CmNoSpace CmNoSpaceConstants = 0 CmRGBAPmulSpace CmNoSpaceConstants = 193 // CmRGBASpace: # Discussion CmRGBASpace CmNoSpaceConstants = 129 // CmRGBSpace: An RGB color space composed of red, green, and blue components. CmRGBSpace CmNoSpaceConstants = 0x1 // CmReservedSpace1: This field is reserved for use by QuickDraw GX. CmReservedSpace1 CmNoSpaceConstants = 0x9 // CmReservedSpace2: This field is reserved for use by QuickDraw GX. CmReservedSpace2 CmNoSpaceConstants = 0xb // CmXYZSpace: An XYZ color space composed of X, Y, and Z components. CmXYZSpace CmNoSpaceConstants = 0x6 // CmYXYSpace: A Yxy color space composed of Y, x, and y components. CmYXYSpace CmNoSpaceConstants = 0x5 )
func (CmNoSpaceConstants) String ¶
func (e CmNoSpaceConstants) String() string
type CmNormalModeConstants ¶
type CmNormalModeConstants uint32
const ( // CmBestMode: Best mode indicates that the CMM should maximize resource usage to ensure the highest possible quality. CmBestMode CmNormalModeConstants = 2 // CmDraftMode: Draft mode indicates that the CMM should sacrifice quality, if necessary, to minimize resource requirements. CmDraftMode CmNormalModeConstants = 1 // CmNormalMode: This is the default setting. CmNormalMode CmNormalModeConstants = 0 )
func (CmNormalModeConstants) String ¶
func (e CmNormalModeConstants) String() string
type CmNumHeader ¶
type CmNumHeader uint32
const (
CmNumHeaderElements CmNumHeader = 10
)
func (CmNumHeader) String ¶
func (e CmNumHeader) String() string
type CmOpenReadAccessConstants ¶
type CmOpenReadAccessConstants uint32
const ( // CmAbortWriteAccess: Cancel the current write attempt. CmAbortWriteAccess CmOpenReadAccessConstants = 7 // CmBeginAccess: Begin the process of procedural access. CmBeginAccess CmOpenReadAccessConstants = 8 // CmCloseAccess: Close the profile for reading or writing. CmCloseAccess CmOpenReadAccessConstants = 5 // CmCreateNewAccess: Create a new data stream for the profile. CmCreateNewAccess CmOpenReadAccessConstants = 6 // CmEndAccess: End the process of procedural access. CmEndAccess CmOpenReadAccessConstants = 9 CmOpenReadAccess CmOpenReadAccessConstants = 1 // CmOpenWriteAccess: Open the profile for writing. CmOpenWriteAccess CmOpenReadAccessConstants = 2 // CmReadAccess: Read the number of bytes specified by the `size` parameter. CmReadAccess CmOpenReadAccessConstants = 3 // CmWriteAccess: Write the number of bytes specified by the `size` parameter. CmWriteAccess CmOpenReadAccessConstants = 4 )
func (CmOpenReadAccessConstants) String ¶
func (e CmOpenReadAccessConstants) String() string
type CmOpenReadSpoolConstants ¶
type CmOpenReadSpoolConstants uint32
const ( // CmCloseSpool: Directs the function to complete the data transfer. CmCloseSpool CmOpenReadSpoolConstants = 5 // CmOpenReadSpool: Directs the function to begin the process of reading data. CmOpenReadSpool CmOpenReadSpoolConstants = 1 // CmOpenWriteSpool: Directs the function to begin the process of writing data. CmOpenWriteSpool CmOpenReadSpoolConstants = 2 // CmReadSpool: Directs the function to read the number of bytes specified by the [CMFlattenProcPtr] function’s `size` parameter. CmReadSpool CmOpenReadSpoolConstants = 3 // CmWriteSpool: Directs the function to write the number of bytes specified by the [CMFlattenProcPtr] function’s `size` parameter. CmWriteSpool CmOpenReadSpoolConstants = 4 )
func (CmOpenReadSpoolConstants) String ¶
func (e CmOpenReadSpoolConstants) String() string
type CmOriginalProfileLocationSizeConstants ¶
type CmOriginalProfileLocationSizeConstants uint32
const ( CmCurrentProfileLocationSize CmOriginalProfileLocationSizeConstants = 1032 CmOriginalProfileLocationSize CmOriginalProfileLocationSizeConstants = 72 )
func (CmOriginalProfileLocationSizeConstants) String ¶
func (e CmOriginalProfileLocationSizeConstants) String() string
type CmPS2CRDVMSizeTagConstants ¶
type CmPS2CRDVMSizeTagConstants uint32
const ( CmMakeAndModelTag CmPS2CRDVMSizeTagConstants = 'm'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'mmod' CmNativeDisplayInfoTag CmPS2CRDVMSizeTagConstants = 'n'<<24 | 'd'<<16 | 'i'<<8 | 'n' // 'ndin' CmPS2CRDVMSizeTag CmPS2CRDVMSizeTagConstants = 'p'<<24 | 's'<<16 | 'v'<<8 | 'm' // 'psvm' CmProfileDescriptionMLTag CmPS2CRDVMSizeTagConstants = 'd'<<24 | 's'<<16 | 'c'<<8 | 'm' // 'dscm' // CmVideoCardGammaTag: # Discussion CmVideoCardGammaTag CmPS2CRDVMSizeTagConstants = 'v'<<24 | 'c'<<16 | 'g'<<8 | 't' // 'vcgt' )
func (CmPS2CRDVMSizeTagConstants) String ¶
func (e CmPS2CRDVMSizeTagConstants) 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 CmPerceptualConstants ¶
type CmPerceptualConstants 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 CmPerceptualConstants = 3 // CmPerceptual: All the colors of a given gamut can be scaled to fit within another gamut. CmPerceptual CmPerceptualConstants = 0 // CmRelativeColorimetric: The colors that fall within the gamuts of both devices are left unchanged. CmRelativeColorimetric CmPerceptualConstants = 1 // CmSaturation: The relative saturation of colors is maintained from gamut to gamut. CmSaturation CmPerceptualConstants = 2 )
func (CmPerceptualConstants) String ¶
func (e CmPerceptualConstants) 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 CmProfileMajorVersionMaskConstants ¶
type CmProfileMajorVersionMaskConstants int32
const ( CmCurrentProfileMajorVersion CmProfileMajorVersionMaskConstants = 0x2000000 CmProfileMajorVersionMask CmProfileMajorVersionMaskConstants = -16777216 )
func (CmProfileMajorVersionMaskConstants) String ¶
func (e CmProfileMajorVersionMaskConstants) String() string
type CmPrtrDefaultScreensConstants ¶
type CmPrtrDefaultScreensConstants uint32
const ( // CmLinesPer: Lines per unit; can have an associated value of `0` for lines per centimeter or `1` for lines per inch. CmLinesPer CmPrtrDefaultScreensConstants = 1 // CmPrtrDefaultScreens: Use printer default screens; can have an associated value of `0` for `false` or `1` for `true`. CmPrtrDefaultScreens CmPrtrDefaultScreensConstants = 0 )
func (CmPrtrDefaultScreensConstants) String ¶
func (e CmPrtrDefaultScreensConstants) String() string
type CmReflectiveConstants ¶
type CmReflectiveConstants uint32
const ( // CmGlossy: If the bit 1 of the associated mask is `0` then glossy; if `1` then matte. CmGlossy CmReflectiveConstants = 1 // CmReflective: If the bit 0 of the associated mask is `0` then reflective media; if `1` then transparency media. CmReflective CmReflectiveConstants = 0 )
func (CmReflectiveConstants) String ¶
func (e CmReflectiveConstants) String() string
type CmReflectiveTransparentMaskConstants ¶
type CmReflectiveTransparentMaskConstants uint32
const ( // CmGlossyMatteMask: # Discussion CmGlossyMatteMask CmReflectiveTransparentMaskConstants = 0x2 // CmReflectiveTransparentMask: # Discussion CmReflectiveTransparentMask CmReflectiveTransparentMaskConstants = 0x1 )
func (CmReflectiveTransparentMaskConstants) String ¶
func (e CmReflectiveTransparentMaskConstants) String() string
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 CmScannerDeviceClassConstants ¶
type CmScannerDeviceClassConstants uint32
const ( CmCameraDeviceClass CmScannerDeviceClassConstants = 'c'<<24 | 'm'<<16 | 'r'<<8 | 'a' // 'cmra' CmDisplayDeviceClass CmScannerDeviceClassConstants = 'm'<<24 | 'n'<<16 | 't'<<8 | 'r' // 'mntr' CmPrinterDeviceClass CmScannerDeviceClassConstants = 'p'<<24 | 'r'<<16 | 't'<<8 | 'r' // 'prtr' CmProofDeviceClass CmScannerDeviceClassConstants = 'p'<<24 | 'r'<<16 | 'u'<<8 | 'f' // 'pruf' CmScannerDeviceClass CmScannerDeviceClassConstants = 's'<<24 | 'c'<<16 | 'n'<<8 | 'r' // 'scnr' )
func (CmScannerDeviceClassConstants) String ¶
func (e CmScannerDeviceClassConstants) String() string
type CmSigCrdInfoTypeConstants ¶
type CmSigCrdInfoTypeConstants uint32
const ( CmSigCrdInfoType CmSigCrdInfoTypeConstants = 'c'<<24 | 'r'<<16 | 'd'<<8 | 'i' // 'crdi' CmSigCurveType CmSigCrdInfoTypeConstants = 'c'<<24 | 'u'<<16 | 'r'<<8 | 'v' // 'curv' CmSigDataType CmSigCrdInfoTypeConstants = 'd'<<24 | 'a'<<16 | 't'<<8 | 'a' // 'data' CmSigDateTimeType CmSigCrdInfoTypeConstants = 'd'<<24 | 't'<<16 | 'i'<<8 | 'm' // 'dtim' CmSigLut16Type CmSigCrdInfoTypeConstants = 'm'<<24 | 'f'<<16 | 't'<<8 | '2' // 'mft2' CmSigLut8Type CmSigCrdInfoTypeConstants = 'm'<<24 | 'f'<<16 | 't'<<8 | '1' // 'mft1' CmSigMeasurementType CmSigCrdInfoTypeConstants = 'm'<<24 | 'e'<<16 | 'a'<<8 | 's' // 'meas' CmSigMultiFunctA2BType CmSigCrdInfoTypeConstants = 'm'<<24 | 'A'<<16 | 'B'<<8 | ' ' // 'mAB ' CmSigMultiFunctB2AType CmSigCrdInfoTypeConstants = 'm'<<24 | 'B'<<16 | 'A'<<8 | ' ' // 'mBA ' CmSigNamedColor2Type CmSigCrdInfoTypeConstants = 'n'<<24 | 'c'<<16 | 'l'<<8 | '2' // 'ncl2' CmSigNamedColorType CmSigCrdInfoTypeConstants = 'n'<<24 | 'c'<<16 | 'o'<<8 | 'l' // 'ncol' CmSigParametricCurveType CmSigCrdInfoTypeConstants = 'p'<<24 | 'a'<<16 | 'r'<<8 | 'a' // 'para' CmSigProfileDescriptionType CmSigCrdInfoTypeConstants = 'd'<<24 | 'e'<<16 | 's'<<8 | 'c' // 'desc' CmSigProfileSequenceDescType CmSigCrdInfoTypeConstants = 'p'<<24 | 's'<<16 | 'e'<<8 | 'q' // 'pseq' CmSigS15Fixed16Type CmSigCrdInfoTypeConstants = 's'<<24 | 'f'<<16 | '3'<<8 | '2' // 'sf32' CmSigScreeningType CmSigCrdInfoTypeConstants = 's'<<24 | 'c'<<16 | 'r'<<8 | 'n' // 'scrn' CmSigSignatureType CmSigCrdInfoTypeConstants = 's'<<24 | 'i'<<16 | 'g'<<8 | ' ' // 'sig ' CmSigTextType CmSigCrdInfoTypeConstants = 't'<<24 | 'e'<<16 | 'x'<<8 | 't' // 'text' CmSigU16Fixed16Type CmSigCrdInfoTypeConstants = 'u'<<24 | 'f'<<16 | '3'<<8 | '2' // 'uf32' CmSigU1Fixed15Type CmSigCrdInfoTypeConstants = 'u'<<24 | 'f'<<16 | '1'<<8 | '6' // 'uf16' CmSigUInt16Type CmSigCrdInfoTypeConstants = 'u'<<24 | 'i'<<16 | '1'<<8 | '6' // 'ui16' CmSigUInt32Type CmSigCrdInfoTypeConstants = 'u'<<24 | 'i'<<16 | '3'<<8 | '2' // 'ui32' CmSigUInt64Type CmSigCrdInfoTypeConstants = 'u'<<24 | 'i'<<16 | '6'<<8 | '4' // 'ui64' CmSigUInt8Type CmSigCrdInfoTypeConstants = 'u'<<24 | 'i'<<16 | '0'<<8 | '8' // 'ui08' CmSigUcrBgType CmSigCrdInfoTypeConstants = 'b'<<24 | 'f'<<16 | 'd'<<8 | ' ' // 'bfd ' CmSigUnicodeTextType CmSigCrdInfoTypeConstants = 'u'<<24 | 't'<<16 | 'x'<<8 | 't' // 'utxt' CmSigViewingConditionsType CmSigCrdInfoTypeConstants = 'v'<<24 | 'i'<<16 | 'e'<<8 | 'w' // 'view' CmSigXYZType CmSigCrdInfoTypeConstants = 'X'<<24 | 'Y'<<16 | 'Z'<<8 | ' ' // 'XYZ ' )
func (CmSigCrdInfoTypeConstants) String ¶
func (e CmSigCrdInfoTypeConstants) String() string
type CmSigPS2CRDVMSizeTypeConstants ¶
type CmSigPS2CRDVMSizeTypeConstants uint32
const ( CmSigMakeAndModelType CmSigPS2CRDVMSizeTypeConstants = 'm'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'mmod' CmSigMultiLocalizedUniCodeType CmSigPS2CRDVMSizeTypeConstants = 'm'<<24 | 'l'<<16 | 'u'<<8 | 'c' // 'mluc' CmSigNativeDisplayInfoType CmSigPS2CRDVMSizeTypeConstants = 'n'<<24 | 'd'<<16 | 'i'<<8 | 'n' // 'ndin' CmSigPS2CRDVMSizeType CmSigPS2CRDVMSizeTypeConstants = 'p'<<24 | 's'<<16 | 'v'<<8 | 'm' // 'psvm' // CmSigVideoCardGammaType: # Discussion CmSigVideoCardGammaType CmSigPS2CRDVMSizeTypeConstants = 'v'<<24 | 'c'<<16 | 'g'<<8 | 't' // 'vcgt' )
func (CmSigPS2CRDVMSizeTypeConstants) String ¶
func (e CmSigPS2CRDVMSizeTypeConstants) 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 CmStdobsUnknownConstants ¶
type CmStdobsUnknownConstants uint32
const ( CmStdobs1931TwoDegrees CmStdobsUnknownConstants = 0x1 CmStdobs1964TenDegrees CmStdobsUnknownConstants = 0x2 CmStdobsUnknown CmStdobsUnknownConstants = 0 )
func (CmStdobsUnknownConstants) String ¶
func (e CmStdobsUnknownConstants) 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 CmUseDefaultChromaticAdaptationConstants ¶
type CmUseDefaultChromaticAdaptationConstants uint32
const ( CmBradfordChromaticAdaptation CmUseDefaultChromaticAdaptationConstants = 3 CmLinearChromaticAdaptation CmUseDefaultChromaticAdaptationConstants = 1 CmUseDefaultChromaticAdaptation CmUseDefaultChromaticAdaptationConstants = 0 CmVonKriesChromaticAdaptation CmUseDefaultChromaticAdaptationConstants = 2 )
func (CmUseDefaultChromaticAdaptationConstants) String ¶
func (e CmUseDefaultChromaticAdaptationConstants) String() string
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 CmXYZDataConstants ¶
type CmXYZDataConstants uint32
const ( Cm10CLRData CmXYZDataConstants = 'A'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'ACLR' Cm11CLRData CmXYZDataConstants = 'B'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'BCLR' Cm12CLRData CmXYZDataConstants = 'C'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'CCLR' Cm13CLRData CmXYZDataConstants = 'D'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'DCLR' Cm14CLRData CmXYZDataConstants = 'E'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'ECLR' Cm15CLRData CmXYZDataConstants = 'F'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'FCLR' Cm3CLRData CmXYZDataConstants = '3'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '3CLR' Cm4CLRData CmXYZDataConstants = '4'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '4CLR' Cm5CLRData CmXYZDataConstants = '5'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '5CLR' Cm6CLRData CmXYZDataConstants = '6'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '6CLR' Cm7CLRData CmXYZDataConstants = '7'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '7CLR' Cm8CLRData CmXYZDataConstants = '8'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '8CLR' Cm9CLRData CmXYZDataConstants = '9'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '9CLR' // CmCMYData: The CMY data color space. CmCMYData CmXYZDataConstants = 'C'<<24 | 'M'<<16 | 'Y'<<8 | ' ' // 'CMY ' // CmCMYKData: The CMYK data color space. CmCMYKData CmXYZDataConstants = 'C'<<24 | 'M'<<16 | 'Y'<<8 | 'K' // 'CMYK' // CmGrayData: The Gray data color space. CmGrayData CmXYZDataConstants = 'G'<<24 | 'R'<<16 | 'A'<<8 | 'Y' // 'GRAY' // CmHLSData: The HLS data color space. CmHLSData CmXYZDataConstants = 'H'<<24 | 'L'<<16 | 'S'<<8 | ' ' // 'HLS ' // CmHSVData: The HSV data color space. CmHSVData CmXYZDataConstants = 'H'<<24 | 'S'<<16 | 'V'<<8 | ' ' // 'HSV ' // CmLabData: The L*a*b* data color space. CmLabData CmXYZDataConstants = 'L'<<24 | 'a'<<16 | 'b'<<8 | ' ' // 'Lab ' // CmLuvData: The L*u*v* data color space. CmLuvData CmXYZDataConstants = 'L'<<24 | 'u'<<16 | 'v'<<8 | ' ' // 'Luv ' // CmMCH5Data: The five-channel multichannel (HiFi) data color space. CmMCH5Data CmXYZDataConstants = 'M'<<24 | 'C'<<16 | 'H'<<8 | '5' // 'MCH5' // CmMCH6Data: The six-channel multichannel (HiFi) data color space. CmMCH6Data CmXYZDataConstants = 'M'<<24 | 'C'<<16 | 'H'<<8 | '6' // 'MCH6' // CmMCH7Data: The seven-channel multichannel (HiFi) data color space. CmMCH7Data CmXYZDataConstants = 'M'<<24 | 'C'<<16 | 'H'<<8 | '7' // 'MCH7' // CmMCH8Data: The eight-channel multichannel (HiFi) data color space. CmMCH8Data CmXYZDataConstants = 'M'<<24 | 'C'<<16 | 'H'<<8 | '8' // 'MCH8' CmNamedData CmXYZDataConstants = 'N'<<24 | 'A'<<16 | 'M'<<8 | 'E' // 'NAME' // CmRGBData: The RGB data color space. CmRGBData CmXYZDataConstants = 'R'<<24 | 'G'<<16 | 'B'<<8 | ' ' // 'RGB ' CmSRGBData CmXYZDataConstants = 's'<<24 | 'R'<<16 | 'G'<<8 | 'B' // 'sRGB' // CmXYZData: The XYZ data color space. CmXYZData CmXYZDataConstants = 'X'<<24 | 'Y'<<16 | 'Z'<<8 | ' ' // 'XYZ ' CmYCbCrData CmXYZDataConstants = 'Y'<<24 | 'C'<<16 | 'b'<<8 | 'r' // 'YCbr' // CmYxyData: The Yxy data color space. CmYxyData CmXYZDataConstants = 'Y'<<24 | 'x'<<16 | 'y'<<8 | ' ' // 'Yxy ' )
func (CmXYZDataConstants) String ¶
func (e CmXYZDataConstants) String() string
type ColorComplementProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/colorcomplementprocptr
type ColorComplementUPP ¶
See: https://developer.apple.com/documentation/applicationservices/colorcomplementupp
type ColorSearchProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/colorsearchprocptr
type ColorSearchUPP ¶
See: https://developer.apple.com/documentation/applicationservices/colorsearchupp
type ColorSpec ¶
ColorSpec
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/colorspec
type ColorSpecPtr ¶
type ColorSpecPtr = *ColorSpec
See: https://developer.apple.com/documentation/applicationservices/colorspecptr
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 ConstATSUAttributeValuePtr ¶
See: https://developer.apple.com/documentation/applicationservices/constatsuattributevalueptr
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 DragConstraint ¶
type DragConstraint = uint16
See: https://developer.apple.com/documentation/applicationservices/dragconstraint
type DragGrayRgnProcPtr ¶
type DragGrayRgnProcPtr = func()
See: https://developer.apple.com/documentation/applicationservices/draggrayrgnprocptr
type DragGrayRgnUPP ¶
See: https://developer.apple.com/documentation/applicationservices/draggrayrgnupp
type FMFilterSelector ¶
type FMFilterSelector = uint32
See: https://developer.apple.com/documentation/applicationservices/fmfilterselector
type FMFont ¶
type FMFont = uint32
See: https://developer.apple.com/documentation/applicationservices/fmfont
type FMFontFamily ¶
type FMFontFamily = int16
See: https://developer.apple.com/documentation/applicationservices/fmfontfamily
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 FMFontSize ¶
type FMFontSize = int16
See: https://developer.apple.com/documentation/applicationservices/fmfontsize
type FMFontStyle ¶
type FMFontStyle = int16
See: https://developer.apple.com/documentation/applicationservices/fmfontstyle
type FMGeneration ¶
type FMGeneration = uint32
See: https://developer.apple.com/documentation/applicationservices/fmgeneration
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) FfFirstChar ¶
FfFirstChar returns the FfFirstChar field from the record's packed storage.
func (*FamRec) FfLastChar ¶
FfLastChar returns the FfLastChar field from the record's packed storage.
func (*FamRec) FfProperty ¶
FfProperty returns the FfProperty field from the record's packed storage.
func (*FamRec) SetFfAscent ¶ added in v0.6.17
SetFfAscent updates the FfAscent field in the record's packed storage.
func (*FamRec) SetFfDescent ¶ added in v0.6.17
SetFfDescent updates the FfDescent field in the record's packed storage.
func (*FamRec) SetFfFamID ¶ added in v0.6.17
SetFfFamID updates the FfFamID field in the record's packed storage.
func (*FamRec) SetFfFirstChar ¶ added in v0.6.17
SetFfFirstChar updates the FfFirstChar field in the record's packed storage.
func (*FamRec) SetFfFlags ¶ added in v0.6.17
SetFfFlags updates the FfFlags field in the record's packed storage.
func (*FamRec) SetFfIntl ¶ added in v0.6.17
SetFfIntl updates the FfIntl field in the record's packed storage.
func (*FamRec) SetFfKernOff ¶ added in v0.6.17
SetFfKernOff updates the FfKernOff field in the record's packed storage.
func (*FamRec) SetFfLastChar ¶ added in v0.6.17
SetFfLastChar updates the FfLastChar field in the record's packed storage.
func (*FamRec) SetFfLeading ¶ added in v0.6.17
SetFfLeading updates the FfLeading field in the record's packed storage.
func (*FamRec) SetFfProperty ¶ added in v0.6.17
SetFfProperty updates the FfProperty field in the record's packed storage.
func (*FamRec) SetFfStylOff ¶ added in v0.6.17
SetFfStylOff updates the FfStylOff field in the record's packed storage.
func (*FamRec) SetFfVersion ¶ added in v0.6.17
SetFfVersion updates the FfVersion field in the record's packed storage.
func (*FamRec) SetFfWTabOff ¶ added in v0.6.17
SetFfWTabOff updates the FfWTabOff field in the record's packed storage.
func (*FamRec) SetFfWidMax ¶ added in v0.6.17
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 ¶
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 FontRecHdl ¶
type FontRecHdl = *FontRecPtr
See: https://developer.apple.com/documentation/applicationservices/fontrechdl
type FontRecPtr ¶
type FontRecPtr = *FontRec
See: https://developer.apple.com/documentation/applicationservices/fontrecptr
type GDevice ¶
type GDevice struct {
// contains filtered or unexported fields
}
GDevice
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/gdevice
func (*GDevice) GdCompProc ¶
GdCompProc returns the GdCompProc field from the record's packed storage.
func (*GDevice) GdSearchProc ¶
GdSearchProc returns the GdSearchProc field from the record's packed storage.
func (*GDevice) SetGdCCBytes ¶ added in v0.6.17
SetGdCCBytes updates the GdCCBytes field in the record's packed storage.
func (*GDevice) SetGdCCDepth ¶ added in v0.6.17
SetGdCCDepth updates the GdCCDepth field in the record's packed storage.
func (*GDevice) SetGdCCXData ¶ added in v0.6.17
SetGdCCXData updates the GdCCXData 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) SetGdCCXMask ¶ added in v0.6.17
SetGdCCXMask updates the GdCCXMask 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) SetGdCompProc ¶ added in v0.6.17
SetGdCompProc updates the GdCompProc 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) SetGdExt ¶ added in v0.6.17
SetGdExt updates the GdExt 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) SetGdFlags ¶ added in v0.6.17
SetGdFlags updates the GdFlags field in the record's packed storage.
func (*GDevice) SetGdID ¶ added in v0.6.17
SetGdID updates the GdID field in the record's packed storage.
func (*GDevice) SetGdITable ¶ added in v0.6.17
SetGdITable updates the GdITable 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) SetGdMode ¶ added in v0.6.17
SetGdMode updates the GdMode field in the record's packed storage.
func (*GDevice) SetGdNextGD ¶ added in v0.6.17
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
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
SetGdRect updates the GdRect field in the record's packed storage.
func (*GDevice) SetGdRefCon ¶ added in v0.6.17
SetGdRefCon updates the GdRefCon field in the record's packed storage.
func (*GDevice) SetGdRefNum ¶ added in v0.6.17
SetGdRefNum updates the GdRefNum field in the record's packed storage.
func (*GDevice) SetGdResPref ¶ added in v0.6.17
SetGdResPref updates the GdResPref field in the record's packed storage.
func (*GDevice) SetGdSearchProc ¶ added in v0.6.17
SetGdSearchProc updates the GdSearchProc 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 GlyphCollection ¶
type GlyphCollection = uint16
See: https://developer.apple.com/documentation/applicationservices/glyphcollection
type GlyphID ¶
type GlyphID = uint16
See: https://developer.apple.com/documentation/applicationservices/glyphid
type GrafPort ¶
type GrafPort struct {
Whatever [87]int16
}
GrafPort
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/grafport
type GrafVerb ¶
type GrafVerb = int8
See: https://developer.apple.com/documentation/applicationservices/grafverb
type HIMutableShapeRef ¶
type HIMutableShapeRef uintptr
See: https://developer.apple.com/documentation/applicationservices/himutableshaperef
func HIShapeCreateMutable ¶
func HIShapeCreateMutable() HIMutableShapeRef
HIShapeCreateMutable.
It panics if HIShapeCreateMutable is unavailable at run time; use TryHIShapeCreateMutable to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459565-hishapecreatemutable
func HIShapeCreateMutableCopy ¶
func HIShapeCreateMutableCopy(inOrig HIShapeRef) HIMutableShapeRef
HIShapeCreateMutableCopy.
It panics if HIShapeCreateMutableCopy is unavailable at run time; use TryHIShapeCreateMutableCopy to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463298-hishapecreatemutablecopy
func HIShapeCreateMutableWithRect ¶
func HIShapeCreateMutableWithRect(inRect unsafe.Pointer) HIMutableShapeRef
HIShapeCreateMutableWithRect.
It panics if HIShapeCreateMutableWithRect is unavailable at run time; use TryHIShapeCreateMutableWithRect to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459532-hishapecreatemutablewithrect
func TryHIShapeCreateMutable ¶
func TryHIShapeCreateMutable() (HIMutableShapeRef, error)
TryHIShapeCreateMutable is like HIShapeCreateMutable but returns an error instead of panicking if HIShapeCreateMutable is unavailable at run time.
func TryHIShapeCreateMutableCopy ¶
func TryHIShapeCreateMutableCopy(inOrig HIShapeRef) (HIMutableShapeRef, error)
TryHIShapeCreateMutableCopy is like HIShapeCreateMutableCopy but returns an error instead of panicking if HIShapeCreateMutableCopy is unavailable at run time.
func TryHIShapeCreateMutableWithRect ¶
func TryHIShapeCreateMutableWithRect(inRect unsafe.Pointer) (HIMutableShapeRef, error)
TryHIShapeCreateMutableWithRect is like HIShapeCreateMutableWithRect but returns an error instead of panicking if HIShapeCreateMutableWithRect is unavailable at run time.
type HIShapeEnumerateProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/hishapeenumerateprocptr
type HIShapeRef ¶
type HIShapeRef uintptr
See: https://developer.apple.com/documentation/applicationservices/hishaperef
func HIShapeCreateCopy ¶
func HIShapeCreateCopy(inShape HIShapeRef) HIShapeRef
HIShapeCreateCopy.
It panics if HIShapeCreateCopy is unavailable at run time; use TryHIShapeCreateCopy to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1463131-hishapecreatecopy
func HIShapeCreateDifference ¶
func HIShapeCreateDifference(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
HIShapeCreateDifference.
It panics if HIShapeCreateDifference is unavailable at run time; use TryHIShapeCreateDifference to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460901-hishapecreatedifference
func HIShapeCreateEmpty ¶
func HIShapeCreateEmpty() HIShapeRef
HIShapeCreateEmpty.
It panics if HIShapeCreateEmpty is unavailable at run time; use TryHIShapeCreateEmpty to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462651-hishapecreateempty
func HIShapeCreateIntersection ¶
func HIShapeCreateIntersection(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
HIShapeCreateIntersection.
It panics if HIShapeCreateIntersection is unavailable at run time; use TryHIShapeCreateIntersection to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464400-hishapecreateintersection
func HIShapeCreateUnion ¶
func HIShapeCreateUnion(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
HIShapeCreateUnion.
It panics if HIShapeCreateUnion is unavailable at run time; use TryHIShapeCreateUnion to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460112-hishapecreateunion
func HIShapeCreateWithQDRgn ¶
func HIShapeCreateWithQDRgn(inRgn unsafe.Pointer) HIShapeRef
HIShapeCreateWithQDRgn.
It panics if HIShapeCreateWithQDRgn is unavailable at run time; use TryHIShapeCreateWithQDRgn to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464296-hishapecreatewithqdrgn
func HIShapeCreateWithRect ¶
func HIShapeCreateWithRect(inRect unsafe.Pointer) HIShapeRef
HIShapeCreateWithRect.
It panics if HIShapeCreateWithRect is unavailable at run time; use TryHIShapeCreateWithRect to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1460650-hishapecreatewithrect
func HIShapeCreateXor ¶
func HIShapeCreateXor(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
HIShapeCreateXor.
It panics if HIShapeCreateXor is unavailable at run time; use TryHIShapeCreateXor to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459148-hishapecreatexor
func IconRefToHIShape ¶
func IconRefToHIShape(iconRect unsafe.Pointer, align IconAlignmentType, iconServicesUsageFlags uint32, theIconRef unsafe.Pointer) HIShapeRef
IconRefToHIShape.
It panics if IconRefToHIShape is unavailable at run time; use TryIconRefToHIShape to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1464005-iconreftohishape
func TryHIShapeCreateCopy ¶
func TryHIShapeCreateCopy(inShape HIShapeRef) (HIShapeRef, error)
TryHIShapeCreateCopy is like HIShapeCreateCopy but returns an error instead of panicking if HIShapeCreateCopy is unavailable at run time.
func TryHIShapeCreateDifference ¶
func TryHIShapeCreateDifference(inShape1 HIShapeRef, inShape2 HIShapeRef) (HIShapeRef, error)
TryHIShapeCreateDifference is like HIShapeCreateDifference but returns an error instead of panicking if HIShapeCreateDifference is unavailable at run time.
func TryHIShapeCreateEmpty ¶
func TryHIShapeCreateEmpty() (HIShapeRef, error)
TryHIShapeCreateEmpty is like HIShapeCreateEmpty but returns an error instead of panicking if HIShapeCreateEmpty is unavailable at run time.
func TryHIShapeCreateIntersection ¶
func TryHIShapeCreateIntersection(inShape1 HIShapeRef, inShape2 HIShapeRef) (HIShapeRef, error)
TryHIShapeCreateIntersection is like HIShapeCreateIntersection but returns an error instead of panicking if HIShapeCreateIntersection is unavailable at run time.
func TryHIShapeCreateUnion ¶
func TryHIShapeCreateUnion(inShape1 HIShapeRef, inShape2 HIShapeRef) (HIShapeRef, error)
TryHIShapeCreateUnion is like HIShapeCreateUnion but returns an error instead of panicking if HIShapeCreateUnion is unavailable at run time.
func TryHIShapeCreateWithQDRgn ¶
func TryHIShapeCreateWithQDRgn(inRgn unsafe.Pointer) (HIShapeRef, error)
TryHIShapeCreateWithQDRgn is like HIShapeCreateWithQDRgn but returns an error instead of panicking if HIShapeCreateWithQDRgn is unavailable at run time.
func TryHIShapeCreateWithRect ¶
func TryHIShapeCreateWithRect(inRect unsafe.Pointer) (HIShapeRef, error)
TryHIShapeCreateWithRect is like HIShapeCreateWithRect but returns an error instead of panicking if HIShapeCreateWithRect is unavailable at run time.
func TryHIShapeCreateXor ¶
func TryHIShapeCreateXor(inShape1 HIShapeRef, inShape2 HIShapeRef) (HIShapeRef, error)
TryHIShapeCreateXor is like HIShapeCreateXor but returns an error instead of panicking if HIShapeCreateXor is unavailable at run time.
func TryIconRefToHIShape ¶
func TryIconRefToHIShape(iconRect unsafe.Pointer, align IconAlignmentType, iconServicesUsageFlags uint32, theIconRef unsafe.Pointer) (HIShapeRef, error)
TryIconRefToHIShape is like IconRefToHIShape but returns an error instead of panicking if IconRefToHIShape is unavailable at run time.
type ICAppSpec ¶
type ICAppSpec struct {
// contains filtered or unexported fields
}
ICAppSpec
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icappspec
func (*ICAppSpec) SetFCreator ¶ added in v0.6.17
SetFCreator updates the FCreator field in the record's packed storage.
type ICAppSpecHandle ¶
type ICAppSpecHandle = *ICAppSpecPtr
See: https://developer.apple.com/documentation/applicationservices/icappspechandle
type ICAppSpecList ¶
ICAppSpecList
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icappspeclist
type ICAppSpecListHandle ¶
type ICAppSpecListHandle = *ICAppSpecListPtr
See: https://developer.apple.com/documentation/applicationservices/icappspeclisthandle
type ICAppSpecListPtr ¶
type ICAppSpecListPtr = *ICAppSpecList
See: https://developer.apple.com/documentation/applicationservices/icappspeclistptr
type ICAppSpecPtr ¶
type ICAppSpecPtr = *ICAppSpec
See: https://developer.apple.com/documentation/applicationservices/icappspecptr
type ICCharTable ¶
ICCharTable
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icchartable
type ICCharTableHandle ¶
type ICCharTableHandle = *ICCharTablePtr
See: https://developer.apple.com/documentation/applicationservices/icchartablehandle
type ICCharTablePtr ¶
type ICCharTablePtr = *ICCharTable
See: https://developer.apple.com/documentation/applicationservices/icchartableptr
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() coreservices.AliasRecord
Alias returns the Alias field from the record's packed storage.
func (*ICFileSpec) Fss ¶
func (s *ICFileSpec) Fss() coreservices.FSSpec
Fss returns the Fss field from the record's packed storage.
func (*ICFileSpec) SetAlias ¶ added in v0.6.17
func (s *ICFileSpec) SetAlias(v coreservices.AliasRecord)
SetAlias updates the Alias field in the record's packed storage.
func (*ICFileSpec) SetFss ¶ added in v0.6.17
func (s *ICFileSpec) SetFss(v coreservices.FSSpec)
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 ICFileSpecHandle ¶
type ICFileSpecHandle = *ICFileSpecPtr
See: https://developer.apple.com/documentation/applicationservices/icfilespechandle
type ICFileSpecPtr ¶
type ICFileSpecPtr = *ICFileSpec
See: https://developer.apple.com/documentation/applicationservices/icfilespecptr
type ICFixedLength ¶
type ICFixedLength = int16
See: https://developer.apple.com/documentation/applicationservices/icfixedlength
type ICFontRecord ¶
ICFontRecord
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icfontrecord
type ICFontRecordHandle ¶
type ICFontRecordHandle = *ICFontRecordPtr
See: https://developer.apple.com/documentation/applicationservices/icfontrecordhandle
type ICFontRecordPtr ¶
type ICFontRecordPtr = *ICFontRecord
See: https://developer.apple.com/documentation/applicationservices/icfontrecordptr
type ICInstance ¶
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 ICMapEntryFlags ¶
type ICMapEntryFlags = int32
See: https://developer.apple.com/documentation/applicationservices/icmapentryflags
type ICMapEntryHandle ¶
type ICMapEntryHandle = *ICMapEntryPtr
See: https://developer.apple.com/documentation/applicationservices/icmapentryhandle
type ICMapEntryPtr ¶
type ICMapEntryPtr = *ICMapEntry
See: https://developer.apple.com/documentation/applicationservices/icmapentryptr
type ICProfileID ¶
type ICProfileID = uint32
type ICProfileIDPtr ¶
type ICProfileIDPtr = *ICProfileID
See: https://developer.apple.com/documentation/applicationservices/icprofileidptr
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 ICServiceEntryFlags ¶
type ICServiceEntryFlags = int16
See: https://developer.apple.com/documentation/applicationservices/icserviceentryflags
type ICServiceEntryHandle ¶
type ICServiceEntryHandle = *ICServiceEntryPtr
See: https://developer.apple.com/documentation/applicationservices/icserviceentryhandle
type ICServiceEntryPtr ¶
type ICServiceEntryPtr = *ICServiceEntry
See: https://developer.apple.com/documentation/applicationservices/icserviceentryptr
type ICServices ¶
type ICServices struct {
Count int16
Services [1]ICServiceEntry
}
ICServices
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icservices
type ICServicesHandle ¶
type ICServicesHandle = *ICServicesPtr
See: https://developer.apple.com/documentation/applicationservices/icserviceshandle
type ICServicesPtr ¶
type ICServicesPtr = *ICServices
See: https://developer.apple.com/documentation/applicationservices/icservicesptr
type IcNoPermConstants ¶
type IcNoPermConstants uint32
const ( IcNoPerm IcNoPermConstants = 0 IcReadOnlyPerm IcNoPermConstants = 1 IcReadWritePerm IcNoPermConstants = 2 )
func (IcNoPermConstants) String ¶
func (e IcNoPermConstants) String() string
type IcPrefNotFoundErrConstants ¶
type IcPrefNotFoundErrConstants int32
const ( IcConfigInappropriateErr IcPrefNotFoundErrConstants = -675 IcConfigNotFoundErr IcPrefNotFoundErrConstants = -674 IcInternalErr IcPrefNotFoundErrConstants = -669 IcNoMoreWritersErr IcPrefNotFoundErrConstants = -671 IcNoURLErr IcPrefNotFoundErrConstants = -673 IcNothingToOverrideErr IcPrefNotFoundErrConstants = -672 IcPermErr IcPrefNotFoundErrConstants = -667 IcPrefDataErr IcPrefNotFoundErrConstants = -668 IcPrefNotFoundErr IcPrefNotFoundErrConstants = -666 IcProfileNotFoundErr IcPrefNotFoundErrConstants = -676 IcTooManyProfilesErr IcPrefNotFoundErrConstants = -677 IcTruncatedErr IcPrefNotFoundErrConstants = -670 )
func (IcPrefNotFoundErrConstants) String ¶
func (e IcPrefNotFoundErrConstants) String() string
type IconActionProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/iconactionprocptr
type IconActionUPP ¶
See: https://developer.apple.com/documentation/applicationservices/iconactionupp
func NewIconActionUPP ¶
func NewIconActionUPP(userRoutine IconActionProcPtr) IconActionUPP
NewIconActionUPP.
It panics if NewIconActionUPP is unavailable at run time; use TryNewIconActionUPP to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1462738-newiconactionupp
func TryNewIconActionUPP ¶
func TryNewIconActionUPP(userRoutine IconActionProcPtr) (IconActionUPP, error)
TryNewIconActionUPP is like NewIconActionUPP but returns an error instead of panicking if NewIconActionUPP is unavailable at run time.
type IconAlignmentType ¶
type IconAlignmentType = int16
See: https://developer.apple.com/documentation/applicationservices/iconalignmenttype
type IconGetterProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/icongetterprocptr
type IconGetterUPP ¶
See: https://developer.apple.com/documentation/applicationservices/icongetterupp
func NewIconGetterUPP ¶
func NewIconGetterUPP(userRoutine IconGetterProcPtr) IconGetterUPP
NewIconGetterUPP.
It panics if NewIconGetterUPP is unavailable at run time; use TryNewIconGetterUPP to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1458777-newicongetterupp
func TryNewIconGetterUPP ¶
func TryNewIconGetterUPP(userRoutine IconGetterProcPtr) (IconGetterUPP, error)
TryNewIconGetterUPP is like NewIconGetterUPP but returns an error instead of panicking if NewIconGetterUPP is unavailable at run time.
type IconRef ¶ added in v0.6.16
type IconRef = KPlotIconRef
IconRef is an alias for referenced enum type KPlotIconRef.
type IconSelectorValue ¶
type IconSelectorValue = uint32
See: https://developer.apple.com/documentation/applicationservices/iconselectorvalue
type IconTransformType ¶
type IconTransformType = int16
See: https://developer.apple.com/documentation/applicationservices/icontransformtype
type InitDevConstants ¶
type InitDevConstants uint32
const ( ActivDev InitDevConstants = 5 ClearDev InitDevConstants = 13 CloseDev InitDevConstants = 2 CopyDev InitDevConstants = 11 CursorDev InitDevConstants = 14 CutDev InitDevConstants = 10 DeactivDev InitDevConstants = 6 HitDev InitDevConstants = 1 InitDev InitDevConstants = 0 KeyEvtDev InitDevConstants = 7 MacDev InitDevConstants = 8 NulDev InitDevConstants = 3 PasteDev InitDevConstants = 12 UndoDev InitDevConstants = 9 UpdateDev InitDevConstants = 4 )
func (InitDevConstants) String ¶
func (e InitDevConstants) String() string
type K1MonochromePixelFormatConstants ¶
type K1MonochromePixelFormatConstants uint32
const ( K16BE555PixelFormat K1MonochromePixelFormatConstants = 0x10 K16BE565PixelFormat K1MonochromePixelFormatConstants = 'B'<<24 | '5'<<16 | '6'<<8 | '5' // 'B565' K16LE5551PixelFormat K1MonochromePixelFormatConstants = '5'<<24 | '5'<<16 | '5'<<8 | '1' // '5551' K16LE555PixelFormat K1MonochromePixelFormatConstants = 'L'<<24 | '5'<<16 | '5'<<8 | '5' // 'L555' K16LE565PixelFormat K1MonochromePixelFormatConstants = 'L'<<24 | '5'<<16 | '6'<<8 | '5' // 'L565' K1IndexedGrayPixelFormat K1MonochromePixelFormatConstants = 0x21 K1MonochromePixelFormat K1MonochromePixelFormatConstants = 0x1 K24BGRPixelFormat K1MonochromePixelFormatConstants = '2'<<24 | '4'<<16 | 'B'<<8 | 'G' // '24BG' K24RGBPixelFormat K1MonochromePixelFormatConstants = 0x18 K2IndexedGrayPixelFormat K1MonochromePixelFormatConstants = 0x22 K2IndexedPixelFormat K1MonochromePixelFormatConstants = 0x2 K2vuyPixelFormat K1MonochromePixelFormatConstants = '2'<<24 | 'v'<<16 | 'u'<<8 | 'y' // '2vuy' K32ABGRPixelFormat K1MonochromePixelFormatConstants = 'A'<<24 | 'B'<<16 | 'G'<<8 | 'R' // 'ABGR' K32ARGBPixelFormat K1MonochromePixelFormatConstants = 0x20 K32BGRAPixelFormat K1MonochromePixelFormatConstants = 'B'<<24 | 'G'<<16 | 'R'<<8 | 'A' // 'BGRA' K32RGBAPixelFormat K1MonochromePixelFormatConstants = 'R'<<24 | 'G'<<16 | 'B'<<8 | 'A' // 'RGBA' K4IndexedGrayPixelFormat K1MonochromePixelFormatConstants = 0x24 K4IndexedPixelFormat K1MonochromePixelFormatConstants = 0x4 K8IndexedGrayPixelFormat K1MonochromePixelFormatConstants = 0x28 K8IndexedPixelFormat K1MonochromePixelFormatConstants = 0x8 KUYVY422PixelFormat K1MonochromePixelFormatConstants = 'U'<<24 | 'Y'<<16 | 'V'<<8 | 'Y' // 'UYVY' KYUV211PixelFormat K1MonochromePixelFormatConstants = 'Y'<<24 | '2'<<16 | '1'<<8 | '1' // 'Y211' KYUV411PixelFormat K1MonochromePixelFormatConstants = 'Y'<<24 | '4'<<16 | '1'<<8 | '1' // 'Y411' KYUVSPixelFormat K1MonochromePixelFormatConstants = 'y'<<24 | 'u'<<16 | 'v'<<8 | 's' // 'yuvs' KYUVUPixelFormat K1MonochromePixelFormatConstants = 'y'<<24 | 'u'<<16 | 'v'<<8 | 'u' // 'yuvu' KYVU9PixelFormat K1MonochromePixelFormatConstants = 'Y'<<24 | 'V'<<16 | 'U'<<8 | '9' // 'YVU9' KYVYU422PixelFormat K1MonochromePixelFormatConstants = 'Y'<<24 | 'V'<<16 | 'Y'<<8 | 'U' // 'YVYU' )
func (K1MonochromePixelFormatConstants) String ¶
func (e K1MonochromePixelFormatConstants) String() string
type KATSCubicCurveTypeConstants ¶
type KATSCubicCurveTypeConstants uint32
const ( KATSCubicCurveType KATSCubicCurveTypeConstants = 0x1 KATSOtherCurveType KATSCubicCurveTypeConstants = 0x3 KATSQuadCurveType KATSCubicCurveTypeConstants = 0x2 )
func (KATSCubicCurveTypeConstants) String ¶
func (e KATSCubicCurveTypeConstants) 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 ¶
func (e KATSFlattenedFontSpecifierRawName) String() 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 KATSGenerationUnspecifiedConstants ¶
type KATSGenerationUnspecifiedConstants uint32
const ( KATSFontContainerRefUnspecified KATSGenerationUnspecifiedConstants = 0 KATSFontFamilyRefUnspecified KATSGenerationUnspecifiedConstants = 0 KATSFontRefUnspecified KATSGenerationUnspecifiedConstants = 0 KATSGenerationUnspecified KATSGenerationUnspecifiedConstants = 0 )
func (KATSGenerationUnspecifiedConstants) String ¶
func (e KATSGenerationUnspecifiedConstants) 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 KATSItalicQDSkewConstants ¶
type KATSItalicQDSkewConstants uint32
const ( KATSBoldQDStretch KATSItalicQDSkewConstants = 98304 KATSItalicQDSkew KATSItalicQDSkewConstants = 16384 KATSRadiansFactor KATSItalicQDSkewConstants = 1144 )
func (KATSItalicQDSkewConstants) String ¶
func (e KATSItalicQDSkewConstants) String() string
type KATSIterationCompletedConstants ¶
type KATSIterationCompletedConstants int32
const ( KATSInvalidFontAccess KATSIterationCompletedConstants = -982 KATSInvalidFontContainerAccess KATSIterationCompletedConstants = -985 KATSInvalidFontFamilyAccess KATSIterationCompletedConstants = -981 KATSInvalidFontTableAccess KATSIterationCompletedConstants = -984 KATSInvalidGlyphAccess KATSIterationCompletedConstants = -986 KATSIterationCompleted KATSIterationCompletedConstants = -980 KATSIterationScopeModified KATSIterationCompletedConstants = -983 )
func (KATSIterationCompletedConstants) String ¶
func (e KATSIterationCompletedConstants) 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 )
type KATSOptionFlagsActivateDisabledConstants ¶
type KATSOptionFlagsActivateDisabledConstants uint32
const ( KATSOptionFlagsActivateDisabled KATSOptionFlagsActivateDisabledConstants = 32 KATSOptionFlagsDoNotNotify KATSOptionFlagsActivateDisabledConstants = 128 KATSOptionFlagsProcessSubdirectories KATSOptionFlagsActivateDisabledConstants = 64 KATSOptionFlagsRecordPersistently KATSOptionFlagsActivateDisabledConstants = 262144 )
func (KATSOptionFlagsActivateDisabledConstants) String ¶
func (e KATSOptionFlagsActivateDisabledConstants) String() string
type KATSOptionFlagsDefaultConstants ¶
type KATSOptionFlagsDefaultConstants uint32
const ( KATSOptionFlagsComposeFontPostScriptName KATSOptionFlagsDefaultConstants = 1 KATSOptionFlagsDefault KATSOptionFlagsDefaultConstants = 0 KATSOptionFlagsUseDataFork KATSOptionFlagsDefaultConstants = 768 KATSOptionFlagsUseDataForkAsResourceFork KATSOptionFlagsDefaultConstants = 256 KATSOptionFlagsUseResourceFork KATSOptionFlagsDefaultConstants = 512 )
func (KATSOptionFlagsDefaultConstants) String ¶
func (e KATSOptionFlagsDefaultConstants) String() string
type KATSOptionFlagsIterateByPrecedenceMaskConstants ¶
type KATSOptionFlagsIterateByPrecedenceMaskConstants uint32
const ( KATSOptionFlagsDefaultScope KATSOptionFlagsIterateByPrecedenceMaskConstants = 0 KATSOptionFlagsIncludeDisabledMask KATSOptionFlagsIterateByPrecedenceMaskConstants = 128 KATSOptionFlagsIterateByPrecedenceMask KATSOptionFlagsIterateByPrecedenceMaskConstants = 32 KATSOptionFlagsIterationScopeMask KATSOptionFlagsIterateByPrecedenceMaskConstants = 28672 KATSOptionFlagsRestrictedScope KATSOptionFlagsIterateByPrecedenceMaskConstants = 8192 KATSOptionFlagsUnRestrictedScope KATSOptionFlagsIterateByPrecedenceMaskConstants = 4096 )
func (KATSOptionFlagsIterateByPrecedenceMaskConstants) String ¶
func (e KATSOptionFlagsIterateByPrecedenceMaskConstants) String() string
type KATSUBackground ¶
type KATSUBackground uint32
const ( KATSUBackgroundCallback KATSUBackground = 1 KATSUBackgroundColor KATSUBackground = 0 )
func (KATSUBackground) String ¶
func (e KATSUBackground) String() string
type KATSUDataStreamUnicodeStyled ¶
type KATSUDataStreamUnicodeStyled uint32
const (
KATSUDataStreamUnicodeStyledText KATSUDataStreamUnicodeStyled = 'u'<<24 | 's'<<16 | 't'<<8 | 'l' // 'ustl'
)
func (KATSUDataStreamUnicodeStyled) String ¶
func (e KATSUDataStreamUnicodeStyled) String() string
type KATSUDefaultFontFallbacksConstants ¶
type KATSUDefaultFontFallbacksConstants uint32
const ( KATSUDefaultFontFallbacks KATSUDefaultFontFallbacksConstants = 0 KATSULastResortOnlyFallback KATSUDefaultFontFallbacksConstants = 1 KATSUSequentialFallbacksExclusive KATSUDefaultFontFallbacksConstants = 3 KATSUSequentialFallbacksPreferred KATSUDefaultFontFallbacksConstants = 2 )
func (KATSUDefaultFontFallbacksConstants) String ¶
func (e KATSUDefaultFontFallbacksConstants) 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 ¶
func (e KATSUFlattenOptionNoOptions) String() string
type KATSUFromTextBeginningConstants ¶
type KATSUFromTextBeginningConstants uint32
const ( KATSUFromFollowingLayout KATSUFromTextBeginningConstants = 0xfffffffd KATSUFromPreviousLayout KATSUFromTextBeginningConstants = 0xfffffffe KATSUFromTextBeginning KATSUFromTextBeginningConstants = 0xffffffff KATSUToTextEnd KATSUFromTextBeginningConstants = 0xffffffff )
func (KATSUFromTextBeginningConstants) String ¶
func (e KATSUFromTextBeginningConstants) 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 ¶
func (e KATSULayoutOperationCallbackStatus) String() string
type KATSULeftTabConstants ¶
type KATSULeftTabConstants uint32
const ( KATSUCenterTab KATSULeftTabConstants = 1 KATSUDecimalTab KATSULeftTabConstants = 3 KATSULeftTab KATSULeftTabConstants = 0 KATSUNumberTabTypes KATSULeftTabConstants = 4 KATSURightTab KATSULeftTabConstants = 2 )
func (KATSULeftTabConstants) String ¶
func (e KATSULeftTabConstants) String() string
type KATSULeftToRightBaseDirectionConstants ¶
type KATSULeftToRightBaseDirectionConstants uint32
const ( KATSULeftToRightBaseDirection KATSULeftToRightBaseDirectionConstants = 0 KATSURightToLeftBaseDirection KATSULeftToRightBaseDirectionConstants = 1 )
func (KATSULeftToRightBaseDirectionConstants) String ¶
func (e KATSULeftToRightBaseDirectionConstants) String() string
type KATSULineWidthTagConstants ¶
type KATSULineWidthTagConstants uint32
const ( KATSUAfterWithStreamShiftTag KATSULineWidthTagConstants = 268 KATSUAscentTag KATSULineWidthTagConstants = 284 KATSUBaselineClassTag KATSULineWidthTagConstants = 274 KATSUBeforeWithStreamShiftTag KATSULineWidthTagConstants = 267 KATSUCGContextTag KATSULineWidthTagConstants = 32767 KATSUColorTag KATSULineWidthTagConstants = 263 KATSUCrossStreamShiftTag KATSULineWidthTagConstants = 269 KATSUDecompositionFactorTag KATSULineWidthTagConstants = 273 KATSUDescentTag KATSULineWidthTagConstants = 285 KATSUFontMatrixTag KATSULineWidthTagConstants = 289 KATSUFontTag KATSULineWidthTagConstants = 261 KATSUForceHangingTag KATSULineWidthTagConstants = 280 KATSUGlyphSelectorTag KATSULineWidthTagConstants = 287 KATSUHangingInhibitFactorTag KATSULineWidthTagConstants = 271 KATSUImposeWidthTag KATSULineWidthTagConstants = 266 KATSUKerningInhibitFactorTag KATSULineWidthTagConstants = 272 KATSULangRegionTag KATSULineWidthTagConstants = 264 KATSULanguageTag KATSULineWidthTagConstants = 264 KATSULayoutOperationOverrideTag KATSULineWidthTagConstants = 15 KATSULeadingTag KATSULineWidthTagConstants = 286 KATSULineAscentTag KATSULineWidthTagConstants = 8 KATSULineBaselineValuesTag KATSULineWidthTagConstants = 6 KATSULineDecimalTabCharacterTag KATSULineWidthTagConstants = 14 KATSULineDescentTag KATSULineWidthTagConstants = 9 KATSULineDirectionTag KATSULineWidthTagConstants = 3 KATSULineFlushFactorTag KATSULineWidthTagConstants = 5 KATSULineFontFallbacksTag KATSULineWidthTagConstants = 13 KATSULineHighlightCGColorTag KATSULineWidthTagConstants = 17 KATSULineJustificationFactorTag KATSULineWidthTagConstants = 4 KATSULineLangRegionTag KATSULineWidthTagConstants = 10 KATSULineLanguageTag KATSULineWidthTagConstants = 10 KATSULineLayoutOptionsTag KATSULineWidthTagConstants = 7 KATSULineRotationTag KATSULineWidthTagConstants = 2 KATSULineTextLocatorTag KATSULineWidthTagConstants = 11 KATSULineTruncationTag KATSULineWidthTagConstants = 12 KATSULineWidthTag KATSULineWidthTagConstants = 1 KATSUMaxATSUITagValue KATSULineWidthTagConstants = 65535 KATSUMaxLineTag KATSULineWidthTagConstants = 18 KATSUMaxStyleTag KATSULineWidthTagConstants = 299 KATSUNoCaretAngleTag KATSULineWidthTagConstants = 277 KATSUNoLigatureSplitTag KATSULineWidthTagConstants = 276 KATSUNoOpticalAlignmentTag KATSULineWidthTagConstants = 279 KATSUNoSpecialJustificationTag KATSULineWidthTagConstants = 281 KATSUPriorityJustOverrideTag KATSULineWidthTagConstants = 275 KATSUQDBoldfaceTag KATSULineWidthTagConstants = 256 KATSUQDCondensedTag KATSULineWidthTagConstants = 259 KATSUQDExtendedTag KATSULineWidthTagConstants = 260 KATSUQDItalicTag KATSULineWidthTagConstants = 257 KATSUQDUnderlineTag KATSULineWidthTagConstants = 258 KATSURGBAlphaColorTag KATSULineWidthTagConstants = 288 KATSUSizeTag KATSULineWidthTagConstants = 262 KATSUStyleDropShadowBlurOptionTag KATSULineWidthTagConstants = 296 KATSUStyleDropShadowColorOptionTag KATSULineWidthTagConstants = 298 KATSUStyleDropShadowOffsetOptionTag KATSULineWidthTagConstants = 297 KATSUStyleDropShadowTag KATSULineWidthTagConstants = 295 KATSUStyleRenderingOptionsTag KATSULineWidthTagConstants = 283 KATSUStyleStrikeThroughColorOptionTag KATSULineWidthTagConstants = 294 KATSUStyleStrikeThroughCountOptionTag KATSULineWidthTagConstants = 293 KATSUStyleStrikeThroughTag KATSULineWidthTagConstants = 292 KATSUStyleTextLocatorTag KATSULineWidthTagConstants = 282 KATSUStyleUnderlineColorOptionTag KATSULineWidthTagConstants = 291 KATSUStyleUnderlineCountOptionTag KATSULineWidthTagConstants = 290 KATSUSuppressCrossKerningTag KATSULineWidthTagConstants = 278 KATSUTrackingTag KATSULineWidthTagConstants = 270 KATSUVerticalCharacterTag KATSULineWidthTagConstants = 265 )
func (KATSULineWidthTagConstants) String ¶
func (e KATSULineWidthTagConstants) String() string
type KATSUStrongly ¶
type KATSUStrongly uint32
const ( KATSUStronglyHorizontal KATSUStrongly = 0 KATSUStronglyVertical KATSUStrongly = 1 )
func (KATSUStrongly) String ¶
func (e KATSUStrongly) String() string
type KATSUStyleSingleLineCountConstants ¶
type KATSUStyleSingleLineCountConstants uint32
const ( KATSUStyleDoubleLineCount KATSUStyleSingleLineCountConstants = 2 KATSUStyleSingleLineCount KATSUStyleSingleLineCountConstants = 1 )
func (KATSUStyleSingleLineCountConstants) String ¶
func (e KATSUStyleSingleLineCountConstants) String() string
type KATSUStyleUnequalConstants ¶
type KATSUStyleUnequalConstants uint32
const ( KATSUStyleContainedBy KATSUStyleUnequalConstants = 3 KATSUStyleContains KATSUStyleUnequalConstants = 1 KATSUStyleEquals KATSUStyleUnequalConstants = 2 KATSUStyleUnequal KATSUStyleUnequalConstants = 0 )
func (KATSUStyleUnequalConstants) String ¶
func (e KATSUStyleUnequalConstants) String() string
type KATSUTruncateNoneConstants ¶
type KATSUTruncateNoneConstants uint32
const ( KATSUTruncFeatNoSquishing KATSUTruncateNoneConstants = 0x8 KATSUTruncateEnd KATSUTruncateNoneConstants = 2 KATSUTruncateMiddle KATSUTruncateNoneConstants = 3 KATSUTruncateNone KATSUTruncateNoneConstants = 0 KATSUTruncateSpecificationMask KATSUTruncateNoneConstants = 0x7 KATSUTruncateStart KATSUTruncateNoneConstants = 1 )
func (KATSUTruncateNoneConstants) String ¶
func (e KATSUTruncateNoneConstants) String() string
type KATSUUnFlattenOptionNoOptions ¶
type KATSUUnFlattenOptionNoOptions uint32
const (
KATSUUnFlattenOptionNoOptionsMask KATSUUnFlattenOptionNoOptions = 0
)
func (KATSUUnFlattenOptionNoOptions) String ¶
func (e KATSUUnFlattenOptionNoOptions) String() string
type KATSUUseGrafPortPenLocConstants ¶
type KATSUUseGrafPortPenLocConstants uint32
const ( KATSUClearAll KATSUUseGrafPortPenLocConstants = 0xffffffff KATSUUseGrafPortPenLoc KATSUUseGrafPortPenLocConstants = 0xffffffff )
func (KATSUUseGrafPortPenLocConstants) String ¶
func (e KATSUUseGrafPortPenLocConstants) String() string
type KATSUUseLineControl ¶
type KATSUUseLineControl uint32
const (
KATSUUseLineControlWidth KATSUUseLineControl = 0x7fffffff
)
func (KATSUUseLineControl) String ¶
func (e KATSUUseLineControl) String() string
type KATSUseGlyphAdvanceConstants ¶
type KATSUseGlyphAdvanceConstants int32
const ( KATSNoTracking KATSUseGlyphAdvanceConstants = -2147483648 KATSUseGlyphAdvance KATSUseGlyphAdvanceConstants = 0x7fffffff KATSUseLineHeight KATSUseGlyphAdvanceConstants = 0x7fffffff )
func (KATSUseGlyphAdvanceConstants) String ¶
func (e KATSUseGlyphAdvanceConstants) 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 )
type KAllPPDDomainsConstants ¶
type KAllPPDDomainsConstants uint32
const ( // KAllPPDDomains: # Discussion KAllPPDDomains KAllPPDDomainsConstants = 1 // KCUPSPPDDomain: # Discussion KCUPSPPDDomain KAllPPDDomainsConstants = 6 // KLocalPPDDomain: # Discussion KLocalPPDDomain KAllPPDDomainsConstants = 3 // KNetworkPPDDomain: # Discussion KNetworkPPDDomain KAllPPDDomainsConstants = 4 // KSystemPPDDomain: # Discussion KSystemPPDDomain KAllPPDDomainsConstants = 2 // KUserPPDDomain: # Discussion KUserPPDDomain KAllPPDDomainsConstants = 5 )
func (KAllPPDDomainsConstants) String ¶
func (e KAllPPDDomainsConstants) 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 KFMFontTechnologyFilterSelectorConstants ¶
type KFMFontTechnologyFilterSelectorConstants uint32
const ( KFMFontCallbackFilterSelector KFMFontTechnologyFilterSelectorConstants = 5 KFMFontContainerFilterSelector KFMFontTechnologyFilterSelectorConstants = 2 KFMFontDirectoryFilterSelector KFMFontTechnologyFilterSelectorConstants = 6 KFMFontFamilyCallbackFilterSelector KFMFontTechnologyFilterSelectorConstants = 4 KFMFontFileRefFilterSelector KFMFontTechnologyFilterSelectorConstants = 10 KFMFontTechnologyFilterSelector KFMFontTechnologyFilterSelectorConstants = 1 KFMGenerationFilterSelector KFMFontTechnologyFilterSelectorConstants = 3 )
func (KFMFontTechnologyFilterSelectorConstants) String ¶
func (e KFMFontTechnologyFilterSelectorConstants) String() string
type KFMTrueTypeFontTechnologyConstants ¶
type KFMTrueTypeFontTechnologyConstants uint32
const ( KFMPostScriptFontTechnology KFMTrueTypeFontTechnologyConstants = 't'<<24 | 'y'<<16 | 'p'<<8 | '1' // 'typ1' KFMTrueTypeFontTechnology KFMTrueTypeFontTechnologyConstants = 't'<<24 | 'r'<<16 | 'u'<<8 | 'e' // 'true' )
func (KFMTrueTypeFontTechnologyConstants) String ¶
func (e KFMTrueTypeFontTechnologyConstants) 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 KICAttrLockedBitConstants ¶
type KICAttrLockedBitConstants uint32
const ( KICAttrLockedBit KICAttrLockedBitConstants = 0 KICAttrVolatileBit KICAttrLockedBitConstants = 1 )
func (KICAttrLockedBitConstants) String ¶
func (e KICAttrLockedBitConstants) String() string
type KICAttrNoChangeConstants ¶
type KICAttrNoChangeConstants uint32
const ( KICAttrLockedMask KICAttrNoChangeConstants = 0x1 KICAttrNoChange KICAttrNoChangeConstants = 0xffffffff KICAttrVolatileMask KICAttrNoChangeConstants = 0x2 )
func (KICAttrNoChangeConstants) String ¶
func (e KICAttrNoChangeConstants) 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 KICComponentVersionConstants ¶
type KICComponentVersionConstants uint32
const ( KICComponentVersion KICComponentVersionConstants = 0 KICNumVersion KICComponentVersionConstants = 1 )
func (KICComponentVersionConstants) String ¶
func (e KICComponentVersionConstants) String() string
type KICEditPreferenceEventClassConstants ¶
type KICEditPreferenceEventClassConstants uint32
const ( KICEditPreferenceEvent KICEditPreferenceEventClassConstants = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp' KICEditPreferenceEventClass KICEditPreferenceEventClassConstants = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp' KeyICEditPreferenceDestination KICEditPreferenceEventClassConstants = 'd'<<24 | 'e'<<16 | 's'<<8 | 't' // 'dest' )
func (KICEditPreferenceEventClassConstants) String ¶
func (e KICEditPreferenceEventClassConstants) String() string
type KICFileSpecHeader ¶
type KICFileSpecHeader uint32
const (
KICFileSpecHeaderSize KICFileSpecHeader = 106
)
func (KICFileSpecHeader) String ¶
func (e KICFileSpecHeader) String() string
type KICFileTypeConstants ¶
type KICFileTypeConstants uint32
const ( KICCreator KICFileTypeConstants = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp' KICFileType KICFileTypeConstants = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp' )
func (KICFileTypeConstants) String ¶
func (e KICFileTypeConstants) String() string
type KICMapBinaryBitConstants ¶
type KICMapBinaryBitConstants uint32
const ( KICMapBinaryBit KICMapBinaryBitConstants = 0 KICMapDataForkBit KICMapBinaryBitConstants = 2 KICMapNotIncomingBit KICMapBinaryBitConstants = 4 KICMapNotOutgoingBit KICMapBinaryBitConstants = 5 KICMapPostBit KICMapBinaryBitConstants = 3 KICMapResourceForkBit KICMapBinaryBitConstants = 1 )
func (KICMapBinaryBitConstants) String ¶
func (e KICMapBinaryBitConstants) String() string
type KICMapBinaryMaskConstants ¶
type KICMapBinaryMaskConstants uint32
const ( KICMapBinaryMask KICMapBinaryMaskConstants = 0x1 KICMapDataForkMask KICMapBinaryMaskConstants = 0x4 KICMapNotIncomingMask KICMapBinaryMaskConstants = 0x10 KICMapNotOutgoingMask KICMapBinaryMaskConstants = 0x20 KICMapPostMask KICMapBinaryMaskConstants = 0x8 KICMapResourceForkMask KICMapBinaryMaskConstants = 0x2 )
func (KICMapBinaryMaskConstants) String ¶
func (e KICMapBinaryMaskConstants) 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 KICNoUserInteractionBitConstants ¶
type KICNoUserInteractionBitConstants uint32
const (
KICNoUserInteractionBit KICNoUserInteractionBitConstants = 0
)
func (KICNoUserInteractionBitConstants) String ¶
func (e KICNoUserInteractionBitConstants) String() string
type KICNoUserInteractionMaskConstants ¶
type KICNoUserInteractionMaskConstants uint32
const (
KICNoUserInteractionMask KICNoUserInteractionMaskConstants = 0x1
)
func (KICNoUserInteractionMaskConstants) String ¶
func (e KICNoUserInteractionMaskConstants) String() string
type KICServicesTCPBitConstants ¶
type KICServicesTCPBitConstants uint32
const ( KICServicesTCPBit KICServicesTCPBitConstants = 0 KICServicesUDPBit KICServicesTCPBitConstants = 1 )
func (KICServicesTCPBitConstants) String ¶
func (e KICServicesTCPBitConstants) String() string
type KICServicesTCPMaskConstants ¶
type KICServicesTCPMaskConstants uint32
const ( KICServicesTCPMask KICServicesTCPMaskConstants = 0x1 KICServicesUDPMask KICServicesTCPMaskConstants = 0x2 )
func (KICServicesTCPMaskConstants) String ¶
func (e KICServicesTCPMaskConstants) String() string
type KImmediateConstants ¶
type KImmediateConstants int32
const ( // KEndOfSentence: Speech should be paused or stopped at the end of the sentence. KEndOfSentence KImmediateConstants = 2 // KEndOfWord: Speech should be paused or stopped at the endof the word. KEndOfWord KImmediateConstants = 1 // KImmediate: Speech should be paused or stopped immediately. KImmediate KImmediateConstants = 0 )
func (KImmediateConstants) String ¶
func (e KImmediateConstants) String() string
type KInternetEventClassConstants ¶
type KInternetEventClassConstants uint32
const ( KAEFetchURL KInternetEventClassConstants = 'F'<<24 | 'U'<<16 | 'R'<<8 | 'L' // 'FURL' KAEGetURL KInternetEventClassConstants = 'G'<<24 | 'U'<<16 | 'R'<<8 | 'L' // 'GURL' KInternetEventClass KInternetEventClassConstants = 'G'<<24 | 'U'<<16 | 'R'<<8 | 'L' // 'GURL' KeyAEAttaching KInternetEventClassConstants = 'A'<<24 | 't'<<16 | 'c'<<8 | 'h' // 'Atch' )
func (KInternetEventClassConstants) String ¶
func (e KInternetEventClassConstants) String() string
type KInvertHighlightingConstants ¶
type KInvertHighlightingConstants uint32
const ( KInvertHighlighting KInvertHighlightingConstants = 0 KRedrawHighlighting KInvertHighlightingConstants = 1 )
func (KInvertHighlightingConstants) String ¶
func (e KInvertHighlightingConstants) String() string
type KNeuterConstants ¶
type KNeuterConstants int16
const ( // KFemale: Female voice. KFemale KNeuterConstants = 2 // KMale: Male voice. KMale KNeuterConstants = 1 // KNeuter: Neuter voice. KNeuter KNeuterConstants = 0 )
func (KNeuterConstants) String ¶
func (e KNeuterConstants) String() string
type KNoConstraintConstants ¶
type KNoConstraintConstants uint32
const ( KHorizontalConstraint KNoConstraintConstants = 2 KNoConstraint KNoConstraintConstants = 0 KVerticalConstraint KNoConstraintConstants = 1 )
func (KNoConstraintConstants) String ¶
func (e KNoConstraintConstants) String() string
type KNoEndingProsodyConstants ¶
type KNoEndingProsodyConstants int32
const ( // KNoEndingProsody: # Discussion KNoEndingProsody KNoEndingProsodyConstants = 1 // KNoSpeechInterrupt: # Discussion KNoSpeechInterrupt KNoEndingProsodyConstants = 2 // KPreflightThenPause: # Discussion KPreflightThenPause KNoEndingProsodyConstants = 4 )
func (KNoEndingProsodyConstants) String ¶
func (e KNoEndingProsodyConstants) String() string
type KNoProcessConstants ¶
type KNoProcessConstants uint32
const ( KCurrentProcess KNoProcessConstants = 2 KNoProcess KNoProcessConstants = 0 KSystemProcess KNoProcessConstants = 1 )
func (KNoProcessConstants) String ¶
func (e KNoProcessConstants) String() string
type KNoTransformConstants ¶
type KNoTransformConstants int32
const ( // KDeviceToPCS: Device Dependent to Device Independent KDeviceToPCS KNoTransformConstants = 1 // KNoTransform: Not used. KNoTransform KNoTransformConstants = 0 // KPCSToDevice: Device Independent to Device Dependent KPCSToDevice KNoTransformConstants = 2 // KPCSToPCS: Independent, through device's gamut KPCSToPCS KNoTransformConstants = 3 // KUseAtoB: Use 'A2B*' tag from this profile or equivalent KUseAtoB KNoTransformConstants = 1 // KUseBtoA: Use 'B2A*' tag from this profile or equivalent KUseBtoA KNoTransformConstants = 2 // KUseBtoB: Use 'pre*' tag from this profile or equivalent KUseBtoB KNoTransformConstants = 3 // KUseProfileIntent: For renderingIntent in NCMConcatProfileSpec KUseProfileIntent KNoTransformConstants = -1 )
func (KNoTransformConstants) String ¶
func (e KNoTransformConstants) String() string
type KPMAllocationFailureConstants ¶
type KPMAllocationFailureConstants int32
const ( KPMAllocationFailure KPMAllocationFailureConstants = -108 KPMCVMSymbolNotFound KPMAllocationFailureConstants = -9662 KPMCloseFailed KPMAllocationFailureConstants = -9785 KPMCreateMessageFailed KPMAllocationFailureConstants = -9620 KPMDeleteSubTicketFailed KPMAllocationFailureConstants = -9585 KPMDocumentNotFound KPMAllocationFailureConstants = -9644 KPMDontSwitchPDEError KPMAllocationFailureConstants = -9531 KPMEditRequestFailed KPMAllocationFailureConstants = -9544 KPMFeatureNotInstalled KPMAllocationFailureConstants = -9533 KPMFileOrDirOperationFailed KPMAllocationFailureConstants = -9634 KPMFontNameTooLong KPMAllocationFailureConstants = -9704 KPMFontNotFound KPMAllocationFailureConstants = -9703 KPMGeneralCGError KPMAllocationFailureConstants = -9705 KPMIOAttrNotAvailable KPMAllocationFailureConstants = -9787 KPMIOMSymbolNotFound KPMAllocationFailureConstants = -9661 KPMInternalError KPMAllocationFailureConstants = -30870 // KPMInvalidAllocator: The specified memory allocator is invalid. KPMInvalidAllocator KPMAllocationFailureConstants = -30890 KPMInvalidCVMContext KPMAllocationFailureConstants = -9665 // KPMInvalidCalibrationTarget: The dictionary specifying a printer calibration target is invalid. KPMInvalidCalibrationTarget KPMAllocationFailureConstants = -30898 // KPMInvalidConnection: The printer connection type is invalid. KPMInvalidConnection KPMAllocationFailureConstants = -30887 // KPMInvalidFileType: The file type is invalid. KPMInvalidFileType KPMAllocationFailureConstants = -30895 KPMInvalidIOMContext KPMAllocationFailureConstants = -9664 // KPMInvalidIndex: An array index is invalid. KPMInvalidIndex KPMAllocationFailureConstants = -30882 // KPMInvalidItem: The item being added to a ticket is invalid. KPMInvalidItem KPMAllocationFailureConstants = -30892 KPMInvalidJobID KPMAllocationFailureConstants = -9666 // KPMInvalidJobTemplate: An internal error occurred while creating a job template. KPMInvalidJobTemplate KPMAllocationFailureConstants = -30885 // KPMInvalidKey: The key in a ticket, job template, or dictionary is invalid. KPMInvalidKey KPMAllocationFailureConstants = -30888 KPMInvalidLookupSpec KPMAllocationFailureConstants = -9542 // KPMInvalidObject: The object is invalid. KPMInvalidObject KPMAllocationFailureConstants = -30896 KPMInvalidPBMRef KPMAllocationFailureConstants = -9540 KPMInvalidPDEContext KPMAllocationFailureConstants = -9530 KPMInvalidPMContext KPMAllocationFailureConstants = -9663 // KPMInvalidPaper: Your application passed an invalid paper object. KPMInvalidPaper KPMAllocationFailureConstants = -30897 KPMInvalidPrinterAddress KPMAllocationFailureConstants = -9780 // KPMInvalidPrinterInfo: The printer information is invalid. KPMInvalidPrinterInfo KPMAllocationFailureConstants = -30886 // KPMInvalidReply: A remote server or client sent an invalid reply. KPMInvalidReply KPMAllocationFailureConstants = -30894 KPMInvalidState KPMAllocationFailureConstants = -9706 KPMInvalidSubTicket KPMAllocationFailureConstants = -9584 // KPMInvalidTicket: The job ticket is invalid. KPMInvalidTicket KPMAllocationFailureConstants = -30891 // KPMInvalidType: The data type in a ticket, job template, or dictionary is not the expected type. KPMInvalidType KPMAllocationFailureConstants = -30893 // KPMInvalidValue: The value in a ticket, job template, or dictionary is missing. KPMInvalidValue KPMAllocationFailureConstants = -30889 KPMItemIsLocked KPMAllocationFailureConstants = -9586 KPMJobBusy KPMAllocationFailureConstants = -9642 KPMJobCanceled KPMAllocationFailureConstants = -9643 KPMJobGetTicketBadFormatError KPMAllocationFailureConstants = -9672 KPMJobGetTicketReadError KPMAllocationFailureConstants = -9673 KPMJobManagerAborted KPMAllocationFailureConstants = -9671 KPMJobNotFound KPMAllocationFailureConstants = -9641 KPMJobStreamEndError KPMAllocationFailureConstants = -9670 KPMJobStreamOpenFailed KPMAllocationFailureConstants = -9668 KPMJobStreamReadFailed KPMAllocationFailureConstants = -9669 KPMKeyNotFound KPMAllocationFailureConstants = -9589 KPMKeyNotUnique KPMAllocationFailureConstants = -9590 KPMKeyOrValueNotFound KPMAllocationFailureConstants = -9623 KPMLastErrorCodeToMakeMaintenanceOfThisListEasier KPMAllocationFailureConstants = -9799 KPMMessagingError KPMAllocationFailureConstants = -9624 KPMNoDefaultItem KPMAllocationFailureConstants = -9500 KPMNoDefaultSettings KPMAllocationFailureConstants = -9501 KPMNoPrinterJobID KPMAllocationFailureConstants = -9667 KPMNoSelectedPrinters KPMAllocationFailureConstants = -9541 KPMOpenFailed KPMAllocationFailureConstants = -9781 KPMPMSymbolNotFound KPMAllocationFailureConstants = -9660 KPMPermissionError KPMAllocationFailureConstants = -9636 KPMPluginNotFound KPMAllocationFailureConstants = -9701 KPMPluginRegisterationFailed KPMAllocationFailureConstants = -9702 KPMPrBrowserNoUI KPMAllocationFailureConstants = -9545 KPMQueueAlreadyExists KPMAllocationFailureConstants = -9639 KPMQueueJobFailed KPMAllocationFailureConstants = -9640 KPMQueueNotFound KPMAllocationFailureConstants = -9638 KPMReadFailed KPMAllocationFailureConstants = -9782 KPMReadGotZeroData KPMAllocationFailureConstants = -9788 KPMServerAlreadyRunning KPMAllocationFailureConstants = -9631 KPMServerAttributeRestricted KPMAllocationFailureConstants = -9633 KPMServerCommunicationFailed KPMAllocationFailureConstants = -9621 KPMServerNotFound KPMAllocationFailureConstants = -9630 KPMServerSuspended KPMAllocationFailureConstants = -9632 KPMStatusFailed KPMAllocationFailureConstants = -9784 // KPMStringConversionFailure: An internal error occurred while converting a string. KPMStringConversionFailure KPMAllocationFailureConstants = -30883 KPMSubTicketNotFound KPMAllocationFailureConstants = -9583 KPMSyncRequestFailed KPMAllocationFailureConstants = -9543 KPMTemplateIsLocked KPMAllocationFailureConstants = -9588 KPMTicketIsLocked KPMAllocationFailureConstants = -9587 KPMTicketTypeNotFound KPMAllocationFailureConstants = -9580 KPMUnableToFindProcess KPMAllocationFailureConstants = -9532 KPMUnexpectedImagingError KPMAllocationFailureConstants = -9707 KPMUnknownDataType KPMAllocationFailureConstants = -9591 KPMUnknownMessage KPMAllocationFailureConstants = -9637 KPMUnsupportedConnection KPMAllocationFailureConstants = -9786 KPMUpdateTicketFailed KPMAllocationFailureConstants = -9581 KPMUserOrGroupNotFound KPMAllocationFailureConstants = -9635 KPMValidateTicketFailed KPMAllocationFailureConstants = -9582 KPMWriteFailed KPMAllocationFailureConstants = -9783 // KPMXMLParseError: An error occurred while parsing XML data. KPMXMLParseError KPMAllocationFailureConstants = -30884 )
func (KPMAllocationFailureConstants) String ¶
func (e KPMAllocationFailureConstants) String() string
type KPMCancelConstants ¶
type KPMCancelConstants uint32
const ( // KPMCancel: Specifies that the user clicked the Cancel button in a Print or Page Setup dialog. KPMCancel KPMCancelConstants = 0x80 )
func (KPMCancelConstants) String ¶
func (e KPMCancelConstants) 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 KPMDuplexNoneConstants ¶
type KPMDuplexNoneConstants uint32
const ( // KPMDuplexNoTumble: # Discussion KPMDuplexNoTumble KPMDuplexNoneConstants = 0x2 // KPMDuplexNone: # Discussion KPMDuplexNone KPMDuplexNoneConstants = 0x1 // KPMDuplexTumble: # Discussion KPMDuplexTumble KPMDuplexNoneConstants = 0x3 // KPMSimplexTumble: # Discussion KPMSimplexTumble KPMDuplexNoneConstants = 0x4 )
func (KPMDuplexNoneConstants) String ¶
func (e KPMDuplexNoneConstants) String() string
type KPMHideInlineItemsConstants ¶
type KPMHideInlineItemsConstants uint32
const ( KPMHideInlineItems KPMHideInlineItemsConstants = 0 KPMShowDefaultInlineItems KPMHideInlineItemsConstants = 32768 KPMShowInlineCopies KPMHideInlineItemsConstants = 1 KPMShowInlineOrientation KPMHideInlineItemsConstants = 8 KPMShowInlinePageRange KPMHideInlineItemsConstants = 2 KPMShowInlinePageRangeWithSelection KPMHideInlineItemsConstants = 64 KPMShowInlinePaperSize KPMHideInlineItemsConstants = 4 KPMShowInlineScale KPMHideInlineItemsConstants = 128 KPMShowPageAttributesPDE KPMHideInlineItemsConstants = 256 )
func (KPMHideInlineItemsConstants) String ¶
func (e KPMHideInlineItemsConstants) String() string
type KPMInvalidPrintSessionConstants ¶
type KPMInvalidPrintSessionConstants int32
const ( // KPMInvalidPreset: Your application passed an invalid preset object. KPMInvalidPreset KPMInvalidPrintSessionConstants = -30899 // KPMInvalidPrintSession: Your application passed an invalid printing session object. KPMInvalidPrintSession KPMInvalidPrintSessionConstants = -30879 // KPMInvalidPrinter: Your application passed an invalid printer object. KPMInvalidPrinter KPMInvalidPrintSessionConstants = -30880 // KPMObjectInUse: The specified object is in use. KPMObjectInUse KPMInvalidPrintSessionConstants = -30881 )
func (KPMInvalidPrintSessionConstants) String ¶
func (e KPMInvalidPrintSessionConstants) 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 )
type KPMNoErrorConstants ¶
type KPMNoErrorConstants int32
const ( // KPMGeneralError: An unspecified error occurred. KPMGeneralError KPMNoErrorConstants = -30870 // KPMInvalidPageFormat: Your application passed an invalid page format object. KPMInvalidPageFormat KPMNoErrorConstants = -30876 KPMInvalidParameter KPMNoErrorConstants = -50 // KPMInvalidPrintSettings: Your application passed an invalid print settings object. KPMInvalidPrintSettings KPMNoErrorConstants = -30875 // KPMNoDefaultPrinter: The user has not specified a default printer. KPMNoDefaultPrinter KPMNoErrorConstants = -30872 KPMNoError KPMNoErrorConstants = 0 // KPMNoSuchEntry: There is no entry to match your application’s request. KPMNoSuchEntry KPMNoErrorConstants = -30874 // KPMNotImplemented: The function is not implemented. KPMNotImplemented KPMNoErrorConstants = -30873 // KPMOutOfScope: Your application called this function out of sequence with other printing functions. KPMOutOfScope KPMNoErrorConstants = -30871 // KPMValueOutOfRange: Your application passed an out-of-range value. KPMValueOutOfRange KPMNoErrorConstants = -30877 )
func (KPMNoErrorConstants) String ¶
func (e KPMNoErrorConstants) 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 KPMPortraitConstants ¶
type KPMPortraitConstants uint32
const ( // KPMLandscape: # Discussion KPMLandscape KPMPortraitConstants = 2 // KPMPortrait: Specifies portrait (vertical) page orientation. KPMPortrait KPMPortraitConstants = 1 // KPMReverseLandscape: # Discussion KPMReverseLandscape KPMPortraitConstants = 4 // KPMReversePortrait: # Discussion KPMReversePortrait KPMPortraitConstants = 3 )
func (KPMPortraitConstants) String ¶
func (e KPMPortraitConstants) 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 KPMUnknownColorSpaceModelConstants ¶
type KPMUnknownColorSpaceModelConstants uint32
const ( KPMCMYKColorSpaceModel KPMUnknownColorSpaceModelConstants = 3 KPMDevNColorSpaceModel KPMUnknownColorSpaceModelConstants = 4 KPMGrayColorSpaceModel KPMUnknownColorSpaceModelConstants = 1 KPMRGBColorSpaceModel KPMUnknownColorSpaceModelConstants = 2 KPMUnknownColorSpaceModel KPMUnknownColorSpaceModelConstants = 0 )
func (KPMUnknownColorSpaceModelConstants) String ¶
func (e KPMUnknownColorSpaceModelConstants) String() string
type KPMUnlockedConstants ¶
type KPMUnlockedConstants uint32
const (
KPMUnlocked KPMUnlockedConstants = 0
)
func (KPMUnlockedConstants) String ¶
func (e KPMUnlockedConstants) 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 ¶
func (e KProcessDictionaryIncludeAllInformation) String() 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 )
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 )
type KSetFrontProcess ¶
type KSetFrontProcess uint32
const ( KSetFrontProcessCausedByUser KSetFrontProcess = 2 KSetFrontProcessFrontWindowOnly KSetFrontProcess = 1 )
func (KSetFrontProcess) String ¶
func (e KSetFrontProcess) 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 ¶
KernEntry
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/kernentry
type KernPair ¶
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 LaunchFlags ¶
type LaunchFlags = uint16
See: https://developer.apple.com/documentation/applicationservices/launchflags
type LaunchPBPtr ¶
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 ¶
MacPolygon
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/macpolygon
type ModeReservedConstants ¶
type ModeReservedConstants uint32
const ( Mode32BitCompatible ModeReservedConstants = 0x80 ModeCanBackground ModeReservedConstants = 0x1000 ModeControlPanel ModeReservedConstants = 0x80000 ModeDeskAccessory ModeReservedConstants = 0x20000 ModeDisplayManagerAware ModeReservedConstants = 0x4 ModeDoesActivateOnFGSwitch ModeReservedConstants = 0x800 ModeGetAppDiedMsg ModeReservedConstants = 0x100 ModeGetFrontClicks ModeReservedConstants = 0x200 ModeHighLevelEventAware ModeReservedConstants = 0x40 ModeLaunchDontSwitch ModeReservedConstants = 0x40000 ModeLocalAndRemoteHLEvents ModeReservedConstants = 0x20 ModeMultiLaunch ModeReservedConstants = 0x10000 ModeNeedSuspendResume ModeReservedConstants = 0x4000 ModeOnlyBackground ModeReservedConstants = 0x400 ModeReserved ModeReservedConstants = 0x1000000 ModeStationeryAware ModeReservedConstants = 0x10 ModeUseTextEditServices ModeReservedConstants = 0x8 )
func (ModeReservedConstants) String ¶
func (e ModeReservedConstants) String() string
type ModeTextConstants ¶
type ModeTextConstants 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 ModeTextConstants = '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 ModeTextConstants = 'N'<<24 | 'O'<<16 | 'R'<<8 | 'M' // 'NORM' // ModePhonemes: Used with soInputMode to indicate that the speech channel is in phoneme-processing mode. ModePhonemes ModeTextConstants = 'P'<<24 | 'H'<<16 | 'O'<<8 | 'N' // 'PHON' // ModeText: Used with soInputMode to indicate that the speech channel is in text-processing mode. ModeText ModeTextConstants = 'T'<<24 | 'E'<<16 | 'X'<<8 | 'T' // 'TEXT' ModeTune ModeTextConstants = 'T'<<24 | 'U'<<16 | 'N'<<8 | 'E' // 'TUNE' )
func (ModeTextConstants) String ¶
func (e ModeTextConstants) String() string
type NCMConcatProfileSet
deprecated
type NCMConcatProfileSet [4]uint64
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/ncmconcatprofileset NCMConcatProfileSet is opaque storage with the size and alignment C gives NCMConcatProfileSet: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.
type NCMConcatProfileSpec
deprecated
type NCMConcatProfileSpec [2]uint64
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/ncmconcatprofilespec NCMConcatProfileSpec is opaque storage with the size and alignment C gives NCMConcatProfileSpec: 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 NCMDeviceProfileInfo
deprecated
type NCMDeviceProfileInfo [134]uint64
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/applicationservices/ncmdeviceprofileinfo NCMDeviceProfileInfo is opaque storage with the size and alignment C gives NCMDeviceProfileInfo: 1072 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 1072 into.
type NameTable ¶
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 PDEPanel ¶
type PDEPanel interface {
objectivec.IObject
}
PDEPanel protocol.
See: https://developer.apple.com/documentation/applicationservices/pdepanel
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 PDEPlugIn ¶
type PDEPlugIn interface {
objectivec.IObject
}
PDEPlugIn protocol.
See: https://developer.apple.com/documentation/applicationservices/pdeplugin
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 ¶
func (o PDEPlugInCallbackProtocolObject) BaseObject() objectivec.Object
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 PMBorderType ¶
type PMBorderType = uint16
See: https://developer.apple.com/documentation/applicationservices/pmbordertype
type PMColorSpaceModel ¶
type PMColorSpaceModel = uint32
See: https://developer.apple.com/documentation/applicationservices/pmcolorspacemodel
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 PMLayoutDirection ¶
type PMLayoutDirection = uint16
See: https://developer.apple.com/documentation/applicationservices/pmlayoutdirection
type PMObject ¶
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 PMPaperType ¶
type PMPaperType = uint32
See: https://developer.apple.com/documentation/applicationservices/pmpapertype
type PMPreset ¶
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 PMPrintDialogOptionFlags ¶
type PMPrintDialogOptionFlags = uint32
See: https://developer.apple.com/documentation/applicationservices/pmprintdialogoptionflags
type PMPrintSession ¶
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 PMScalingAlignment ¶
type PMScalingAlignment = uint16
See: https://developer.apple.com/documentation/applicationservices/pmscalingalignment
type PMServer ¶
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 PasteboardItemID ¶
See: https://developer.apple.com/documentation/applicationservices/pasteboarditemid
type PasteboardPromiseKeeperProcPtr ¶
type PasteboardPromiseKeeperProcPtr = func(PasteboardRef, PasteboardItemID, corefoundation.CFStringRef, unsafe.Pointer) int32
See: https://developer.apple.com/documentation/applicationservices/pasteboardpromisekeeperprocptr
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 ¶
func (e PasteboardStandardLocation) String() string
type PasteboardSyncFlags ¶
type PasteboardSyncFlags uint32
See: https://developer.apple.com/documentation/applicationservices/pasteboardsyncflags
const ( ClientIsOwner PasteboardSyncFlags = 2 Modified PasteboardSyncFlags = 1 )
func PasteboardSynchronize ¶
func PasteboardSynchronize(inPasteboard PasteboardRef) PasteboardSyncFlags
PasteboardSynchronize.
It panics if PasteboardSynchronize is unavailable at run time; use TryPasteboardSynchronize to get an error instead.
See: https://developer.apple.com/documentation/applicationservices/1459590-pasteboardsynchronize
func TryPasteboardSynchronize ¶
func TryPasteboardSynchronize(inPasteboard PasteboardRef) (PasteboardSyncFlags, error)
TryPasteboardSynchronize is like PasteboardSynchronize but returns an error instead of panicking if PasteboardSynchronize is unavailable at run time.
func (PasteboardSyncFlags) String ¶
func (e PasteboardSyncFlags) String() string
type PatHandle ¶
type PatHandle = *PatPtr
See: https://developer.apple.com/documentation/applicationservices/pathandle
type PatPtr ¶
type PatPtr = *Pattern
See: https://developer.apple.com/documentation/applicationservices/patptr
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 ¶
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) PixelFormat ¶
PixelFormat returns the PixelFormat field from the record's packed storage.
func (*PixMap) SetBaseAddr ¶ added in v0.6.17
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
SetBounds updates the Bounds field in the record's packed storage.
func (*PixMap) SetCmpCount ¶ added in v0.6.17
SetCmpCount updates the CmpCount field in the record's packed storage.
func (*PixMap) SetCmpSize ¶ added in v0.6.17
SetCmpSize updates the CmpSize field in the record's packed storage.
func (*PixMap) SetHRes ¶ added in v0.6.17
SetHRes updates the HRes field in the record's packed storage.
func (*PixMap) SetPackSize ¶ added in v0.6.17
SetPackSize updates the PackSize field in the record's packed storage.
func (*PixMap) SetPackType ¶ added in v0.6.17
SetPackType updates the PackType field in the record's packed storage.
func (*PixMap) SetPixelFormat ¶ added in v0.6.17
SetPixelFormat updates the PixelFormat field in the record's packed storage.
func (*PixMap) SetPixelSize ¶ added in v0.6.17
SetPixelSize updates the PixelSize field in the record's packed storage.
func (*PixMap) SetPixelType ¶ added in v0.6.17
SetPixelType updates the PixelType field in the record's packed storage.
func (*PixMap) SetPmExt ¶ added in v0.6.17
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
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
SetPmVersion updates the PmVersion field in the record's packed storage.
func (*PixMap) SetRowBytes ¶ added in v0.6.17
SetRowBytes updates the RowBytes field in 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) SetPat1Data ¶ added in v0.6.17
SetPat1Data updates the Pat1Data field in the record's packed storage.
func (*PixPat) SetPatData ¶ added in v0.6.17
SetPatData updates the PatData 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) SetPatMap ¶ added in v0.6.17
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
SetPatType updates the PatType field in the record's packed storage.
func (*PixPat) SetPatXData ¶ added in v0.6.17
SetPatXData updates the PatXData 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) SetPatXMap ¶ added in v0.6.17
SetPatXMap updates the PatXMap 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) SetPatXValid ¶ added in v0.6.17
SetPatXValid updates the PatXValid field in the record's packed storage.
type PixPatHandle ¶
type PixPatHandle = *PixPatPtr
See: https://developer.apple.com/documentation/applicationservices/pixpathandle
type PixPatPtr ¶
type PixPatPtr = *PixPat
See: https://developer.apple.com/documentation/applicationservices/pixpatptr
type PlotIconRefFlags ¶
type PlotIconRefFlags = uint32
See: https://developer.apple.com/documentation/applicationservices/ploticonrefflags
type PolyHandle ¶
type PolyHandle = *PolyPtr
See: https://developer.apple.com/documentation/applicationservices/polyhandle
type PolyPtr ¶
type PolyPtr = *MacPolygon
See: https://developer.apple.com/documentation/applicationservices/polyptr
type Polygon ¶
type Polygon = MacPolygon
See: https://developer.apple.com/documentation/applicationservices/polygon
type PrinterStatusOpcode ¶
type PrinterStatusOpcode = int32
See: https://developer.apple.com/documentation/applicationservices/printerstatusopcode
type ProcessApplicationTransformState ¶
type ProcessApplicationTransformState = uint32
See: https://developer.apple.com/documentation/applicationservices/processapplicationtransformstate
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 ProcessInfoExtendedRecPtr ¶
type ProcessInfoExtendedRecPtr = *ProcessInfoExtendedRec
See: https://developer.apple.com/documentation/applicationservices/processinfoextendedrecptr
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 ProcessInfoRecPtr ¶
type ProcessInfoRecPtr = *ProcessInfoRec
See: https://developer.apple.com/documentation/applicationservices/processinforecptr
type ProcessSerialNumber ¶
ProcessSerialNumber identifies a process in legacy Process Manager APIs.
type QDBitsProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdbitsprocptr
type QDCommentProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdcommentprocptr
type QDErr ¶
type QDErr = int16
See: https://developer.apple.com/documentation/applicationservices/qderr
type QDGetPicProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdgetpicprocptr
type QDJShieldCursorProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdjshieldcursorprocptr
type QDJShieldCursorUPP ¶
type QDLineProcPtr ¶
type QDLineProcPtr = func(Point)
See: https://developer.apple.com/documentation/applicationservices/qdlineprocptr
type QDOpcodeProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdopcodeprocptr
type QDOvalProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdovalprocptr
type QDPolyProcPtr ¶
type QDPolyProcPtr = func(GrafVerb, PolyHandle)
See: https://developer.apple.com/documentation/applicationservices/qdpolyprocptr
type QDPrinterStatusProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdprinterstatusprocptr
type QDPrinterStatusUPP ¶
See: https://developer.apple.com/documentation/applicationservices/qdprinterstatusupp
type QDPutPicProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdputpicprocptr
type QDRRectProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdrrectprocptr
type QDRectProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdrectprocptr
type QDRegionParseDirection ¶
type QDRegionParseDirection = int32
See: https://developer.apple.com/documentation/applicationservices/qdregionparsedirection
type QDStdGlyphsProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdstdglyphsprocptr
type QDStdGlyphsUPP ¶
See: https://developer.apple.com/documentation/applicationservices/qdstdglyphsupp
type QDStdTextUPP ¶
type QDTextProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/qdtextprocptr
type QDTextWidthUPP ¶
type QDTxMeasProcPtr ¶
type QDTxMeasProcPtr = func(int16, unsafe.Pointer, unsafe.Pointer, unsafe.Pointer, unsafe.Pointer) int16
See: https://developer.apple.com/documentation/applicationservices/qdtxmeasprocptr
type RGBColor ¶
RGBColor
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/rgbcolor
type RedrawBackgroundProcPtr ¶
type RedrawBackgroundProcPtr = func(unsafe.Pointer, coreservices.UniCharArrayOffset, int32, unsafe.Pointer, int32) bool
See: https://developer.apple.com/documentation/applicationservices/redrawbackgroundprocptr
type RedrawBackgroundUPP ¶
See: https://developer.apple.com/documentation/applicationservices/redrawbackgroundupp
type RegionToRectsProcPtr ¶
See: https://developer.apple.com/documentation/applicationservices/regiontorectsprocptr
type RegionToRectsUPP ¶
See: https://developer.apple.com/documentation/applicationservices/regiontorectsupp
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 SizeResourceRecHandle ¶
type SizeResourceRecHandle = *SizeResourceRecPtr
See: https://developer.apple.com/documentation/applicationservices/sizeresourcerechandle
type SizeResourceRecPtr ¶
type SizeResourceRecPtr = *SizeResourceRec
See: https://developer.apple.com/documentation/applicationservices/sizeresourcerecptr
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' )
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 ¶
func NewSpeechDoneUPP
deprecated
func NewSpeechDoneUPP(userRoutine SpeechDoneProcPtr) SpeechDoneUPP
NewSpeechDoneUPP creates a new universal procedure pointer (UPP) to a speech-donecallback function.
It panics if NewSpeechDoneUPP is unavailable at run time; use TryNewSpeechDoneUPP to get an error instead.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552218-newspeechdoneupp
func TryNewSpeechDoneUPP ¶
func TryNewSpeechDoneUPP(userRoutine SpeechDoneProcPtr) (SpeechDoneUPP, error)
TryNewSpeechDoneUPP is like NewSpeechDoneUPP but returns an error instead of panicking if NewSpeechDoneUPP is unavailable at run time.
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 ¶
func NewSpeechErrorUPP
deprecated
func NewSpeechErrorUPP(userRoutine SpeechErrorProcPtr) SpeechErrorUPP
NewSpeechErrorUPP creates a new universal procedure pointer to an errorcallback function.
It panics if NewSpeechErrorUPP is unavailable at run time; use TryNewSpeechErrorUPP to get an error instead.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552224-newspeecherrorupp
func TryNewSpeechErrorUPP ¶
func TryNewSpeechErrorUPP(userRoutine SpeechErrorProcPtr) (SpeechErrorUPP, error)
TryNewSpeechErrorUPP is like NewSpeechErrorUPP but returns an error instead of panicking if NewSpeechErrorUPP is unavailable at run time.
type SpeechPhonemeProcPtr ¶
type SpeechPhonemeProcPtr = func(*SpeechChannelRecord, uintptr, int16)
type SpeechPhonemeUPP ¶
func NewSpeechPhonemeUPP
deprecated
func NewSpeechPhonemeUPP(userRoutine SpeechPhonemeProcPtr) SpeechPhonemeUPP
NewSpeechPhonemeUPP disposes of a universal procedure pointer (UPP) to a phonemecallback function.
It panics if NewSpeechPhonemeUPP is unavailable at run time; use TryNewSpeechPhonemeUPP to get an error instead.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552225-newspeechphonemeupp
func TryNewSpeechPhonemeUPP ¶
func TryNewSpeechPhonemeUPP(userRoutine SpeechPhonemeProcPtr) (SpeechPhonemeUPP, error)
TryNewSpeechPhonemeUPP is like NewSpeechPhonemeUPP but returns an error instead of panicking if NewSpeechPhonemeUPP is unavailable at run time.
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 ¶
func NewSpeechSyncUPP
deprecated
func NewSpeechSyncUPP(userRoutine SpeechSyncProcPtr) SpeechSyncUPP
NewSpeechSyncUPP creates a new universal procedure pointer (UPP) to a synchronizationcallback function.
It panics if NewSpeechSyncUPP is unavailable at run time; use TryNewSpeechSyncUPP to get an error instead.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552244-newspeechsyncupp
func TryNewSpeechSyncUPP ¶
func TryNewSpeechSyncUPP(userRoutine SpeechSyncProcPtr) (SpeechSyncUPP, error)
TryNewSpeechSyncUPP is like NewSpeechSyncUPP but returns an error instead of panicking if NewSpeechSyncUPP is unavailable at run time.
type SpeechTextDoneProcPtr ¶
type SpeechTextDoneUPP ¶
func NewSpeechTextDoneUPP
deprecated
func NewSpeechTextDoneUPP(userRoutine SpeechTextDoneProcPtr) SpeechTextDoneUPP
NewSpeechTextDoneUPP creates a new universal procedure pointer (UPP) to a text-donecallback function.
It panics if NewSpeechTextDoneUPP is unavailable at run time; use TryNewSpeechTextDoneUPP to get an error instead.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552247-newspeechtextdoneupp
func TryNewSpeechTextDoneUPP ¶
func TryNewSpeechTextDoneUPP(userRoutine SpeechTextDoneProcPtr) (SpeechTextDoneUPP, error)
TryNewSpeechTextDoneUPP is like NewSpeechTextDoneUPP but returns an error instead of panicking if NewSpeechTextDoneUPP is unavailable at run time.
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 ¶
func NewSpeechWordUPP
deprecated
func NewSpeechWordUPP(userRoutine SpeechWordProcPtr) SpeechWordUPP
NewSpeechWordUPP creates a new universal procedure pointer (UPP) to a wordcallback function.
It panics if NewSpeechWordUPP is unavailable at run time; use TryNewSpeechWordUPP to get an error instead.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552230-newspeechwordupp
func TryNewSpeechWordUPP ¶
func TryNewSpeechWordUPP(userRoutine SpeechWordProcPtr) (SpeechWordUPP, error)
TryNewSpeechWordUPP is like NewSpeechWordUPP but returns an error instead of panicking if NewSpeechWordUPP is unavailable at run time.
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 )
type TranslationFlags ¶
type TranslationFlags = uint32
See: https://developer.apple.com/documentation/applicationservices/translationflags
type TranslationRef ¶
type TranslationRef uintptr
See: https://developer.apple.com/documentation/applicationservices/translationref
type TruncCode ¶
type TruncCode = int16
See: https://developer.apple.com/documentation/applicationservices/trunccode
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 )
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 coreservices.FSSpec // 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) SetCreator ¶ added in v0.6.17
SetCreator updates the Creator field in the record's packed storage.
type VoiceSpecPtr ¶
type VoiceSpecPtr = *VoiceSpec
See: https://developer.apple.com/documentation/applicationservices/voicespecptr