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 ¶
- Constants
- 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 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.AEDesc) 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 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 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
- type AXMenuItemModifiers
- type AXObserverCallback
- type AXObserverCallbackWithInfo
- type AXObserverRef
- type AXPriority
- type AXTextMarkerRangeRef
- type AXTextMarkerRef
- 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 BadPasteboardSyncErr
- type BadTranslationRef
- type BitMap
- type BitMapHandle
- type BitMapPtr
- type CGrafPort
- type CM2Profile
- type CM2ProfilePtr
- type CMDeviceClass
- type CMDeviceInfo
- type CMDeviceProfileArray
- type CMDeviceScope
- type CMFlattenProcPtr
- type CMFlattenUPP
- type CMFloatBitmapFlags
- type CMMultiFunctLutA2BType
- type CMMultiFunctLutType
- type CMXYZColor
- type CMXYZComponent
- 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 CmAToB0Tag
- type CmAsciiData
- type CmBlackPoint
- type CmCS1
- type CmColorSpace
- type CmCurrent
- type CmDefault
- type CmDevice
- type CmDeviceDBNotFoundErr
- type CmDeviceState
- type CmEmbedded
- type CmFlare0
- type CmGeometryUnknown
- type CmGray8Space
- type CmICCProfileVersion4
- type CmICCReservedFlagsMask
- type CmIlluminant
- type CmInputClass
- type CmInputUse
- type CmIterate
- type CmMacintosh
- type CmMagic
- type CmNoColorPacking
- type CmNoProfileBase
- type CmNoSpace
- type CmNormalMode
- type CmNumHeader
- type CmOpenReadAccess
- type CmOpenReadSpool
- type CmOriginalProfileLocationSize
- type CmP
- type CmPS2CRDVMSizeTag
- type CmParametric
- type CmPerceptual
- type CmProfileIterateData
- type CmProfileMajorVersionMask
- type CmPrtrDefaultScreens
- type CmReflective
- type CmReflectiveTransparentMask
- type CmSRGB16Channel
- type CmScannerDeviceClass
- type CmSigCrdInfoType
- type CmSigPS2CRDVMSizeType
- type CmSpotFunction
- type CmStdobsUnknown
- type CmTechnology
- type CmUseDefaultChromaticAdaptation
- type CmVideoCardGamma
- type CmXYZData
- 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() kernel.Pointer
- func (s *GDevice) GdCCXMask() kernel.Pointer
- func (s *GDevice) GdCompProc() kernel.Pointer
- func (s *GDevice) GdExt() kernel.Pointer
- func (s *GDevice) GdFlags() int16
- func (s *GDevice) GdID() int16
- func (s *GDevice) GdITable() kernel.Pointer
- 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() kernel.Pointer
- func (s *GDevice) GdType() int16
- func (s *GDevice) SetGdCCBytes(v int16)
- func (s *GDevice) SetGdCCDepth(v int16)
- func (s *GDevice) SetGdCCXData(v kernel.Pointer)
- func (s *GDevice) SetGdCCXMask(v kernel.Pointer)
- func (s *GDevice) SetGdCompProc(v kernel.Pointer)
- func (s *GDevice) SetGdExt(v kernel.Pointer)
- func (s *GDevice) SetGdFlags(v int16)
- func (s *GDevice) SetGdID(v int16)
- func (s *GDevice) SetGdITable(v kernel.Pointer)
- 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 kernel.Pointer)
- func (s *GDevice) SetGdType(v int16)
- type GlyphCollection
- type GlyphID
- type GrafPort
- type GrafVerb
- type HIMutableShapeRef
- 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
- 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() [6]byte
- func (s *ICFileSpec) Fss() [70]byte
- func (s *ICFileSpec) SetAlias(v [6]byte)
- func (s *ICFileSpec) SetFss(v [70]byte)
- 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 IcNoPerm
- type IcPrefNotFoundErr
- type IconActionProcPtr
- type IconActionUPP
- type IconAlignmentType
- type IconGetterProcPtr
- type IconGetterUPP
- type IconRef
- type IconSelectorValue
- type IconTransformType
- type InitDev
- type K1MonochromePixelFormat
- type KATSCubicCurveType
- type KATSDeleted
- type KATSFlatDataUstl
- type KATSFlattenedFontSpecifierRawName
- type KATSFontAutoActivation
- type KATSFontContext
- type KATSFontFilterCurrent
- type KATSFontFormat
- type KATSGenerationUnspecified
- type KATSGlyphInfo
- type KATSItalicQDSkew
- type KATSIterationCompleted
- type KATSLine
- type KATSOptionFlagsActivateDisabled
- type KATSOptionFlagsDefault
- type KATSOptionFlagsIterateByPrecedenceMask
- type KATSStyle
- type KATSUBackground
- type KATSUBy
- type KATSUDataStreamUnicodeStyled
- type KATSUDefaultFontFallbacks
- type KATSUDirectData
- type KATSUFlattenOptionNoOptions
- type KATSUFromTextBeginning
- type KATSUInvalidFontI
- type KATSULayoutOperation
- type KATSULayoutOperationCallbackStatus
- type KATSULeftTab
- type KATSULeftToRightBaseDirection
- type KATSULineWidthTag
- type KATSUNo
- type KATSUStrongly
- type KATSUStyleSingleLineCount
- type KATSUStyleUnequal
- type KATSUTruncateNone
- type KATSUUnFlattenOptionNoOptions
- type KATSUUseGrafPortPenLoc
- type KATSUUseLineControl
- type KATSUse
- type KATSUseGlyphAdvance
- type KAlign
- type KAllPPDDomains
- type KAudioUnit
- type KDefaultCMM
- type KFMCurrentFilter
- type KFMFontTechnologyFilterSelector
- type KFMTrueTypeFontTechnology
- type KGlyphCollection
- type KHIShapeEnumerate
- type KHIShapeParseFrom
- type KICAttrLockedBit
- type KICAttrNoChange
- type KICComponentInterface
- type KICComponentVersion
- type KICEditPreferenceEventClass
- type KICFileSpecHeader
- type KICFileType
- type KICMapBinaryBit
- type KICMapBinaryMask
- type KICMapFixed
- type KICNilProfileI
- type KICServicesTCPBit
- type KICServicesTCPMask
- type KImmediate
- type KInternetEventClass
- type KInvalid
- type KInvertHighlighting
- type KNeuter
- type KNoConstraint
- type KNoEndingProsody
- type KNoProcess
- type KNoTransform
- type KPMAllocationFailure
- type KPMBorder
- type KPMCoverPage
- type KPMDestination
- type KPMDuplexNone
- type KPMHideInlineItems
- type KPMInvalidPrintSession
- type KPMLayout
- type KPMNoError
- type KPMPaperType
- type KPMPortrait
- type KPMPrintAll
- type KPMPrinter
- type KPMQuality
- type KPMScaling
- type KPMUnknownColorSpaceModel
- 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 ModeReserved
- type ModeText
- 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() kernel.Pointer
- func (s *PixPat) PatMap() uintptr
- func (s *PixPat) PatType() int16
- func (s *PixPat) PatXData() kernel.Pointer
- func (s *PixPat) PatXMap() kernel.Pointer
- func (s *PixPat) PatXValid() int16
- func (s *PixPat) SetPat1Data(v Pattern)
- func (s *PixPat) SetPatData(v kernel.Pointer)
- func (s *PixPat) SetPatMap(v uintptr)
- func (s *PixPat) SetPatType(v int16)
- func (s *PixPat) SetPatXData(v kernel.Pointer)
- func (s *PixPat) SetPatXMap(v kernel.Pointer)
- 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 ¶
const KICNoUserInteractionBit uint32 = 0
const KICNoUserInteractionMask uint32 = 0x1
const KPMCancel uint32 = 0x80
const KPMUnlocked uint32 = 0
Variables ¶
This section is empty.
Functions ¶
func AXAPIEnabled
deprecated
func AXAPIEnabled() bool
AXAPIEnabled returns whether the accessibility API is enabled.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1462072-axapienabled
func AXIsProcessTrusted ¶
func AXIsProcessTrusted() bool
AXIsProcessTrusted returns whether the current process is a trusted accessibility client.
See: https://developer.apple.com/documentation/applicationservices/1460720-axisprocesstrusted
func AXIsProcessTrustedWithOptions ¶
func AXIsProcessTrustedWithOptions(options corefoundation.CFDictionaryRef) bool
AXIsProcessTrustedWithOptions returns whether the current process is a trusted accessibility client.
See: https://developer.apple.com/documentation/applicationservices/1459186-axisprocesstrustedwithoptions
func AXObserverGetRunLoopSource ¶
func AXObserverGetRunLoopSource(observer AXObserverRef) corefoundation.CFRunLoopSourceRef
AXObserverGetRunLoopSource returns the observer's run loop source.
See: https://developer.apple.com/documentation/applicationservices/1459139-axobservergetrunloopsource
func AXObserverGetTypeID ¶
func AXObserverGetTypeID() uint
AXObserverGetTypeID returns the unique type identifier for the AXObserverRef type.
See: https://developer.apple.com/documentation/applicationservices/1461244-axobservergettypeid
func AXTextMarkerGetBytePtr ¶
func AXTextMarkerGetBytePtr(theTextMarker AXTextMarkerRef) uint8
AXTextMarkerGetBytePtr.
See: https://developer.apple.com/documentation/applicationservices/3882824-axtextmarkergetbyteptr
func AXTextMarkerGetLength ¶
func AXTextMarkerGetLength(marker AXTextMarkerRef) int
AXTextMarkerGetLength.
See: https://developer.apple.com/documentation/applicationservices/3882825-axtextmarkergetlength
func AXTextMarkerGetTypeID ¶
func AXTextMarkerGetTypeID() uint
AXTextMarkerGetTypeID.
See: https://developer.apple.com/documentation/applicationservices/3882826-axtextmarkergettypeid
func AXTextMarkerRangeGetTypeID ¶
func AXTextMarkerRangeGetTypeID() uint
AXTextMarkerRangeGetTypeID.
See: https://developer.apple.com/documentation/applicationservices/3882831-axtextmarkerrangegettypeid
func AXUIElementGetTypeID ¶
func AXUIElementGetTypeID() uint
AXUIElementGetTypeID returns the unique type identifier for the AXUIElementRef type.
See: https://developer.apple.com/documentation/applicationservices/1460085-axuielementgettypeid
func AXValueGetTypeID ¶
func AXValueGetTypeID() uint
AXValueGetTypeID.
See: https://developer.apple.com/documentation/applicationservices/1460780-axvaluegettypeid
func AXValueGetValue ¶
func AXValueGetValue(value AXValueRef, theType AXValueType, valuePtr unsafe.Pointer) bool
AXValueGetValue.
See: https://developer.apple.com/documentation/applicationservices/1462933-axvaluegetvalue
func ContinueSpeech
deprecated
func ContinueSpeech(chan_ *SpeechChannelRecord) int16
ContinueSpeech resumes speech paused by the PauseSpeechAt function.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1462728-continuespeech
func CopyPhonemesFromText
deprecated
func CopyPhonemesFromText(chan_ *SpeechChannelRecord, text corefoundation.CFStringRef, phonemes *corefoundation.CFStringRef) int16
CopyPhonemesFromText converts the specified text string into its equivalent phonemic representation.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1460918-copyphonemesfromtext
func CopyProcessName
deprecated
func CopyProcessName(psn *ProcessSerialNumber, name *corefoundation.CFStringRef) int32
CopyProcessName.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501067-copyprocessname
func CopySpeechProperty
deprecated
func CopySpeechProperty(chan_ *SpeechChannelRecord, property corefoundation.CFStringRef, object *corefoundation.CFTypeRef) int16
CopySpeechProperty gets the value associated with the specified property of a speech channel.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1459075-copyspeechproperty
func CountVoices
deprecated
added in
v0.6.17
CountVoices determines how many voices are available.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1459947-countvoices
func DisposeIconActionUPP ¶
func DisposeIconActionUPP(userUPP IconActionUPP)
DisposeIconActionUPP.
See: https://developer.apple.com/documentation/applicationservices/1461028-disposeiconactionupp
func DisposeIconGetterUPP ¶
func DisposeIconGetterUPP(userUPP IconGetterUPP)
DisposeIconGetterUPP.
See: https://developer.apple.com/documentation/applicationservices/1461061-disposeicongetterupp
func DisposeSpeechChannel
deprecated
func DisposeSpeechChannel(chan_ *SpeechChannelRecord) int16
DisposeSpeechChannel disposes of an existing speech channel.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1462081-disposespeechchannel
func DisposeSpeechDoneUPP
deprecated
func DisposeSpeechDoneUPP(userUPP SpeechDoneUPP)
DisposeSpeechDoneUPP disposes of a universal procedure pointer (UPP) to a speech-donecallback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552237-disposespeechdoneupp
func DisposeSpeechErrorUPP
deprecated
func DisposeSpeechErrorUPP(userUPP SpeechErrorUPP)
DisposeSpeechErrorUPP disposes of a universal procedure pointer (UPP) to anerror callback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552245-disposespeecherrorupp
func DisposeSpeechPhonemeUPP
deprecated
func DisposeSpeechPhonemeUPP(userUPP SpeechPhonemeUPP)
DisposeSpeechPhonemeUPP disposes of a universal procedure pointer (UPP) to a phonemecallback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552226-disposespeechphonemeupp
func DisposeSpeechSyncUPP
deprecated
func DisposeSpeechSyncUPP(userUPP SpeechSyncUPP)
DisposeSpeechSyncUPP disposes of a universal procedure pointer (UPP) to a synchronizationcallback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552219-disposespeechsyncupp
func DisposeSpeechTextDoneUPP
deprecated
func DisposeSpeechTextDoneUPP(userUPP SpeechTextDoneUPP)
DisposeSpeechTextDoneUPP disposes of a universal procedure pointer (UPP) to a text-donecallback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552229-disposespeechtextdoneupp
func DisposeSpeechWordUPP
deprecated
func DisposeSpeechWordUPP(userUPP SpeechWordUPP)
DisposeSpeechWordUPP disposes of a universal procedure pointer (UPP) to a wordcallback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552222-disposespeechwordupp
func ExitToShell
deprecated
func ExitToShell()
ExitToShell.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1500985-exittoshell
func GetCurrentProcess
deprecated
func GetCurrentProcess(pPSN *ProcessSerialNumber) int16
GetCurrentProcess.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501115-getcurrentprocess
func GetFrontProcess
deprecated
func GetFrontProcess(pPSN *ProcessSerialNumber) int16
GetFrontProcess.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501050-getfrontprocess
func GetIconFamilyData ¶
GetIconFamilyData.
See: https://developer.apple.com/documentation/applicationservices/1462743-geticonfamilydata
func GetIconRefVariant ¶
func GetIconRefVariant(inIconRef unsafe.Pointer, inVariant uint32, outTransform *IconTransformType) unsafe.Pointer
GetIconRefVariant.
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.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1464595-getindvoice
func GetNextProcess
deprecated
func GetNextProcess(pPSN *ProcessSerialNumber) int16
GetNextProcess.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501061-getnextprocess
func GetProcessBundleLocation
deprecated
func GetProcessBundleLocation(psn *ProcessSerialNumber, location *coreservices.FSRef) int32
GetProcessBundleLocation.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501092-getprocessbundlelocation
func GetProcessForPID
deprecated
func GetProcessForPID(pid int32, psn *ProcessSerialNumber) int32
GetProcessForPID.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501069-getprocessforpid
func GetProcessInformation
deprecated
func GetProcessInformation(PSN *ProcessSerialNumber, info *ProcessInfoRec) int16
GetProcessInformation.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501011-getprocessinformation
func GetProcessPID
deprecated
func GetProcessPID(psn *ProcessSerialNumber, pid *int32) int32
GetProcessPID.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1500992-getprocesspid
func GetSpeechInfo
deprecated
func GetSpeechInfo(chan_ *SpeechChannelRecord, selector uint32, speechInfo unsafe.Pointer) int16
GetSpeechInfo gets information about a designated speech channel.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552220-getspeechinfo
func GetSpeechPitch
deprecated
func GetSpeechPitch(chan_ *SpeechChannelRecord, pitch *int32) int16
GetSpeechPitch gets a speech channel’s current speech pitch.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1464774-getspeechpitch
func GetSpeechRate
deprecated
func GetSpeechRate(chan_ *SpeechChannelRecord, rate *int32) int16
GetSpeechRate gets a speech channel’s current speech rate.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1460797-getspeechrate
func GetVoiceDescription
deprecated
func GetVoiceDescription(voice unsafe.Pointer, info unsafe.Pointer, infoLength unsafe.Pointer) int16
GetVoiceDescription gets a description of a voice by using the GetVoiceDescription function.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1463940-getvoicedescription
func GetVoiceInfo
deprecated
GetVoiceInfo gets the same information about a voice that the GetVoiceDescription function provides,or to determine in which file and resource a voice is stored.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1461410-getvoiceinfo
func HIShapeContainsPoint ¶
func HIShapeContainsPoint(inShape HIShapeRef, inPoint unsafe.Pointer) bool
HIShapeContainsPoint.
See: https://developer.apple.com/documentation/applicationservices/1464704-hishapecontainspoint
func HIShapeDifference ¶
func HIShapeDifference(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
HIShapeDifference.
See: https://developer.apple.com/documentation/applicationservices/1458876-hishapedifference
func HIShapeEnumerate ¶
func HIShapeEnumerate(inShape HIShapeRef, inOptions uint32, inProc HIShapeEnumerateProcPtr, inRefcon unsafe.Pointer) int32
HIShapeEnumerate.
See: https://developer.apple.com/documentation/applicationservices/1459161-hishapeenumerate
func HIShapeGetAsQDRgn ¶
func HIShapeGetAsQDRgn(inShape HIShapeRef, outRgn unsafe.Pointer) int32
HIShapeGetAsQDRgn.
See: https://developer.apple.com/documentation/applicationservices/1464369-hishapegetasqdrgn
func HIShapeGetBounds ¶
func HIShapeGetBounds(inShape HIShapeRef, outRect unsafe.Pointer) *corefoundation.CGRect
HIShapeGetBounds.
See: https://developer.apple.com/documentation/applicationservices/1460255-hishapegetbounds
func HIShapeGetTypeID ¶
func HIShapeGetTypeID() uint
HIShapeGetTypeID.
See: https://developer.apple.com/documentation/applicationservices/1463371-hishapegettypeid
func HIShapeInset ¶
func HIShapeInset(inShape HIMutableShapeRef, inDX float64, inDY float64) int32
HIShapeInset.
See: https://developer.apple.com/documentation/applicationservices/1463337-hishapeinset
func HIShapeIntersect ¶
func HIShapeIntersect(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
HIShapeIntersect.
See: https://developer.apple.com/documentation/applicationservices/1462645-hishapeintersect
func HIShapeIntersectsRect ¶
func HIShapeIntersectsRect(inShape HIShapeRef, inRect unsafe.Pointer) bool
HIShapeIntersectsRect.
See: https://developer.apple.com/documentation/applicationservices/1459614-hishapeintersectsrect
func HIShapeIsEmpty ¶
func HIShapeIsEmpty(inShape HIShapeRef) bool
HIShapeIsEmpty.
See: https://developer.apple.com/documentation/applicationservices/1461878-hishapeisempty
func HIShapeIsRectangular ¶
func HIShapeIsRectangular(inShape HIShapeRef) bool
HIShapeIsRectangular.
See: https://developer.apple.com/documentation/applicationservices/1461292-hishapeisrectangular
func HIShapeOffset ¶
func HIShapeOffset(inShape HIMutableShapeRef, inDX float64, inDY float64) int32
HIShapeOffset.
See: https://developer.apple.com/documentation/applicationservices/1461775-hishapeoffset
func HIShapeReplacePathInCGContext ¶
func HIShapeReplacePathInCGContext(inShape HIShapeRef, inContext coregraphics.CGContextRef) int32
HIShapeReplacePathInCGContext.
See: https://developer.apple.com/documentation/applicationservices/1460747-hishapereplacepathincgcontext
func HIShapeSetEmpty ¶
func HIShapeSetEmpty(inShape HIMutableShapeRef) int32
HIShapeSetEmpty.
See: https://developer.apple.com/documentation/applicationservices/1461259-hishapesetempty
func HIShapeSetWithShape ¶
func HIShapeSetWithShape(inDestShape HIMutableShapeRef, inSrcShape HIShapeRef) int32
HIShapeSetWithShape.
See: https://developer.apple.com/documentation/applicationservices/1462473-hishapesetwithshape
func HIShapeUnion ¶
func HIShapeUnion(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
HIShapeUnion.
See: https://developer.apple.com/documentation/applicationservices/1459542-hishapeunion
func HIShapeUnionWithRect ¶
func HIShapeUnionWithRect(inShape HIMutableShapeRef, inRect unsafe.Pointer) int32
HIShapeUnionWithRect.
See: https://developer.apple.com/documentation/applicationservices/1462757-hishapeunionwithrect
func HIShapeXor ¶
func HIShapeXor(inShape1 HIShapeRef, inShape2 HIShapeRef, outResult HIMutableShapeRef) int32
HIShapeXor.
See: https://developer.apple.com/documentation/applicationservices/1461294-hishapexor
func ICAddMapEntry
deprecated
func ICAddMapEntry(inst ICInstance, entries kernel.Handle, entry *ICMapEntry) int32
ICAddMapEntry.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578495-icaddmapentry
func ICAddProfile
deprecated
func ICAddProfile(inst ICInstance, prototypeID ICProfileID, newID *ICProfileID) int32
ICAddProfile.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578498-icaddprofile
func ICBegin
deprecated
func ICBegin(inst ICInstance, perm ICPerm) int32
ICBegin.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578517-icbegin
func ICCountMapEntries
deprecated
func ICCountMapEntries(inst ICInstance, entries kernel.Handle, count *int) int32
ICCountMapEntries.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578509-iccountmapentries
func ICCountPref
deprecated
func ICCountPref(inst ICInstance, count *int) int32
ICCountPref.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578542-iccountpref
func ICCountProfiles
deprecated
func ICCountProfiles(inst ICInstance, count *int) int32
ICCountProfiles.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578494-iccountprofiles
func ICCreateGURLEvent
deprecated
added in
v0.6.17
func ICCreateGURLEvent(inst ICInstance, helperCreator uint32, urlH kernel.Handle, theEvent *coreservices.AEDesc) int32
ICCreateGURLEvent.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578532-iccreategurlevent
func ICDeleteMapEntry
deprecated
func ICDeleteMapEntry(inst ICInstance, entries kernel.Handle, pos int) int32
ICDeleteMapEntry.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578488-icdeletemapentry
func ICDeletePref
deprecated
func ICDeletePref(inst ICInstance, key unsafe.Pointer) int32
ICDeletePref.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578534-icdeletepref
func ICDeleteProfile
deprecated
func ICDeleteProfile(inst ICInstance, thisID ICProfileID) int32
ICDeleteProfile.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578483-icdeleteprofile
func ICEditPreferences
deprecated
func ICEditPreferences(inst ICInstance, key unsafe.Pointer) int32
ICEditPreferences.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578512-iceditpreferences
func ICEnd
deprecated
func ICEnd(inst ICInstance) int32
ICEnd.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578544-icend
func ICFindPrefHandle
deprecated
ICFindPrefHandle.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578526-icfindprefhandle
func ICGetConfigName
deprecated
func ICGetConfigName(inst ICInstance, longname bool, name unsafe.Pointer) int32
ICGetConfigName.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578511-icgetconfigname
func ICGetCurrentProfile
deprecated
func ICGetCurrentProfile(inst ICInstance, currentID *ICProfileID) int32
ICGetCurrentProfile.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578505-icgetcurrentprofile
func ICGetDefaultPref
deprecated
ICGetDefaultPref.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578528-icgetdefaultpref
func ICGetIndMapEntry
deprecated
func ICGetIndMapEntry(inst ICInstance, entries kernel.Handle, index int, pos *int, entry *ICMapEntry) int32
ICGetIndMapEntry.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578493-icgetindmapentry
func ICGetIndPref
deprecated
func ICGetIndPref(inst ICInstance, index int, key unsafe.Pointer) int32
ICGetIndPref.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578503-icgetindpref
func ICGetIndProfile
deprecated
func ICGetIndProfile(inst ICInstance, index int, thisID *ICProfileID) int32
ICGetIndProfile.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578519-icgetindprofile
func ICGetMapEntry
deprecated
func ICGetMapEntry(inst ICInstance, entries kernel.Handle, pos int, entry *ICMapEntry) int32
ICGetMapEntry.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578510-icgetmapentry
func ICGetPerm
deprecated
func ICGetPerm(inst ICInstance, perm *ICPerm) int32
ICGetPerm.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578492-icgetperm
func ICGetPref
deprecated
func ICGetPref(inst ICInstance, key unsafe.Pointer, attr *ICAttr, buf unsafe.Pointer, size *int) int32
ICGetPref.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578522-icgetpref
func ICGetPrefHandle
deprecated
ICGetPrefHandle.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578489-icgetprefhandle
func ICGetProfileName
deprecated
func ICGetProfileName(inst ICInstance, thisID ICProfileID, name unsafe.Pointer) int32
ICGetProfileName.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578523-icgetprofilename
func ICGetSeed
deprecated
func ICGetSeed(inst ICInstance, seed *int) int32
ICGetSeed.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578514-icgetseed
func ICGetVersion
deprecated
func ICGetVersion(inst ICInstance, whichVersion int, version *uint32) int32
ICGetVersion.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578536-icgetversion
func ICLaunchURL
deprecated
func ICLaunchURL(inst ICInstance, hint unsafe.Pointer, data unsafe.Pointer, len_ int, selStart *int, selEnd *int) int32
ICLaunchURL.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578504-iclaunchurl
func ICMapEntriesFilename
deprecated
func ICMapEntriesFilename(inst ICInstance, entries kernel.Handle, filename unsafe.Pointer, entry *ICMapEntry) int32
ICMapEntriesFilename.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578539-icmapentriesfilename
func ICMapEntriesTypeCreator
deprecated
func ICMapEntriesTypeCreator(inst ICInstance, entries kernel.Handle, fType uint32, fCreator uint32, filename unsafe.Pointer, entry *ICMapEntry) int32
ICMapEntriesTypeCreator.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578486-icmapentriestypecreator
func ICMapFilename
deprecated
func ICMapFilename(inst ICInstance, filename unsafe.Pointer, entry *ICMapEntry) int32
ICMapFilename.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578490-icmapfilename
func ICMapTypeCreator
deprecated
func ICMapTypeCreator(inst ICInstance, fType uint32, fCreator uint32, filename unsafe.Pointer, entry *ICMapEntry) int32
ICMapTypeCreator.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578520-icmaptypecreator
func ICParseURL
deprecated
func ICSendGURLEvent
deprecated
added in
v0.6.17
func ICSendGURLEvent(inst ICInstance, theEvent *coreservices.AEDesc) int32
ICSendGURLEvent.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578487-icsendgurlevent
func ICSetCurrentProfile
deprecated
func ICSetCurrentProfile(inst ICInstance, newID ICProfileID) int32
ICSetCurrentProfile.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578485-icsetcurrentprofile
func ICSetMapEntry
deprecated
func ICSetMapEntry(inst ICInstance, entries kernel.Handle, pos int, entry *ICMapEntry) int32
ICSetMapEntry.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578540-icsetmapentry
func ICSetPref
deprecated
func ICSetPref(inst ICInstance, key unsafe.Pointer, attr ICAttr, buf unsafe.Pointer, size int) int32
ICSetPref.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578533-icsetpref
func ICSetPrefHandle
deprecated
ICSetPrefHandle.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578545-icsetprefhandle
func ICSetProfileName
deprecated
func ICSetProfileName(inst ICInstance, thisID ICProfileID, name unsafe.Pointer) int32
ICSetProfileName.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578501-icsetprofilename
func ICStart
deprecated
func ICStart(inst *ICInstance, signature uint32) int32
ICStart.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578513-icstart
func ICStop
deprecated
func ICStop(inst ICInstance) int32
ICStop.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/applicationservices/1578518-icstop
func IconRefContainsCGPoint ¶
func IconRefContainsCGPoint(testPt unsafe.Pointer, iconRect unsafe.Pointer, align IconAlignmentType, iconServicesUsageFlags uint32, theIconRef unsafe.Pointer) bool
IconRefContainsCGPoint.
See: https://developer.apple.com/documentation/applicationservices/1461049-iconrefcontainscgpoint
func IconRefIntersectsCGRect ¶
func IconRefIntersectsCGRect(testRect unsafe.Pointer, iconRect unsafe.Pointer, align IconAlignmentType, iconServicesUsageFlags uint32, theIconRef unsafe.Pointer) bool
IconRefIntersectsCGRect.
See: https://developer.apple.com/documentation/applicationservices/1462553-iconrefintersectscgrect
func IconRefToIconFamily ¶ added in v0.6.17
func IconRefToIconFamily(theIconRef unsafe.Pointer, whichIcons IconSelectorValue, iconFamily *coreservices.IconFamilyHandle) int16
IconRefToIconFamily.
See: https://developer.apple.com/documentation/applicationservices/1459977-iconreftoiconfamily
func InvokeIconActionUPP ¶
func InvokeIconActionUPP(theType uint32, theIcon *kernel.Handle, yourDataPtr unsafe.Pointer, userUPP IconActionUPP) int16
InvokeIconActionUPP.
See: https://developer.apple.com/documentation/applicationservices/1464116-invokeiconactionupp
func InvokeIconGetterUPP ¶
func InvokeIconGetterUPP(theType uint32, yourDataPtr unsafe.Pointer, userUPP IconGetterUPP) kernel.Handle
InvokeIconGetterUPP.
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.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552215-invokespeechdoneupp
func InvokeSpeechErrorUPP
deprecated
func InvokeSpeechErrorUPP(chan_ *SpeechChannelRecord, refCon uintptr, theError int16, bytePos int, userUPP SpeechErrorUPP)
InvokeSpeechErrorUPP invokes your error callback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552214-invokespeecherrorupp
func InvokeSpeechPhonemeUPP
deprecated
func InvokeSpeechPhonemeUPP(chan_ *SpeechChannelRecord, refCon uintptr, phonemeOpcode int16, userUPP SpeechPhonemeUPP)
InvokeSpeechPhonemeUPP invokes your phoneme callback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552234-invokespeechphonemeupp
func InvokeSpeechSyncUPP
deprecated
func InvokeSpeechSyncUPP(chan_ *SpeechChannelRecord, refCon uintptr, syncMessage uint32, userUPP SpeechSyncUPP)
InvokeSpeechSyncUPP invokes your synchronization callback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552243-invokespeechsyncupp
func InvokeSpeechTextDoneUPP
deprecated
func InvokeSpeechTextDoneUPP(chan_ *SpeechChannelRecord, refCon uintptr, nextBuf unsafe.Pointer, byteLen *uint, controlFlags *int32, userUPP SpeechTextDoneUPP)
InvokeSpeechTextDoneUPP invokes your text-done callback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552249-invokespeechtextdoneupp
func InvokeSpeechWordUPP
deprecated
func InvokeSpeechWordUPP(chan_ *SpeechChannelRecord, refCon uintptr, wordPos uint, wordLen uint16, userUPP SpeechWordUPP)
InvokeSpeechWordUPP invokes your word callback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552227-invokespeechwordupp
func IsIconRefMaskEmpty ¶
IsIconRefMaskEmpty.
See: https://developer.apple.com/documentation/applicationservices/1464419-isiconrefmaskempty
func IsProcessVisible
deprecated
func IsProcessVisible(psn *ProcessSerialNumber) bool
IsProcessVisible.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501035-isprocessvisible
func KillProcess
deprecated
func KillProcess(inProcess *ProcessSerialNumber) int16
KillProcess.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501110-killprocess
func LaunchApplication
deprecated
func LaunchApplication(LaunchParams LaunchPBPtr) int16
LaunchApplication.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501089-launchapplication
func MakeVoiceSpec
deprecated
func NewATSCubicClosePathProcPtrBlock ¶ added in v0.6.16
func NewATSCubicClosePathProcPtrBlock(handler ATSCubicClosePathProcPtr) (objc.ID, func())
NewATSCubicClosePathProcPtrBlock wraps a Go ATSCubicClosePathProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewATSNotificationCallbackBlock ¶ added in v0.6.16
func NewATSNotificationCallbackBlock(handler ATSNotificationCallback) (objc.ID, func())
NewATSNotificationCallbackBlock wraps a Go ATSNotificationCallback as an Objective-C block. The caller must defer the returned cleanup function.
func NewATSQuadraticClosePathProcPtrBlock ¶ added in v0.6.16
func NewATSQuadraticClosePathProcPtrBlock(handler ATSQuadraticClosePathProcPtr) (objc.ID, func())
NewATSQuadraticClosePathProcPtrBlock wraps a Go ATSQuadraticClosePathProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewATSQuadraticNewPathProcPtrBlock ¶ added in v0.6.16
func NewATSQuadraticNewPathProcPtrBlock(handler ATSQuadraticNewPathProcPtr) (objc.ID, func())
NewATSQuadraticNewPathProcPtrBlock wraps a Go ATSQuadraticNewPathProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewAXObserverCallbackBlock ¶ added in v0.6.16
func NewAXObserverCallbackBlock(handler AXObserverCallback) (objc.ID, func())
NewAXObserverCallbackBlock wraps a Go AXObserverCallback as an Objective-C block. The caller must defer the returned cleanup function.
func NewAXObserverCallbackWithInfoBlock ¶ added in v0.6.16
func NewAXObserverCallbackWithInfoBlock(handler AXObserverCallbackWithInfo) (objc.ID, func())
NewAXObserverCallbackWithInfoBlock wraps a Go AXObserverCallbackWithInfo as an Objective-C block. The caller must defer the returned cleanup function.
func NewColorComplementProcPtrBlock ¶ added in v0.6.16
func NewColorComplementProcPtrBlock(handler ColorComplementProcPtr) (objc.ID, func())
NewColorComplementProcPtrBlock wraps a Go ColorComplementProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewDragGrayRgnProcPtrBlock ¶ added in v0.6.16
func NewDragGrayRgnProcPtrBlock(handler DragGrayRgnProcPtr) (objc.ID, func())
NewDragGrayRgnProcPtrBlock wraps a Go DragGrayRgnProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDArcProcPtrBlock ¶ added in v0.6.16
func NewQDArcProcPtrBlock(handler QDArcProcPtr) (objc.ID, func())
NewQDArcProcPtrBlock wraps a Go QDArcProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDBitsProcPtrBlock ¶ added in v0.6.16
func NewQDBitsProcPtrBlock(handler QDBitsProcPtr) (objc.ID, func())
NewQDBitsProcPtrBlock wraps a Go QDBitsProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDCommentProcPtrBlock ¶ added in v0.6.16
func NewQDCommentProcPtrBlock(handler QDCommentProcPtr) (objc.ID, func())
NewQDCommentProcPtrBlock wraps a Go QDCommentProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDGetPicProcPtrBlock ¶ added in v0.6.16
func NewQDGetPicProcPtrBlock(handler QDGetPicProcPtr) (objc.ID, func())
NewQDGetPicProcPtrBlock wraps a Go QDGetPicProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDJShieldCursorProcPtrBlock ¶ added in v0.6.16
func NewQDJShieldCursorProcPtrBlock(handler QDJShieldCursorProcPtr) (objc.ID, func())
NewQDJShieldCursorProcPtrBlock wraps a Go QDJShieldCursorProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDLineProcPtrBlock ¶ added in v0.6.16
func NewQDLineProcPtrBlock(handler QDLineProcPtr) (objc.ID, func())
NewQDLineProcPtrBlock wraps a Go QDLineProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDOpcodeProcPtrBlock ¶ added in v0.6.16
func NewQDOpcodeProcPtrBlock(handler QDOpcodeProcPtr) (objc.ID, func())
NewQDOpcodeProcPtrBlock wraps a Go QDOpcodeProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDOvalProcPtrBlock ¶ added in v0.6.16
func NewQDOvalProcPtrBlock(handler QDOvalProcPtr) (objc.ID, func())
NewQDOvalProcPtrBlock wraps a Go QDOvalProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDPolyProcPtrBlock ¶ added in v0.6.16
func NewQDPolyProcPtrBlock(handler QDPolyProcPtr) (objc.ID, func())
NewQDPolyProcPtrBlock wraps a Go QDPolyProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDPutPicProcPtrBlock ¶ added in v0.6.16
func NewQDPutPicProcPtrBlock(handler QDPutPicProcPtr) (objc.ID, func())
NewQDPutPicProcPtrBlock wraps a Go QDPutPicProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDRRectProcPtrBlock ¶ added in v0.6.16
func NewQDRRectProcPtrBlock(handler QDRRectProcPtr) (objc.ID, func())
NewQDRRectProcPtrBlock wraps a Go QDRRectProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDRectProcPtrBlock ¶ added in v0.6.16
func NewQDRectProcPtrBlock(handler QDRectProcPtr) (objc.ID, func())
NewQDRectProcPtrBlock wraps a Go QDRectProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDRgnProcPtrBlock ¶ added in v0.6.16
func NewQDRgnProcPtrBlock(handler QDRgnProcPtr) (objc.ID, func())
NewQDRgnProcPtrBlock wraps a Go QDRgnProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewQDTextProcPtrBlock ¶ added in v0.6.16
func NewQDTextProcPtrBlock(handler QDTextProcPtr) (objc.ID, func())
NewQDTextProcPtrBlock wraps a Go QDTextProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewSpeechChannel
deprecated
func NewSpeechChannel(voice unsafe.Pointer, chan_ **SpeechChannelRecord) int16
NewSpeechChannel creates a new speech channel.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1461367-newspeechchannel
func NewSpeechDoneProcPtrBlock ¶ added in v0.6.16
func NewSpeechDoneProcPtrBlock(handler SpeechDoneProcPtr) (objc.ID, func())
NewSpeechDoneProcPtrBlock wraps a Go SpeechDoneProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewSpeechErrorCFProcPtrBlock ¶ added in v0.6.16
func NewSpeechErrorCFProcPtrBlock(handler SpeechErrorCFProcPtr) (objc.ID, func())
NewSpeechErrorCFProcPtrBlock wraps a Go SpeechErrorCFProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewSpeechErrorProcPtrBlock ¶ added in v0.6.16
func NewSpeechErrorProcPtrBlock(handler SpeechErrorProcPtr) (objc.ID, func())
NewSpeechErrorProcPtrBlock wraps a Go SpeechErrorProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewSpeechPhonemeProcPtrBlock ¶ added in v0.6.16
func NewSpeechPhonemeProcPtrBlock(handler SpeechPhonemeProcPtr) (objc.ID, func())
NewSpeechPhonemeProcPtrBlock wraps a Go SpeechPhonemeProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewSpeechSyncProcPtrBlock ¶ added in v0.6.16
func NewSpeechSyncProcPtrBlock(handler SpeechSyncProcPtr) (objc.ID, func())
NewSpeechSyncProcPtrBlock wraps a Go SpeechSyncProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewSpeechTextDoneProcPtrBlock ¶ added in v0.6.16
func NewSpeechTextDoneProcPtrBlock(handler SpeechTextDoneProcPtr) (objc.ID, func())
NewSpeechTextDoneProcPtrBlock wraps a Go SpeechTextDoneProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewSpeechWordCFProcPtrBlock ¶ added in v0.6.16
func NewSpeechWordCFProcPtrBlock(handler SpeechWordCFProcPtr) (objc.ID, func())
NewSpeechWordCFProcPtrBlock wraps a Go SpeechWordCFProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func NewSpeechWordProcPtrBlock ¶ added in v0.6.16
func NewSpeechWordProcPtrBlock(handler SpeechWordProcPtr) (objc.ID, func())
NewSpeechWordProcPtrBlock wraps a Go SpeechWordProcPtr as an Objective-C block. The caller must defer the returned cleanup function.
func PMCGImageCreateWithEPSDataProvider ¶
func PMCGImageCreateWithEPSDataProvider(epsDataProvider coregraphics.CGDataProviderRef, epsPreview coregraphics.CGImageRef) coregraphics.CGImageRef
PMCGImageCreateWithEPSDataProvider creates an image that references both the PostScript contents of EPS data and a preview (proxy) image for the data.
func PMCopyAvailablePPDs ¶
func PMCopyAvailablePPDs(domain PMPPDDomain, ppds *corefoundation.CFArrayRef) int32
PMCopyAvailablePPDs obtains the list of PostScript printer description (PPD) files in a PPD domain.
See: https://developer.apple.com/documentation/applicationservices/1464170-pmcopyavailableppds
func PMCopyLocalizedPPD ¶
func PMCopyLocalizedPPD(ppd corefoundation.CFURLRef, localizedPPD *corefoundation.CFURLRef) int32
PMCopyLocalizedPPD obtains a localized PostScript printer description (PPD) file.
See: https://developer.apple.com/documentation/applicationservices/1459690-pmcopylocalizedppd
func PMCopyPPDData ¶
func PMCopyPPDData(ppd corefoundation.CFURLRef, data *corefoundation.CFDataRef) int32
PMCopyPPDData obtains the uncompressed PPD data for a PostScript printer description (PPD) file.
See: https://developer.apple.com/documentation/applicationservices/1460345-pmcopyppddata
func PMCopyPageFormat ¶
PMCopyPageFormat copies the settings from one page format object into another.
See: https://developer.apple.com/documentation/applicationservices/1464669-pmcopypageformat
func PMCopyPrintSettings ¶
PMCopyPrintSettings copies the settings from one print settings object into another.
See: https://developer.apple.com/documentation/applicationservices/1462491-pmcopyprintsettings
func PMCreateGenericPrinter ¶
PMCreateGenericPrinter creates a generic printer object.
See: https://developer.apple.com/documentation/applicationservices/1461960-pmcreategenericprinter
func PMCreatePageFormat ¶
PMCreatePageFormat creates a new page format object.
See: https://developer.apple.com/documentation/applicationservices/1459485-pmcreatepageformat
func PMCreatePageFormatWithPMPaper ¶
PMCreatePageFormatWithPMPaper creates a page format object with a specified paper.
See: https://developer.apple.com/documentation/applicationservices/1459274-pmcreatepageformatwithpmpaper
func PMCreatePrintSettings ¶
PMCreatePrintSettings creates a new print settings object.
See: https://developer.apple.com/documentation/applicationservices/1463239-pmcreateprintsettings
func PMCreateSession ¶
func PMCreateSession(printSession *PMPrintSession) int32
PMCreateSession creates and initializes a printing session object and creates a context for printing operations.
See: https://developer.apple.com/documentation/applicationservices/1463247-pmcreatesession
func PMGetAdjustedPageRect ¶
PMGetAdjustedPageRect obtains the imageable area or page rectangle, taking into account orientation, application drawing resolution, and scaling settings.
See: https://developer.apple.com/documentation/applicationservices/1461543-pmgetadjustedpagerect
func PMGetAdjustedPaperRect ¶
PMGetAdjustedPaperRect obtains the rectangle defining the paper size, taking into account orientation, application drawing resolution, and scaling settings.
See: https://developer.apple.com/documentation/applicationservices/1459167-pmgetadjustedpaperrect
func PMGetCollate ¶
PMGetCollate obtains a Boolean value that indicates whether the job collate option is selected.
See: https://developer.apple.com/documentation/applicationservices/1464492-pmgetcollate
func PMGetCopies ¶
PMGetCopies obtains the number of copies that the user requests to be printed.
See: https://developer.apple.com/documentation/applicationservices/1464480-pmgetcopies
func PMGetDuplex ¶
func PMGetDuplex(printSettings uintptr, duplexSetting *PMDuplexMode) int32
PMGetDuplex obtains the selected duplex mode.
See: https://developer.apple.com/documentation/applicationservices/1458921-pmgetduplex
func PMGetFirstPage ¶
PMGetFirstPage obtains the number of the first page to be printed.
See: https://developer.apple.com/documentation/applicationservices/1460271-pmgetfirstpage
func PMGetLastPage ¶
PMGetLastPage obtains the number of the last page to be printed.
See: https://developer.apple.com/documentation/applicationservices/1462747-pmgetlastpage
func PMGetOrientation ¶
func PMGetOrientation(pageFormat uintptr, orientation *PMOrientation) int32
PMGetOrientation obtains the current setting for page orientation.
See: https://developer.apple.com/documentation/applicationservices/1459144-pmgetorientation
func PMGetPageFormatExtendedData ¶
func PMGetPageFormatExtendedData(pageFormat uintptr, dataID uint32, size *uint32, extendedData unsafe.Pointer) int32
PMGetPageFormatExtendedData obtains extended page format data previously stored by your application.
See: https://developer.apple.com/documentation/applicationservices/1464455-pmgetpageformatextendeddata
func PMGetPageFormatPaper ¶
PMGetPageFormatPaper obtains the paper associated with a page format object.
See: https://developer.apple.com/documentation/applicationservices/1461319-pmgetpageformatpaper
func PMGetPageRange ¶
PMGetPageRange obtains the valid range of pages that can be printed.
See: https://developer.apple.com/documentation/applicationservices/1459324-pmgetpagerange
func PMGetScale ¶
PMGetScale obtains the scaling factor currently applied to the page and paper rectangles.
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.
See: https://developer.apple.com/documentation/applicationservices/1462944-pmgetunadjustedpagerect
func PMGetUnadjustedPaperRect ¶
PMGetUnadjustedPaperRect obtains the paper rectangle, unaffected by rotation, resolution, or scaling.
See: https://developer.apple.com/documentation/applicationservices/1462939-pmgetunadjustedpaperrect
func PMPageFormatCreateDataRepresentation ¶
func PMPageFormatCreateDataRepresentation(pageFormat uintptr, data *corefoundation.CFDataRef, format PMDataFormat) int32
PMPageFormatCreateDataRepresentation creates a data representation of a page format object.
func PMPageFormatCreateWithDataRepresentation ¶
func PMPageFormatCreateWithDataRepresentation(data corefoundation.CFDataRef, pageFormat *uintptr) int32
PMPageFormatCreateWithDataRepresentation creates a page format object from a data representation.
func PMPageFormatGetPrinterID ¶
func PMPageFormatGetPrinterID(pageFormat uintptr, printerID *corefoundation.CFStringRef) int32
PMPageFormatGetPrinterID obtains the identifier of the formatting printer for a page format object.
See: https://developer.apple.com/documentation/applicationservices/1462961-pmpageformatgetprinterid
func PMPaperCreateCustom ¶
func PMPaperCreateCustom(printer uintptr, id corefoundation.CFStringRef, name corefoundation.CFStringRef, width unsafe.Pointer, height unsafe.Pointer, margins *PMPaperMargins, paperP *uintptr) int32
PMPaperCreateCustom creates a custom paper object.
See: https://developer.apple.com/documentation/applicationservices/1459322-pmpapercreatecustom
func PMPaperCreateLocalizedName ¶
func PMPaperCreateLocalizedName(paper uintptr, printer uintptr, paperName *corefoundation.CFStringRef) int32
PMPaperCreateLocalizedName obtains the localized name for a given paper.
See: https://developer.apple.com/documentation/applicationservices/1460981-pmpapercreatelocalizedname
func PMPaperGetHeight ¶
PMPaperGetHeight obtains the height of the sheet of paper represented by a paper object.
See: https://developer.apple.com/documentation/applicationservices/1460389-pmpapergetheight
func PMPaperGetID ¶
func PMPaperGetID(paper uintptr, paperID *corefoundation.CFStringRef) int32
PMPaperGetID obtains the identifier of a paper object.
See: https://developer.apple.com/documentation/applicationservices/1462910-pmpapergetid
func PMPaperGetMargins ¶
func PMPaperGetMargins(paper uintptr, paperMargins *PMPaperMargins) int32
PMPaperGetMargins obtains the margins describing the unprintable area of the sheet represented by a paper object.
See: https://developer.apple.com/documentation/applicationservices/1461994-pmpapergetmargins
func PMPaperGetPPDPaperName ¶
func PMPaperGetPPDPaperName(paper uintptr, paperName *corefoundation.CFStringRef) int32
PMPaperGetPPDPaperName obtains the PPD paper name for a given paper.
See: https://developer.apple.com/documentation/applicationservices/1461039-pmpapergetppdpapername
func PMPaperGetPrinterID ¶
func PMPaperGetPrinterID(paper uintptr, printerID *corefoundation.CFStringRef) int32
PMPaperGetPrinterID obtains the printer ID of the printer to which a given paper corresponds.
See: https://developer.apple.com/documentation/applicationservices/1461737-pmpapergetprinterid
func PMPaperGetWidth ¶
PMPaperGetWidth obtains the width of the sheet of paper represented by a paper object.
See: https://developer.apple.com/documentation/applicationservices/1459209-pmpapergetwidth
func PMPaperIsCustom ¶
PMPaperIsCustom returns a Boolean value indicating whether a specified paper is a custom paper.
See: https://developer.apple.com/documentation/applicationservices/1459526-pmpaperiscustom
func PMPresetCopyName ¶
func PMPresetCopyName(preset PMPreset, name *corefoundation.CFStringRef) int32
PMPresetCopyName obtains the localized name for a preset.
See: https://developer.apple.com/documentation/applicationservices/1460343-pmpresetcopyname
func PMPresetCreatePrintSettings ¶
func PMPresetCreatePrintSettings(preset PMPreset, session PMPrintSession, printSettings *uintptr) int32
PMPresetCreatePrintSettings creates a print settings object with settings that correspond to a preset.
See: https://developer.apple.com/documentation/applicationservices/1463414-pmpresetcreateprintsettings
func PMPresetGetAttributes ¶
func PMPresetGetAttributes(preset PMPreset, attributes *corefoundation.CFDictionaryRef) int32
PMPresetGetAttributes obtains the attributes of a preset.
See: https://developer.apple.com/documentation/applicationservices/1459042-pmpresetgetattributes
func PMPrintSettingsCopyAsDictionary ¶
func PMPrintSettingsCopyAsDictionary(printSettings uintptr, settingsDictionary *corefoundation.CFDictionaryRef) int32
PMPrintSettingsCopyAsDictionary creates a dictionary that contains the settings in a print settings object.
func PMPrintSettingsCopyKeys ¶
func PMPrintSettingsCopyKeys(printSettings uintptr, settingsKeys *corefoundation.CFArrayRef) int32
PMPrintSettingsCopyKeys obtains the keys for items in a print settings object.
See: https://developer.apple.com/documentation/applicationservices/1462730-pmprintsettingscopykeys
func PMPrintSettingsCreateDataRepresentation ¶
func PMPrintSettingsCreateDataRepresentation(printSettings uintptr, data *corefoundation.CFDataRef, format PMDataFormat) int32
PMPrintSettingsCreateDataRepresentation creates a data representation of a print settings object.
func PMPrintSettingsCreateWithDataRepresentation ¶
func PMPrintSettingsCreateWithDataRepresentation(data corefoundation.CFDataRef, printSettings *uintptr) int32
PMPrintSettingsCreateWithDataRepresentation creates a print settings object from a data representation.
func PMPrintSettingsGetJobName ¶
func PMPrintSettingsGetJobName(printSettings uintptr, name *corefoundation.CFStringRef) int32
PMPrintSettingsGetJobName obtains the name of a print job.
See: https://developer.apple.com/documentation/applicationservices/1459233-pmprintsettingsgetjobname
func PMPrintSettingsGetValue ¶
func PMPrintSettingsGetValue(printSettings uintptr, key corefoundation.CFStringRef, value *corefoundation.CFTypeRef) int32
PMPrintSettingsGetValue obtains the value of a setting in a print settings object.
See: https://developer.apple.com/documentation/applicationservices/1460602-pmprintsettingsgetvalue
func PMPrintSettingsSetJobName ¶
func PMPrintSettingsSetJobName(printSettings uintptr, name corefoundation.CFStringRef) int32
PMPrintSettingsSetJobName specifies the name of a print job.
See: https://developer.apple.com/documentation/applicationservices/1460149-pmprintsettingssetjobname
func PMPrintSettingsSetValue ¶
func PMPrintSettingsSetValue(printSettings uintptr, key corefoundation.CFStringRef, value corefoundation.CFTypeRef, locked unsafe.Pointer) int32
PMPrintSettingsSetValue stores the value of a setting in a print settings object.
See: https://developer.apple.com/documentation/applicationservices/1461697-pmprintsettingssetvalue
func PMPrintSettingsToOptions ¶
PMPrintSettingsToOptions converts print settings into a CUPS options string.
See: https://developer.apple.com/documentation/applicationservices/1459069-pmprintsettingstooptions
func PMPrintSettingsToOptionsWithPrinterAndPageFormat ¶
func PMPrintSettingsToOptionsWithPrinterAndPageFormat(settings uintptr, printer uintptr, pageFormat uintptr, options string) int32
PMPrintSettingsToOptionsWithPrinterAndPageFormat converts print settings and page format data into a CUPS options string for a specified printer.
func PMPrinterCopyDescriptionURL ¶
func PMPrinterCopyDescriptionURL(printer uintptr, descriptionType corefoundation.CFStringRef, fileURL *corefoundation.CFURLRef) int32
PMPrinterCopyDescriptionURL obtains the URL of the description file for a given printer.
See: https://developer.apple.com/documentation/applicationservices/1459187-pmprintercopydescriptionurl
func PMPrinterCopyDeviceURI ¶
func PMPrinterCopyDeviceURI(printer uintptr, deviceURI *corefoundation.CFURLRef) int32
PMPrinterCopyDeviceURI obtains the device URI of a given printer.
See: https://developer.apple.com/documentation/applicationservices/1460543-pmprintercopydeviceuri
func PMPrinterCopyHostName ¶
func PMPrinterCopyHostName(printer uintptr, hostNameP *corefoundation.CFStringRef) int32
PMPrinterCopyHostName obtains the name of the server hosting the print queue for a given printer.
See: https://developer.apple.com/documentation/applicationservices/1462076-pmprintercopyhostname
func PMPrinterCopyPresets ¶
func PMPrinterCopyPresets(printer uintptr, presetList *corefoundation.CFArrayRef) int32
PMPrinterCopyPresets obtains a list of print settings presets for a printer.
See: https://developer.apple.com/documentation/applicationservices/1459117-pmprintercopypresets
func PMPrinterCopyState ¶
func PMPrinterCopyState(printer uintptr, stateDict *corefoundation.CFDictionaryRef) int32
PMPrinterCopyState.
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.
See: https://developer.apple.com/documentation/applicationservices/1461363-pmprintercreatefromprinterid
func PMPrinterGetCommInfo ¶
func PMPrinterGetCommInfo(printer uintptr, supportsControlCharRangeP unsafe.Pointer, supportsEightBitP unsafe.Pointer) int32
PMPrinterGetCommInfo obtains information about the communication channel for a printer.
See: https://developer.apple.com/documentation/applicationservices/1461069-pmprintergetcomminfo
func PMPrinterGetDriverCreator ¶
PMPrinterGetDriverCreator obtains the creator of the driver associated with the specified printer.
See: https://developer.apple.com/documentation/applicationservices/1459107-pmprintergetdrivercreator
func PMPrinterGetDriverReleaseInfo ¶
PMPrinterGetDriverReleaseInfo obtains version information for the driver associated with the specified printer.
See: https://developer.apple.com/documentation/applicationservices/1464149-pmprintergetdriverreleaseinfo
func PMPrinterGetID ¶
func PMPrinterGetID(printer uintptr) corefoundation.CFStringRef
PMPrinterGetID returns the unique identifier of a printer.
See: https://developer.apple.com/documentation/applicationservices/1459606-pmprintergetid
func PMPrinterGetIndexedPrinterResolution ¶
func PMPrinterGetIndexedPrinterResolution(printer uintptr, index uint32, resolutionP unsafe.Pointer) int32
PMPrinterGetIndexedPrinterResolution obtains a resolution setting based on an index into the range of settings supported by the specified printer.
func PMPrinterGetLanguageInfo ¶
func PMPrinterGetLanguageInfo(printer uintptr, info *PMLanguageInfo) int32
PMPrinterGetLanguageInfo obtains information about the imaging language for the specified printer.
See: https://developer.apple.com/documentation/applicationservices/1458956-pmprintergetlanguageinfo
func PMPrinterGetLocation ¶
func PMPrinterGetLocation(printer uintptr) corefoundation.CFStringRef
PMPrinterGetLocation returns the location of a printer.
See: https://developer.apple.com/documentation/applicationservices/1461467-pmprintergetlocation
func PMPrinterGetMakeAndModelName ¶
func PMPrinterGetMakeAndModelName(printer uintptr, makeAndModel *corefoundation.CFStringRef) int32
PMPrinterGetMakeAndModelName obtains the manufacturer and model name of the specified printer.
See: https://developer.apple.com/documentation/applicationservices/1463347-pmprintergetmakeandmodelname
func PMPrinterGetMimeTypes ¶
func PMPrinterGetMimeTypes(printer uintptr, settings uintptr, mimeTypes *corefoundation.CFArrayRef) int32
PMPrinterGetMimeTypes obtains a list of MIME content types supported by a printer using the specified print settings.
See: https://developer.apple.com/documentation/applicationservices/1460125-pmprintergetmimetypes
func PMPrinterGetName ¶
func PMPrinterGetName(printer uintptr) corefoundation.CFStringRef
PMPrinterGetName returns the human-readable name of a printer.
See: https://developer.apple.com/documentation/applicationservices/1459018-pmprintergetname
func PMPrinterGetOutputResolution ¶
func PMPrinterGetOutputResolution(printer uintptr, printSettings uintptr, resolutionP unsafe.Pointer) int32
PMPrinterGetOutputResolution obtains the printer hardware output resolution for the specified print settings.
See: https://developer.apple.com/documentation/applicationservices/1459076-pmprintergetoutputresolution
func PMPrinterGetPaperList ¶
func PMPrinterGetPaperList(printer uintptr, paperList *corefoundation.CFArrayRef) int32
PMPrinterGetPaperList obtains the list of papers available for a printer.
See: https://developer.apple.com/documentation/applicationservices/1460088-pmprintergetpaperlist
func PMPrinterGetPrinterResolutionCount ¶
PMPrinterGetPrinterResolutionCount obtains the number of resolution settings supported by the specified printer.
func PMPrinterGetState ¶
func PMPrinterGetState(printer uintptr, state *PMPrinterState) int32
PMPrinterGetState obtains the current state of the print queue for a printer.
See: https://developer.apple.com/documentation/applicationservices/1462954-pmprintergetstate
func PMPrinterIsDefault ¶
PMPrinterIsDefault returns a Boolean value indicating whether a printer is the default printer for the current user.
See: https://developer.apple.com/documentation/applicationservices/1459030-pmprinterisdefault
func PMPrinterIsFavorite ¶
PMPrinterIsFavorite returns a Boolean value indicating whether a printer is in the user’s list of favorite printers.
See: https://developer.apple.com/documentation/applicationservices/1462074-pmprinterisfavorite
func PMPrinterIsPostScriptCapable ¶
PMPrinterIsPostScriptCapable returns a Boolean value indicating whether a printer is PostScript capable.
See: https://developer.apple.com/documentation/applicationservices/1464168-pmprinterispostscriptcapable
func PMPrinterIsPostScriptPrinter ¶
PMPrinterIsPostScriptPrinter determines whether a printer is a PostScript printer.
See: https://developer.apple.com/documentation/applicationservices/1462257-pmprinterispostscriptprinter
func PMPrinterIsRemote ¶
PMPrinterIsRemote indicates whether a printer is hosted by a remote print server.
See: https://developer.apple.com/documentation/applicationservices/1461377-pmprinterisremote
func PMPrinterPrintWithFile ¶
func PMPrinterPrintWithFile(printer uintptr, settings uintptr, format uintptr, mimeType corefoundation.CFStringRef, fileURL corefoundation.CFURLRef) int32
PMPrinterPrintWithFile submits a print job to a specified printer using a file that contains print data.
See: https://developer.apple.com/documentation/applicationservices/1464600-pmprinterprintwithfile
func PMPrinterPrintWithProvider ¶
func PMPrinterPrintWithProvider(printer uintptr, settings uintptr, format uintptr, mimeType corefoundation.CFStringRef, provider coregraphics.CGDataProviderRef) int32
PMPrinterPrintWithProvider submits a print job to a specified printer using a Quartz data provider to obtain the print data.
See: https://developer.apple.com/documentation/applicationservices/1461110-pmprinterprintwithprovider
func PMPrinterSendCommand ¶
func PMPrinterSendCommand(printer uintptr, commandString corefoundation.CFStringRef, jobTitle corefoundation.CFStringRef, options corefoundation.CFDictionaryRef) int32
PMPrinterSendCommand.
See: https://developer.apple.com/documentation/applicationservices/1463872-pmprintersendcommand
func PMPrinterSetDefault ¶
PMPrinterSetDefault sets the default printer for the current user.
See: https://developer.apple.com/documentation/applicationservices/1461118-pmprintersetdefault
func PMPrinterSetOutputResolution ¶
func PMPrinterSetOutputResolution(printer uintptr, printSettings uintptr, resolutionP unsafe.Pointer) int32
PMPrinterSetOutputResolution sets the print settings to reflect the specified printer hardware output resolution.
See: https://developer.apple.com/documentation/applicationservices/1459931-pmprintersetoutputresolution
func PMPrinterWritePostScriptToURL ¶
func PMPrinterWritePostScriptToURL(printer uintptr, settings uintptr, format uintptr, mimeType corefoundation.CFStringRef, sourceFileURL corefoundation.CFURLRef, destinationFileURL corefoundation.CFURLRef) int32
PMPrinterWritePostScriptToURL converts an input file of the specified MIME type to printer-ready PostScript for a destination printer.
See: https://developer.apple.com/documentation/applicationservices/1459729-pmprinterwritepostscripttourl
func PMRelease ¶
PMRelease releases a printing object by decrementing its reference count.
See: https://developer.apple.com/documentation/applicationservices/1461402-pmrelease
func PMRetain ¶
PMRetain retains a printing object by incrementing its reference count.
See: https://developer.apple.com/documentation/applicationservices/1460190-pmretain
func PMServerCreatePrinterList ¶
func PMServerCreatePrinterList(server PMServer, printerList *corefoundation.CFArrayRef) int32
PMServerCreatePrinterList creates a list of printers available to a print server.
See: https://developer.apple.com/documentation/applicationservices/1459953-pmservercreateprinterlist
func PMServerLaunchPrinterBrowser ¶
func PMServerLaunchPrinterBrowser(server PMServer, options corefoundation.CFDictionaryRef) int32
PMServerLaunchPrinterBrowser launches the printer browser to browse the printers available for a print server.
See: https://developer.apple.com/documentation/applicationservices/1460175-pmserverlaunchprinterbrowser
func PMSessionBeginCGDocumentNoDialog ¶
func PMSessionBeginCGDocumentNoDialog(printSession PMPrintSession, printSettings uintptr, pageFormat uintptr) int32
PMSessionBeginCGDocumentNoDialog begins a print job that draws into a Quartz graphics context and suppresses the printing status dialog.
func PMSessionBeginPageNoDialog ¶
func PMSessionBeginPageNoDialog(printSession PMPrintSession, pageFormat uintptr, pageFrame unsafe.Pointer) int32
PMSessionBeginPageNoDialog starts a new page for printing in the specified printing session and suppresses the printing status dialog.
See: https://developer.apple.com/documentation/applicationservices/1463416-pmsessionbeginpagenodialog
func PMSessionCopyDestinationFormat ¶
func PMSessionCopyDestinationFormat(printSession PMPrintSession, printSettings uintptr, destFormatP *corefoundation.CFStringRef) int32
PMSessionCopyDestinationFormat obtains the destination format for a print job.
See: https://developer.apple.com/documentation/applicationservices/1464266-pmsessioncopydestinationformat
func PMSessionCopyDestinationLocation ¶
func PMSessionCopyDestinationLocation(printSession PMPrintSession, printSettings uintptr, destLocationP *corefoundation.CFURLRef) int32
PMSessionCopyDestinationLocation obtains a destination location for a print job.
func PMSessionCopyOutputFormatList ¶
func PMSessionCopyOutputFormatList(printSession PMPrintSession, destType PMDestinationType, documentFormatP *corefoundation.CFArrayRef) int32
PMSessionCopyOutputFormatList obtains an array of destination formats supported by the current print destination.
See: https://developer.apple.com/documentation/applicationservices/1461332-pmsessioncopyoutputformatlist
func PMSessionCreatePageFormatList ¶
func PMSessionCreatePageFormatList(printSession PMPrintSession, printer uintptr, pageFormatList *corefoundation.CFArrayRef) int32
PMSessionCreatePageFormatList obtains a list of page format objects, each of which describes a paper size available on the specified printer.
See: https://developer.apple.com/documentation/applicationservices/1463985-pmsessioncreatepageformatlist
func PMSessionCreatePrinterList ¶
func PMSessionCreatePrinterList(printSession PMPrintSession, printerList *corefoundation.CFArrayRef, currentIndex *int, currentPrinter *uintptr) int32
PMSessionCreatePrinterList creates a list of printers available in the specified printing session.
See: https://developer.apple.com/documentation/applicationservices/1460119-pmsessioncreateprinterlist
func PMSessionDefaultPageFormat ¶
func PMSessionDefaultPageFormat(printSession PMPrintSession, pageFormat uintptr) int32
PMSessionDefaultPageFormat assigns default parameter values to a page format object used in the specified printing session.
See: https://developer.apple.com/documentation/applicationservices/1462217-pmsessiondefaultpageformat
func PMSessionDefaultPrintSettings ¶
func PMSessionDefaultPrintSettings(printSession PMPrintSession, printSettings uintptr) int32
PMSessionDefaultPrintSettings assigns default parameter values to a print settings object for the specified printing session.
See: https://developer.apple.com/documentation/applicationservices/1460138-pmsessiondefaultprintsettings
func PMSessionEndDocumentNoDialog ¶
func PMSessionEndDocumentNoDialog(printSession PMPrintSession) int32
PMSessionEndDocumentNoDialog ends a print job started by calling the function PMSessionBeginCGDocumentNoDialog(_:_:_:) or PMSessionBeginDocumentNoDialog.
See: https://developer.apple.com/documentation/applicationservices/1464527-pmsessionenddocumentnodialog
func PMSessionEndPageNoDialog ¶
func PMSessionEndPageNoDialog(printSession PMPrintSession) int32
PMSessionEndPageNoDialog indicates the end of drawing the current page for the specified printing session.
See: https://developer.apple.com/documentation/applicationservices/1462014-pmsessionendpagenodialog
func PMSessionError ¶
func PMSessionError(printSession PMPrintSession) int32
PMSessionError obtains the result code for any error returned by the printing session.
See: https://developer.apple.com/documentation/applicationservices/1460003-pmsessionerror
func PMSessionGetCGGraphicsContext ¶
func PMSessionGetCGGraphicsContext(printSession PMPrintSession, context *coregraphics.CGContextRef) int32
PMSessionGetCGGraphicsContext obtains the Quartz graphics context for the current page in a printing session.
See: https://developer.apple.com/documentation/applicationservices/1461952-pmsessiongetcggraphicscontext
func PMSessionGetCurrentPrinter ¶
func PMSessionGetCurrentPrinter(printSession PMPrintSession, currentPrinter *uintptr) int32
PMSessionGetCurrentPrinter obtains the current printer associated with a printing session.
See: https://developer.apple.com/documentation/applicationservices/1458998-pmsessiongetcurrentprinter
func PMSessionGetDataFromSession ¶
func PMSessionGetDataFromSession(printSession PMPrintSession, key corefoundation.CFStringRef, data *corefoundation.CFTypeRef) int32
PMSessionGetDataFromSession obtains application-specific data previously stored in a printing session object.
See: https://developer.apple.com/documentation/applicationservices/1462964-pmsessiongetdatafromsession
func PMSessionGetDestinationType ¶
func PMSessionGetDestinationType(printSession PMPrintSession, printSettings uintptr, destTypeP *PMDestinationType) int32
PMSessionGetDestinationType obtains the output destination for a print job.
See: https://developer.apple.com/documentation/applicationservices/1461071-pmsessiongetdestinationtype
func PMSessionSetCurrentPMPrinter ¶
func PMSessionSetCurrentPMPrinter(session PMPrintSession, printer uintptr) int32
PMSessionSetCurrentPMPrinter changes the current printer for a printing session.
See: https://developer.apple.com/documentation/applicationservices/1461096-pmsessionsetcurrentpmprinter
func PMSessionSetDataInSession ¶
func PMSessionSetDataInSession(printSession PMPrintSession, key corefoundation.CFStringRef, data corefoundation.CFTypeRef) int32
PMSessionSetDataInSession stores your application-specific data in a printing session object.
See: https://developer.apple.com/documentation/applicationservices/1461902-pmsessionsetdatainsession
func PMSessionSetDestination ¶
func PMSessionSetDestination(printSession PMPrintSession, printSettings uintptr, destType PMDestinationType, destFormat corefoundation.CFStringRef, destLocation corefoundation.CFURLRef) int32
PMSessionSetDestination sets the destination location, format, and type for a print job.
See: https://developer.apple.com/documentation/applicationservices/1459855-pmsessionsetdestination
func PMSessionSetError ¶
func PMSessionSetError(printSession PMPrintSession, printError int32) int32
PMSessionSetError sets the value of the current result code for the specified printing session.
See: https://developer.apple.com/documentation/applicationservices/1460216-pmsessionseterror
func PMSessionValidatePageFormat ¶
func PMSessionValidatePageFormat(printSession PMPrintSession, pageFormat uintptr, changed unsafe.Pointer) int32
PMSessionValidatePageFormat updates the values in a page format object and validates them against the current formatting printer.
See: https://developer.apple.com/documentation/applicationservices/1459090-pmsessionvalidatepageformat
func PMSessionValidatePrintSettings ¶
func PMSessionValidatePrintSettings(printSession PMPrintSession, printSettings uintptr, changed unsafe.Pointer) int32
PMSessionValidatePrintSettings validates a print settings object within the context of the specified printing session.
See: https://developer.apple.com/documentation/applicationservices/1458994-pmsessionvalidateprintsettings
func PMSetCollate ¶
PMSetCollate specifies whether the job collate option is selected.
See: https://developer.apple.com/documentation/applicationservices/1463223-pmsetcollate
func PMSetCopies ¶
PMSetCopies sets the initial value for the number of copies to be printed.
See: https://developer.apple.com/documentation/applicationservices/1463804-pmsetcopies
func PMSetDuplex ¶
func PMSetDuplex(printSettings uintptr, duplexSetting PMDuplexMode) int32
PMSetDuplex sets the duplex mode.
See: https://developer.apple.com/documentation/applicationservices/1462000-pmsetduplex
func PMSetFirstPage ¶
PMSetFirstPage sets the default page number of the first page to be printed.
See: https://developer.apple.com/documentation/applicationservices/1461519-pmsetfirstpage
func PMSetLastPage ¶
PMSetLastPage sets the page number of the last page to be printed.
See: https://developer.apple.com/documentation/applicationservices/1463595-pmsetlastpage
func PMSetOrientation ¶
func PMSetOrientation(pageFormat uintptr, orientation PMOrientation, lock unsafe.Pointer) int32
PMSetOrientation sets the page orientation for printing.
See: https://developer.apple.com/documentation/applicationservices/1459016-pmsetorientation
func PMSetPageFormatExtendedData ¶
func PMSetPageFormatExtendedData(pageFormat uintptr, dataID uint32, size uint32, extendedData unsafe.Pointer) int32
PMSetPageFormatExtendedData stores your application-specific data in a page format object.
See: https://developer.apple.com/documentation/applicationservices/1463464-pmsetpageformatextendeddata
func PMSetPageRange ¶
PMSetPageRange sets the valid range of pages that can be printed.
See: https://developer.apple.com/documentation/applicationservices/1462294-pmsetpagerange
func PMSetScale ¶
PMSetScale sets the scaling factor for the page and paper rectangles.
See: https://developer.apple.com/documentation/applicationservices/1463343-pmsetscale
func PMWorkflowCopyItems ¶
func PMWorkflowCopyItems(workflowItems *corefoundation.CFArrayRef) int32
PMWorkflowCopyItems obtains an array of the available PDF workflow items.
See: https://developer.apple.com/documentation/applicationservices/1459914-pmworkflowcopyitems
func PMWorkflowSubmitPDFWithOptions ¶
func PMWorkflowSubmitPDFWithOptions(workflowItem corefoundation.CFURLRef, title corefoundation.CFStringRef, options string, pdfFile corefoundation.CFURLRef) int32
PMWorkflowSubmitPDFWithOptions submits a PDF file for workflow processing using the specified CUPS options string.
See: https://developer.apple.com/documentation/applicationservices/1463747-pmworkflowsubmitpdfwithoptions
func PMWorkflowSubmitPDFWithSettings ¶
func PMWorkflowSubmitPDFWithSettings(workflowItem corefoundation.CFURLRef, settings uintptr, pdfFile corefoundation.CFURLRef) int32
PMWorkflowSubmitPDFWithSettings submits a PDF file for workflow processing using the specified print settings.
func PasteboardClear ¶
func PasteboardClear(inPasteboard PasteboardRef) int32
PasteboardClear.
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.
See: https://developer.apple.com/documentation/applicationservices/1458917-pasteboardcopyitemflavordata
func PasteboardCopyItemFlavors ¶
func PasteboardCopyItemFlavors(inPasteboard PasteboardRef, inItem PasteboardItemID, outFlavorTypes *corefoundation.CFArrayRef) int32
PasteboardCopyItemFlavors.
See: https://developer.apple.com/documentation/applicationservices/1460005-pasteboardcopyitemflavors
func PasteboardCopyName ¶
func PasteboardCopyName(inPasteboard PasteboardRef, outName *corefoundation.CFStringRef) int32
PasteboardCopyName.
See: https://developer.apple.com/documentation/applicationservices/1459455-pasteboardcopyname
func PasteboardCopyPasteLocation ¶
func PasteboardCopyPasteLocation(inPasteboard PasteboardRef, outPasteLocation *corefoundation.CFURLRef) int32
PasteboardCopyPasteLocation.
See: https://developer.apple.com/documentation/applicationservices/1462546-pasteboardcopypastelocation
func PasteboardCreate ¶
func PasteboardCreate(inName corefoundation.CFStringRef, outPasteboard *PasteboardRef) int32
PasteboardCreate.
See: https://developer.apple.com/documentation/applicationservices/1461248-pasteboardcreate
func PasteboardGetItemCount ¶
func PasteboardGetItemCount(inPasteboard PasteboardRef, outItemCount unsafe.Pointer) int32
PasteboardGetItemCount.
See: https://developer.apple.com/documentation/applicationservices/1459551-pasteboardgetitemcount
func PasteboardGetItemFlavorFlags ¶
func PasteboardGetItemFlavorFlags(inPasteboard PasteboardRef, inItem PasteboardItemID, inFlavorType corefoundation.CFStringRef, outFlags *PasteboardFlavorFlags) int32
PasteboardGetItemFlavorFlags.
See: https://developer.apple.com/documentation/applicationservices/1459353-pasteboardgetitemflavorflags
func PasteboardGetItemIdentifier ¶
func PasteboardGetItemIdentifier(inPasteboard PasteboardRef, inIndex int, outItem *PasteboardItemID) int32
PasteboardGetItemIdentifier.
See: https://developer.apple.com/documentation/applicationservices/1463412-pasteboardgetitemidentifier
func PasteboardGetTypeID ¶
func PasteboardGetTypeID() uint
PasteboardGetTypeID.
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.
See: https://developer.apple.com/documentation/applicationservices/1463184-pasteboardputitemflavor
func PasteboardResolvePromises ¶
func PasteboardResolvePromises(inPasteboard PasteboardRef) int32
PasteboardResolvePromises.
See: https://developer.apple.com/documentation/applicationservices/1460816-pasteboardresolvepromises
func PasteboardSetPasteLocation ¶
func PasteboardSetPasteLocation(inPasteboard PasteboardRef, inPasteLocation corefoundation.CFURLRef) int32
PasteboardSetPasteLocation.
See: https://developer.apple.com/documentation/applicationservices/1460572-pasteboardsetpastelocation
func PasteboardSetPromiseKeeper ¶
func PasteboardSetPromiseKeeper(inPasteboard PasteboardRef, inPromiseKeeper PasteboardPromiseKeeperProcPtr, inContext unsafe.Pointer) int32
PasteboardSetPromiseKeeper.
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.
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.
See: https://developer.apple.com/documentation/applicationservices/1463721-ploticonrefincontext
func ProcessInformationCopyDictionary
deprecated
func ProcessInformationCopyDictionary(PSN *ProcessSerialNumber, infoToReturn uint32) corefoundation.CFDictionaryRef
ProcessInformationCopyDictionary.
Deprecated: Deprecated since macOS 10.9.
func SameProcess
deprecated
func SameProcess(PSN1 *ProcessSerialNumber, PSN2 *ProcessSerialNumber, result *bool) int16
SameProcess.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501087-sameprocess
func SetFrontProcess
deprecated
func SetFrontProcess(pPSN *ProcessSerialNumber) int16
SetFrontProcess.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501042-setfrontprocess
func SetFrontProcessWithOptions
deprecated
func SetFrontProcessWithOptions(inProcess *ProcessSerialNumber, inOptions uint32) int32
SetFrontProcessWithOptions.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501003-setfrontprocesswithoptions
func SetIconFamilyData ¶
SetIconFamilyData.
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.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552223-setspeechinfo
func SetSpeechPitch
deprecated
func SetSpeechPitch(chan_ *SpeechChannelRecord, pitch int32) int16
SetSpeechPitch sets the speech pitch on a designated speech channel.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1462674-setspeechpitch
func SetSpeechProperty
deprecated
func SetSpeechProperty(chan_ *SpeechChannelRecord, property corefoundation.CFStringRef, object corefoundation.CFTypeRef) int16
SetSpeechProperty sets the value of the specified speech-channel property.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1459256-setspeechproperty
func SetSpeechRate
deprecated
func SetSpeechRate(chan_ *SpeechChannelRecord, rate int32) int16
SetSpeechRate sets the speech rate of a designated speech channel.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1459896-setspeechrate
func ShowHideProcess
deprecated
func ShowHideProcess(psn *ProcessSerialNumber, visible bool) int16
ShowHideProcess.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501053-showhideprocess
func SpeakBuffer
deprecated
func SpeakBuffer(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint, controlFlags int32) int16
SpeakBuffer speaks a buffer of text, using certain flags to controlspeech behavior.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552252-speakbuffer
func SpeakCFString
deprecated
func SpeakCFString(chan_ *SpeechChannelRecord, aString corefoundation.CFStringRef, options corefoundation.CFDictionaryRef) int16
SpeakCFString begins speaking a string represented as a [CFString] object.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1461621-speakcfstring
func SpeakString
deprecated
SpeakString begins speaking a text string.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552250-speakstring
func SpeakText
deprecated
func SpeakText(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint) int16
SpeakText begins speaking a buffer of text.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552236-speaktext
func SpeechBusy
deprecated
func SpeechBusy() int16
SpeechBusy determines whether any channels of speech are currentlysynthesizing speech.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1464581-speechbusy
func SpeechBusySystemWide
deprecated
func SpeechBusySystemWide() int16
SpeechBusySystemWide determines if any speech is currently being synthesizedin your application or elsewhere on the computer.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1460113-speechbusysystemwide
func SpeechManagerVersion
deprecated
func SpeechManagerVersion() uint32
SpeechManagerVersion determines the current version of the Speech SynthesisManager installed in the system.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1462334-speechmanagerversion
func SpeechSynthesisRegisterModuleURL
deprecated
func SpeechSynthesisRegisterModuleURL(url corefoundation.CFURLRef) int16
SpeechSynthesisRegisterModuleURL registers and makes available a speech synthesizer or voice.
Deprecated: Deprecated since macOS 13.0.
func SpeechSynthesisUnregisterModuleURL
deprecated
func SpeechSynthesisUnregisterModuleURL(url corefoundation.CFURLRef) int16
SpeechSynthesisUnregisterModuleURL unregisters a registered speech synthesizer or voice.
Deprecated: Deprecated since macOS 13.0.
func StopSpeech
deprecated
func StopSpeech(chan_ *SpeechChannelRecord) int16
StopSpeech terminates speech immediately on the specified channel.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1462745-stopspeech
func StopSpeechAt
deprecated
func StopSpeechAt(chan_ *SpeechChannelRecord, whereToStop int32) int16
StopSpeechAt terminates speech delivery on a specified channel eitherimmediately or at the end of the current word or sentence.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1459780-stopspeechat
func TextToPhonemes
deprecated
func TextToPhonemes(chan_ *SpeechChannelRecord, textBuf unsafe.Pointer, textBytes uint, phonemeBuf kernel.Handle, phonemeBytes *int) int16
TextToPhonemes converts a buffer of textual data into phonemic data.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552235-texttophonemes
func TransformProcessType ¶
func TransformProcessType(psn unsafe.Pointer, transformState ProcessApplicationTransformState) int32
TransformProcessType.
See: https://developer.apple.com/documentation/applicationservices/1462420-transformprocesstype
func TranslationCopyDestinationType ¶
func TranslationCopyDestinationType(inTranslation TranslationRef, outDestinationType *corefoundation.CFStringRef) int32
TranslationCopyDestinationType.
See: https://developer.apple.com/documentation/applicationservices/1459620-translationcopydestinationtype
func TranslationCopySourceType ¶
func TranslationCopySourceType(inTranslation TranslationRef, outSourceType *corefoundation.CFStringRef) int32
TranslationCopySourceType.
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.
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.
func TranslationGetTranslationFlags ¶
func TranslationGetTranslationFlags(inTranslation TranslationRef, outTranslationFlags *TranslationFlags) int32
TranslationGetTranslationFlags.
See: https://developer.apple.com/documentation/applicationservices/1459307-translationgettranslationflags
func TranslationGetTypeID ¶
func TranslationGetTypeID() uint
TranslationGetTypeID.
See: https://developer.apple.com/documentation/applicationservices/1463809-translationgettypeid
func TranslationPerformForData ¶
func TranslationPerformForData(inTranslation TranslationRef, inSourceData corefoundation.CFDataRef, outDestinationData *corefoundation.CFDataRef) int32
TranslationPerformForData.
See: https://developer.apple.com/documentation/applicationservices/1460828-translationperformfordata
func TranslationPerformForFile ¶
func TranslationPerformForFile(inTranslation TranslationRef, inSourceFile unsafe.Pointer, inDestinationDirectory unsafe.Pointer, inDestinationName corefoundation.CFStringRef, outTranslatedFile unsafe.Pointer) int32
TranslationPerformForFile.
See: https://developer.apple.com/documentation/applicationservices/1464541-translationperformforfile
func TranslationPerformForURL ¶
func TranslationPerformForURL(inTranslation TranslationRef, inSourceURL corefoundation.CFURLRef, inDestinationURL corefoundation.CFURLRef, outTranslatedURL *corefoundation.CFURLRef) int32
TranslationPerformForURL.
See: https://developer.apple.com/documentation/applicationservices/1460118-translationperformforurl
func UAZoomChangeFocus ¶
func UAZoomChangeFocus(inRect unsafe.Pointer, inHighlightRect unsafe.Pointer, inType UAZoomChangeFocusType) int32
UAZoomChangeFocus tells the Universal Access zoom feature where it should focus.
See: https://developer.apple.com/documentation/applicationservices/1458830-uazoomchangefocus
func UAZoomEnabled ¶
func UAZoomEnabled() bool
UAZoomEnabled determines if the Universal Access zoom feature is enabled.
See: https://developer.apple.com/documentation/applicationservices/1462288-uazoomenabled
func UseDictionary
deprecated
func UseDictionary(chan_ *SpeechChannelRecord, dictionary kernel.Handle) int16
UseDictionary installs the designated dictionary into a speech channel.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552255-usedictionary
func UseSpeechDictionary
deprecated
func UseSpeechDictionary(chan_ *SpeechChannelRecord, speechDictionary corefoundation.CFDictionaryRef) int16
UseSpeechDictionary registers a speech dictionary with a speech channel.
Deprecated: Deprecated since macOS 13.0.
See: https://developer.apple.com/documentation/applicationservices/1463688-usespeechdictionary
func WakeUpProcess
deprecated
func WakeUpProcess(PSN *ProcessSerialNumber) int16
WakeUpProcess.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1501091-wakeupprocess
Types ¶
type 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 struct {
// contains filtered or unexported fields
}
ATSUBackgroundData
func (*ATSUBackgroundData) BackgroundColor ¶ added in v0.6.17
func (s *ATSUBackgroundData) BackgroundColor() ATSUBackgroundColor
BackgroundColor returns the BackgroundColor field from the record's packed storage.
func (*ATSUBackgroundData) BackgroundUPP ¶ added in v0.6.17
func (s *ATSUBackgroundData) BackgroundUPP() [16]byte
BackgroundUPP returns the BackgroundUPP field from the record's packed storage.
func (*ATSUBackgroundData) SetBackgroundColor ¶ added in v0.6.17
func (s *ATSUBackgroundData) SetBackgroundColor(v ATSUBackgroundColor)
SetBackgroundColor updates the BackgroundColor field in the record's packed storage.
func (*ATSUBackgroundData) SetBackgroundUPP ¶ added in v0.6.17
func (s *ATSUBackgroundData) SetBackgroundUPP(v [16]byte)
SetBackgroundUPP updates the BackgroundUPP field in the record's packed storage.
type 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.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1462083-axmakeprocesstrusted
func AXObserverAddNotification ¶
func AXObserverAddNotification(observer AXObserverRef, element AXUIElementRef, notification corefoundation.CFStringRef, refcon uintptr) AXError
AXObserverAddNotification registers the specified observer to receive notifications from the specified accessibility object.
See: https://developer.apple.com/documentation/applicationservices/1462089-axobserveraddnotification
func AXObserverCreate ¶
func AXObserverCreate(application int32, callback AXObserverCallback, outObserver *AXObserverRef) AXError
AXObserverCreate creates a new observer that can receive notifications from the specified application.
See: https://developer.apple.com/documentation/applicationservices/1460133-axobservercreate
func AXObserverCreateWithInfoCallback ¶
func AXObserverCreateWithInfoCallback(application int32, callback AXObserverCallbackWithInfo, outObserver *AXObserverRef) AXError
AXObserverCreateWithInfoCallback creates a new observer that can receive notifications with an information dictionary from the specified application.
func AXObserverRemoveNotification ¶
func AXObserverRemoveNotification(observer AXObserverRef, element AXUIElementRef, notification corefoundation.CFStringRef) AXError
AXObserverRemoveNotification removes the specified notification from the list of notifications the observer wants to receive from the accessibility object.
See: https://developer.apple.com/documentation/applicationservices/1462066-axobserverremovenotification
func AXUIElementCopyActionDescription ¶
func AXUIElementCopyActionDescription(element AXUIElementRef, action corefoundation.CFStringRef, description *corefoundation.CFStringRef) AXError
AXUIElementCopyActionDescription returns a localized description of the specified accessibility object's action.
func AXUIElementCopyActionNames ¶
func AXUIElementCopyActionNames(element AXUIElementRef, names *corefoundation.CFArrayRef) AXError
AXUIElementCopyActionNames returns a list of all the actions the specified accessibility object can perform.
See: https://developer.apple.com/documentation/applicationservices/1462053-axuielementcopyactionnames
func AXUIElementCopyAttributeNames ¶
func AXUIElementCopyAttributeNames(element AXUIElementRef, names *corefoundation.CFArrayRef) AXError
AXUIElementCopyAttributeNames returns a list of all the attributes supported by the specified accessibility object.
See: https://developer.apple.com/documentation/applicationservices/1459475-axuielementcopyattributenames
func AXUIElementCopyAttributeValue ¶
func AXUIElementCopyAttributeValue(element AXUIElementRef, attribute corefoundation.CFStringRef, value *corefoundation.CFTypeRef) AXError
AXUIElementCopyAttributeValue returns the value of an accessibility object's attribute.
See: https://developer.apple.com/documentation/applicationservices/1462085-axuielementcopyattributevalue
func AXUIElementCopyAttributeValues ¶
func AXUIElementCopyAttributeValues(element AXUIElementRef, attribute corefoundation.CFStringRef, index int, maxValues int, values *corefoundation.CFArrayRef) AXError
AXUIElementCopyAttributeValues returns an array of attribute values for the accessibility object's attribute, starting at the specified index.
See: https://developer.apple.com/documentation/applicationservices/1462060-axuielementcopyattributevalues
func AXUIElementCopyElementAtPosition ¶
func AXUIElementCopyElementAtPosition(application AXUIElementRef, x unsafe.Pointer, y unsafe.Pointer, element *AXUIElementRef) AXError
AXUIElementCopyElementAtPosition returns the accessibility object at the specified position in top-left relative screen coordinates.
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.
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.
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.
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.
func AXUIElementGetPid ¶
func AXUIElementGetPid(element AXUIElementRef, pid *int32) AXError
AXUIElementGetPid returns the process ID associated with the specified accessibility object.
See: https://developer.apple.com/documentation/applicationservices/1460337-axuielementgetpid
func AXUIElementIsAttributeSettable ¶
func AXUIElementIsAttributeSettable(element AXUIElementRef, attribute corefoundation.CFStringRef, settable unsafe.Pointer) AXError
AXUIElementIsAttributeSettable returns whether the specified accessibility object's attribute can be modified.
See: https://developer.apple.com/documentation/applicationservices/1459972-axuielementisattributesettable
func AXUIElementPerformAction ¶
func AXUIElementPerformAction(element AXUIElementRef, action corefoundation.CFStringRef) AXError
AXUIElementPerformAction requests that the specified accessibility object perform the specified action.
See: https://developer.apple.com/documentation/applicationservices/1462091-axuielementperformaction
func AXUIElementPostKeyboardEvent
deprecated
func AXUIElementPostKeyboardEvent(application AXUIElementRef, keyChar uint16, virtualKey uint16, keyDown bool) AXError
AXUIElementPostKeyboardEvent posts keys to the specified application.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/applicationservices/1462057-axuielementpostkeyboardevent
func AXUIElementSetAttributeValue ¶
func AXUIElementSetAttributeValue(element AXUIElementRef, attribute corefoundation.CFStringRef, value corefoundation.CFTypeRef) AXError
AXUIElementSetAttributeValue sets the accessibility object's attribute to the specified value.
See: https://developer.apple.com/documentation/applicationservices/1460434-axuielementsetattributevalue
func AXUIElementSetMessagingTimeout ¶
func AXUIElementSetMessagingTimeout(element AXUIElementRef, timeoutInSeconds unsafe.Pointer) AXError
AXUIElementSetMessagingTimeout sets the timeout value used in the accessibility API.
See: https://developer.apple.com/documentation/applicationservices/1459345-axuielementsetmessagingtimeout
type AXMenuItemModifiers ¶
type AXMenuItemModifiers uint32
See: https://developer.apple.com/documentation/applicationservices/axmenuitemmodifiers
const ( Control AXMenuItemModifiers = 4 NoCommand AXMenuItemModifiers = 8 Option AXMenuItemModifiers = 2 Shift AXMenuItemModifiers = 1 )
func (AXMenuItemModifiers) String ¶
func (e AXMenuItemModifiers) String() string
type 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.
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.
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.
See: https://developer.apple.com/documentation/applicationservices/3882823-axtextmarkercreate
func AXTextMarkerRangeCopyEndMarker ¶
func AXTextMarkerRangeCopyEndMarker(textMarkerRange AXTextMarkerRangeRef) AXTextMarkerRef
AXTextMarkerRangeCopyEndMarker.
See: https://developer.apple.com/documentation/applicationservices/3882827-axtextmarkerrangecopyendmarker
func AXTextMarkerRangeCopyStartMarker ¶
func AXTextMarkerRangeCopyStartMarker(textMarkerRange AXTextMarkerRangeRef) AXTextMarkerRef
AXTextMarkerRangeCopyStartMarker.
type AXUIElementRef ¶
type AXUIElementRef uintptr
AXUIElementRef is a structure used to refer to an accessibility object.
See: https://developer.apple.com/documentation/applicationservices/axuielementref
func AXUIElementCreateApplication ¶
func AXUIElementCreateApplication(pid int32) AXUIElementRef
AXUIElementCreateApplication creates and returns the top-level accessibility object for the application with the specified process ID.
See: https://developer.apple.com/documentation/applicationservices/1459374-axuielementcreateapplication
func AXUIElementCreateSystemWide ¶
func AXUIElementCreateSystemWide() AXUIElementRef
AXUIElementCreateSystemWide returns an accessibility object that provides access to system attributes.
See: https://developer.apple.com/documentation/applicationservices/1462095-axuielementcreatesystemwide
type 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.
See: https://developer.apple.com/documentation/applicationservices/1459351-axvaluecreate
type AXValueType ¶
type AXValueType uint32
See: https://developer.apple.com/documentation/applicationservices/axvaluetype
func AXValueGetType ¶
func AXValueGetType(value AXValueRef) AXValueType
AXValueGetType.
See: https://developer.apple.com/documentation/applicationservices/1460911-axvaluegettype
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 BadPasteboardSyncErr ¶
type BadPasteboardSyncErr int32
const ( BadPasteboardFlavorErr BadPasteboardSyncErr = -25133 BadPasteboardIndexErr BadPasteboardSyncErr = -25131 BadPasteboardItemErr BadPasteboardSyncErr = -25132 BadPasteboardSyncErrValue BadPasteboardSyncErr = -25130 DuplicatePasteboardFlavorErr BadPasteboardSyncErr = -25134 NoPasteboardPromiseKeeperErr BadPasteboardSyncErr = -25136 NotPasteboardOwnerErr BadPasteboardSyncErr = -25135 )
func (BadPasteboardSyncErr) String ¶
func (e BadPasteboardSyncErr) String() string
type BadTranslationRef ¶
type BadTranslationRef int32
const (
BadTranslationRefErr BadTranslationRef = -3031
)
func (BadTranslationRef) String ¶
func (e BadTranslationRef) String() string
type BitMap ¶
type BitMap struct {
// contains filtered or unexported fields
}
BitMap
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/bitmap
func (*BitMap) 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 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 CM2ProfilePtr ¶
type CM2ProfilePtr = *CM2Profile
See: https://developer.apple.com/documentation/applicationservices/cm2profileptr
type CMDeviceClass ¶
type CMDeviceClass = uint32
CMDeviceClass is define constants to represent a variety of input and output devices.
See: https://developer.apple.com/documentation/applicationservices/cmdeviceclass
type CMDeviceInfo ¶
type CMDeviceInfo struct {
DataVersion unsafe.Pointer
DeviceClass unsafe.Pointer
DeviceID unsafe.Pointer
DeviceScope unsafe.Pointer
DeviceState unsafe.Pointer
DefaultProfileID unsafe.Pointer
DeviceName unsafe.Pointer // See the CFDictionary documentation for a description of the [CFDictionaryRef] data type.
ProfileCount unsafe.Pointer
Reserved unsafe.Pointer
}
CMDeviceInfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmdeviceinfo
type CMDeviceProfileArray ¶
CMDeviceProfileArray
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmdeviceprofilearray
type CMDeviceScope ¶
CMDeviceScope
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmdevicescope
type CMFlattenProcPtr ¶
type CMFlattenProcPtr = func(command int32, size unsafe.Pointer, data unsafe.Pointer, refCon unsafe.Pointer) int16
CMFlattenProcPtr is defines a pointer to a data transfer callback function that transfers profile data from the format for embedded profiles to disk file format or vice versa.
See: https://developer.apple.com/documentation/applicationservices/cmflattenprocptr
type CMFlattenUPP ¶
CMFlattenUPP is defines a universal procedure pointer to a data-flattening callback.
See: https://developer.apple.com/documentation/applicationservices/cmflattenupp
type CMFloatBitmapFlags ¶
type CMFloatBitmapFlags uint32
See: https://developer.apple.com/documentation/applicationservices/cmfloatbitmapflags
const ( KCMFloatBitmapFlagsAlpha CMFloatBitmapFlags = 1 KCMFloatBitmapFlagsAlphaPremul CMFloatBitmapFlags = 2 KCMFloatBitmapFlagsNone CMFloatBitmapFlags = 0 KCMFloatBitmapFlagsRangeClipped CMFloatBitmapFlags = 4 )
func (CMFloatBitmapFlags) String ¶
func (e CMFloatBitmapFlags) String() string
type CMMultiFunctLutA2BType ¶
type CMMultiFunctLutA2BType = CMMultiFunctLutType
See: https://developer.apple.com/documentation/applicationservices/cmmultifunctluta2btype
type CMMultiFunctLutType ¶
type CMMultiFunctLutType struct {
TypeDescriptor unsafe.Pointer
Reserved unsafe.Pointer
InputChannels unsafe.Pointer
OutputChannels unsafe.Pointer
Reserved2 unsafe.Pointer
OffsetBcurves unsafe.Pointer
OffsetMatrix unsafe.Pointer
OffsetMcurves unsafe.Pointer
OffsetCLUT unsafe.Pointer
OffsetAcurves unsafe.Pointer
Data unsafe.Pointer
}
CMMultiFunctLutType
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmmultifunctluttype
type CMXYZColor ¶
type CMXYZColor struct {
X CMXYZComponent
Y CMXYZComponent
Z CMXYZComponent
}
CMXYZColor - Contains values for a color specified in XYZ color space.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/cmxyzcolor
type CMXYZComponent ¶
type CMXYZComponent = uint16
See: https://developer.apple.com/documentation/applicationservices/cmxyzcomponent
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 CmAToB0Tag ¶
type CmAToB0Tag uint32
const ( CmAToB0TagValue CmAToB0Tag = 'A'<<24 | '2'<<16 | 'B'<<8 | '0' // 'A2B0' CmAToB1Tag CmAToB0Tag = 'A'<<24 | '2'<<16 | 'B'<<8 | '1' // 'A2B1' CmAToB2Tag CmAToB0Tag = 'A'<<24 | '2'<<16 | 'B'<<8 | '2' // 'A2B2' CmBToA0Tag CmAToB0Tag = 'B'<<24 | '2'<<16 | 'A'<<8 | '0' // 'B2A0' CmBToA1Tag CmAToB0Tag = 'B'<<24 | '2'<<16 | 'A'<<8 | '1' // 'B2A1' CmBToA2Tag CmAToB0Tag = 'B'<<24 | '2'<<16 | 'A'<<8 | '2' // 'B2A2' CmBlueColorantTag CmAToB0Tag = 'b'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'bXYZ' CmBlueTRCTag CmAToB0Tag = 'b'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'bTRC' CmCalibrationDateTimeTag CmAToB0Tag = 'c'<<24 | 'a'<<16 | 'l'<<8 | 't' // 'calt' CmCharTargetTag CmAToB0Tag = 't'<<24 | 'a'<<16 | 'r'<<8 | 'g' // 'targ' CmChromaticAdaptationTag CmAToB0Tag = 'c'<<24 | 'h'<<16 | 'a'<<8 | 'd' // 'chad' CmCopyrightTag CmAToB0Tag = 'c'<<24 | 'p'<<16 | 'r'<<8 | 't' // 'cprt' CmDeviceMfgDescTag CmAToB0Tag = 'd'<<24 | 'm'<<16 | 'n'<<8 | 'd' // 'dmnd' CmDeviceModelDescTag CmAToB0Tag = 'd'<<24 | 'm'<<16 | 'd'<<8 | 'd' // 'dmdd' CmGamutTag CmAToB0Tag = 'g'<<24 | 'a'<<16 | 'm'<<8 | 't' // 'gamt' CmGrayTRCTag CmAToB0Tag = 'k'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'kTRC' CmGreenColorantTag CmAToB0Tag = 'g'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'gXYZ' CmGreenTRCTag CmAToB0Tag = 'g'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'gTRC' CmLuminanceTag CmAToB0Tag = 'l'<<24 | 'u'<<16 | 'm'<<8 | 'i' // 'lumi' CmMeasurementTag CmAToB0Tag = 'm'<<24 | 'e'<<16 | 'a'<<8 | 's' // 'meas' CmMediaBlackPointTag CmAToB0Tag = 'b'<<24 | 'k'<<16 | 'p'<<8 | 't' // 'bkpt' CmMediaWhitePointTag CmAToB0Tag = 'w'<<24 | 't'<<16 | 'p'<<8 | 't' // 'wtpt' CmNamedColor2Tag CmAToB0Tag = 'n'<<24 | 'c'<<16 | 'l'<<8 | '2' // 'ncl2' CmNamedColorTag CmAToB0Tag = 'n'<<24 | 'c'<<16 | 'o'<<8 | 'l' // 'ncol' CmPS2CRD0Tag CmAToB0Tag = 'p'<<24 | 's'<<16 | 'd'<<8 | '0' // 'psd0' CmPS2CRD1Tag CmAToB0Tag = 'p'<<24 | 's'<<16 | 'd'<<8 | '1' // 'psd1' CmPS2CRD2Tag CmAToB0Tag = 'p'<<24 | 's'<<16 | 'd'<<8 | '2' // 'psd2' CmPS2CRD3Tag CmAToB0Tag = 'p'<<24 | 's'<<16 | 'd'<<8 | '3' // 'psd3' CmPS2CSATag CmAToB0Tag = 'p'<<24 | 's'<<16 | '2'<<8 | 's' // 'ps2s' CmPS2RenderingIntentTag CmAToB0Tag = 'p'<<24 | 's'<<16 | '2'<<8 | 'i' // 'ps2i' CmPreview0Tag CmAToB0Tag = 'p'<<24 | 'r'<<16 | 'e'<<8 | '0' // 'pre0' CmPreview1Tag CmAToB0Tag = 'p'<<24 | 'r'<<16 | 'e'<<8 | '1' // 'pre1' CmPreview2Tag CmAToB0Tag = 'p'<<24 | 'r'<<16 | 'e'<<8 | '2' // 'pre2' CmProfileDescriptionTag CmAToB0Tag = 'd'<<24 | 'e'<<16 | 's'<<8 | 'c' // 'desc' CmProfileSequenceDescTag CmAToB0Tag = 'p'<<24 | 's'<<16 | 'e'<<8 | 'q' // 'pseq' CmRedColorantTag CmAToB0Tag = 'r'<<24 | 'X'<<16 | 'Y'<<8 | 'Z' // 'rXYZ' CmRedTRCTag CmAToB0Tag = 'r'<<24 | 'T'<<16 | 'R'<<8 | 'C' // 'rTRC' CmScreeningDescTag CmAToB0Tag = 's'<<24 | 'c'<<16 | 'r'<<8 | 'd' // 'scrd' CmScreeningTag CmAToB0Tag = 's'<<24 | 'c'<<16 | 'r'<<8 | 'n' // 'scrn' CmTechnologyTag CmAToB0Tag = 't'<<24 | 'e'<<16 | 'c'<<8 | 'h' // 'tech' CmUcrBgTag CmAToB0Tag = 'b'<<24 | 'f'<<16 | 'd'<<8 | ' ' // 'bfd ' CmViewingConditionsDescTag CmAToB0Tag = 'v'<<24 | 'u'<<16 | 'e'<<8 | 'd' // 'vued' CmViewingConditionsTag CmAToB0Tag = 'v'<<24 | 'i'<<16 | 'e'<<8 | 'w' // 'view' )
func (CmAToB0Tag) String ¶ added in v0.6.17
func (e CmAToB0Tag) String() string
type CmAsciiData ¶
type CmAsciiData uint32
const ( // CmAsciiDataValue: ASCII data. CmAsciiDataValue CmAsciiData = 0 // CmBinaryData: Binary data. CmBinaryData CmAsciiData = 1 )
func (CmAsciiData) String ¶ added in v0.6.17
func (e CmAsciiData) String() string
type CmBlackPoint ¶
type CmBlackPoint uint32
const (
CmBlackPointCompensation CmBlackPoint = 1
)
func (CmBlackPoint) String ¶
func (e CmBlackPoint) String() string
type CmCS1 ¶
type CmCS1 uint32
const ( // CmCS1ChromTag: The tag signature for the profile chromaticities tag whose element data specifies the XYZ chromaticities for the six primary and secondary colors (red, green, blue, cyan, magenta, and yellow). CmCS1ChromTag CmCS1 = 'c'<<24 | 'h'<<16 | 'r'<<8 | 'm' // 'chrm' // CmCS1CustTag: Private data for a custom CMM. CmCS1CustTag CmCS1 = 'c'<<24 | 'u'<<16 | 's'<<8 | 't' // 'cust' // CmCS1NameTag: The tag signature for the profile name string. CmCS1NameTag CmCS1 = 'n'<<24 | 'a'<<16 | 'm'<<8 | 'e' // 'name' // CmCS1TRCTag: The tag signature for profile tonal response curve data for the associated device. CmCS1TRCTag CmCS1 = 't'<<24 | 'r'<<16 | 'c'<<8 | ' ' // 'trc ' )
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 CmDeviceDBNotFoundErr ¶
type CmDeviceDBNotFoundErr int32
const ( // CmDeviceAlreadyRegistered: Device already registered; returned by a CM device integration routine. CmDeviceAlreadyRegistered CmDeviceDBNotFoundErr = -4228 // CmDeviceDBNotFoundErrValue: Preferences not found or loaded; returned by a CM device integration routine. CmDeviceDBNotFoundErrValue CmDeviceDBNotFoundErr = -4227 // CmDeviceNotRegistered: Device not found; returned by a CM device integration routine. CmDeviceNotRegistered CmDeviceDBNotFoundErr = -4229 // CmDeviceProfilesNotFound: Profiles not found; returned by a CM device integration routine. CmDeviceProfilesNotFound CmDeviceDBNotFoundErr = -4230 // CmInternalCFErr: CoreFoundation failure; returned by a CM device integration routine. CmInternalCFErr CmDeviceDBNotFoundErr = -4231 CmPrefsSynchError CmDeviceDBNotFoundErr = -4232 )
func (CmDeviceDBNotFoundErr) String ¶ added in v0.6.17
func (e CmDeviceDBNotFoundErr) String() string
type CmDeviceState ¶
type CmDeviceState int32
const ( CmDeviceStateAppleRsvdBits CmDeviceState = -16711681 CmDeviceStateBusy CmDeviceState = 0x2 CmDeviceStateDefault CmDeviceState = 0 CmDeviceStateDeviceRsvdBits CmDeviceState = 0xff0000 CmDeviceStateForceNotify CmDeviceState = -2147483648 CmDeviceStateOffline CmDeviceState = 0x1 )
func (CmDeviceState) String ¶
func (e CmDeviceState) String() string
type CmEmbedded ¶
type CmEmbedded uint32
const ( // CmEmbeddedProfile: 0 is not embedded profile, 1 is embedded profile CmEmbeddedProfile CmEmbedded = 0 // CmEmbeddedUse: 0 is to use anywhere, 1 is to use as embedded profile only CmEmbeddedUse CmEmbedded = 1 )
func (CmEmbedded) String ¶
func (e CmEmbedded) String() string
type CmGeometryUnknown ¶
type CmGeometryUnknown uint32
const ( CmGeometry045or450 CmGeometryUnknown = 0x1 CmGeometry0dord0 CmGeometryUnknown = 0x2 CmGeometryUnknownValue CmGeometryUnknown = 0 )
func (CmGeometryUnknown) String ¶ added in v0.6.17
func (e CmGeometryUnknown) String() string
type CmGray8Space ¶
type CmGray8Space uint32
const ( CmARGB32PmulSpace CmGray8Space = 6337 // CmARGB32Space: # Discussion CmARGB32Space CmGray8Space = 6273 CmARGB64LPmulSpace CmGray8Space = 31425 CmARGB64LSpace CmGray8Space = 31361 CmARGB64PmulSpace CmGray8Space = 15041 CmARGB64Space CmGray8Space = 14977 // CmCMYK32Space: A CMYK color space composed of cyan, magenta, yellow, and black components whose values are packed with 8 bits of storage per component. CmCMYK32Space CmGray8Space = 2050 CmCMYK64LSpace CmGray8Space = 27138 // CmCMYK64Space: A CMYK color space composed of cyan, magenta, yellow, and black components whose values are packed with 16 bits of storage per component. CmCMYK64Space CmGray8Space = 10754 // CmGamutResult1Space: # Discussion CmGamutResult1Space CmGray8Space = 2828 CmGray16LSpace CmGray8Space = 16394 // CmGray16Space: A luminance color space with a single 16-bit component, gray. CmGray16Space CmGray8Space = 10 CmGray8SpaceValue CmGray8Space = 10250 CmGrayA16PmulSpace CmGray8Space = 8394 CmGrayA16Space CmGray8Space = 8330 CmGrayA32LPmulSpace CmGray8Space = 16586 CmGrayA32LSpace CmGray8Space = 16522 CmGrayA32PmulSpace CmGray8Space = 202 // CmGrayA32Space: A luminance color space with two components, a gray component followed by an alpha channel component. CmGrayA32Space CmGray8Space = 138 // CmHLS32Space: An HLS color space composed of hue, lightness, and saturation components whose values are packed with 10 bits of storage per component. CmHLS32Space CmGray8Space = 2564 // CmHSV32Space: An HSV color space composed of hue, saturation, and value components whose values are packed with 10 bits of storage per component. CmHSV32Space CmGray8Space = 2563 // CmLAB24Space: # Discussion CmLAB24Space CmGray8Space = 8456 // CmLAB32Space: # Discussion CmLAB32Space CmGray8Space = 2568 CmLAB48LSpace CmGray8Space = 26888 // CmLAB48Space: # Discussion CmLAB48Space CmGray8Space = 10504 // CmLUV32Space: An L*u*v* color space composed of L*, u*, and v* components whose values are packed with 10 bits per component. CmLUV32Space CmGray8Space = 2567 // CmMCEight8Space: An eight-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. CmMCEight8Space CmGray8Space = 9492 // CmMCFive8Space: A five-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. CmMCFive8Space CmGray8Space = 8721 // CmMCSeven8Space: A seven-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. CmMCSeven8Space CmGray8Space = 9235 // CmMCSix8Space: A six-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. CmMCSix8Space CmGray8Space = 8978 CmNamedIndexed32LSpace CmGray8Space = 26384 // CmNamedIndexed32Space: A color space where each color is stored as a single 32-bit value, specifying an index into a named color space. CmNamedIndexed32Space CmGray8Space = 10000 CmRGB16LSpace CmGray8Space = 17665 // CmRGB16Space: An RGB color space composed of red, green, and blue components whose values are packed with 5 bits of storage per component. CmRGB16Space CmGray8Space = 1281 // CmRGB24Space: An RGB color space composed of red, green, and blue components whose values are packed with 8 bits of storage per component. CmRGB24Space CmGray8Space = 8449 // CmRGB32Space: An RGB color space composed of red, green, and blue components whose values are packed with 8 bits of storage per component. CmRGB32Space CmGray8Space = 2049 CmRGB48LSpace CmGray8Space = 26881 // CmRGB48Space: An RGB color space composed of red, green, and blue components whose values are packed with 16 bits of storage per component. CmRGB48Space CmGray8Space = 10497 CmRGB565LSpace CmGray8Space = 17921 CmRGB565Space CmGray8Space = 1537 CmRGBA32PmulSpace CmGray8Space = 2241 // CmRGBA32Space: An RGB color space composed of red, green, and blue color value components, followed by an alpha channel component. CmRGBA32Space CmGray8Space = 2177 CmRGBA64LPmulSpace CmGray8Space = 27329 CmRGBA64LSpace CmGray8Space = 27265 CmRGBA64PmulSpace CmGray8Space = 10945 CmRGBA64Space CmGray8Space = 10881 CmXYZ24Space CmGray8Space = 8454 // CmXYZ32Space: An XYZ color space composed of X, Y, and Z components whose values are packed with 10 bits per component. CmXYZ32Space CmGray8Space = 2566 CmXYZ48LSpace CmGray8Space = 26886 CmXYZ48Space CmGray8Space = 10502 // CmYXY32Space: A Yxy color space composed of Y, x, and y components whose values are packed with 10 bits of storage per component. CmYXY32Space CmGray8Space = 2565 )
func (CmGray8Space) String ¶ added in v0.6.17
func (e CmGray8Space) String() string
type CmICCProfileVersion4 ¶
type CmICCProfileVersion4 uint32
const ( CmCS1ProfileVersion CmICCProfileVersion4 = 0x100 CmCS2ProfileVersion CmICCProfileVersion4 = 33554432 CmICCProfileVersion2 CmICCProfileVersion4 = 0x2000000 CmICCProfileVersion21 CmICCProfileVersion4 = 0x2100000 CmICCProfileVersion4Value CmICCProfileVersion4 = 0x4000000 )
func (CmICCProfileVersion4) String ¶ added in v0.6.17
func (e CmICCProfileVersion4) String() string
type CmICCReservedFlagsMask ¶
type CmICCReservedFlagsMask int32
const ( CmBlackPointCompensationMask CmICCReservedFlagsMask = 0x4 // CmCMSReservedFlagsMask: # Discussion CmCMSReservedFlagsMask CmICCReservedFlagsMask = -65536 // CmEmbeddedMask: This mask provides access to bit 0 of the `flags` field, which specifies whether the profile is embedded. CmEmbeddedMask CmICCReservedFlagsMask = 0x1 // CmEmbeddedUseMask: # Discussion CmEmbeddedUseMask CmICCReservedFlagsMask = 0x2 // CmGamutCheckingMask: # Discussion CmGamutCheckingMask CmICCReservedFlagsMask = 0x80000 // CmICCReservedFlagsMaskValue: # Discussion CmICCReservedFlagsMaskValue CmICCReservedFlagsMask = 0xffff // CmInterpolationMask: # Discussion CmInterpolationMask CmICCReservedFlagsMask = 0x40000 // CmQualityMask: # Discussion CmQualityMask CmICCReservedFlagsMask = 0x30000 )
func (CmICCReservedFlagsMask) String ¶ added in v0.6.17
func (e CmICCReservedFlagsMask) String() string
type CmIlluminant ¶
type CmIlluminant uint32
const ( CmIlluminantA CmIlluminant = 0x6 CmIlluminantD50 CmIlluminant = 0x1 CmIlluminantD55 CmIlluminant = 0x5 CmIlluminantD65 CmIlluminant = 0x2 CmIlluminantD93 CmIlluminant = 0x3 CmIlluminantEquiPower CmIlluminant = 0x7 CmIlluminantF2 CmIlluminant = 0x4 CmIlluminantF8 CmIlluminant = 0x8 CmIlluminantUnknown CmIlluminant = 0 )
func (CmIlluminant) String ¶
func (e CmIlluminant) String() string
type CmInputClass ¶
type CmInputClass uint32
const ( // CmAbstractClass: An abstract profile. CmAbstractClass CmInputClass = 'a'<<24 | 'b'<<16 | 's'<<8 | 't' // 'abst' // CmColorSpaceClass: A color space profile. CmColorSpaceClass CmInputClass = 's'<<24 | 'p'<<16 | 'a'<<8 | 'c' // 'spac' // CmDisplayClass: A display device profile defined for a monitor. CmDisplayClass CmInputClass = 'm'<<24 | 'n'<<16 | 't'<<8 | 'r' // 'mntr' // CmInputClassValue: An input device profile defined for a scanner. CmInputClassValue CmInputClass = 's'<<24 | 'c'<<16 | 'n'<<8 | 'r' // 'scnr' // CmLinkClass: A device link profile. CmLinkClass CmInputClass = 'l'<<24 | 'i'<<16 | 'n'<<8 | 'k' // 'link' // CmNamedColorClass: A named color space profile. CmNamedColorClass CmInputClass = 'n'<<24 | 'm'<<16 | 'c'<<8 | 'l' // 'nmcl' // CmOutputClass: An output device profile defined for a printer. CmOutputClass CmInputClass = 'p'<<24 | 'r'<<16 | 't'<<8 | 'r' // 'prtr' )
func (CmInputClass) String ¶ added in v0.6.17
func (e CmInputClass) String() string
type CmInputUse ¶
type CmInputUse uint32
const ( CmDisplayUse CmInputUse = 'd'<<24 | 'p'<<16 | 'l'<<8 | 'y' // 'dply' CmInputUseValue CmInputUse = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt' CmOutputUse CmInputUse = 'o'<<24 | 'u'<<16 | 't'<<8 | 'p' // 'outp' CmProofUse CmInputUse = 'p'<<24 | 'r'<<16 | 'u'<<8 | 'f' // 'pruf' )
func (CmInputUse) String ¶ added in v0.6.17
func (e CmInputUse) String() string
type CmIterate ¶
type CmIterate uint32
const ( // CmIterateAllDeviceProfiles: Iterate all profiles, without replacement. CmIterateAllDeviceProfiles CmIterate = 0x4 // CmIterateCurrentDeviceProfiles: # Discussion CmIterateCurrentDeviceProfiles CmIterate = 0x3 // CmIterateCustomDeviceProfiles: # Discussion CmIterateCustomDeviceProfiles CmIterate = 0x2 CmIterateDeviceProfilesMask CmIterate = 0xf // CmIterateFactoryDeviceProfiles: Iterate profiles registered through the routine [CMSetDeviceFactoryProfiles]. CmIterateFactoryDeviceProfiles CmIterate = 0x1 )
type CmMacintosh ¶
type CmMacintosh uint32
const ( CmMacintoshValue CmMacintosh = 'A'<<24 | 'P'<<16 | 'P'<<8 | 'L' // 'APPL' CmMicrosoft CmMacintosh = 'M'<<24 | 'S'<<16 | 'F'<<8 | 'T' // 'MSFT' CmSiliconGraphics CmMacintosh = 'S'<<24 | 'G'<<16 | 'I'<<8 | ' ' // 'SGI ' CmSolaris CmMacintosh = 'S'<<24 | 'U'<<16 | 'N'<<8 | 'W' // 'SUNW' CmTaligent CmMacintosh = 'T'<<24 | 'G'<<16 | 'N'<<8 | 'T' // 'TGNT' )
func (CmMacintosh) String ¶ added in v0.6.17
func (e CmMacintosh) String() string
type CmMagic ¶
type CmMagic uint32
const (
CmMagicNumber CmMagic = 'a'<<24 | 'c'<<16 | 's'<<8 | 'p' // 'acsp'
)
type CmNoColorPacking ¶
type CmNoColorPacking uint32
const ( Cm16_8ColorPacking CmNoColorPacking = 0x2000 // Cm24_8ColorPacking: The color values for three 8-bit color channels are stored in consecutive bytes, for a total of 24 bits. Cm24_8ColorPacking CmNoColorPacking = 0x2100 // Cm32_16ColorPacking: The color values for two 16-bit color channels are stored in a 32-bit word. Cm32_16ColorPacking CmNoColorPacking = 0x2600 // Cm32_32ColorPacking: The color value for a 32-bit color channel is stored in a 32-bit word. Cm32_32ColorPacking CmNoColorPacking = 0x2700 // Cm32_8ColorPacking: The color values for four 8-bit color channels are stored in consecutive bytes, for a total of 32 bits. Cm32_8ColorPacking CmNoColorPacking = 2048 // Cm40_8ColorPacking: The color values for five 8-bit color channels are stored in consecutive bytes, for a total of 40 bits. Cm40_8ColorPacking CmNoColorPacking = 0x2200 // Cm48_16ColorPacking: The color values for three 16-bit color channels are stored in 48 consecutive bits. Cm48_16ColorPacking CmNoColorPacking = 0x2900 // Cm48_8ColorPacking: The color values for six 8-bit color channels are stored in consecutive bytes, for a total of 48 bits. Cm48_8ColorPacking CmNoColorPacking = 0x2300 // Cm56_8ColorPacking: The color values for seven 8-bit color channels are stored in consecutive bytes, for a total of 56 bits. Cm56_8ColorPacking CmNoColorPacking = 0x2400 // Cm64_16ColorPacking: The color values for four 16-bit color channels are stored in 64 consecutive bits. Cm64_16ColorPacking CmNoColorPacking = 0x2a00 // Cm64_8ColorPacking: The color values for eight 8-bit color channels are stored in consecutive bytes, for a total of 64 bits. Cm64_8ColorPacking CmNoColorPacking = 0x2500 Cm8_8ColorPacking CmNoColorPacking = 0x2800 // CmAlphaFirstPacking: An alpha channel is added to the color value as its first component. CmAlphaFirstPacking CmNoColorPacking = 0x1000 CmAlphaLastPacking CmNoColorPacking = 0 CmLittleEndianPacking CmNoColorPacking = 0x4000 // CmLong10ColorPacking: The color values for three 10-bit color channels are stored consecutively in a 32-bit long, with the two highest order bits unused. CmLong10ColorPacking CmNoColorPacking = 0xa00 // CmLong8ColorPacking: # Discussion CmLong8ColorPacking CmNoColorPacking = 0x800 // CmNoColorPackingValue: This constant is not used for ColorSync bitmaps. CmNoColorPackingValue CmNoColorPacking = 0 // CmOneBitDirectPacking: One bit is used as the pixel format. CmOneBitDirectPacking CmNoColorPacking = 0xb00 CmReverseChannelPacking CmNoColorPacking = 0x8000 CmWord565ColorPacking CmNoColorPacking = 0x600 // CmWord5ColorPacking: The color values for three 5-bit color channels are stored consecutively in 16-bits, with the highest order bit unused. CmWord5ColorPacking CmNoColorPacking = 0x500 )
func (CmNoColorPacking) String ¶ added in v0.6.17
func (e CmNoColorPacking) String() string
type CmNoProfileBase ¶
type CmNoProfileBase uint32
const ( CmBufferBasedProfile CmNoProfileBase = 6 // CmNoProfileBaseValue: The profile is temporary. CmNoProfileBaseValue CmNoProfileBase = 0 CmPathBasedProfile CmNoProfileBase = 5 )
func (CmNoProfileBase) String ¶ added in v0.6.17
func (e CmNoProfileBase) String() string
type CmNoSpace ¶
type CmNoSpace uint32
const ( // CmAlphaPmulSpace: A premultiplied alpha channel component is added to the color value. CmAlphaPmulSpace CmNoSpace = 0x40 // CmAlphaSpace: An alpha channel component is added to the color value. CmAlphaSpace CmNoSpace = 0x80 // CmCMYKSpace: A CMYK color space composed of cyan, magenta, yellow, and black. CmCMYKSpace CmNoSpace = 0x2 // CmGamutResultSpace: # Discussion CmGamutResultSpace CmNoSpace = 0xc CmGrayAPmulSpace CmNoSpace = 202 // CmGrayASpace: A luminance color space with two components, a gray component followed by an alpha channel component. CmGrayASpace CmNoSpace = 138 // CmGraySpace: A luminance color space with a single component, gray. CmGraySpace CmNoSpace = 0xa // CmHLSSpace: An HLS color space composed of hue, lightness, and saturation components. CmHLSSpace CmNoSpace = 0x4 // CmHSVSpace: An HSV color space composed of hue, saturation, and value components. CmHSVSpace CmNoSpace = 0x3 // CmLABSpace: An L*a*b* color space composed of L*, a*, b* components. CmLABSpace CmNoSpace = 0x8 // CmLUVSpace: An L*u*v* color space composed of L*, u*, and v* components. CmLUVSpace CmNoSpace = 0x7 // CmMCEightSpace: An eight-channel multichannel (HiFi) data color space. CmMCEightSpace CmNoSpace = 0x14 // CmMCFiveSpace: A five-channel multichannel (HiFi) data color space. CmMCFiveSpace CmNoSpace = 0x11 // CmMCSevenSpace: A seven-channel multichannel (HiFi) data color space. CmMCSevenSpace CmNoSpace = 0x13 // CmMCSixSpace: A six-channel multichannel (HiFi) data color space. CmMCSixSpace CmNoSpace = 0x12 // CmNamedIndexedSpace: A named indexed color space. CmNamedIndexedSpace CmNoSpace = 0x10 // CmNoSpaceValue: The ColorSync Manager does not use this constant. CmNoSpaceValue CmNoSpace = 0 CmRGBAPmulSpace CmNoSpace = 193 // CmRGBASpace: # Discussion CmRGBASpace CmNoSpace = 129 // CmRGBSpace: An RGB color space composed of red, green, and blue components. CmRGBSpace CmNoSpace = 0x1 // CmReservedSpace1: This field is reserved for use by QuickDraw GX. CmReservedSpace1 CmNoSpace = 0x9 // CmReservedSpace2: This field is reserved for use by QuickDraw GX. CmReservedSpace2 CmNoSpace = 0xb // CmXYZSpace: An XYZ color space composed of X, Y, and Z components. CmXYZSpace CmNoSpace = 0x6 // CmYXYSpace: A Yxy color space composed of Y, x, and y components. CmYXYSpace CmNoSpace = 0x5 )
type CmNormalMode ¶
type CmNormalMode uint32
const ( // CmBestMode: Best mode indicates that the CMM should maximize resource usage to ensure the highest possible quality. CmBestMode CmNormalMode = 2 // CmDraftMode: Draft mode indicates that the CMM should sacrifice quality, if necessary, to minimize resource requirements. CmDraftMode CmNormalMode = 1 // CmNormalModeValue: This is the default setting. CmNormalModeValue CmNormalMode = 0 )
func (CmNormalMode) String ¶ added in v0.6.17
func (e CmNormalMode) String() string
type CmNumHeader ¶
type CmNumHeader uint32
const (
CmNumHeaderElements CmNumHeader = 10
)
func (CmNumHeader) String ¶
func (e CmNumHeader) String() string
type CmOpenReadAccess ¶
type CmOpenReadAccess uint32
const ( // CmAbortWriteAccess: Cancel the current write attempt. CmAbortWriteAccess CmOpenReadAccess = 7 // CmBeginAccess: Begin the process of procedural access. CmBeginAccess CmOpenReadAccess = 8 // CmCloseAccess: Close the profile for reading or writing. CmCloseAccess CmOpenReadAccess = 5 // CmCreateNewAccess: Create a new data stream for the profile. CmCreateNewAccess CmOpenReadAccess = 6 // CmEndAccess: End the process of procedural access. CmEndAccess CmOpenReadAccess = 9 CmOpenReadAccessValue CmOpenReadAccess = 1 // CmOpenWriteAccess: Open the profile for writing. CmOpenWriteAccess CmOpenReadAccess = 2 // CmReadAccess: Read the number of bytes specified by the `size` parameter. CmReadAccess CmOpenReadAccess = 3 // CmWriteAccess: Write the number of bytes specified by the `size` parameter. CmWriteAccess CmOpenReadAccess = 4 )
func (CmOpenReadAccess) String ¶ added in v0.6.17
func (e CmOpenReadAccess) String() string
type CmOpenReadSpool ¶
type CmOpenReadSpool uint32
const ( // CmCloseSpool: Directs the function to complete the data transfer. CmCloseSpool CmOpenReadSpool = 5 // CmOpenReadSpoolValue: Directs the function to begin the process of reading data. CmOpenReadSpoolValue CmOpenReadSpool = 1 // CmOpenWriteSpool: Directs the function to begin the process of writing data. CmOpenWriteSpool CmOpenReadSpool = 2 // CmReadSpool: Directs the function to read the number of bytes specified by the [CMFlattenProcPtr] function’s `size` parameter. CmReadSpool CmOpenReadSpool = 3 // CmWriteSpool: Directs the function to write the number of bytes specified by the [CMFlattenProcPtr] function’s `size` parameter. CmWriteSpool CmOpenReadSpool = 4 )
func (CmOpenReadSpool) String ¶ added in v0.6.17
func (e CmOpenReadSpool) String() string
type CmOriginalProfileLocationSize ¶
type CmOriginalProfileLocationSize uint32
const ( CmCurrentProfileLocationSize CmOriginalProfileLocationSize = 1032 CmOriginalProfileLocationSizeValue CmOriginalProfileLocationSize = 72 )
func (CmOriginalProfileLocationSize) String ¶ added in v0.6.17
func (e CmOriginalProfileLocationSize) String() string
type CmPS2CRDVMSizeTag ¶
type CmPS2CRDVMSizeTag uint32
const ( CmMakeAndModelTag CmPS2CRDVMSizeTag = 'm'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'mmod' CmNativeDisplayInfoTag CmPS2CRDVMSizeTag = 'n'<<24 | 'd'<<16 | 'i'<<8 | 'n' // 'ndin' CmPS2CRDVMSizeTagValue CmPS2CRDVMSizeTag = 'p'<<24 | 's'<<16 | 'v'<<8 | 'm' // 'psvm' CmProfileDescriptionMLTag CmPS2CRDVMSizeTag = 'd'<<24 | 's'<<16 | 'c'<<8 | 'm' // 'dscm' // CmVideoCardGammaTag: # Discussion CmVideoCardGammaTag CmPS2CRDVMSizeTag = 'v'<<24 | 'c'<<16 | 'g'<<8 | 't' // 'vcgt' )
func (CmPS2CRDVMSizeTag) String ¶ added in v0.6.17
func (e CmPS2CRDVMSizeTag) String() string
type CmParametric ¶
type CmParametric uint32
const ( // CmParametricType0: Y = X^gamma CmParametricType0 CmParametric = 0 // CmParametricType1: Y = (aX+b)^gamma [X>=-b/a], Y = 0 [X<-b/a] CmParametricType1 CmParametric = 1 // CmParametricType2: Y = (aX+b)^gamma + c [X>=-b/a], Y = c [X<-b/a] CmParametricType2 CmParametric = 2 // CmParametricType3: Y = (aX+b)^gamma [X>=d], Y = cX [X<d] CmParametricType3 CmParametric = 3 // CmParametricType4: Y = (aX+b)^gamma + e [X>=d], Y = cX+f [X<d] CmParametricType4 CmParametric = 4 )
func (CmParametric) String ¶
func (e CmParametric) String() string
type CmPerceptual ¶
type CmPerceptual uint32
const ( // CmAbsoluteColorimetric: This approach is based on a device-independent color space in which the result is an idealized print viewed on an ideal type of paper having a large dynamic range and color gamut. CmAbsoluteColorimetric CmPerceptual = 3 // CmPerceptualValue: All the colors of a given gamut can be scaled to fit within another gamut. CmPerceptualValue CmPerceptual = 0 // CmRelativeColorimetric: The colors that fall within the gamuts of both devices are left unchanged. CmRelativeColorimetric CmPerceptual = 1 // CmSaturation: The relative saturation of colors is maintained from gamut to gamut. CmSaturation CmPerceptual = 2 )
func (CmPerceptual) String ¶ added in v0.6.17
func (e CmPerceptual) String() string
type CmProfileIterateData ¶
type CmProfileIterateData uint32
const ( CmProfileIterateDataVersion1 CmProfileIterateData = 0x10000 // CmProfileIterateDataVersion2: Added makeAndModel CmProfileIterateDataVersion2 CmProfileIterateData = 0x20000 // CmProfileIterateDataVersion3: Added MD5 digest CmProfileIterateDataVersion3 CmProfileIterateData = 0x30000 CmProfileIterateDataVersion4 CmProfileIterateData = 0x40000 )
func (CmProfileIterateData) String ¶
func (e CmProfileIterateData) String() string
type CmProfileMajorVersionMask ¶
type CmProfileMajorVersionMask int32
const ( CmCurrentProfileMajorVersion CmProfileMajorVersionMask = 0x2000000 CmProfileMajorVersionMaskValue CmProfileMajorVersionMask = -16777216 )
func (CmProfileMajorVersionMask) String ¶ added in v0.6.17
func (e CmProfileMajorVersionMask) String() string
type CmPrtrDefaultScreens ¶
type CmPrtrDefaultScreens uint32
const ( // CmLinesPer: Lines per unit; can have an associated value of `0` for lines per centimeter or `1` for lines per inch. CmLinesPer CmPrtrDefaultScreens = 1 // CmPrtrDefaultScreensValue: Use printer default screens; can have an associated value of `0` for `false` or `1` for `true`. CmPrtrDefaultScreensValue CmPrtrDefaultScreens = 0 )
func (CmPrtrDefaultScreens) String ¶ added in v0.6.17
func (e CmPrtrDefaultScreens) String() string
type CmReflective ¶
type CmReflective uint32
const ( // CmGlossy: If the bit 1 of the associated mask is `0` then glossy; if `1` then matte. CmGlossy CmReflective = 1 // CmReflectiveValue: If the bit 0 of the associated mask is `0` then reflective media; if `1` then transparency media. CmReflectiveValue CmReflective = 0 )
func (CmReflective) String ¶ added in v0.6.17
func (e CmReflective) String() string
type CmReflectiveTransparentMask ¶
type CmReflectiveTransparentMask uint32
const ( // CmGlossyMatteMask: # Discussion CmGlossyMatteMask CmReflectiveTransparentMask = 0x2 // CmReflectiveTransparentMaskValue: # Discussion CmReflectiveTransparentMaskValue CmReflectiveTransparentMask = 0x1 )
func (CmReflectiveTransparentMask) String ¶ added in v0.6.17
func (e CmReflectiveTransparentMask) 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 CmScannerDeviceClass ¶
type CmScannerDeviceClass uint32
const ( CmCameraDeviceClass CmScannerDeviceClass = 'c'<<24 | 'm'<<16 | 'r'<<8 | 'a' // 'cmra' CmDisplayDeviceClass CmScannerDeviceClass = 'm'<<24 | 'n'<<16 | 't'<<8 | 'r' // 'mntr' CmPrinterDeviceClass CmScannerDeviceClass = 'p'<<24 | 'r'<<16 | 't'<<8 | 'r' // 'prtr' CmProofDeviceClass CmScannerDeviceClass = 'p'<<24 | 'r'<<16 | 'u'<<8 | 'f' // 'pruf' CmScannerDeviceClassValue CmScannerDeviceClass = 's'<<24 | 'c'<<16 | 'n'<<8 | 'r' // 'scnr' )
func (CmScannerDeviceClass) String ¶ added in v0.6.17
func (e CmScannerDeviceClass) String() string
type CmSigCrdInfoType ¶
type CmSigCrdInfoType uint32
const ( CmSigCrdInfoTypeValue CmSigCrdInfoType = 'c'<<24 | 'r'<<16 | 'd'<<8 | 'i' // 'crdi' CmSigCurveType CmSigCrdInfoType = 'c'<<24 | 'u'<<16 | 'r'<<8 | 'v' // 'curv' CmSigDataType CmSigCrdInfoType = 'd'<<24 | 'a'<<16 | 't'<<8 | 'a' // 'data' CmSigDateTimeType CmSigCrdInfoType = 'd'<<24 | 't'<<16 | 'i'<<8 | 'm' // 'dtim' CmSigLut16Type CmSigCrdInfoType = 'm'<<24 | 'f'<<16 | 't'<<8 | '2' // 'mft2' CmSigLut8Type CmSigCrdInfoType = 'm'<<24 | 'f'<<16 | 't'<<8 | '1' // 'mft1' CmSigMeasurementType CmSigCrdInfoType = 'm'<<24 | 'e'<<16 | 'a'<<8 | 's' // 'meas' CmSigMultiFunctA2BType CmSigCrdInfoType = 'm'<<24 | 'A'<<16 | 'B'<<8 | ' ' // 'mAB ' CmSigMultiFunctB2AType CmSigCrdInfoType = 'm'<<24 | 'B'<<16 | 'A'<<8 | ' ' // 'mBA ' CmSigNamedColor2Type CmSigCrdInfoType = 'n'<<24 | 'c'<<16 | 'l'<<8 | '2' // 'ncl2' CmSigNamedColorType CmSigCrdInfoType = 'n'<<24 | 'c'<<16 | 'o'<<8 | 'l' // 'ncol' CmSigParametricCurveType CmSigCrdInfoType = 'p'<<24 | 'a'<<16 | 'r'<<8 | 'a' // 'para' CmSigProfileDescriptionType CmSigCrdInfoType = 'd'<<24 | 'e'<<16 | 's'<<8 | 'c' // 'desc' CmSigProfileSequenceDescType CmSigCrdInfoType = 'p'<<24 | 's'<<16 | 'e'<<8 | 'q' // 'pseq' CmSigS15Fixed16Type CmSigCrdInfoType = 's'<<24 | 'f'<<16 | '3'<<8 | '2' // 'sf32' CmSigScreeningType CmSigCrdInfoType = 's'<<24 | 'c'<<16 | 'r'<<8 | 'n' // 'scrn' CmSigSignatureType CmSigCrdInfoType = 's'<<24 | 'i'<<16 | 'g'<<8 | ' ' // 'sig ' CmSigTextType CmSigCrdInfoType = 't'<<24 | 'e'<<16 | 'x'<<8 | 't' // 'text' CmSigU16Fixed16Type CmSigCrdInfoType = 'u'<<24 | 'f'<<16 | '3'<<8 | '2' // 'uf32' CmSigU1Fixed15Type CmSigCrdInfoType = 'u'<<24 | 'f'<<16 | '1'<<8 | '6' // 'uf16' CmSigUInt16Type CmSigCrdInfoType = 'u'<<24 | 'i'<<16 | '1'<<8 | '6' // 'ui16' CmSigUInt32Type CmSigCrdInfoType = 'u'<<24 | 'i'<<16 | '3'<<8 | '2' // 'ui32' CmSigUInt64Type CmSigCrdInfoType = 'u'<<24 | 'i'<<16 | '6'<<8 | '4' // 'ui64' CmSigUInt8Type CmSigCrdInfoType = 'u'<<24 | 'i'<<16 | '0'<<8 | '8' // 'ui08' CmSigUcrBgType CmSigCrdInfoType = 'b'<<24 | 'f'<<16 | 'd'<<8 | ' ' // 'bfd ' CmSigUnicodeTextType CmSigCrdInfoType = 'u'<<24 | 't'<<16 | 'x'<<8 | 't' // 'utxt' CmSigViewingConditionsType CmSigCrdInfoType = 'v'<<24 | 'i'<<16 | 'e'<<8 | 'w' // 'view' CmSigXYZType CmSigCrdInfoType = 'X'<<24 | 'Y'<<16 | 'Z'<<8 | ' ' // 'XYZ ' )
func (CmSigCrdInfoType) String ¶ added in v0.6.17
func (e CmSigCrdInfoType) String() string
type CmSigPS2CRDVMSizeType ¶
type CmSigPS2CRDVMSizeType uint32
const ( CmSigMakeAndModelType CmSigPS2CRDVMSizeType = 'm'<<24 | 'm'<<16 | 'o'<<8 | 'd' // 'mmod' CmSigMultiLocalizedUniCodeType CmSigPS2CRDVMSizeType = 'm'<<24 | 'l'<<16 | 'u'<<8 | 'c' // 'mluc' CmSigNativeDisplayInfoType CmSigPS2CRDVMSizeType = 'n'<<24 | 'd'<<16 | 'i'<<8 | 'n' // 'ndin' CmSigPS2CRDVMSizeTypeValue CmSigPS2CRDVMSizeType = 'p'<<24 | 's'<<16 | 'v'<<8 | 'm' // 'psvm' // CmSigVideoCardGammaType: # Discussion CmSigVideoCardGammaType CmSigPS2CRDVMSizeType = 'v'<<24 | 'c'<<16 | 'g'<<8 | 't' // 'vcgt' )
func (CmSigPS2CRDVMSizeType) String ¶ added in v0.6.17
func (e CmSigPS2CRDVMSizeType) String() string
type CmSpotFunction ¶
type CmSpotFunction uint32
const ( CmSpotFunctionCross CmSpotFunction = 7 CmSpotFunctionDefault CmSpotFunction = 1 CmSpotFunctionDiamond CmSpotFunction = 3 CmSpotFunctionEllipse CmSpotFunction = 4 CmSpotFunctionLine CmSpotFunction = 5 CmSpotFunctionRound CmSpotFunction = 2 CmSpotFunctionSquare CmSpotFunction = 6 CmSpotFunctionUnknown CmSpotFunction = 0 )
func (CmSpotFunction) String ¶
func (e CmSpotFunction) String() string
type CmStdobsUnknown ¶
type CmStdobsUnknown uint32
const ( CmStdobs1931TwoDegrees CmStdobsUnknown = 0x1 CmStdobs1964TenDegrees CmStdobsUnknown = 0x2 CmStdobsUnknownValue CmStdobsUnknown = 0 )
func (CmStdobsUnknown) String ¶ added in v0.6.17
func (e CmStdobsUnknown) String() string
type CmTechnology ¶
type CmTechnology uint32
const ( CmTechnologyAMDisplay CmTechnology = 'A'<<24 | 'M'<<16 | 'D'<<8 | ' ' // 'AMD ' CmTechnologyCRTDisplay CmTechnology = 'C'<<24 | 'R'<<16 | 'T'<<8 | ' ' // 'CRT ' CmTechnologyDigitalCamera CmTechnology = 'd'<<24 | 'c'<<16 | 'a'<<8 | 'm' // 'dcam' CmTechnologyDyeSublimationPrinter CmTechnology = 'd'<<24 | 's'<<16 | 'u'<<8 | 'b' // 'dsub' CmTechnologyElectrophotographicPrinter CmTechnology = 'e'<<24 | 'p'<<16 | 'h'<<8 | 'o' // 'epho' CmTechnologyElectrostaticPrinter CmTechnology = 'e'<<24 | 's'<<16 | 't'<<8 | 'a' // 'esta' CmTechnologyFilmScanner CmTechnology = 'f'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'fscn' CmTechnologyFilmWriter CmTechnology = 'f'<<24 | 'p'<<16 | 'r'<<8 | 'n' // 'fprn' CmTechnologyFlexography CmTechnology = 'f'<<24 | 'l'<<16 | 'e'<<8 | 'x' // 'flex' CmTechnologyGravure CmTechnology = 'g'<<24 | 'r'<<16 | 'a'<<8 | 'v' // 'grav' CmTechnologyInkJetPrinter CmTechnology = 'i'<<24 | 'j'<<16 | 'e'<<8 | 't' // 'ijet' CmTechnologyOffsetLithography CmTechnology = 'o'<<24 | 'f'<<16 | 'f'<<8 | 's' // 'offs' CmTechnologyPMDisplay CmTechnology = 'P'<<24 | 'M'<<16 | 'D'<<8 | ' ' // 'PMD ' CmTechnologyPhotoCD CmTechnology = 'K'<<24 | 'P'<<16 | 'C'<<8 | 'D' // 'KPCD' CmTechnologyPhotoImageSetter CmTechnology = 'i'<<24 | 'm'<<16 | 'g'<<8 | 's' // 'imgs' CmTechnologyPhotographicPaperPrinter CmTechnology = 'r'<<24 | 'p'<<16 | 'h'<<8 | 'o' // 'rpho' CmTechnologyProjectionTelevision CmTechnology = 'p'<<24 | 'j'<<16 | 't'<<8 | 'v' // 'pjtv' CmTechnologyReflectiveScanner CmTechnology = 'r'<<24 | 's'<<16 | 'c'<<8 | 'n' // 'rscn' CmTechnologySilkscreen CmTechnology = 's'<<24 | 'i'<<16 | 'l'<<8 | 'k' // 'silk' CmTechnologyThermalWaxPrinter CmTechnology = 't'<<24 | 'w'<<16 | 'a'<<8 | 'x' // 'twax' CmTechnologyVideoCamera CmTechnology = 'v'<<24 | 'i'<<16 | 'd'<<8 | 'c' // 'vidc' CmTechnologyVideoMonitor CmTechnology = 'v'<<24 | 'i'<<16 | 'd'<<8 | 'm' // 'vidm' )
func (CmTechnology) String ¶
func (e CmTechnology) String() string
type CmUseDefaultChromaticAdaptation ¶
type CmUseDefaultChromaticAdaptation uint32
const ( CmBradfordChromaticAdaptation CmUseDefaultChromaticAdaptation = 3 CmLinearChromaticAdaptation CmUseDefaultChromaticAdaptation = 1 CmUseDefaultChromaticAdaptationValue CmUseDefaultChromaticAdaptation = 0 CmVonKriesChromaticAdaptation CmUseDefaultChromaticAdaptation = 2 )
func (CmUseDefaultChromaticAdaptation) String ¶ added in v0.6.17
func (e CmUseDefaultChromaticAdaptation) 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 CmXYZData ¶
type CmXYZData uint32
const ( Cm10CLRData CmXYZData = 'A'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'ACLR' Cm11CLRData CmXYZData = 'B'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'BCLR' Cm12CLRData CmXYZData = 'C'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'CCLR' Cm13CLRData CmXYZData = 'D'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'DCLR' Cm14CLRData CmXYZData = 'E'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'ECLR' Cm15CLRData CmXYZData = 'F'<<24 | 'C'<<16 | 'L'<<8 | 'R' // 'FCLR' Cm3CLRData CmXYZData = '3'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '3CLR' Cm4CLRData CmXYZData = '4'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '4CLR' Cm5CLRData CmXYZData = '5'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '5CLR' Cm6CLRData CmXYZData = '6'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '6CLR' Cm7CLRData CmXYZData = '7'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '7CLR' Cm8CLRData CmXYZData = '8'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '8CLR' Cm9CLRData CmXYZData = '9'<<24 | 'C'<<16 | 'L'<<8 | 'R' // '9CLR' // CmCMYData: The CMY data color space. CmCMYData CmXYZData = 'C'<<24 | 'M'<<16 | 'Y'<<8 | ' ' // 'CMY ' // CmCMYKData: The CMYK data color space. CmCMYKData CmXYZData = 'C'<<24 | 'M'<<16 | 'Y'<<8 | 'K' // 'CMYK' // CmGrayData: The Gray data color space. CmGrayData CmXYZData = 'G'<<24 | 'R'<<16 | 'A'<<8 | 'Y' // 'GRAY' // CmHLSData: The HLS data color space. CmHLSData CmXYZData = 'H'<<24 | 'L'<<16 | 'S'<<8 | ' ' // 'HLS ' // CmHSVData: The HSV data color space. CmHSVData CmXYZData = 'H'<<24 | 'S'<<16 | 'V'<<8 | ' ' // 'HSV ' // CmLabData: The L*a*b* data color space. CmLabData CmXYZData = 'L'<<24 | 'a'<<16 | 'b'<<8 | ' ' // 'Lab ' // CmLuvData: The L*u*v* data color space. CmLuvData CmXYZData = 'L'<<24 | 'u'<<16 | 'v'<<8 | ' ' // 'Luv ' // CmMCH5Data: The five-channel multichannel (HiFi) data color space. CmMCH5Data CmXYZData = 'M'<<24 | 'C'<<16 | 'H'<<8 | '5' // 'MCH5' // CmMCH6Data: The six-channel multichannel (HiFi) data color space. CmMCH6Data CmXYZData = 'M'<<24 | 'C'<<16 | 'H'<<8 | '6' // 'MCH6' // CmMCH7Data: The seven-channel multichannel (HiFi) data color space. CmMCH7Data CmXYZData = 'M'<<24 | 'C'<<16 | 'H'<<8 | '7' // 'MCH7' // CmMCH8Data: The eight-channel multichannel (HiFi) data color space. CmMCH8Data CmXYZData = 'M'<<24 | 'C'<<16 | 'H'<<8 | '8' // 'MCH8' CmNamedData CmXYZData = 'N'<<24 | 'A'<<16 | 'M'<<8 | 'E' // 'NAME' // CmRGBData: The RGB data color space. CmRGBData CmXYZData = 'R'<<24 | 'G'<<16 | 'B'<<8 | ' ' // 'RGB ' CmSRGBData CmXYZData = 's'<<24 | 'R'<<16 | 'G'<<8 | 'B' // 'sRGB' // CmXYZDataValue: The XYZ data color space. CmXYZDataValue CmXYZData = 'X'<<24 | 'Y'<<16 | 'Z'<<8 | ' ' // 'XYZ ' CmYCbCrData CmXYZData = 'Y'<<24 | 'C'<<16 | 'b'<<8 | 'r' // 'YCbr' // CmYxyData: The Yxy data color space. CmYxyData CmXYZData = 'Y'<<24 | 'x'<<16 | 'y'<<8 | ' ' // 'Yxy ' )
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.
func (*GDevice) SetGdCCXMask ¶ added in v0.6.17
SetGdCCXMask updates the GdCCXMask field in the record's packed storage.
func (*GDevice) SetGdCompProc ¶ added in v0.6.17
SetGdCompProc updates the GdCompProc field in the record's packed storage.
func (*GDevice) SetGdExt ¶ added in v0.6.17
SetGdExt updates the GdExt field in the record's packed storage.
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.
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.
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.
See: https://developer.apple.com/documentation/applicationservices/1459565-hishapecreatemutable
func HIShapeCreateMutableCopy ¶
func HIShapeCreateMutableCopy(inOrig HIShapeRef) HIMutableShapeRef
HIShapeCreateMutableCopy.
See: https://developer.apple.com/documentation/applicationservices/1463298-hishapecreatemutablecopy
func HIShapeCreateMutableWithRect ¶
func HIShapeCreateMutableWithRect(inRect unsafe.Pointer) HIMutableShapeRef
HIShapeCreateMutableWithRect.
See: https://developer.apple.com/documentation/applicationservices/1459532-hishapecreatemutablewithrect
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.
See: https://developer.apple.com/documentation/applicationservices/1463131-hishapecreatecopy
func HIShapeCreateDifference ¶
func HIShapeCreateDifference(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
HIShapeCreateDifference.
See: https://developer.apple.com/documentation/applicationservices/1460901-hishapecreatedifference
func HIShapeCreateEmpty ¶
func HIShapeCreateEmpty() HIShapeRef
HIShapeCreateEmpty.
See: https://developer.apple.com/documentation/applicationservices/1462651-hishapecreateempty
func HIShapeCreateIntersection ¶
func HIShapeCreateIntersection(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
HIShapeCreateIntersection.
See: https://developer.apple.com/documentation/applicationservices/1464400-hishapecreateintersection
func HIShapeCreateUnion ¶
func HIShapeCreateUnion(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
HIShapeCreateUnion.
See: https://developer.apple.com/documentation/applicationservices/1460112-hishapecreateunion
func HIShapeCreateWithQDRgn ¶
func HIShapeCreateWithQDRgn(inRgn unsafe.Pointer) HIShapeRef
HIShapeCreateWithQDRgn.
See: https://developer.apple.com/documentation/applicationservices/1464296-hishapecreatewithqdrgn
func HIShapeCreateWithRect ¶
func HIShapeCreateWithRect(inRect unsafe.Pointer) HIShapeRef
HIShapeCreateWithRect.
See: https://developer.apple.com/documentation/applicationservices/1460650-hishapecreatewithrect
func HIShapeCreateXor ¶
func HIShapeCreateXor(inShape1 HIShapeRef, inShape2 HIShapeRef) HIShapeRef
HIShapeCreateXor.
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.
See: https://developer.apple.com/documentation/applicationservices/1464005-iconreftohishape
type ICAppSpec ¶
type ICAppSpec struct {
// contains filtered or unexported fields
}
ICAppSpec
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/icappspec
func (*ICAppSpec) 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() [6]byte
Alias returns the Alias field from the record's packed storage.
func (*ICFileSpec) Fss ¶
func (s *ICFileSpec) Fss() [70]byte
Fss returns the Fss field from the record's packed storage.
func (*ICFileSpec) SetAlias ¶ added in v0.6.17
func (s *ICFileSpec) SetAlias(v [6]byte)
SetAlias updates the Alias field in the record's packed storage.
func (*ICFileSpec) SetFss ¶ added in v0.6.17
func (s *ICFileSpec) SetFss(v [70]byte)
SetFss updates the Fss field in the record's packed storage.
func (*ICFileSpec) SetVolCreationDate ¶ added in v0.6.17
func (s *ICFileSpec) SetVolCreationDate(v int32)
SetVolCreationDate updates the VolCreationDate field in the record's packed storage.
func (*ICFileSpec) SetVolName ¶ added in v0.6.17
func (s *ICFileSpec) SetVolName(v [32]uint8)
SetVolName updates the VolName field in the record's packed storage.
func (*ICFileSpec) VolCreationDate ¶
func (s *ICFileSpec) VolCreationDate() int32
VolCreationDate returns the VolCreationDate field from the record's packed storage.
func (*ICFileSpec) VolName ¶
func (s *ICFileSpec) VolName() [32]uint8
VolName returns the VolName field from the record's packed storage.
type 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 = int32
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 IcPrefNotFoundErr ¶
type IcPrefNotFoundErr int32
const ( IcConfigInappropriateErr IcPrefNotFoundErr = -675 IcConfigNotFoundErr IcPrefNotFoundErr = -674 IcInternalErr IcPrefNotFoundErr = -669 IcNoMoreWritersErr IcPrefNotFoundErr = -671 IcNoURLErr IcPrefNotFoundErr = -673 IcNothingToOverrideErr IcPrefNotFoundErr = -672 IcPermErr IcPrefNotFoundErr = -667 IcPrefDataErr IcPrefNotFoundErr = -668 IcPrefNotFoundErrValue IcPrefNotFoundErr = -666 IcProfileNotFoundErr IcPrefNotFoundErr = -676 IcTooManyProfilesErr IcPrefNotFoundErr = -677 IcTruncatedErr IcPrefNotFoundErr = -670 )
func (IcPrefNotFoundErr) String ¶ added in v0.6.17
func (e IcPrefNotFoundErr) String() string
type 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.
See: https://developer.apple.com/documentation/applicationservices/1462738-newiconactionupp
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.
See: https://developer.apple.com/documentation/applicationservices/1458777-newicongetterupp
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 InitDev ¶
type InitDev uint32
const ( ActivDev InitDev = 5 ClearDev InitDev = 13 CloseDev InitDev = 2 CopyDev InitDev = 11 CursorDev InitDev = 14 CutDev InitDev = 10 DeactivDev InitDev = 6 HitDev InitDev = 1 InitDevValue InitDev = 0 KeyEvtDev InitDev = 7 MacDev InitDev = 8 NulDev InitDev = 3 PasteDev InitDev = 12 UndoDev InitDev = 9 UpdateDev InitDev = 4 )
type K1MonochromePixelFormat ¶
type K1MonochromePixelFormat uint32
const ( K16BE555PixelFormat K1MonochromePixelFormat = 0x10 K16BE565PixelFormat K1MonochromePixelFormat = 'B'<<24 | '5'<<16 | '6'<<8 | '5' // 'B565' K16LE5551PixelFormat K1MonochromePixelFormat = '5'<<24 | '5'<<16 | '5'<<8 | '1' // '5551' K16LE555PixelFormat K1MonochromePixelFormat = 'L'<<24 | '5'<<16 | '5'<<8 | '5' // 'L555' K16LE565PixelFormat K1MonochromePixelFormat = 'L'<<24 | '5'<<16 | '6'<<8 | '5' // 'L565' K1IndexedGrayPixelFormat K1MonochromePixelFormat = 0x21 K1MonochromePixelFormatValue K1MonochromePixelFormat = 0x1 K24BGRPixelFormat K1MonochromePixelFormat = '2'<<24 | '4'<<16 | 'B'<<8 | 'G' // '24BG' K24RGBPixelFormat K1MonochromePixelFormat = 0x18 K2IndexedGrayPixelFormat K1MonochromePixelFormat = 0x22 K2IndexedPixelFormat K1MonochromePixelFormat = 0x2 K2vuyPixelFormat K1MonochromePixelFormat = '2'<<24 | 'v'<<16 | 'u'<<8 | 'y' // '2vuy' K32ABGRPixelFormat K1MonochromePixelFormat = 'A'<<24 | 'B'<<16 | 'G'<<8 | 'R' // 'ABGR' K32ARGBPixelFormat K1MonochromePixelFormat = 0x20 K32BGRAPixelFormat K1MonochromePixelFormat = 'B'<<24 | 'G'<<16 | 'R'<<8 | 'A' // 'BGRA' K32RGBAPixelFormat K1MonochromePixelFormat = 'R'<<24 | 'G'<<16 | 'B'<<8 | 'A' // 'RGBA' K4IndexedGrayPixelFormat K1MonochromePixelFormat = 0x24 K4IndexedPixelFormat K1MonochromePixelFormat = 0x4 K8IndexedGrayPixelFormat K1MonochromePixelFormat = 0x28 K8IndexedPixelFormat K1MonochromePixelFormat = 0x8 KUYVY422PixelFormat K1MonochromePixelFormat = 'U'<<24 | 'Y'<<16 | 'V'<<8 | 'Y' // 'UYVY' KYUV211PixelFormat K1MonochromePixelFormat = 'Y'<<24 | '2'<<16 | '1'<<8 | '1' // 'Y211' KYUV411PixelFormat K1MonochromePixelFormat = 'Y'<<24 | '4'<<16 | '1'<<8 | '1' // 'Y411' KYUVSPixelFormat K1MonochromePixelFormat = 'y'<<24 | 'u'<<16 | 'v'<<8 | 's' // 'yuvs' KYUVUPixelFormat K1MonochromePixelFormat = 'y'<<24 | 'u'<<16 | 'v'<<8 | 'u' // 'yuvu' KYVU9PixelFormat K1MonochromePixelFormat = 'Y'<<24 | 'V'<<16 | 'U'<<8 | '9' // 'YVU9' KYVYU422PixelFormat K1MonochromePixelFormat = 'Y'<<24 | 'V'<<16 | 'Y'<<8 | 'U' // 'YVYU' )
func (K1MonochromePixelFormat) String ¶
func (e K1MonochromePixelFormat) String() string
type KATSCubicCurveType ¶
type KATSCubicCurveType uint32
const ( KATSCubicCurveTypeValue KATSCubicCurveType = 0x1 KATSOtherCurveType KATSCubicCurveType = 0x3 KATSQuadCurveType KATSCubicCurveType = 0x2 )
func (KATSCubicCurveType) String ¶ added in v0.6.17
func (e KATSCubicCurveType) String() string
type KATSDeleted ¶
type KATSDeleted uint32
const (
KATSDeletedGlyphcode KATSDeleted = 0xffff
)
func (KATSDeleted) String ¶
func (e KATSDeleted) String() string
type KATSFlatDataUstl ¶
type KATSFlatDataUstl uint32
const ( KATSFlatDataUstlCurrentVersion KATSFlatDataUstl = 2 KATSFlatDataUstlVersion0 KATSFlatDataUstl = 0 KATSFlatDataUstlVersion1 KATSFlatDataUstl = 1 KATSFlatDataUstlVersion2 KATSFlatDataUstl = 2 )
func (KATSFlatDataUstl) String ¶
func (e KATSFlatDataUstl) String() string
type KATSFlattenedFontSpecifierRawName ¶
type KATSFlattenedFontSpecifierRawName uint32
const (
KATSFlattenedFontSpecifierRawNameData KATSFlattenedFontSpecifierRawName = 'n'<<24 | 'a'<<16 | 'm'<<8 | 'd' // 'namd'
)
func (KATSFlattenedFontSpecifierRawName) String ¶
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 KATSGenerationUnspecified ¶
type KATSGenerationUnspecified uint32
const ( KATSFontContainerRefUnspecified KATSGenerationUnspecified = 0 KATSFontFamilyRefUnspecified KATSGenerationUnspecified = 0 KATSFontRefUnspecified KATSGenerationUnspecified = 0 KATSGenerationUnspecifiedValue KATSGenerationUnspecified = 0 )
func (KATSGenerationUnspecified) String ¶ added in v0.6.17
func (e KATSGenerationUnspecified) String() string
type KATSGlyphInfo ¶
type KATSGlyphInfo uint32
const ( KATSGlyphInfoAppleReserved KATSGlyphInfo = 0x1ffbffe8 KATSGlyphInfoByteSizeMask KATSGlyphInfo = 0x7 KATSGlyphInfoHasImposedWidth KATSGlyphInfo = 0x10 KATSGlyphInfoIsAttachment KATSGlyphInfo = 0x80000000 KATSGlyphInfoIsLTHanger KATSGlyphInfo = 0x40000000 KATSGlyphInfoIsRBHanger KATSGlyphInfo = 0x20000000 KATSGlyphInfoIsWhiteSpace KATSGlyphInfo = 0x40000 KATSGlyphInfoTerminatorGlyph KATSGlyphInfo = 0x80000 )
func (KATSGlyphInfo) String ¶
func (e KATSGlyphInfo) String() string
type KATSItalicQDSkew ¶
type KATSItalicQDSkew uint32
const ( KATSBoldQDStretch KATSItalicQDSkew = 98304 KATSItalicQDSkewValue KATSItalicQDSkew = 16384 KATSRadiansFactor KATSItalicQDSkew = 1144 )
func (KATSItalicQDSkew) String ¶ added in v0.6.17
func (e KATSItalicQDSkew) String() string
type KATSIterationCompleted ¶
type KATSIterationCompleted int32
const ( KATSInvalidFontAccess KATSIterationCompleted = -982 KATSInvalidFontContainerAccess KATSIterationCompleted = -985 KATSInvalidFontFamilyAccess KATSIterationCompleted = -981 KATSInvalidFontTableAccess KATSIterationCompleted = -984 KATSInvalidGlyphAccess KATSIterationCompleted = -986 KATSIterationCompletedValue KATSIterationCompleted = -980 KATSIterationScopeModified KATSIterationCompleted = -983 )
func (KATSIterationCompleted) String ¶ added in v0.6.17
func (e KATSIterationCompleted) String() string
type KATSLine ¶
type KATSLine uint32
const ( KATSLineAppleReserved KATSLine = 0xfce00000 KATSLineApplyAntiAliasing KATSLine = 0x800 KATSLineBreakToNearestCharacter KATSLine = 0x2000000 KATSLineDisableAllBaselineAdjustments KATSLine = 0x80000 KATSLineDisableAllGlyphMorphing KATSLine = 0x20000 KATSLineDisableAllJustification KATSLine = 0x10000 KATSLineDisableAllKerningAdjustments KATSLine = 0x40000 KATSLineDisableAllLayoutOperations KATSLine = 2031616 KATSLineDisableAllTrackingAdjustments KATSLine = 0x100000 KATSLineDisableAutoAdjustDisplayPos KATSLine = 0x4000 KATSLineDisableNegativeJustification KATSLine = 0x2000 KATSLineFillOutToWidth KATSLine = 0x100 KATSLineFractDisable KATSLine = 0x40 KATSLineHasNoHangers KATSLine = 0x2 KATSLineHasNoOpticalAlignment KATSLine = 0x4 KATSLineIgnoreFontLeading KATSLine = 0x400 KATSLineImposeNoAngleForEnds KATSLine = 0x80 KATSLineIsDisplayOnly KATSLine = 0x1 KATSLineKeepSpacesOutOfMargin KATSLine = 0x8 KATSLineLastNoJustification KATSLine = 0x20 KATSLineNoAntiAliasing KATSLine = 0x1000 KATSLineNoLayoutOptions KATSLine = 0 KATSLineNoSpecialJustification KATSLine = 0x10 KATSLineTabAdjustEnabled KATSLine = 0x200 KATSLineUseDeviceMetrics KATSLine = 0x1000000 KATSLineUseQDRendering KATSLine = 0x8000 )
type KATSOptionFlagsActivateDisabled ¶
type KATSOptionFlagsActivateDisabled uint32
const ( KATSOptionFlagsActivateDisabledValue KATSOptionFlagsActivateDisabled = 32 KATSOptionFlagsDoNotNotify KATSOptionFlagsActivateDisabled = 128 KATSOptionFlagsProcessSubdirectories KATSOptionFlagsActivateDisabled = 64 KATSOptionFlagsRecordPersistently KATSOptionFlagsActivateDisabled = 262144 )
func (KATSOptionFlagsActivateDisabled) String ¶ added in v0.6.17
func (e KATSOptionFlagsActivateDisabled) String() string
type KATSOptionFlagsDefault ¶
type KATSOptionFlagsDefault uint32
const ( KATSOptionFlagsComposeFontPostScriptName KATSOptionFlagsDefault = 1 KATSOptionFlagsDefaultValue KATSOptionFlagsDefault = 0 KATSOptionFlagsUseDataFork KATSOptionFlagsDefault = 768 KATSOptionFlagsUseDataForkAsResourceFork KATSOptionFlagsDefault = 256 KATSOptionFlagsUseResourceFork KATSOptionFlagsDefault = 512 )
func (KATSOptionFlagsDefault) String ¶ added in v0.6.17
func (e KATSOptionFlagsDefault) String() string
type KATSOptionFlagsIterateByPrecedenceMask ¶
type KATSOptionFlagsIterateByPrecedenceMask uint32
const ( KATSOptionFlagsDefaultScope KATSOptionFlagsIterateByPrecedenceMask = 0 KATSOptionFlagsIncludeDisabledMask KATSOptionFlagsIterateByPrecedenceMask = 128 KATSOptionFlagsIterateByPrecedenceMaskValue KATSOptionFlagsIterateByPrecedenceMask = 32 KATSOptionFlagsIterationScopeMask KATSOptionFlagsIterateByPrecedenceMask = 28672 KATSOptionFlagsRestrictedScope KATSOptionFlagsIterateByPrecedenceMask = 8192 KATSOptionFlagsUnRestrictedScope KATSOptionFlagsIterateByPrecedenceMask = 4096 )
func (KATSOptionFlagsIterateByPrecedenceMask) String ¶ added in v0.6.17
func (e KATSOptionFlagsIterateByPrecedenceMask) 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 KATSUDefaultFontFallbacks ¶
type KATSUDefaultFontFallbacks uint32
const ( KATSUDefaultFontFallbacksValue KATSUDefaultFontFallbacks = 0 KATSULastResortOnlyFallback KATSUDefaultFontFallbacks = 1 KATSUSequentialFallbacksExclusive KATSUDefaultFontFallbacks = 3 KATSUSequentialFallbacksPreferred KATSUDefaultFontFallbacks = 2 )
func (KATSUDefaultFontFallbacks) String ¶ added in v0.6.17
func (e KATSUDefaultFontFallbacks) String() string
type KATSUDirectData ¶
type KATSUDirectData uint32
const ( KATSUDirectDataAdvanceDeltaFixedArray KATSUDirectData = 0 KATSUDirectDataBaselineDeltaFixedArray KATSUDirectData = 1 KATSUDirectDataDeviceDeltaSInt16Array KATSUDirectData = 2 KATSUDirectDataLayoutRecordATSLayoutRecordCurrent KATSUDirectData = 100 KATSUDirectDataLayoutRecordATSLayoutRecordVersion1 KATSUDirectData = 100 KATSUDirectDataStyleIndexUInt16Array KATSUDirectData = 3 KATSUDirectDataStyleSettingATSUStyleSettingRefArray KATSUDirectData = 4 )
func (KATSUDirectData) String ¶
func (e KATSUDirectData) String() string
type KATSUFlattenOptionNoOptions ¶
type KATSUFlattenOptionNoOptions uint32
const (
KATSUFlattenOptionNoOptionsMask KATSUFlattenOptionNoOptions = 0
)
func (KATSUFlattenOptionNoOptions) String ¶
func (e KATSUFlattenOptionNoOptions) String() string
type KATSUFromTextBeginning ¶
type KATSUFromTextBeginning uint32
const ( KATSUFromFollowingLayout KATSUFromTextBeginning = 0xfffffffd KATSUFromPreviousLayout KATSUFromTextBeginning = 0xfffffffe KATSUFromTextBeginningValue KATSUFromTextBeginning = 0xffffffff KATSUToTextEnd KATSUFromTextBeginning = 0xffffffff )
func (KATSUFromTextBeginning) String ¶ added in v0.6.17
func (e KATSUFromTextBeginning) String() string
type KATSUInvalidFontI ¶
type KATSUInvalidFontI uint32
const (
KATSUInvalidFontID KATSUInvalidFontI = 0
)
func (KATSUInvalidFontI) String ¶
func (e KATSUInvalidFontI) String() string
type KATSULayoutOperation ¶
type KATSULayoutOperation uint32
const ( KATSULayoutOperationAppleReserved KATSULayoutOperation = 0xffffffc0 KATSULayoutOperationBaselineAdjustment KATSULayoutOperation = 0x8 KATSULayoutOperationJustification KATSULayoutOperation = 0x1 KATSULayoutOperationKerningAdjustment KATSULayoutOperation = 0x4 KATSULayoutOperationMorph KATSULayoutOperation = 0x2 KATSULayoutOperationNone KATSULayoutOperation = 0 KATSULayoutOperationPostLayoutAdjustment KATSULayoutOperation = 0x20 KATSULayoutOperationTrackingAdjustment KATSULayoutOperation = 0x10 )
func (KATSULayoutOperation) String ¶
func (e KATSULayoutOperation) String() string
type KATSULayoutOperationCallbackStatus ¶
type KATSULayoutOperationCallbackStatus uint32
const ( KATSULayoutOperationCallbackStatusContinue KATSULayoutOperationCallbackStatus = 0x1 KATSULayoutOperationCallbackStatusHandled KATSULayoutOperationCallbackStatus = 0 )
func (KATSULayoutOperationCallbackStatus) String ¶
func (e KATSULayoutOperationCallbackStatus) String() string
type KATSULeftTab ¶
type KATSULeftTab uint32
const ( KATSUCenterTab KATSULeftTab = 1 KATSUDecimalTab KATSULeftTab = 3 KATSULeftTabValue KATSULeftTab = 0 KATSUNumberTabTypes KATSULeftTab = 4 KATSURightTab KATSULeftTab = 2 )
func (KATSULeftTab) String ¶ added in v0.6.17
func (e KATSULeftTab) String() string
type KATSULeftToRightBaseDirection ¶
type KATSULeftToRightBaseDirection uint32
const ( KATSULeftToRightBaseDirectionValue KATSULeftToRightBaseDirection = 0 KATSURightToLeftBaseDirection KATSULeftToRightBaseDirection = 1 )
func (KATSULeftToRightBaseDirection) String ¶ added in v0.6.17
func (e KATSULeftToRightBaseDirection) String() string
type KATSULineWidthTag ¶
type KATSULineWidthTag uint32
const ( KATSUAfterWithStreamShiftTag KATSULineWidthTag = 268 KATSUAscentTag KATSULineWidthTag = 284 KATSUBaselineClassTag KATSULineWidthTag = 274 KATSUBeforeWithStreamShiftTag KATSULineWidthTag = 267 KATSUCGContextTag KATSULineWidthTag = 32767 KATSUColorTag KATSULineWidthTag = 263 KATSUCrossStreamShiftTag KATSULineWidthTag = 269 KATSUDecompositionFactorTag KATSULineWidthTag = 273 KATSUDescentTag KATSULineWidthTag = 285 KATSUFontMatrixTag KATSULineWidthTag = 289 KATSUFontTag KATSULineWidthTag = 261 KATSUForceHangingTag KATSULineWidthTag = 280 KATSUGlyphSelectorTag KATSULineWidthTag = 287 KATSUHangingInhibitFactorTag KATSULineWidthTag = 271 KATSUImposeWidthTag KATSULineWidthTag = 266 KATSUKerningInhibitFactorTag KATSULineWidthTag = 272 KATSULangRegionTag KATSULineWidthTag = 264 KATSULanguageTag KATSULineWidthTag = 264 KATSULayoutOperationOverrideTag KATSULineWidthTag = 15 KATSULeadingTag KATSULineWidthTag = 286 KATSULineAscentTag KATSULineWidthTag = 8 KATSULineBaselineValuesTag KATSULineWidthTag = 6 KATSULineDecimalTabCharacterTag KATSULineWidthTag = 14 KATSULineDescentTag KATSULineWidthTag = 9 KATSULineDirectionTag KATSULineWidthTag = 3 KATSULineFlushFactorTag KATSULineWidthTag = 5 KATSULineFontFallbacksTag KATSULineWidthTag = 13 KATSULineHighlightCGColorTag KATSULineWidthTag = 17 KATSULineJustificationFactorTag KATSULineWidthTag = 4 KATSULineLangRegionTag KATSULineWidthTag = 10 KATSULineLanguageTag KATSULineWidthTag = 10 KATSULineLayoutOptionsTag KATSULineWidthTag = 7 KATSULineRotationTag KATSULineWidthTag = 2 KATSULineTextLocatorTag KATSULineWidthTag = 11 KATSULineTruncationTag KATSULineWidthTag = 12 KATSULineWidthTagValue KATSULineWidthTag = 1 KATSUMaxATSUITagValue KATSULineWidthTag = 65535 KATSUMaxLineTag KATSULineWidthTag = 18 KATSUMaxStyleTag KATSULineWidthTag = 299 KATSUNoCaretAngleTag KATSULineWidthTag = 277 KATSUNoLigatureSplitTag KATSULineWidthTag = 276 KATSUNoOpticalAlignmentTag KATSULineWidthTag = 279 KATSUNoSpecialJustificationTag KATSULineWidthTag = 281 KATSUPriorityJustOverrideTag KATSULineWidthTag = 275 KATSUQDBoldfaceTag KATSULineWidthTag = 256 KATSUQDCondensedTag KATSULineWidthTag = 259 KATSUQDExtendedTag KATSULineWidthTag = 260 KATSUQDItalicTag KATSULineWidthTag = 257 KATSUQDUnderlineTag KATSULineWidthTag = 258 KATSURGBAlphaColorTag KATSULineWidthTag = 288 KATSUSizeTag KATSULineWidthTag = 262 KATSUStyleDropShadowBlurOptionTag KATSULineWidthTag = 296 KATSUStyleDropShadowColorOptionTag KATSULineWidthTag = 298 KATSUStyleDropShadowOffsetOptionTag KATSULineWidthTag = 297 KATSUStyleDropShadowTag KATSULineWidthTag = 295 KATSUStyleRenderingOptionsTag KATSULineWidthTag = 283 KATSUStyleStrikeThroughColorOptionTag KATSULineWidthTag = 294 KATSUStyleStrikeThroughCountOptionTag KATSULineWidthTag = 293 KATSUStyleStrikeThroughTag KATSULineWidthTag = 292 KATSUStyleTextLocatorTag KATSULineWidthTag = 282 KATSUStyleUnderlineColorOptionTag KATSULineWidthTag = 291 KATSUStyleUnderlineCountOptionTag KATSULineWidthTag = 290 KATSUSuppressCrossKerningTag KATSULineWidthTag = 278 KATSUTrackingTag KATSULineWidthTag = 270 KATSUVerticalCharacterTag KATSULineWidthTag = 265 )
func (KATSULineWidthTag) String ¶ added in v0.6.17
func (e KATSULineWidthTag) String() string
type KATSUStrongly ¶
type KATSUStrongly uint32
const ( KATSUStronglyHorizontal KATSUStrongly = 0 KATSUStronglyVertical KATSUStrongly = 1 )
func (KATSUStrongly) String ¶
func (e KATSUStrongly) String() string
type KATSUStyleSingleLineCount ¶
type KATSUStyleSingleLineCount uint32
const ( KATSUStyleDoubleLineCount KATSUStyleSingleLineCount = 2 KATSUStyleSingleLineCountValue KATSUStyleSingleLineCount = 1 )
func (KATSUStyleSingleLineCount) String ¶ added in v0.6.17
func (e KATSUStyleSingleLineCount) String() string
type KATSUStyleUnequal ¶
type KATSUStyleUnequal uint32
const ( KATSUStyleContainedBy KATSUStyleUnequal = 3 KATSUStyleContains KATSUStyleUnequal = 1 KATSUStyleEquals KATSUStyleUnequal = 2 KATSUStyleUnequalValue KATSUStyleUnequal = 0 )
func (KATSUStyleUnequal) String ¶ added in v0.6.17
func (e KATSUStyleUnequal) String() string
type KATSUTruncateNone ¶
type KATSUTruncateNone uint32
const ( KATSUTruncFeatNoSquishing KATSUTruncateNone = 0x8 KATSUTruncateEnd KATSUTruncateNone = 2 KATSUTruncateMiddle KATSUTruncateNone = 3 KATSUTruncateNoneValue KATSUTruncateNone = 0 KATSUTruncateSpecificationMask KATSUTruncateNone = 0x7 KATSUTruncateStart KATSUTruncateNone = 1 )
func (KATSUTruncateNone) String ¶ added in v0.6.17
func (e KATSUTruncateNone) String() string
type KATSUUnFlattenOptionNoOptions ¶
type KATSUUnFlattenOptionNoOptions uint32
const (
KATSUUnFlattenOptionNoOptionsMask KATSUUnFlattenOptionNoOptions = 0
)
func (KATSUUnFlattenOptionNoOptions) String ¶
func (e KATSUUnFlattenOptionNoOptions) String() string
type KATSUUseGrafPortPenLoc ¶
type KATSUUseGrafPortPenLoc uint32
const ( KATSUClearAll KATSUUseGrafPortPenLoc = 0xffffffff KATSUUseGrafPortPenLocValue KATSUUseGrafPortPenLoc = 0xffffffff )
func (KATSUUseGrafPortPenLoc) String ¶ added in v0.6.17
func (e KATSUUseGrafPortPenLoc) String() string
type KATSUUseLineControl ¶
type KATSUUseLineControl uint32
const (
KATSUUseLineControlWidth KATSUUseLineControl = 0x7fffffff
)
func (KATSUUseLineControl) String ¶
func (e KATSUUseLineControl) String() string
type KATSUseGlyphAdvance ¶
type KATSUseGlyphAdvance int32
const ( KATSNoTracking KATSUseGlyphAdvance = -2147483648 KATSUseGlyphAdvanceValue KATSUseGlyphAdvance = 0x7fffffff KATSUseLineHeight KATSUseGlyphAdvance = 0x7fffffff )
func (KATSUseGlyphAdvance) String ¶ added in v0.6.17
func (e KATSUseGlyphAdvance) String() string
type KAlign ¶
type KAlign uint32
const ( KAlignAbsoluteCenter KAlign = 5 KAlignBottom KAlign = 0x3 KAlignBottomLeft KAlign = 11 KAlignBottomRight KAlign = 15 KAlignCenterBottom KAlign = 7 KAlignCenterLeft KAlign = 9 KAlignCenterRight KAlign = 13 KAlignCenterTop KAlign = 6 KAlignHorizontalCenter KAlign = 0x4 KAlignLeft KAlign = 0x8 KAlignNone KAlign = 0 KAlignRight KAlign = 0xc KAlignTop KAlign = 0x2 KAlignTopLeft KAlign = 10 KAlignTopRight KAlign = 14 KAlignVerticalCenter KAlign = 0x1 )
type KAllPPDDomains ¶
type KAllPPDDomains uint32
const ( // KAllPPDDomainsValue: # Discussion KAllPPDDomainsValue KAllPPDDomains = 1 // KCUPSPPDDomain: # Discussion KCUPSPPDDomain KAllPPDDomains = 6 // KLocalPPDDomain: # Discussion KLocalPPDDomain KAllPPDDomains = 3 // KNetworkPPDDomain: # Discussion KNetworkPPDDomain KAllPPDDomains = 4 // KSystemPPDDomain: # Discussion KSystemPPDDomain KAllPPDDomains = 2 // KUserPPDDomain: # Discussion KUserPPDDomain KAllPPDDomains = 5 )
func (KAllPPDDomains) String ¶
func (e KAllPPDDomains) String() string
type KAudioUnit ¶
type KAudioUnit uint32
const ( // KAudioUnitProperty_SpeechChannel: The speech channel property in the speech synthesis audio unit. KAudioUnitProperty_SpeechChannel KAudioUnit = 3331 // KAudioUnitProperty_Voice: The voice property in the speech synthesis audio unit. KAudioUnitProperty_Voice KAudioUnit = 3330 // KAudioUnitSubType_SpeechSynthesis: The speech synthesis component subtype used in the creation of a speech synthesis audio unit. KAudioUnitSubType_SpeechSynthesis KAudioUnit = 't'<<24 | 't'<<16 | 's'<<8 | 'p' // 'ttsp' )
func (KAudioUnit) String ¶
func (e KAudioUnit) String() string
type KDefaultCMM ¶
type KDefaultCMM uint32
const ( // KDefaultCMMSignature: Signature for the default CMM supplied with the ColorSync Manager. KDefaultCMMSignature KDefaultCMM = 'a'<<24 | 'p'<<16 | 'p'<<8 | 'l' // 'appl' )
func (KDefaultCMM) String ¶
func (e KDefaultCMM) String() string
type KFMCurrentFilter ¶
type KFMCurrentFilter uint32
const (
KFMCurrentFilterFormat KFMCurrentFilter = 0
)
func (KFMCurrentFilter) String ¶
func (e KFMCurrentFilter) String() string
type KFMFontTechnologyFilterSelector ¶
type KFMFontTechnologyFilterSelector uint32
const ( KFMFontCallbackFilterSelector KFMFontTechnologyFilterSelector = 5 KFMFontContainerFilterSelector KFMFontTechnologyFilterSelector = 2 KFMFontDirectoryFilterSelector KFMFontTechnologyFilterSelector = 6 KFMFontFamilyCallbackFilterSelector KFMFontTechnologyFilterSelector = 4 KFMFontFileRefFilterSelector KFMFontTechnologyFilterSelector = 10 KFMFontTechnologyFilterSelectorValue KFMFontTechnologyFilterSelector = 1 KFMGenerationFilterSelector KFMFontTechnologyFilterSelector = 3 )
func (KFMFontTechnologyFilterSelector) String ¶ added in v0.6.17
func (e KFMFontTechnologyFilterSelector) String() string
type KFMTrueTypeFontTechnology ¶
type KFMTrueTypeFontTechnology uint32
const ( KFMPostScriptFontTechnology KFMTrueTypeFontTechnology = 't'<<24 | 'y'<<16 | 'p'<<8 | '1' // 'typ1' KFMTrueTypeFontTechnologyValue KFMTrueTypeFontTechnology = 't'<<24 | 'r'<<16 | 'u'<<8 | 'e' // 'true' )
func (KFMTrueTypeFontTechnology) String ¶ added in v0.6.17
func (e KFMTrueTypeFontTechnology) String() string
type KGlyphCollection ¶
type KGlyphCollection uint32
const ( KGlyphCollectionAdobeCNS1 KGlyphCollection = 1 KGlyphCollectionAdobeGB1 KGlyphCollection = 2 KGlyphCollectionAdobeJapan1 KGlyphCollection = 3 KGlyphCollectionAdobeJapan2 KGlyphCollection = 4 KGlyphCollectionAdobeKorea1 KGlyphCollection = 5 KGlyphCollectionGID KGlyphCollection = 0 KGlyphCollectionUnspecified KGlyphCollection = 0xff )
func (KGlyphCollection) String ¶
func (e KGlyphCollection) String() string
type KHIShapeEnumerate ¶
type KHIShapeEnumerate uint32
const ( KHIShapeEnumerateInit KHIShapeEnumerate = 1 KHIShapeEnumerateRect KHIShapeEnumerate = 2 KHIShapeEnumerateTerminate KHIShapeEnumerate = 3 )
func (KHIShapeEnumerate) String ¶
func (e KHIShapeEnumerate) String() string
type KHIShapeParseFrom ¶
type KHIShapeParseFrom uint32
const ( KHIShapeParseFromBottom KHIShapeParseFrom = 1 KHIShapeParseFromBottomRight KHIShapeParseFrom = 3 KHIShapeParseFromLeft KHIShapeParseFrom = 0 KHIShapeParseFromRight KHIShapeParseFrom = 2 KHIShapeParseFromTop KHIShapeParseFrom = 0 KHIShapeParseFromTopLeft KHIShapeParseFrom = 0 )
func (KHIShapeParseFrom) String ¶
func (e KHIShapeParseFrom) String() string
type KICAttrLockedBit ¶
type KICAttrLockedBit uint32
const ( KICAttrLockedBitValue KICAttrLockedBit = 0 KICAttrVolatileBit KICAttrLockedBit = 1 )
func (KICAttrLockedBit) String ¶ added in v0.6.17
func (e KICAttrLockedBit) String() string
type KICAttrNoChange ¶
type KICAttrNoChange uint32
const ( KICAttrLockedMask KICAttrNoChange = 0x1 KICAttrNoChangeValue KICAttrNoChange = 0xffffffff KICAttrVolatileMask KICAttrNoChange = 0x2 )
func (KICAttrNoChange) String ¶ added in v0.6.17
func (e KICAttrNoChange) String() string
type KICComponentInterface ¶
type KICComponentInterface uint32
const ( KICComponentInterfaceVersion KICComponentInterface = 262144 KICComponentInterfaceVersion0 KICComponentInterface = 0 KICComponentInterfaceVersion1 KICComponentInterface = 0x10000 KICComponentInterfaceVersion2 KICComponentInterface = 0x20000 KICComponentInterfaceVersion3 KICComponentInterface = 0x30000 KICComponentInterfaceVersion4 KICComponentInterface = 0x40000 )
func (KICComponentInterface) String ¶
func (e KICComponentInterface) String() string
type KICComponentVersion ¶
type KICComponentVersion uint32
const ( KICComponentVersionValue KICComponentVersion = 0 KICNumVersion KICComponentVersion = 1 )
func (KICComponentVersion) String ¶ added in v0.6.17
func (e KICComponentVersion) String() string
type KICEditPreferenceEventClass ¶
type KICEditPreferenceEventClass uint32
const ( KICEditPreferenceEvent KICEditPreferenceEventClass = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp' KICEditPreferenceEventClassValue KICEditPreferenceEventClass = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp' KeyICEditPreferenceDestination KICEditPreferenceEventClass = 'd'<<24 | 'e'<<16 | 's'<<8 | 't' // 'dest' )
func (KICEditPreferenceEventClass) String ¶
func (e KICEditPreferenceEventClass) String() string
type KICFileSpecHeader ¶
type KICFileSpecHeader uint32
const (
KICFileSpecHeaderSize KICFileSpecHeader = 106
)
func (KICFileSpecHeader) String ¶
func (e KICFileSpecHeader) String() string
type KICFileType ¶
type KICFileType uint32
const ( KICCreator KICFileType = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp' KICFileTypeValue KICFileType = 'I'<<24 | 'C'<<16 | 'A'<<8 | 'p' // 'ICAp' )
func (KICFileType) String ¶ added in v0.6.17
func (e KICFileType) String() string
type KICMapBinaryBit ¶
type KICMapBinaryBit uint32
const ( KICMapBinaryBitValue KICMapBinaryBit = 0 KICMapDataForkBit KICMapBinaryBit = 2 KICMapNotIncomingBit KICMapBinaryBit = 4 KICMapNotOutgoingBit KICMapBinaryBit = 5 KICMapPostBit KICMapBinaryBit = 3 KICMapResourceForkBit KICMapBinaryBit = 1 )
func (KICMapBinaryBit) String ¶ added in v0.6.17
func (e KICMapBinaryBit) String() string
type KICMapBinaryMask ¶
type KICMapBinaryMask uint32
const ( KICMapBinaryMaskValue KICMapBinaryMask = 0x1 KICMapDataForkMask KICMapBinaryMask = 0x4 KICMapNotIncomingMask KICMapBinaryMask = 0x10 KICMapNotOutgoingMask KICMapBinaryMask = 0x20 KICMapPostMask KICMapBinaryMask = 0x8 KICMapResourceForkMask KICMapBinaryMask = 0x2 )
func (KICMapBinaryMask) String ¶ added in v0.6.17
func (e KICMapBinaryMask) String() string
type KICMapFixed ¶
type KICMapFixed uint32
const (
KICMapFixedLength KICMapFixed = 22
)
func (KICMapFixed) String ¶
func (e KICMapFixed) String() string
type KICNilProfileI ¶
type KICNilProfileI uint32
const (
KICNilProfileID KICNilProfileI = 0
)
func (KICNilProfileI) String ¶
func (e KICNilProfileI) String() string
type KICServicesTCPBit ¶
type KICServicesTCPBit uint32
const ( KICServicesTCPBitValue KICServicesTCPBit = 0 KICServicesUDPBit KICServicesTCPBit = 1 )
func (KICServicesTCPBit) String ¶ added in v0.6.17
func (e KICServicesTCPBit) String() string
type KICServicesTCPMask ¶
type KICServicesTCPMask uint32
const ( KICServicesTCPMaskValue KICServicesTCPMask = 0x1 KICServicesUDPMask KICServicesTCPMask = 0x2 )
func (KICServicesTCPMask) String ¶ added in v0.6.17
func (e KICServicesTCPMask) String() string
type KImmediate ¶
type KImmediate int32
const ( // KEndOfSentence: Speech should be paused or stopped at the end of the sentence. KEndOfSentence KImmediate = 2 // KEndOfWord: Speech should be paused or stopped at the endof the word. KEndOfWord KImmediate = 1 // KImmediateValue: Speech should be paused or stopped immediately. KImmediateValue KImmediate = 0 )
func (KImmediate) String ¶
func (e KImmediate) String() string
type KInternetEventClass ¶
type KInternetEventClass uint32
const ( KAEFetchURL KInternetEventClass = 'F'<<24 | 'U'<<16 | 'R'<<8 | 'L' // 'FURL' KAEGetURL KInternetEventClass = 'G'<<24 | 'U'<<16 | 'R'<<8 | 'L' // 'GURL' KInternetEventClassValue KInternetEventClass = 'G'<<24 | 'U'<<16 | 'R'<<8 | 'L' // 'GURL' KeyAEAttaching KInternetEventClass = 'A'<<24 | 't'<<16 | 'c'<<8 | 'h' // 'Atch' )
func (KInternetEventClass) String ¶
func (e KInternetEventClass) String() string
type KInvertHighlighting ¶
type KInvertHighlighting uint32
const ( KInvertHighlightingValue KInvertHighlighting = 0 KRedrawHighlighting KInvertHighlighting = 1 )
func (KInvertHighlighting) String ¶
func (e KInvertHighlighting) String() string
type KNoConstraint ¶
type KNoConstraint uint32
const ( KHorizontalConstraint KNoConstraint = 2 KNoConstraintValue KNoConstraint = 0 KVerticalConstraint KNoConstraint = 1 )
func (KNoConstraint) String ¶
func (e KNoConstraint) String() string
type KNoEndingProsody ¶
type KNoEndingProsody int32
const ( // KNoEndingProsodyValue: # Discussion KNoEndingProsodyValue KNoEndingProsody = 1 // KNoSpeechInterrupt: # Discussion KNoSpeechInterrupt KNoEndingProsody = 2 // KPreflightThenPause: # Discussion KPreflightThenPause KNoEndingProsody = 4 )
func (KNoEndingProsody) String ¶
func (e KNoEndingProsody) String() string
type KNoProcess ¶
type KNoProcess uint32
const ( KCurrentProcess KNoProcess = 2 KNoProcessValue KNoProcess = 0 KSystemProcess KNoProcess = 1 )
func (KNoProcess) String ¶
func (e KNoProcess) String() string
type KNoTransform ¶
type KNoTransform int32
const ( // KDeviceToPCS: Device Dependent to Device Independent KDeviceToPCS KNoTransform = 1 // KNoTransformValue: Not used. KNoTransformValue KNoTransform = 0 // KPCSToDevice: Device Independent to Device Dependent KPCSToDevice KNoTransform = 2 // KPCSToPCS: Independent, through device's gamut KPCSToPCS KNoTransform = 3 // KUseAtoB: Use 'A2B*' tag from this profile or equivalent KUseAtoB KNoTransform = 1 // KUseBtoA: Use 'B2A*' tag from this profile or equivalent KUseBtoA KNoTransform = 2 // KUseBtoB: Use 'pre*' tag from this profile or equivalent KUseBtoB KNoTransform = 3 // KUseProfileIntent: For renderingIntent in NCMConcatProfileSpec KUseProfileIntent KNoTransform = -1 )
func (KNoTransform) String ¶
func (e KNoTransform) String() string
type KPMAllocationFailure ¶
type KPMAllocationFailure int32
const ( KPMAllocationFailureValue KPMAllocationFailure = -108 KPMCVMSymbolNotFound KPMAllocationFailure = -9662 KPMCloseFailed KPMAllocationFailure = -9785 KPMCreateMessageFailed KPMAllocationFailure = -9620 KPMDeleteSubTicketFailed KPMAllocationFailure = -9585 KPMDocumentNotFound KPMAllocationFailure = -9644 KPMDontSwitchPDEError KPMAllocationFailure = -9531 KPMEditRequestFailed KPMAllocationFailure = -9544 KPMFeatureNotInstalled KPMAllocationFailure = -9533 KPMFileOrDirOperationFailed KPMAllocationFailure = -9634 KPMFontNameTooLong KPMAllocationFailure = -9704 KPMFontNotFound KPMAllocationFailure = -9703 KPMGeneralCGError KPMAllocationFailure = -9705 KPMIOAttrNotAvailable KPMAllocationFailure = -9787 KPMIOMSymbolNotFound KPMAllocationFailure = -9661 KPMInternalError KPMAllocationFailure = -30870 // KPMInvalidAllocator: The specified memory allocator is invalid. KPMInvalidAllocator KPMAllocationFailure = -30890 KPMInvalidCVMContext KPMAllocationFailure = -9665 // KPMInvalidCalibrationTarget: The dictionary specifying a printer calibration target is invalid. KPMInvalidCalibrationTarget KPMAllocationFailure = -30898 // KPMInvalidConnection: The printer connection type is invalid. KPMInvalidConnection KPMAllocationFailure = -30887 // KPMInvalidFileType: The file type is invalid. KPMInvalidFileType KPMAllocationFailure = -30895 KPMInvalidIOMContext KPMAllocationFailure = -9664 // KPMInvalidIndex: An array index is invalid. KPMInvalidIndex KPMAllocationFailure = -30882 // KPMInvalidItem: The item being added to a ticket is invalid. KPMInvalidItem KPMAllocationFailure = -30892 KPMInvalidJobID KPMAllocationFailure = -9666 // KPMInvalidJobTemplate: An internal error occurred while creating a job template. KPMInvalidJobTemplate KPMAllocationFailure = -30885 // KPMInvalidKey: The key in a ticket, job template, or dictionary is invalid. KPMInvalidKey KPMAllocationFailure = -30888 KPMInvalidLookupSpec KPMAllocationFailure = -9542 // KPMInvalidObject: The object is invalid. KPMInvalidObject KPMAllocationFailure = -30896 KPMInvalidPBMRef KPMAllocationFailure = -9540 KPMInvalidPDEContext KPMAllocationFailure = -9530 KPMInvalidPMContext KPMAllocationFailure = -9663 // KPMInvalidPaper: Your application passed an invalid paper object. KPMInvalidPaper KPMAllocationFailure = -30897 KPMInvalidPrinterAddress KPMAllocationFailure = -9780 // KPMInvalidPrinterInfo: The printer information is invalid. KPMInvalidPrinterInfo KPMAllocationFailure = -30886 // KPMInvalidReply: A remote server or client sent an invalid reply. KPMInvalidReply KPMAllocationFailure = -30894 KPMInvalidState KPMAllocationFailure = -9706 KPMInvalidSubTicket KPMAllocationFailure = -9584 // KPMInvalidTicket: The job ticket is invalid. KPMInvalidTicket KPMAllocationFailure = -30891 // KPMInvalidType: The data type in a ticket, job template, or dictionary is not the expected type. KPMInvalidType KPMAllocationFailure = -30893 // KPMInvalidValue: The value in a ticket, job template, or dictionary is missing. KPMInvalidValue KPMAllocationFailure = -30889 KPMItemIsLocked KPMAllocationFailure = -9586 KPMJobBusy KPMAllocationFailure = -9642 KPMJobCanceled KPMAllocationFailure = -9643 KPMJobGetTicketBadFormatError KPMAllocationFailure = -9672 KPMJobGetTicketReadError KPMAllocationFailure = -9673 KPMJobManagerAborted KPMAllocationFailure = -9671 KPMJobNotFound KPMAllocationFailure = -9641 KPMJobStreamEndError KPMAllocationFailure = -9670 KPMJobStreamOpenFailed KPMAllocationFailure = -9668 KPMJobStreamReadFailed KPMAllocationFailure = -9669 KPMKeyNotFound KPMAllocationFailure = -9589 KPMKeyNotUnique KPMAllocationFailure = -9590 KPMKeyOrValueNotFound KPMAllocationFailure = -9623 KPMLastErrorCodeToMakeMaintenanceOfThisListEasier KPMAllocationFailure = -9799 KPMMessagingError KPMAllocationFailure = -9624 KPMNoDefaultItem KPMAllocationFailure = -9500 KPMNoDefaultSettings KPMAllocationFailure = -9501 KPMNoPrinterJobID KPMAllocationFailure = -9667 KPMNoSelectedPrinters KPMAllocationFailure = -9541 KPMOpenFailed KPMAllocationFailure = -9781 KPMPMSymbolNotFound KPMAllocationFailure = -9660 KPMPermissionError KPMAllocationFailure = -9636 KPMPluginNotFound KPMAllocationFailure = -9701 KPMPluginRegisterationFailed KPMAllocationFailure = -9702 KPMPrBrowserNoUI KPMAllocationFailure = -9545 KPMQueueAlreadyExists KPMAllocationFailure = -9639 KPMQueueJobFailed KPMAllocationFailure = -9640 KPMQueueNotFound KPMAllocationFailure = -9638 KPMReadFailed KPMAllocationFailure = -9782 KPMReadGotZeroData KPMAllocationFailure = -9788 KPMServerAlreadyRunning KPMAllocationFailure = -9631 KPMServerAttributeRestricted KPMAllocationFailure = -9633 KPMServerCommunicationFailed KPMAllocationFailure = -9621 KPMServerNotFound KPMAllocationFailure = -9630 KPMServerSuspended KPMAllocationFailure = -9632 KPMStatusFailed KPMAllocationFailure = -9784 // KPMStringConversionFailure: An internal error occurred while converting a string. KPMStringConversionFailure KPMAllocationFailure = -30883 KPMSubTicketNotFound KPMAllocationFailure = -9583 KPMSyncRequestFailed KPMAllocationFailure = -9543 KPMTemplateIsLocked KPMAllocationFailure = -9588 KPMTicketIsLocked KPMAllocationFailure = -9587 KPMTicketTypeNotFound KPMAllocationFailure = -9580 KPMUnableToFindProcess KPMAllocationFailure = -9532 KPMUnexpectedImagingError KPMAllocationFailure = -9707 KPMUnknownDataType KPMAllocationFailure = -9591 KPMUnknownMessage KPMAllocationFailure = -9637 KPMUnsupportedConnection KPMAllocationFailure = -9786 KPMUpdateTicketFailed KPMAllocationFailure = -9581 KPMUserOrGroupNotFound KPMAllocationFailure = -9635 KPMValidateTicketFailed KPMAllocationFailure = -9582 KPMWriteFailed KPMAllocationFailure = -9783 // KPMXMLParseError: An error occurred while parsing XML data. KPMXMLParseError KPMAllocationFailure = -30884 )
func (KPMAllocationFailure) String ¶ added in v0.6.17
func (e KPMAllocationFailure) String() string
type KPMCoverPage ¶
type KPMCoverPage uint32
const ( KPMCoverPageAfter KPMCoverPage = 3 KPMCoverPageBefore KPMCoverPage = 2 KPMCoverPageNone KPMCoverPage = 1 )
func (KPMCoverPage) String ¶
func (e KPMCoverPage) String() string
type KPMDestination ¶
type KPMDestination uint32
const ( // KPMDestinationFax: Specifies output to a fax. KPMDestinationFax KPMDestination = 3 // KPMDestinationFile: Specifies output to a file. KPMDestinationFile KPMDestination = 2 // KPMDestinationInvalid: Specifies the destination is invalid. KPMDestinationInvalid KPMDestination = 0 // KPMDestinationPreview: Specifies output to print preview. KPMDestinationPreview KPMDestination = 4 // KPMDestinationPrinter: Specifies output to a printer. KPMDestinationPrinter KPMDestination = 1 // KPMDestinationProcessPDF: Specifies output to a PDF workflow option. KPMDestinationProcessPDF KPMDestination = 5 )
func (KPMDestination) String ¶
func (e KPMDestination) String() string
type KPMDuplexNone ¶
type KPMDuplexNone uint32
const ( // KPMDuplexNoTumble: # Discussion KPMDuplexNoTumble KPMDuplexNone = 0x2 // KPMDuplexNoneValue: # Discussion KPMDuplexNoneValue KPMDuplexNone = 0x1 // KPMDuplexTumble: # Discussion KPMDuplexTumble KPMDuplexNone = 0x3 // KPMSimplexTumble: # Discussion KPMSimplexTumble KPMDuplexNone = 0x4 )
func (KPMDuplexNone) String ¶ added in v0.6.17
func (e KPMDuplexNone) String() string
type KPMHideInlineItems ¶
type KPMHideInlineItems uint32
const ( KPMHideInlineItemsValue KPMHideInlineItems = 0 KPMShowDefaultInlineItems KPMHideInlineItems = 32768 KPMShowInlineCopies KPMHideInlineItems = 1 KPMShowInlineOrientation KPMHideInlineItems = 8 KPMShowInlinePageRange KPMHideInlineItems = 2 KPMShowInlinePageRangeWithSelection KPMHideInlineItems = 64 KPMShowInlinePaperSize KPMHideInlineItems = 4 KPMShowInlineScale KPMHideInlineItems = 128 KPMShowPageAttributesPDE KPMHideInlineItems = 256 )
func (KPMHideInlineItems) String ¶ added in v0.6.17
func (e KPMHideInlineItems) String() string
type KPMInvalidPrintSession ¶
type KPMInvalidPrintSession int32
const ( // KPMInvalidPreset: Your application passed an invalid preset object. KPMInvalidPreset KPMInvalidPrintSession = -30899 // KPMInvalidPrintSessionValue: Your application passed an invalid printing session object. KPMInvalidPrintSessionValue KPMInvalidPrintSession = -30879 // KPMInvalidPrinter: Your application passed an invalid printer object. KPMInvalidPrinter KPMInvalidPrintSession = -30880 // KPMObjectInUse: The specified object is in use. KPMObjectInUse KPMInvalidPrintSession = -30881 )
func (KPMInvalidPrintSession) String ¶ added in v0.6.17
func (e KPMInvalidPrintSession) String() string
type KPMLayout ¶
type KPMLayout uint32
const ( KPMLayoutBottomTopLeftRight KPMLayout = 7 KPMLayoutBottomTopRightLeft KPMLayout = 8 KPMLayoutLeftRightBottomTop KPMLayout = 2 KPMLayoutLeftRightTopBottom KPMLayout = 1 KPMLayoutRightLeftBottomTop KPMLayout = 4 KPMLayoutRightLeftTopBottom KPMLayout = 3 KPMLayoutTopBottomLeftRight KPMLayout = 5 KPMLayoutTopBottomRightLeft KPMLayout = 6 )
type KPMNoError ¶
type KPMNoError int32
const ( // KPMGeneralError: An unspecified error occurred. KPMGeneralError KPMNoError = -30870 // KPMInvalidPageFormat: Your application passed an invalid page format object. KPMInvalidPageFormat KPMNoError = -30876 KPMInvalidParameter KPMNoError = -50 // KPMInvalidPrintSettings: Your application passed an invalid print settings object. KPMInvalidPrintSettings KPMNoError = -30875 // KPMNoDefaultPrinter: The user has not specified a default printer. KPMNoDefaultPrinter KPMNoError = -30872 KPMNoErrorValue KPMNoError = 0 // KPMNoSuchEntry: There is no entry to match your application’s request. KPMNoSuchEntry KPMNoError = -30874 // KPMNotImplemented: The function is not implemented. KPMNotImplemented KPMNoError = -30873 // KPMOutOfScope: Your application called this function out of sequence with other printing functions. KPMOutOfScope KPMNoError = -30871 // KPMValueOutOfRange: Your application passed an out-of-range value. KPMValueOutOfRange KPMNoError = -30877 )
func (KPMNoError) String ¶ added in v0.6.17
func (e KPMNoError) String() string
type KPMPaperType ¶
type KPMPaperType uint32
const ( KPMPaperTypeCoated KPMPaperType = 0x2 KPMPaperTypeGlossy KPMPaperType = 0x4 KPMPaperTypePlain KPMPaperType = 0x1 KPMPaperTypePremium KPMPaperType = 0x3 KPMPaperTypeTShirt KPMPaperType = 0x6 KPMPaperTypeTransparency KPMPaperType = 0x5 KPMPaperTypeUnknown KPMPaperType = 0 )
func (KPMPaperType) String ¶
func (e KPMPaperType) String() string
type KPMPortrait ¶
type KPMPortrait uint32
const ( // KPMLandscape: # Discussion KPMLandscape KPMPortrait = 2 // KPMPortraitValue: Specifies portrait (vertical) page orientation. KPMPortraitValue KPMPortrait = 1 // KPMReverseLandscape: # Discussion KPMReverseLandscape KPMPortrait = 4 // KPMReversePortrait: # Discussion KPMReversePortrait KPMPortrait = 3 )
func (KPMPortrait) String ¶ added in v0.6.17
func (e KPMPortrait) String() string
type KPMPrintAll ¶
type KPMPrintAll int32
const ( // KPMPrintAllPages: # Discussion KPMPrintAllPages KPMPrintAll = -1 )
func (KPMPrintAll) String ¶
func (e KPMPrintAll) String() string
type KPMPrinter ¶
type KPMPrinter uint32
const ( // KPMPrinterIdle: Specifies the idle state. KPMPrinterIdle KPMPrinter = 3 // KPMPrinterProcessing: Specifies the processing state. KPMPrinterProcessing KPMPrinter = 4 // KPMPrinterStopped: Specifies the stopped state. KPMPrinterStopped KPMPrinter = 5 )
func (KPMPrinter) String ¶
func (e KPMPrinter) String() string
type KPMQuality ¶
type KPMQuality uint32
const ( // KPMQualityBest: Specifies to get the best print quality for all objects and photos on a page. KPMQualityBest KPMQuality = 0xd // KPMQualityDraft: Specifies to print at the highest speed, with the amount of ink used as a secondary consideration. KPMQualityDraft KPMQuality = 0x4 // KPMQualityHighest: Specifies to use the highest print quality available to the printer. KPMQualityHighest KPMQuality = 0xf // KPMQualityInkSaver: Specifies to use a mode that saves ink, even if it slows printing. KPMQualityInkSaver KPMQuality = 0x1 // KPMQualityLowest: Specifies to use the lowest print quality available to the printer. KPMQualityLowest KPMQuality = 0 // KPMQualityNormal: Specifies a general usage mode that balances quality and speed. KPMQualityNormal KPMQuality = 0x8 // KPMQualityPhoto: Specifies to optimize the quality of photos on the page, with speed not a concern. KPMQualityPhoto KPMQuality = 0xb )
func (KPMQuality) String ¶
func (e KPMQuality) String() string
type KPMScaling ¶
type KPMScaling uint32
const ( KPMScalingCenterOnImgArea KPMScaling = 6 KPMScalingCenterOnPaper KPMScaling = 5 KPMScalingPinBottomLeft KPMScaling = 3 KPMScalingPinBottomRight KPMScaling = 4 KPMScalingPinTopLeft KPMScaling = 1 KPMScalingPinTopRight KPMScaling = 2 )
func (KPMScaling) String ¶
func (e KPMScaling) String() string
type KPMUnknownColorSpaceModel ¶
type KPMUnknownColorSpaceModel uint32
const ( KPMCMYKColorSpaceModel KPMUnknownColorSpaceModel = 3 KPMDevNColorSpaceModel KPMUnknownColorSpaceModel = 4 KPMGrayColorSpaceModel KPMUnknownColorSpaceModel = 1 KPMRGBColorSpaceModel KPMUnknownColorSpaceModel = 2 KPMUnknownColorSpaceModelValue KPMUnknownColorSpaceModel = 0 )
func (KPMUnknownColorSpaceModel) String ¶ added in v0.6.17
func (e KPMUnknownColorSpaceModel) String() string
type KPlotIconRef ¶
type KPlotIconRef uint32
const ( KPlotIconRefNoImage KPlotIconRef = 2 KPlotIconRefNoMask KPlotIconRef = 4 KPlotIconRefNormalFlags KPlotIconRef = 0 )
func (KPlotIconRef) String ¶
func (e KPlotIconRef) String() string
type KProcessDictionaryIncludeAllInformation ¶
type KProcessDictionaryIncludeAllInformation int32
const (
KProcessDictionaryIncludeAllInformationMask KProcessDictionaryIncludeAllInformation = -1
)
func (KProcessDictionaryIncludeAllInformation) String ¶
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 ModeReserved ¶
type ModeReserved uint32
const ( Mode32BitCompatible ModeReserved = 0x80 ModeCanBackground ModeReserved = 0x1000 ModeControlPanel ModeReserved = 0x80000 ModeDeskAccessory ModeReserved = 0x20000 ModeDisplayManagerAware ModeReserved = 0x4 ModeDoesActivateOnFGSwitch ModeReserved = 0x800 ModeGetAppDiedMsg ModeReserved = 0x100 ModeGetFrontClicks ModeReserved = 0x200 ModeHighLevelEventAware ModeReserved = 0x40 ModeLaunchDontSwitch ModeReserved = 0x40000 ModeLocalAndRemoteHLEvents ModeReserved = 0x20 ModeMultiLaunch ModeReserved = 0x10000 ModeNeedSuspendResume ModeReserved = 0x4000 ModeOnlyBackground ModeReserved = 0x400 ModeReservedValue ModeReserved = 0x1000000 ModeStationeryAware ModeReserved = 0x10 ModeUseTextEditServices ModeReserved = 0x8 )
func (ModeReserved) String ¶ added in v0.6.17
func (e ModeReserved) String() string
type ModeText ¶
type ModeText uint32
const ( // ModeLiteral: When the speech channel is in text-processing mode, indicates that characters and digits are spoken literally (for example, “cat” is spoken as “C-A-T” and “12” is spoken as "one, two"). ModeLiteral ModeText = 'L'<<24 | 'T'<<16 | 'R'<<8 | 'L' // 'LTRL' // ModeNormal: When the speech channel is in text-processing mode, indicates that the synthesizer should process characters as expected and assemble digits into numbers. ModeNormal ModeText = 'N'<<24 | 'O'<<16 | 'R'<<8 | 'M' // 'NORM' // ModePhonemes: Used with soInputMode to indicate that the speech channel is in phoneme-processing mode. ModePhonemes ModeText = 'P'<<24 | 'H'<<16 | 'O'<<8 | 'N' // 'PHON' // ModeTextValue: Used with soInputMode to indicate that the speech channel is in text-processing mode. ModeTextValue ModeText = 'T'<<24 | 'E'<<16 | 'X'<<8 | 'T' // 'TEXT' ModeTune ModeText = 'T'<<24 | 'U'<<16 | 'N'<<8 | 'E' // 'TUNE' )
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.
See: https://developer.apple.com/documentation/applicationservices/1459590-pasteboardsynchronize
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.
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.
func (*PixPat) SetPatXMap ¶ added in v0.6.17
SetPatXMap updates the PatXMap field in the record's packed storage.
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.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552218-newspeechdoneupp
type SpeechErrorCFProcPtr ¶
type SpeechErrorCFProcPtr = func(chan_ *SpeechChannelRecord, refCon uintptr, theError corefoundation.CFErrorRef)
SpeechErrorCFProcPtr is defines a pointer to an error callback function that handles syntax errors within commands embedded in a [CFString] object being processed by the Speech Synthesis Manager.
See: https://developer.apple.com/documentation/applicationservices/speecherrorcfprocptr
type SpeechErrorInfo ¶
type SpeechErrorInfo struct {
// contains filtered or unexported fields
}
SpeechErrorInfo - Defines a speech error information structure.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/speecherrorinfo
func (*SpeechErrorInfo) Count ¶
func (s *SpeechErrorInfo) Count() int16
Count returns the Count field from the record's packed storage.
func (*SpeechErrorInfo) NewPos ¶
func (s *SpeechErrorInfo) NewPos() int
NewPos returns the NewPos field from the record's packed storage.
func (*SpeechErrorInfo) Newest ¶
func (s *SpeechErrorInfo) Newest() int16
Newest returns the Newest field from the record's packed storage.
func (*SpeechErrorInfo) OldPos ¶
func (s *SpeechErrorInfo) OldPos() int
OldPos returns the OldPos field from the record's packed storage.
func (*SpeechErrorInfo) Oldest ¶
func (s *SpeechErrorInfo) Oldest() int16
Oldest returns the Oldest field from the record's packed storage.
func (*SpeechErrorInfo) SetCount ¶ added in v0.6.17
func (s *SpeechErrorInfo) SetCount(v int16)
SetCount updates the Count field in the record's packed storage.
func (*SpeechErrorInfo) SetNewPos ¶ added in v0.6.17
func (s *SpeechErrorInfo) SetNewPos(v int)
SetNewPos updates the NewPos field in the record's packed storage.
func (*SpeechErrorInfo) SetNewest ¶ added in v0.6.17
func (s *SpeechErrorInfo) SetNewest(v int16)
SetNewest updates the Newest field in the record's packed storage.
func (*SpeechErrorInfo) SetOldPos ¶ added in v0.6.17
func (s *SpeechErrorInfo) SetOldPos(v int)
SetOldPos updates the OldPos field in the record's packed storage.
func (*SpeechErrorInfo) SetOldest ¶ added in v0.6.17
func (s *SpeechErrorInfo) SetOldest(v int16)
SetOldest updates the Oldest field in the record's packed storage.
type SpeechErrorProcPtr ¶
type SpeechErrorProcPtr = func(*SpeechChannelRecord, uintptr, int16, int32)
type SpeechErrorUPP ¶
func NewSpeechErrorUPP
deprecated
func NewSpeechErrorUPP(userRoutine SpeechErrorProcPtr) SpeechErrorUPP
NewSpeechErrorUPP creates a new universal procedure pointer to an errorcallback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552224-newspeecherrorupp
type SpeechPhonemeProcPtr ¶
type SpeechPhonemeProcPtr = func(*SpeechChannelRecord, uintptr, int16)
type SpeechPhonemeUPP ¶
func NewSpeechPhonemeUPP
deprecated
func NewSpeechPhonemeUPP(userRoutine SpeechPhonemeProcPtr) SpeechPhonemeUPP
NewSpeechPhonemeUPP disposes of a universal procedure pointer (UPP) to a phonemecallback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552225-newspeechphonemeupp
type SpeechStatusInfo ¶
type SpeechStatusInfo struct {
// contains filtered or unexported fields
}
SpeechStatusInfo - Defines a speech status information structure, which stores information about the status of a speech channel.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/speechstatusinfo
func (*SpeechStatusInfo) InputBytesLeft ¶
func (s *SpeechStatusInfo) InputBytesLeft() int
InputBytesLeft returns the InputBytesLeft field from the record's packed storage.
func (*SpeechStatusInfo) OutputBusy ¶
func (s *SpeechStatusInfo) OutputBusy() bool
OutputBusy returns the OutputBusy field from the record's packed storage.
func (*SpeechStatusInfo) OutputPaused ¶
func (s *SpeechStatusInfo) OutputPaused() bool
OutputPaused returns the OutputPaused field from the record's packed storage.
func (*SpeechStatusInfo) PhonemeCode ¶
func (s *SpeechStatusInfo) PhonemeCode() int16
PhonemeCode returns the PhonemeCode field from the record's packed storage.
func (*SpeechStatusInfo) SetInputBytesLeft ¶ added in v0.6.17
func (s *SpeechStatusInfo) SetInputBytesLeft(v int)
SetInputBytesLeft updates the InputBytesLeft field in the record's packed storage.
func (*SpeechStatusInfo) SetOutputBusy ¶ added in v0.6.17
func (s *SpeechStatusInfo) SetOutputBusy(v bool)
SetOutputBusy updates the OutputBusy field in the record's packed storage.
func (*SpeechStatusInfo) SetOutputPaused ¶ added in v0.6.17
func (s *SpeechStatusInfo) SetOutputPaused(v bool)
SetOutputPaused updates the OutputPaused field in the record's packed storage.
func (*SpeechStatusInfo) SetPhonemeCode ¶ added in v0.6.17
func (s *SpeechStatusInfo) SetPhonemeCode(v int16)
SetPhonemeCode updates the PhonemeCode field in the record's packed storage.
type SpeechSyncProcPtr ¶
type SpeechSyncProcPtr = func(*SpeechChannelRecord, uintptr, uint32)
type SpeechSyncUPP ¶
func NewSpeechSyncUPP
deprecated
func NewSpeechSyncUPP(userRoutine SpeechSyncProcPtr) SpeechSyncUPP
NewSpeechSyncUPP creates a new universal procedure pointer (UPP) to a synchronizationcallback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552244-newspeechsyncupp
type SpeechTextDoneProcPtr ¶
type SpeechTextDoneUPP ¶
func NewSpeechTextDoneUPP
deprecated
func NewSpeechTextDoneUPP(userRoutine SpeechTextDoneProcPtr) SpeechTextDoneUPP
NewSpeechTextDoneUPP creates a new universal procedure pointer (UPP) to a text-donecallback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552247-newspeechtextdoneupp
type SpeechVersionInfo ¶
type SpeechVersionInfo struct {
// contains filtered or unexported fields
}
SpeechVersionInfo - Defines a speech version information structure.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/speechversioninfo
func (*SpeechVersionInfo) SetSynthFlags ¶ added in v0.6.17
func (s *SpeechVersionInfo) SetSynthFlags(v int32)
SetSynthFlags updates the SynthFlags field in the record's packed storage.
func (*SpeechVersionInfo) SetSynthManufacturer ¶ added in v0.6.17
func (s *SpeechVersionInfo) SetSynthManufacturer(v uint32)
SetSynthManufacturer updates the SynthManufacturer field in the record's packed storage.
func (*SpeechVersionInfo) SetSynthSubType ¶ added in v0.6.17
func (s *SpeechVersionInfo) SetSynthSubType(v uint32)
SetSynthSubType updates the SynthSubType field in the record's packed storage.
func (*SpeechVersionInfo) SetSynthType ¶ added in v0.6.17
func (s *SpeechVersionInfo) SetSynthType(v uint32)
SetSynthType updates the SynthType field in the record's packed storage.
func (*SpeechVersionInfo) SetSynthVersion ¶ added in v0.6.17
func (s *SpeechVersionInfo) SetSynthVersion(v uint32)
SetSynthVersion updates the SynthVersion field in the record's packed storage.
func (*SpeechVersionInfo) SynthFlags ¶
func (s *SpeechVersionInfo) SynthFlags() int32
SynthFlags returns the SynthFlags field from the record's packed storage.
func (*SpeechVersionInfo) SynthManufacturer ¶
func (s *SpeechVersionInfo) SynthManufacturer() uint32
SynthManufacturer returns the SynthManufacturer field from the record's packed storage.
func (*SpeechVersionInfo) SynthSubType ¶
func (s *SpeechVersionInfo) SynthSubType() uint32
SynthSubType returns the SynthSubType field from the record's packed storage.
func (*SpeechVersionInfo) SynthType ¶
func (s *SpeechVersionInfo) SynthType() uint32
SynthType returns the SynthType field from the record's packed storage.
func (*SpeechVersionInfo) SynthVersion ¶
func (s *SpeechVersionInfo) SynthVersion() uint32
SynthVersion returns the SynthVersion field from the record's packed storage.
type SpeechWordCFProcPtr ¶
type SpeechWordCFProcPtr = func(chan_ *SpeechChannelRecord, refCon uintptr, aString corefoundation.CFStringRef, wordRange corefoundation.CFRange)
SpeechWordCFProcPtr is defines a pointer to a Core Foundation-based word callback function that is called by the Speech Synthesis Manager before it pronounces a word.
See: https://developer.apple.com/documentation/applicationservices/speechwordcfprocptr
type SpeechWordProcPtr ¶
type SpeechWordProcPtr = func(*SpeechChannelRecord, uintptr, uint, uint16)
type SpeechWordUPP ¶
func NewSpeechWordUPP
deprecated
func NewSpeechWordUPP(userRoutine SpeechWordProcPtr) SpeechWordUPP
NewSpeechWordUPP creates a new universal procedure pointer (UPP) to a wordcallback function.
Deprecated: Deprecated since macOS 10.8.
See: https://developer.apple.com/documentation/applicationservices/1552230-newspeechwordupp
type SpeechXtndData ¶
type SpeechXtndData struct {
// contains filtered or unexported fields
}
SpeechXtndData - Defines a speech extension data structure.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/speechxtnddata
func (*SpeechXtndData) SetSynthCreator ¶ added in v0.6.17
func (s *SpeechXtndData) SetSynthCreator(v uint32)
SetSynthCreator updates the SynthCreator field in the record's packed storage.
func (*SpeechXtndData) SetSynthData ¶ added in v0.6.17
func (s *SpeechXtndData) SetSynthData(v [2]uint8)
SetSynthData updates the SynthData field in the record's packed storage.
func (*SpeechXtndData) SynthCreator ¶
func (s *SpeechXtndData) SynthCreator() uint32
SynthCreator returns the SynthCreator field from the record's packed storage.
func (*SpeechXtndData) SynthData ¶
func (s *SpeechXtndData) SynthData() [2]uint8
SynthData returns the SynthData field from the record's packed storage.
type StyleTable ¶
type StyleTable struct {
// contains filtered or unexported fields
}
StyleTable
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/styletable
func (*StyleTable) FontClass ¶
func (s *StyleTable) FontClass() int16
FontClass returns the FontClass field from the record's packed storage.
func (*StyleTable) Indexes ¶
func (s *StyleTable) Indexes() [48]int8
Indexes returns the Indexes field from the record's packed storage.
func (*StyleTable) Offset ¶
func (s *StyleTable) Offset() int32
Offset returns the Offset field from the record's packed storage.
func (*StyleTable) Reserved ¶
func (s *StyleTable) Reserved() int32
Reserved returns the Reserved field from the record's packed storage.
func (*StyleTable) SetFontClass ¶ added in v0.6.17
func (s *StyleTable) SetFontClass(v int16)
SetFontClass updates the FontClass field in the record's packed storage.
func (*StyleTable) SetIndexes ¶ added in v0.6.17
func (s *StyleTable) SetIndexes(v [48]int8)
SetIndexes updates the Indexes field in the record's packed storage.
func (*StyleTable) SetOffset ¶ added in v0.6.17
func (s *StyleTable) SetOffset(v int32)
SetOffset updates the Offset field in the record's packed storage.
func (*StyleTable) SetReserved ¶ added in v0.6.17
func (s *StyleTable) SetReserved(v int32)
SetReserved updates the Reserved field in the record's packed storage.
type Sv ¶
type Sv uint32
const ( SvAll1BitData Sv = 16843009 SvAll4BitData Sv = 33686018 SvAll8BitData Sv = 67372036 SvAllAvailableData Sv = 4294967295 SvAllLargeData Sv = 255 SvAllMiniData Sv = 16711680 SvAllSmallData Sv = 65280 SvLarge1Bit Sv = 1 SvLarge4Bit Sv = 2 SvLarge8Bit Sv = 4 SvMini1Bit Sv = 65536 SvMini4Bit Sv = 131072 SvMini8Bit Sv = 262144 SvSmall1Bit Sv = 256 SvSmall4Bit Sv = 512 SvSmall8Bit Sv = 1024 )
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 [70]byte // A file system specification structure that contains the volume, directory, and name of the file containing the voice. Generally, files containing a single voice are of type `kTextToSpeechVoiceFileType`, and files containing multiple voices are of type `kTextToSpeechVoiceBundleType`.
ResID int16 // The resource ID of the voice in the file. Voices are stored in resources of type `kTextToSpeechVoiceType`.
}
VoiceFileInfo - Defines a voice file information structure.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/voicefileinfo
type VoiceSpec ¶
type VoiceSpec struct {
// contains filtered or unexported fields
}
VoiceSpec - Defines a voice specification structure.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/applicationservices/voicespec
func (*VoiceSpec) 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