ApplicationServices is a macOS umbrella framework that bundles application-level graphics services, including Core Graphics, the Apple Type Services (ATS) font and text-layout engine, ColorSync, and HIServices. Through its ATS types you work with font enumeration and metrics using structures such as ATSFontFilter, ATSFontMetrics, ATSGlyphIdealMetrics, and the FMFontFamilyIterator family, and you describe glyph layout and rendering with ATSLayoutRecord, ATSUCurvePath, ATSUGlyphInfo, and ATSUStyleRunInfo. Because it is an umbrella, it primarily re-exports the capabilities of its constituent frameworks rather than defining services of its own.
Accessibility 11
Types for inspecting and observing the accessibility hierarchy of running applications.
- ClAXUIElement@typedef AXUIElementRef
- ClAXObserver@typedef AXObserverRef
- ClAXValue@typedef AXValueRef
- ClAXTextMarker@typedef AXTextMarkerRef
- ClAXTextMarkerRange@typedef AXTextMarkerRangeRef
- EnAXValueType@enum AXValueType Wrappers
- EnAXError@enum Accessibility Error Codes
- EnAXPrioritymacOS 10.9+@abstract Priority values used for kAXPriorityKey
- EnAXUnderlineStyle@typedef AXUnderlineStyle
- StAXMenuItemModifiers@typedef AXMenuItemModifiers
- StAXCopyMultipleAttributeOptions@enum kAXCopyMultipleAttributeOptionStopOnError
Font Enumeration and Management 19
Types for discovering, filtering, and iterating installed fonts and font families.
- StATSFontFilterA structure that specifies criteria for restricting the set of fonts returned by an enumeration.
- StATSFontFilterSelectorConstants that identify which criterion an ATSFontFilter applies during a font query.
- StATSFontMetricsA structure that holds the design metrics, such as ascent and descent, for a font.
- StATSFontNotifyOptionConstants that control the delivery of font-database change notifications.
- StATSFontNotifyActionConstants that identify the kind of change reported in a font notification.
- StATSFontQuerySourceContextA structure that supplies the callback and user data for an asynchronous font query.
- StATSFontQueryMessageIDConstants that identify the messages exchanged during an asynchronous font query.
- StFMInputA structure that supplies the input parameters for a QuickDraw font-manager request.
- StFMFontFamilyInstanceA structure that identifies a specific style instance within a font family.
- StFMFontFamilyIteratorA structure that maintains state while iterating over installed font families.
- StFMFontIteratorA structure that maintains state while iterating over individual installed fonts.
- StFMFontFamilyInstanceIteratorA structure that maintains state while iterating over the style instances of a font family.
- StFontRecA structure that holds the bitmap font data for a QuickDraw font.
- StFamRecA structure that holds the resource data describing a QuickDraw font family.
- StFontInfoA structure that holds the ascent, descent, leading, and width metrics of a QuickDraw font.
- StFontAssocA structure that holds the font-association table for a QuickDraw font family.
- StAsscEntryA structure that associates a font size and style with a font resource in a family.
- StNameTableA structure that holds the name strings for a QuickDraw font family.
- StStyleTableA structure that holds the style-mapping table for a QuickDraw font family.
Glyph Layout and Metrics 17
Types describing glyph positioning, paths, metrics, and text-layout records for the Apple Type Services engine.
- StATSLayoutRecordA structure that records the glyph, position, and flags for one element of a laid-out line of text.
- StATSGlyphIdealMetricsA structure that holds the device-independent advance and bounding metrics for a glyph.
- StATSGlyphScreenMetricsA structure that holds the device-specific, hinted screen metrics for a glyph.
- StATSUGlyphInfoA structure that holds the glyph, position, and style information for one laid-out glyph.
- StATSUGlyphInfoArrayA structure that holds an array of glyph-information records for a run of text.
- StATSUGlyphSelectorA structure that selects a specific glyph for substitution in an ATSUI style run.
- StATSUCurvePathA structure that describes a single glyph outline as a series of on- and off-curve points.
- StATSUCurvePathsA structure that holds a collection of curve paths forming a glyph's outline.
- StATSUStyleRunInfoA structure that describes a run of text sharing a single ATSUI style.
- StATSUAttributeInfoA structure that pairs an ATSUI attribute tag with the size of its value.
- StATSUCaretA structure that describes the position and slope of a text-insertion caret.
- StATSUTabA structure that describes the position and type of a tab stop in laid-out text.
- StATSURGBAlphaColorA structure that holds an RGB color with an alpha component for ATSUI rendering.
- StATSUBackgroundDataA structure that describes how to draw the background behind a run of highlighted text.
- StATSUUnhighlightDataA structure that describes how to restore the background when removing text highlighting.
- StATSTrapezoidA structure that describes a trapezoidal region bounding a run of laid-out glyphs.
- StATSJustWidthDeltaEntryOverrideA structure that overrides the justification width-change limits applied to a glyph.
Serialized Text-Layout Data 14
Header and record structures that describe ATSUI text layouts flattened to a portable binary representation.
- StATSFlatDataMainHeaderBlockThe top-level header that begins a flattened ATSUI text-layout data block.
- StATSFlatDataTextLayoutDataHeaderA header that describes the text-layout data section of a flattened ATSUI layout.
- StATSFlatDataTextLayoutHeaderA header that introduces the text-layout records within a flattened ATSUI layout.
- StATSFlatDataLayoutControlsDataHeaderA header that describes the layout-control attributes in a flattened ATSUI layout.
- StATSFlatDataLineInfoDataA structure that holds per-line layout information within a flattened ATSUI layout.
- StATSFlatDataLineInfoHeaderA header that introduces the per-line information records in a flattened ATSUI layout.
- StATSFlatDataStyleRunDataHeaderA header that describes the style-run data in a flattened ATSUI layout.
- StATSFlatDataStyleListStyleDataHeaderA header that describes an individual style entry in a flattened ATSUI style list.
- StATSFlatDataStyleListHeaderA header that introduces the style list within a flattened ATSUI layout.
- StATSFlatDataStyleListFeatureDataA structure that holds font-feature settings for a style in a flattened ATSUI layout.
- StATSFlatDataStyleListVariationDataA structure that holds font-variation settings for a style in a flattened ATSUI layout.
- StATSFlatDataFontNameDataHeaderA header that describes the font-name data in a flattened ATSUI layout.
- StATSFlatDataFontSpecRawNameDataA structure that holds the raw name bytes identifying a font in a flattened ATSUI layout.
- StATSFlatDataFontSpecRawNameDataHeaderA header that describes a raw font-name specification in a flattened ATSUI layout.
Kerning Data 3
Structures that describe pairwise kerning adjustments between glyphs.
- StKernPairA structure that describes the kerning adjustment between a pair of glyphs.
- StKernEntryA structure that holds a single kerning entry within a kerning table.
- StKernTableA structure that holds the table of kerning pairs for a font.
ColorSync Color Management 7
Types for color values, device profiles, and color-management transforms in the ColorSync subsystem.
- StCMXYZColorA structure that holds a color expressed in the CIE XYZ tristimulus color space.
- StCM2ProfileA structure that represents a version 2 ColorSync color-management profile.
- StCMMultiFunctLutTypeA structure that describes a multi-function lookup-table element of a color profile.
- StCMFloatBitmapFlagsConstants that describe the channel layout and format of a floating-point color bitmap.
- StCMDeviceScopeA structure that specifies the user and host scope to which a device color setting applies.
- StCMDeviceInfoA structure that holds descriptive information about a color-managed device.
- StCMDeviceProfileArrayA structure that holds the array of color profiles associated with a device.
QuickDraw Graphics Structures 14
Legacy graphics primitives describing bitmaps, colors, ports, patterns, and pictures.
- StBitMapA structure that describes a monochrome QuickDraw bitmap and its bounds.
- StPixMapA structure that describes a QuickDraw color pixel image and its format.
- StPatternA structure that holds an eight-by-eight monochrome QuickDraw fill pattern.
- StPixPatA structure that describes a multicolor QuickDraw fill pattern.
- StRGBColorA structure that holds a color expressed as red, green, and blue components.
- StColorSpecA structure that pairs a color-table index with its RGB color value.
- StColorTableA structure that holds the set of colors available in a QuickDraw indexed color environment.
- StGDeviceA structure that describes a QuickDraw graphics device and its current characteristics.
- StGrafPortA structure that describes the drawing environment of a QuickDraw graphics port.
- StCQDProcsA structure that holds the customizable drawing-procedure pointers for a color QuickDraw port.
- StPictureA structure that holds a recorded sequence of QuickDraw drawing operations.
- StOpenCPicParamsA structure that supplies parameters when opening a QuickDraw color picture for recording.
- StMacPolygonA structure that describes a QuickDraw polygon as a series of points.
- StVDGammaRecordA structure that holds the gamma-correction table for a video display device.
Shapes and Regions 2
HIServices region objects for representing and manipulating drawable shapes.
- ClHIShapeAn immutable object that represents an arbitrary drawable region for hit-testing and clipping.
- ClHIMutableShapeA mutable region object that can be modified by union, intersection, and difference operations.
Pasteboard Data Transfer 4
Types for placing and retrieving data on the system pasteboard during copy, paste, and drag operations.
- ClPasteboardAn object that manages data shared between applications during copy, paste, and drag operations.
- StPasteboardSyncFlagsConstants that report the synchronization state of a pasteboard relative to its owner.
- StPasteboardFlavorFlagsConstants that describe the characteristics of a data flavor placed on a pasteboard.
- EnPasteboardStandardLocationConstants that identify standard drop locations on the system pasteboard.
Speech Synthesis 11
Types describing speech channels, voices, phonemes, and synthesizer status for the Speech Synthesis subsystem.
- StSpeechChannelRecordA structure that represents a channel through which text is synthesized into speech.
- StVoiceSpecA structure that uniquely identifies a synthesizer voice by creator and identifier.
- StVoiceDescriptionA structure that describes the attributes of a speech-synthesizer voice.
- StVoiceFileInfoA structure that identifies the file and resource that store a synthesizer voice.
- StSpeechStatusInfoA structure that reports the current status of a speech channel.
- StSpeechErrorInfoA structure that reports errors encountered while synthesizing speech.
- StSpeechVersionInfoA structure that reports version information about the speech synthesizer.
- StPhonemeInfoA structure that describes a single phoneme recognized by the speech synthesizer.
- StPhonemeDescriptorA structure that holds the set of phonemes a synthesizer can produce.
- StSpeechXtndDataA structure that carries extended, synthesizer-specific data to a speech channel.
- StDelimiterInfoA structure that defines the delimiter characters used in embedded speech commands.
Language Translation 1
The service object for translating data between formats and applications.
- ClTranslationAn object that converts data from one format or application to another.
Internet Configuration 8
Structures describing helper applications, file mappings, and services in the Internet Config system.
- StICFontRecordtypes and constants for use with kICDocumentFont, et. al.
- StICCharTabletypes and constants for use with kICCharacterSet, et. al.
- StICAppSpectypes and constants for use with kICHelper, et. al.
- StICAppSpecListA structure that holds a list of helper-application specifications in Internet Config.
- StICFileSpectypes and constants for use with kICDownloadFolder, et. al.
- StICMapEntryA structure that maps a file type or extension to a helper application in Internet Config.
- StICServiceEntryA structure that describes a network service and its default port in Internet Config.
- StICServicesA structure that holds the list of network service entries known to Internet Config.
Printing Dialog Extensions 8
Protocols and structures for building printing-dialog plug-ins and describing print geometry.
- PrPDEPlugIn@name PDEPlugIn
- PrPDEPanel@name PDEPanel
- PrPDEPlugInCallbackProtocol@name PDEPlugInCallbackProtocol
- StPMRectA structure that describes a rectangle using floating-point coordinates for printing geometry.
- StPMResolutionA structure that describes a printing resolution in horizontal and vertical dots per inch.
- StPMLanguageInfoA structure that describes the page-description language supported by a printer.
- StPMDataFormatA structure that describes a data format a printer or print job can accept.
- StPMPageToPaperMappingTypeConstants that specify how a logical page is mapped onto the physical paper.
Process and Launch Information 5
Structures describing application launch parameters and the state of running processes.
- StAppParametersA structure that holds the parameters passed to an application when it launches.
- StLaunchParamBlockRecA structure that supplies the parameters used to launch an application.
- StProcessInfoRecA structure that holds descriptive information about a running process.
- StProcessInfoExtendedRecA structure that holds extended descriptive information about a running process.
- StSizeResourceRecA structure that describes an application's memory and launch requirements from its size resource.
Type Aliases 250
- TyATSFontContext
- TyATSFontFamilyApplierFunction
- TyATSFontApplierFunction
- TyATSFontFamilyIterator
- TyATSFontIterator
- TyATSFontNotificationRef
- TyATSFontNotificationInfoRef
- TyATSNotificationCallback
- TyATSFontQueryCallback
- TyATSFontAutoActivationSetting
- TyATSULayoutOperationSelector
- TyATSULayoutOperationCallbackStatus
- TyATSLineLayoutOptions
- TyATSStyleRenderingOptions
- TyATSGlyphInfoFlags
- TyATSJustPriorityWidthDeltaOverrides
Show 234 more
- TyATSPoint
- TyFMGeneration
- TyFMFontFamily
- TyFMFontStyle
- TyFMFontSize
- TyFMFont
- TyFMFilterSelector
- TyATSOptionFlags
- TyATSGeneration
- TyATSFontContainerRef
- TyATSFontFamilyRef
- TyATSFontRef
- TyATSGlyphRef
- TyATSFontSize
- TyATSFontFormat
- TyATSCurveType
- TyGlyphID
- TyATSUDirectDataSelector
- TyATSUStyleSettingRef
- TyATSUFlattenedDataStreamFormat
- TyATSUFlattenStyleRunOptions
- TyATSUUnFlattenStyleRunOptions
- TyATSFlatDataFontSpeciferType
- TyATSQuadraticNewPathProcPtr
- TyATSQuadraticNewPathUPP
- TyATSQuadraticLineProcPtr
- TyATSQuadraticLineUPP
- TyATSQuadraticCurveProcPtr
- TyATSQuadraticCurveUPP
- TyATSQuadraticClosePathProcPtr
- TyATSQuadraticClosePathUPP
- TyATSCubicMoveToProcPtr
- TyATSCubicMoveToUPP
- TyATSCubicLineToProcPtr
- TyATSCubicLineToUPP
- TyATSCubicCurveToProcPtr
- TyATSCubicCurveToUPP
- TyATSCubicClosePathProcPtr
- TyATSCubicClosePathUPP
- TyATSUTextLayout
- TyATSUStyle
- TyATSUFontFallbacks
- TyATSUTextMeasurement
- TyATSUFontID
- TyATSUFontFeatureType
- TyATSUFontFeatureSelector
- TyATSUFontVariationAxis
- TyATSUFontVariationValue
- TyATSUAttributeTag
- TyATSUAttributeValuePtr
- TyConstATSUAttributeValuePtr
- TyATSUCursorMovementType
- TyATSULineTruncation
- TyATSUStyleLineCountType
- TyATSUVerticalCharacterType
- TyATSUStyleComparison
- TyATSUFontFallbackMethod
- TyATSUTabType
- TyGlyphCollection
- TyATSUHighlightMethod/
- TyATSUBackgroundDataType
- TyATSUBackgroundColor
- TyRedrawBackgroundProcPtr
- TyRedrawBackgroundUPP
- TyAXObserverCallback@typedef AXObserverCallback
- TyAXObserverCallbackWithInfo@typedef AXObserverCallbackWithInfo
- TyHIShapeEnumerateProcPtr
- TyIconAlignmentType
- TyIconTransformType
- TyIconSelectorValue
- TyIconActionProcPtr
- TyIconGetterProcPtr
- TyIconActionUPP
- TyIconGetterUPP
- TyPlotIconRefFlags
- TyICInstanceopaque type for preference reference
- TyICAttrpreference attributes type, bit number constants, and mask constants
- TyICPermpermissions for use with ICBegin
- TyICProfileIDprofile IDs
- TyICProfileIDPtr
- TyICFontRecordPtr
- TyICFontRecordHandle
- TyICCharTablePtr
- TyICCharTableHandle
- TyICAppSpecPtr
- TyICAppSpecHandle
- TyICAppSpecListPtr
- TyICAppSpecListHandle
- TyICFileSpecPtr
- TyICFileSpecHandle
- TyICMapEntryFlagstypes and constants for use with ICMapFilename, et. al.
- TyICFixedLength
- TyICMapEntryPtr
- TyICMapEntryHandle
- TyICServiceEntryFlagstypes and constants for use with kICServices, et. al.
- TyICServiceEntryPtr
- TyICServiceEntryHandle
- TyICServicesPtr
- TyICServicesHandle
- TyPasteboardItemID
- TyPasteboardPromiseKeeperProcPtr
- TyLaunchFlags
- TyAppParametersPtr
- TyLaunchPBPtr
- TyProcessApplicationTransformState
- TyProcessInfoRecPtr
- TyProcessInfoExtendedRecPtr
- TySizeResourceRecPtr
- TySizeResourceRecHandle
- TyTranslationFlags
- TyUAZoomChangeFocusType@typedef UAZoomChangeFocusType
- TyPMObject
- TyPMPrintSettings
- TyPMPageFormat
- TyPMPrintSession
- TyPMPrinter
- TyPMServer
- TyPMPreset
- TyPMPaper
- TyPMDestinationType
- TyPMOrientation
- TyPMPrinterState
- TyPMColorSpaceModel
- TyPMQualityMode
- TyPMPaperType
- TyPMScalingAlignment
- TyPMDuplexMode
- TyPMLayoutDirection
- TyPMBorderType
- TyPMPrintDialogOptionFlags
- TyPMPPDDomain
- TyPMPaperMargins
- TyCMXYZComponent
- TyCM2ProfilePtr
- TyCMMultiFunctLutA2BType
- TyCMFlattenProcPtr
- TyCMFlattenUPP
- TyCMDeviceClass
- TyFontRecPtr
- TyFontRecHdl
- TyGrafPtr
- TyCGrafPtr
- TyGWorldPtr
- TyQDErr
- TyGWorldFlags
- TyBitMapPtr
- TyBitMapHandle
- TyColorSpecPtr
- TyCSpecArray
- TyCTabPtr
- TyCTabHandle
- TyPixMapPtr
- TyPixMapHandle
- TyPatPtr
- TyPatHandle
- TyPixPatPtr
- TyPixPatHandle
- TyRgnHandle
- TyGDPtr
- TyGDHandle
- TyPicPtr
- TyPicHandle
- TyQDRegionParseDirection
- TyRegionToRectsProcPtr
- TyRegionToRectsUPP
- TyTruncCode
- TyDragConstraint
- TyDragGrayRgnProcPtr
- TyColorSearchProcPtr
- TyColorComplementProcPtr
- TyDragGrayRgnUPP
- TyColorSearchUPP
- TyColorComplementUPP
- TyWindowPtr
- TyDialogPtr
- TyWindowRef
- TyVDGamRecPtr
- TyPolygon
- TyPolyPtr
- TyPolyHandle
- TyGrafVerb
- TyPrinterStatusOpcode
- TyQDTextProcPtr
- TyQDLineProcPtr
- TyQDRectProcPtr
- TyQDRRectProcPtr
- TyQDOvalProcPtr
- TyQDArcProcPtr
- TyQDPolyProcPtr
- TyQDRgnProcPtr
- TyQDBitsProcPtr
- TyQDCommentProcPtr
- TyQDTxMeasProcPtr
- TyQDGetPicProcPtr
- TyQDPutPicProcPtr
- TyQDOpcodeProcPtr
- TyQDStdGlyphsProcPtr
- TyQDJShieldCursorProcPtr
- TyQDPrinterStatusProcPtr
- TyQDTextUPP
- TyQDLineUPP
- TyQDRectUPP
- TyQDRRectUPP
- TyQDOvalUPP
- TyQDArcUPP
- TyQDPolyUPP
- TyQDRgnUPP
- TyQDBitsUPP
- TyQDCommentUPP
- TyQDTxMeasUPP
- TyQDGetPicUPP
- TyQDPutPicUPP
- TyQDOpcodeUPP
- TyQDStdGlyphsUPP
- TyQDJShieldCursorUPP
- TyQDPrinterStatusUPP
- TyCQDProcsPtr
- TyCGrafPort
- TySpeechChannel
- TyVoiceSpecPtr
- TySpeechTextDoneProcPtr
- TySpeechDoneProcPtr
- TySpeechSyncProcPtr
- TySpeechErrorProcPtr
- TySpeechPhonemeProcPtr
- TySpeechWordProcPtr
- TySpeechTextDoneUPP
- TySpeechDoneUPP
- TySpeechSyncUPP
- TySpeechErrorUPP
- TySpeechPhonemeUPP
- TySpeechWordUPP
- TySpeechErrorCFProcPtr
- TySpeechWordCFProcPtr