quartz

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package quartz provides purego-based Go bindings for the macOS Quartz framework.

Apple documentation: https://developer.apple.com/documentation/quartz

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IKFilterBrowserPanelFilterBrowserPanelWithStyleMask

func IKFilterBrowserPanelFilterBrowserPanelWithStyleMask(styleMask uint) objc.ID

Creates a shared instance of the IKFilterBrowserPanel class.

func IKFilterUIViewViewWithFrameFilter

func IKFilterUIViewViewWithFrameFilter(frameRect corefoundation.CGRect, inFilter *coreimage.CIFilter) objc.ID

Creates a view that contains controls for the input parameters of a filter.

func IKImageEditPanelSharedImageEditPanel

func IKImageEditPanelSharedImageEditPanel() objc.ID

Creates a shared instance of an image editing panel.

func IKPictureTakerPictureTaker

func IKPictureTakerPictureTaker() objc.ID

Returns a shared IKPictureTaker instance, creating it if necessary.

func IKSlideshowCanExportToApplication

func IKSlideshowCanExportToApplication(applicationBundleIdentifier *foundation.NSString) bool

Finds out whether the slideshow can export its contents to an application.

func IKSlideshowExportSlideshowItemToApplication

func IKSlideshowExportSlideshowItemToApplication(item objc.ID, applicationBundleIdentifier *foundation.NSString)

Exports a slideshow item to the application that has the provided bundle identifier.

func IKSlideshowSharedSlideshow

func IKSlideshowSharedSlideshow() objc.ID

Returns a shared instance of a slideshow.

func QCPlugInAttributes

func QCPlugInAttributes() *foundation.NSDictionary[objc.ID, objc.ID]

Returns a dictionary that contains strings for the user interface that describe the custom patch.

func QCPlugInAttributesForPropertyPortWithKey

func QCPlugInAttributesForPropertyPortWithKey(key *foundation.NSString) *foundation.NSDictionary[objc.ID, objc.ID]

Returns a dictionary that contains strings for the user interface that describe the optional attributes for ports created from properties.

func QCPlugInPlugInKeys

func QCPlugInPlugInKeys() *foundation.NSArray[objc.ID]

Returns the keys for the internal settings of a custom patch.

func QCPlugInSortedPropertyPortKeys

func QCPlugInSortedPropertyPortKeys() *foundation.NSArray[objc.ID]

Returns and array of property port keys in the order you want them to appear in the user interface.

func QuartzFilterManagerFiltersInDomains

func QuartzFilterManagerFiltersInDomains(domains *foundation.NSArray[objc.ID]) *foundation.NSArray[objc.ID]

Types

type Acl_entry_id_t

type Acl_entry_id_t int64
const (
	ACL_FIRST_ENTRY Acl_entry_id_t = 0
	ACL_NEXT_ENTRY  Acl_entry_id_t = -1
	ACL_LAST_ENTRY  Acl_entry_id_t = -2
)

func (Acl_entry_id_t) String

func (e Acl_entry_id_t) String() string

type Acl_flag_t

type Acl_flag_t int64
const (
	ACL_FLAG_DEFER_INHERIT      Acl_flag_t = 1
	ACL_FLAG_NO_INHERIT         Acl_flag_t = 131072
	ACL_ENTRY_INHERITED         Acl_flag_t = 16
	ACL_ENTRY_FILE_INHERIT      Acl_flag_t = 32
	ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64
	ACL_ENTRY_LIMIT_INHERIT     Acl_flag_t = 128
	ACL_ENTRY_ONLY_INHERIT      Acl_flag_t = 256
)

func (Acl_flag_t) String

func (e Acl_flag_t) String() string

type Acl_perm_t

type Acl_perm_t int64
const (
	ACL_READ_DATA           Acl_perm_t = 2
	ACL_LIST_DIRECTORY      Acl_perm_t = 2
	ACL_WRITE_DATA          Acl_perm_t = 4
	ACL_ADD_FILE            Acl_perm_t = 4
	ACL_EXECUTE             Acl_perm_t = 8
	ACL_SEARCH              Acl_perm_t = 8
	ACL_DELETE              Acl_perm_t = 16
	ACL_APPEND_DATA         Acl_perm_t = 32
	ACL_ADD_SUBDIRECTORY    Acl_perm_t = 32
	ACL_DELETE_CHILD        Acl_perm_t = 64
	ACL_READ_ATTRIBUTES     Acl_perm_t = 128
	ACL_WRITE_ATTRIBUTES    Acl_perm_t = 256
	ACL_READ_EXTATTRIBUTES  Acl_perm_t = 512
	ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024
	ACL_READ_SECURITY       Acl_perm_t = 2048
	ACL_WRITE_SECURITY      Acl_perm_t = 4096
	ACL_CHANGE_OWNER        Acl_perm_t = 8192
	ACL_SYNCHRONIZE         Acl_perm_t = 1048576
)

func (Acl_perm_t) String

func (e Acl_perm_t) String() string

type Acl_tag_t

type Acl_tag_t int64
const (
	ACL_UNDEFINED_TAG  Acl_tag_t = 0
	ACL_EXTENDED_ALLOW Acl_tag_t = 1
	ACL_EXTENDED_DENY  Acl_tag_t = 2
)

func (Acl_tag_t) String

func (e Acl_tag_t) String() string

type Acl_type_t

type Acl_type_t int64
const (
	ACL_TYPE_EXTENDED Acl_type_t = 256
	ACL_TYPE_ACCESS   Acl_type_t = 0
	ACL_TYPE_DEFAULT  Acl_type_t = 1
	ACL_TYPE_AFS      Acl_type_t = 2
	ACL_TYPE_CODA     Acl_type_t = 3
	ACL_TYPE_NTFS     Acl_type_t = 4
	ACL_TYPE_NWFS     Acl_type_t = 5
)

func (Acl_type_t) String

func (e Acl_type_t) String() string

type CGLCPContextPriorityRequest

type CGLCPContextPriorityRequest int64
const (
	KCGLCPContextPriorityRequestHigh   CGLCPContextPriorityRequest = 0
	KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1
	KCGLCPContextPriorityRequestLow    CGLCPContextPriorityRequest = 2
)

func (CGLCPContextPriorityRequest) String

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type Dispatch_autorelease_frequency_t

type Dispatch_autorelease_frequency_t uint64
const (
	DISPATCH_AUTORELEASE_FREQUENCY_INHERIT   Dispatch_autorelease_frequency_t = 0
	DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1
	DISPATCH_AUTORELEASE_FREQUENCY_NEVER     Dispatch_autorelease_frequency_t = 2
)

func (Dispatch_autorelease_frequency_t) String

type Dispatch_block_flags_t

type Dispatch_block_flags_t uint64
const (
	DISPATCH_BLOCK_BARRIER           Dispatch_block_flags_t = 1
	DISPATCH_BLOCK_DETACHED          Dispatch_block_flags_t = 2
	DISPATCH_BLOCK_ASSIGN_CURRENT    Dispatch_block_flags_t = 4
	DISPATCH_BLOCK_NO_QOS_CLASS      Dispatch_block_flags_t = 8
	DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16
	DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32
)

func (Dispatch_block_flags_t) String

func (e Dispatch_block_flags_t) String() string

type EvCmd

type EvCmd int64
const (
	EVNOP   EvCmd = 0
	EVHIDE  EvCmd = 1
	EVSHOW  EvCmd = 2
	EVMOVE  EvCmd = 3
	EVLEVEL EvCmd = 4
)

func (EvCmd) String

func (e EvCmd) String() string

type Filesec_property_t

type Filesec_property_t int64
const (
	FILESEC_OWNER         Filesec_property_t = 1
	FILESEC_GROUP         Filesec_property_t = 2
	FILESEC_UUID          Filesec_property_t = 3
	FILESEC_MODE          Filesec_property_t = 4
	FILESEC_ACL           Filesec_property_t = 5
	FILESEC_GRPUUID       Filesec_property_t = 6
	FILESEC_ACL_RAW       Filesec_property_t = 100
	FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101
)

func (Filesec_property_t) String

func (e Filesec_property_t) String() string

type ICReturnCodeOffset

type ICReturnCodeOffset int64
const (
	ICReturnCodeThumbnailOffset  ICReturnCodeOffset = -21000
	ICReturnCodeMetadataOffset   ICReturnCodeOffset = -21050
	ICReturnCodeDownloadOffset   ICReturnCodeOffset = -21100
	ICReturnCodeDeleteOffset     ICReturnCodeOffset = -21150
	ICReturnCodeExFATOffset      ICReturnCodeOffset = -21200
	ICReturnCodePTPOffset        ICReturnCodeOffset = -21250
	ICReturnCodeSystemOffset     ICReturnCodeOffset = -21300
	ICReturnCodeDeviceOffset     ICReturnCodeOffset = -21350
	ICReturnCodeDeviceConnection ICReturnCodeOffset = -21400
	ICReturnCodeObjectOffset     ICReturnCodeOffset = -21450
)

func (ICReturnCodeOffset) String

func (e ICReturnCodeOffset) String() string

type IKCameraDeviceView

type IKCameraDeviceView struct {
	appkit.NSView
}

The IKCameraDeviceView class displays the contents of the selected camera.

Apple documentation: https://developer.apple.com/documentation/quartz/ikcameradeviceview

func IKCameraDeviceViewFromID

func IKCameraDeviceViewFromID(id objc.ID) *IKCameraDeviceView

func (*IKCameraDeviceView) CameraDevice

@property cameraDevice @abstract the camera device.

func (*IKCameraDeviceView) CanDeleteSelectedItems

func (o *IKCameraDeviceView) CanDeleteSelectedItems() bool

@property canDeleteSelectedItems @abstract indicates if the user selected items can be deleted.

func (*IKCameraDeviceView) CanDownloadSelectedItems

func (o *IKCameraDeviceView) CanDownloadSelectedItems() bool

@property canDownloadSelectedItems @abstract indicates if the user selected items can be downloaded.

func (*IKCameraDeviceView) CanRotateSelectedItemsLeft

func (o *IKCameraDeviceView) CanRotateSelectedItemsLeft() bool

@property canRotateSelectedItemsLeft @abstract indicates if the user selected items can be rotated left.

func (*IKCameraDeviceView) CanRotateSelectedItemsRight

func (o *IKCameraDeviceView) CanRotateSelectedItemsRight() bool

@property canRotateSelectedItemsRight @abstract indicates if the user selected items can be rotated right.

func (*IKCameraDeviceView) Delegate

func (o *IKCameraDeviceView) Delegate() objc.ID

@property delegate @abstract Delegate of the IKCameraDeviceView.

func (*IKCameraDeviceView) DeleteSelectedItems

func (o *IKCameraDeviceView) DeleteSelectedItems(sender objc.ID)

Deletes the currently selected items.

func (*IKCameraDeviceView) DisplaysDownloadsDirectoryControl

func (o *IKCameraDeviceView) DisplaysDownloadsDirectoryControl() bool

@property displaysDownloadsDirectoryControl @abstract show a downloads directory control.

func (*IKCameraDeviceView) DisplaysPostProcessApplicationControl

func (o *IKCameraDeviceView) DisplaysPostProcessApplicationControl() bool

@property displaysPostProcessApplicationControl @abstract show a postprocessing application control.

func (*IKCameraDeviceView) DownloadAllControlLabel

func (o *IKCameraDeviceView) DownloadAllControlLabel() *foundation.NSString

@property downloadAllControlLabel @abstract label for the 'Download All' control - allows for example renaming to 'Import All'.

func (*IKCameraDeviceView) DownloadAllItems

func (o *IKCameraDeviceView) DownloadAllItems(sender objc.ID)

Downloads all the items.

func (*IKCameraDeviceView) DownloadSelectedControlLabel

func (o *IKCameraDeviceView) DownloadSelectedControlLabel() *foundation.NSString

@property downloadSelectedControlLabel @abstract label for the 'Download Selected' control.

func (*IKCameraDeviceView) DownloadSelectedItems

func (o *IKCameraDeviceView) DownloadSelectedItems(sender objc.ID)

Deletes the selected items from the camera.

func (*IKCameraDeviceView) DownloadsDirectory

func (o *IKCameraDeviceView) DownloadsDirectory() *foundation.NSURL

@property downloadsDirectory @abstract downloads directory.

func (*IKCameraDeviceView) HasDisplayModeIcon

func (o *IKCameraDeviceView) HasDisplayModeIcon() bool

@property hasDisplayModeIcon @abstract support icon view display mode.

func (*IKCameraDeviceView) HasDisplayModeTable

func (o *IKCameraDeviceView) HasDisplayModeTable() bool

@property hasDisplayModeTable @abstract support table view display mode.

func (*IKCameraDeviceView) IconSize

func (o *IKCameraDeviceView) IconSize() uint

@property iconSize @abstract in icon mode: size of the image thumbnails.

func (*IKCameraDeviceView) Mode

func (o *IKCameraDeviceView) Mode() objc.ID

@property mode @abstract current display mode.

func (*IKCameraDeviceView) PostProcessApplication

func (o *IKCameraDeviceView) PostProcessApplication() *foundation.NSURL

@property postProcessApplication @abstract postprocessing application.

func (*IKCameraDeviceView) RotateLeft

func (o *IKCameraDeviceView) RotateLeft(sender objc.ID)

Rotates the selected image to the left.

func (*IKCameraDeviceView) RotateRight

func (o *IKCameraDeviceView) RotateRight(sender objc.ID)

Rotates the selected image to the right.

func (*IKCameraDeviceView) SelectIndexesByExtendingSelection

func (o *IKCameraDeviceView) SelectIndexesByExtendingSelection(indexes *foundation.NSIndexSet, extend bool)

Invoked to select the specified files, extending the selection if specified.

func (*IKCameraDeviceView) SelectedIndexes

func (o *IKCameraDeviceView) SelectedIndexes() *foundation.NSIndexSet

The selected indexes of the camera files.

func (*IKCameraDeviceView) SetCameraDevice

func (o *IKCameraDeviceView) SetCameraDevice(cameraDevice *imagecapturecore.ICCameraDevice)

func (*IKCameraDeviceView) SetCustomActionControl

func (o *IKCameraDeviceView) SetCustomActionControl(control *appkit.NSSegmentedControl)

@method setCustomActionButton: @abstract provide your own control to toggle between IKCameraDeviceViewDisplayMode table / icon

func (*IKCameraDeviceView) SetCustomDeleteControl

func (o *IKCameraDeviceView) SetCustomDeleteControl(control *appkit.NSSegmentedControl)

@method setCustomDeleteControl: @abstract provide your own control to delete selected items

func (*IKCameraDeviceView) SetCustomIconSizeSlider

func (o *IKCameraDeviceView) SetCustomIconSizeSlider(slider *appkit.NSSlider)

@method setCustomIconSizeSlider: @abstract provide your own NSSlider to resize item thumbnails

func (*IKCameraDeviceView) SetCustomModeControl

func (o *IKCameraDeviceView) SetCustomModeControl(control *appkit.NSSegmentedControl)

@method setCustomModeControl: @abstract provide your own control to toggle between IKCameraDeviceViewDisplayMode table / icon

func (*IKCameraDeviceView) SetCustomRotateControl

func (o *IKCameraDeviceView) SetCustomRotateControl(control *appkit.NSSegmentedControl)

@method setCustomRotateButton: @abstract provide your own control to rotate items (multiple of 90º)

func (*IKCameraDeviceView) SetDelegate

func (o *IKCameraDeviceView) SetDelegate(delegate objc.ID)

func (*IKCameraDeviceView) SetDisplaysDownloadsDirectoryControl

func (o *IKCameraDeviceView) SetDisplaysDownloadsDirectoryControl(displaysDownloadsDirectoryControl bool)

func (*IKCameraDeviceView) SetDisplaysPostProcessApplicationControl

func (o *IKCameraDeviceView) SetDisplaysPostProcessApplicationControl(displaysPostProcessApplicationControl bool)

func (*IKCameraDeviceView) SetDownloadAllControlLabel

func (o *IKCameraDeviceView) SetDownloadAllControlLabel(downloadAllControlLabel *foundation.NSString)

func (*IKCameraDeviceView) SetDownloadSelectedControlLabel

func (o *IKCameraDeviceView) SetDownloadSelectedControlLabel(downloadSelectedControlLabel *foundation.NSString)

func (*IKCameraDeviceView) SetDownloadsDirectory

func (o *IKCameraDeviceView) SetDownloadsDirectory(downloadsDirectory *foundation.NSURL)

func (*IKCameraDeviceView) SetHasDisplayModeIcon

func (o *IKCameraDeviceView) SetHasDisplayModeIcon(hasDisplayModeIcon bool)

func (*IKCameraDeviceView) SetHasDisplayModeTable

func (o *IKCameraDeviceView) SetHasDisplayModeTable(hasDisplayModeTable bool)

func (*IKCameraDeviceView) SetIconSize

func (o *IKCameraDeviceView) SetIconSize(iconSize uint)

func (*IKCameraDeviceView) SetMode

func (o *IKCameraDeviceView) SetMode(mode objc.ID)

func (*IKCameraDeviceView) SetPostProcessApplication

func (o *IKCameraDeviceView) SetPostProcessApplication(postProcessApplication *foundation.NSURL)

func (*IKCameraDeviceView) SetShowStatusInfoAsWindowSubtitle

func (o *IKCameraDeviceView) SetShowStatusInfoAsWindowSubtitle(value bool)

@method setShowStatusInfoAsWindowSubtitle: @abstract display status info as window subtitle

func (*IKCameraDeviceView) SetTransferMode

func (o *IKCameraDeviceView) SetTransferMode(transferMode objc.ID)

func (*IKCameraDeviceView) TransferMode

func (o *IKCameraDeviceView) TransferMode() objc.ID

@property transferMode @abstract transfer mode either file based - or - in memory.

type IKDeviceBrowserView

type IKDeviceBrowserView struct {
	appkit.NSView
}

The IKDeviceBrowserView allows you to select a camera or scanner from a list of the available devices.

Apple documentation: https://developer.apple.com/documentation/quartz/ikdevicebrowserview

func IKDeviceBrowserViewFromID

func IKDeviceBrowserViewFromID(id objc.ID) *IKDeviceBrowserView

func (*IKDeviceBrowserView) Delegate

func (o *IKDeviceBrowserView) Delegate() objc.ID

@property delegate @abstract delegate of the IKDeviceBrowserView.

func (*IKDeviceBrowserView) DisplaysLocalCameras

func (o *IKDeviceBrowserView) DisplaysLocalCameras() bool

@property displaysLocalCameras @abstract for device filtering - indicates that the IKDeviceBrowserView should include local cameras.

func (*IKDeviceBrowserView) DisplaysLocalScanners

func (o *IKDeviceBrowserView) DisplaysLocalScanners() bool

@property displaysLocalScanners @abstract for device filtering - indicates that the IKDeviceBrowserView should include local scanners.

func (*IKDeviceBrowserView) DisplaysNetworkCameras

func (o *IKDeviceBrowserView) DisplaysNetworkCameras() bool

@property displaysNetworkCameras @abstract for device filtering - indicates that the IKDeviceBrowserView should include network/shared cameras.

func (*IKDeviceBrowserView) DisplaysNetworkScanners

func (o *IKDeviceBrowserView) DisplaysNetworkScanners() bool

@property displaysNetworkScanners @abstract for device filtering - indicates that the IKDeviceBrowserView should include network/shared scanners.

func (*IKDeviceBrowserView) Mode

func (o *IKDeviceBrowserView) Mode() objc.ID

@property mode @abstract one of the supported display modes (table, outline, or icon mode).

func (*IKDeviceBrowserView) SelectedDevice

func (o *IKDeviceBrowserView) SelectedDevice() *imagecapturecore.ICDevice

@property selectedDevice @abstract user selected device (ICCameraDevice or ICScannerDevice).

func (*IKDeviceBrowserView) SetDelegate

func (o *IKDeviceBrowserView) SetDelegate(delegate objc.ID)

func (*IKDeviceBrowserView) SetDisplaysLocalCameras

func (o *IKDeviceBrowserView) SetDisplaysLocalCameras(displaysLocalCameras bool)

func (*IKDeviceBrowserView) SetDisplaysLocalScanners

func (o *IKDeviceBrowserView) SetDisplaysLocalScanners(displaysLocalScanners bool)

func (*IKDeviceBrowserView) SetDisplaysNetworkCameras

func (o *IKDeviceBrowserView) SetDisplaysNetworkCameras(displaysNetworkCameras bool)

func (*IKDeviceBrowserView) SetDisplaysNetworkScanners

func (o *IKDeviceBrowserView) SetDisplaysNetworkScanners(displaysNetworkScanners bool)

func (*IKDeviceBrowserView) SetMode

func (o *IKDeviceBrowserView) SetMode(mode objc.ID)

type IKFilterBrowserPanel

type IKFilterBrowserPanel struct {
	appkit.NSPanel
}

Presents a user interface for browsing filters.

Apple documentation: https://developer.apple.com/documentation/quartz/ikfilterbrowserpanel

func IKFilterBrowserPanelFromID

func IKFilterBrowserPanelFromID(id objc.ID) *IKFilterBrowserPanel

func (*IKFilterBrowserPanel) FilterName

func (o *IKFilterBrowserPanel) FilterName() *foundation.NSString

Returns the name of the filter that is currently selected in the filter browser.

type IKFilterBrowserView

type IKFilterBrowserView struct {
	appkit.NSView
}

The IKFilterBrowserView class is used as a container for the elements of an IKFilterBrowserPanel object.

Apple documentation: https://developer.apple.com/documentation/quartz/ikfilterbrowserview

func IKFilterBrowserViewFromID

func IKFilterBrowserViewFromID(id objc.ID) *IKFilterBrowserView

func (*IKFilterBrowserView) FilterName

func (o *IKFilterBrowserView) FilterName() *foundation.NSString

Returns the name of the filter that is currently selected in the filter browser.

func (*IKFilterBrowserView) SetPreviewState

func (o *IKFilterBrowserView) SetPreviewState(inState bool)

Sets the preview state.

type IKFilterUIView

type IKFilterUIView struct {
	appkit.NSView
}

Input parameters for filtering core image filters.

Apple documentation: https://developer.apple.com/documentation/quartz/ikfilteruiview

func IKFilterUIViewFromID

func IKFilterUIViewFromID(id objc.ID) *IKFilterUIView

func (*IKFilterUIView) Filter

func (o *IKFilterUIView) Filter() *coreimage.CIFilter

Returns the Core Image filter associated with the view.

func (*IKFilterUIView) InitWithFrameFilter

func (o *IKFilterUIView) InitWithFrameFilter(frameRect corefoundation.CGRect, inFilter *coreimage.CIFilter) objc.ID

Initializes a view that contains controls for the input parameters of a filter.

func (*IKFilterUIView) ObjectController

func (o *IKFilterUIView) ObjectController() *appkit.NSObjectController

Returns the object controller for the bindings between the filter and its view.

type IKImageBrowserCell

type IKImageBrowserCell struct {
	foundation.NSObject
}

A class used to display a cell.

Apple documentation: https://developer.apple.com/documentation/quartz/ikimagebrowsercell

func IKImageBrowserCellFromID

func IKImageBrowserCellFromID(id objc.ID) *IKImageBrowserCell

func (*IKImageBrowserCell) CellState

Returns the current cell state of the receiver.

func (*IKImageBrowserCell) Frame

Returns the receiver’s frame rectangle, which defines its position in its IKImageBrowserView.

func (*IKImageBrowserCell) ImageAlignment

func (o *IKImageBrowserCell) ImageAlignment() appkit.NSImageAlignment

Returns the position of the cell’s image in the frame.

func (*IKImageBrowserCell) ImageBrowserView

func (o *IKImageBrowserCell) ImageBrowserView() objc.ID

Returns the view the receiver uses to display the cell.

func (*IKImageBrowserCell) ImageContainerFrame

func (o *IKImageBrowserCell) ImageContainerFrame() corefoundation.CGRect

Returns the receiver’s image container frame rectangle, which defines the position of the container of the thumbnail.

func (*IKImageBrowserCell) ImageFrame

func (o *IKImageBrowserCell) ImageFrame() corefoundation.CGRect

Returns the receiver’s image frame rectangle, which defines the position of the thumbnail in its IKImageBrowserView.

func (*IKImageBrowserCell) IndexOfRepresentedItem

func (o *IKImageBrowserCell) IndexOfRepresentedItem() uint

Returns the index of the receiver’s represented object in the datasource.

func (*IKImageBrowserCell) IsSelected

func (o *IKImageBrowserCell) IsSelected() bool

Returns whether the cell is selected.

func (*IKImageBrowserCell) LayerForType

func (o *IKImageBrowserCell) LayerForType(type_ *foundation.NSString) *quartzcore.CALayer

Returns a layer for the specified position.

func (*IKImageBrowserCell) Opacity

func (o *IKImageBrowserCell) Opacity() float64

Returns the opacity of the receiver.

func (*IKImageBrowserCell) RepresentedItem

func (o *IKImageBrowserCell) RepresentedItem() objc.ID

Returns the receiver’s represented object.

func (*IKImageBrowserCell) SelectionFrame

func (o *IKImageBrowserCell) SelectionFrame() corefoundation.CGRect

Returns the receiver’s selection frame rectangle, which defines the position of the selection rectangle in its IKImageBrowserView.

func (*IKImageBrowserCell) SubtitleFrame

func (o *IKImageBrowserCell) SubtitleFrame() corefoundation.CGRect

Returns the receiver’s subtitle frame rectangle.

func (*IKImageBrowserCell) TitleFrame

func (o *IKImageBrowserCell) TitleFrame() corefoundation.CGRect

Returns the receiver’s title frame rectangle.

type IKImageBrowserCellState

type IKImageBrowserCellState int64

The possible states for the browser cell. These values are used by the cellState method.

const (
	IKImageStateNoImage IKImageBrowserCellState = 0
	IKImageStateInvalid IKImageBrowserCellState = 1
	IKImageStateReady   IKImageBrowserCellState = 2
)

func (IKImageBrowserCellState) String

func (e IKImageBrowserCellState) String() string

type IKImageBrowserDropOperation

type IKImageBrowserDropOperation int64

These constants specify the locations for dropping items onto the browser view. Used by the method setDropIndex:dropOperation:.

const (
	IKImageBrowserDropOn     IKImageBrowserDropOperation = 0
	IKImageBrowserDropBefore IKImageBrowserDropOperation = 1
)

func (IKImageBrowserDropOperation) String

type IKImageBrowserView

type IKImageBrowserView struct {
	appkit.NSView
}

A view for displaying and browsing a large collection of images and movies.

Apple documentation: https://developer.apple.com/documentation/quartz/ikimagebrowserview Deprecated: Deprecated - Please use NSCollectionView instead

func IKImageBrowserViewFromID

func IKImageBrowserViewFromID(id objc.ID) *IKImageBrowserView

type IKImageEditPanel

type IKImageEditPanel struct {
	appkit.NSPanel
}

The IKImageEditPanel class provides a panel, that is, a utility window that floats on top of document windows, optimized for image editing.

Apple documentation: https://developer.apple.com/documentation/quartz/ikimageeditpanel

func IKImageEditPanelFromID

func IKImageEditPanelFromID(id objc.ID) *IKImageEditPanel

func (*IKImageEditPanel) DataSource

func (o *IKImageEditPanel) DataSource() objc.ID

@property dataSource @abstract Data source associated with an image editing panel

func (*IKImageEditPanel) FilterArray

func (o *IKImageEditPanel) FilterArray() *foundation.NSArray[objc.ID]

@property filterArray @abstract Array of filters reflecting the current user adjustments in the adjust or effects tab.

func (*IKImageEditPanel) ReloadData

func (o *IKImageEditPanel) ReloadData()

Reloads the data from the data associated with an image editing panel.

func (*IKImageEditPanel) SetDataSource

func (o *IKImageEditPanel) SetDataSource(dataSource objc.ID)

type IKImageView

type IKImageView struct {
	appkit.NSView
}

A view that allows displaying and minor editing of an image.

Apple documentation: https://developer.apple.com/documentation/quartz/ikimageview

func IKImageViewFromID

func IKImageViewFromID(id objc.ID) *IKImageView

func (*IKImageView) AutohidesScrollers

func (o *IKImageView) AutohidesScrollers() bool

@property autohidesScrollers @abstract Specifies the automatic-hiding scroll bar state for the image view.

func (*IKImageView) Autoresizes

func (o *IKImageView) Autoresizes() bool

@property autoresizes @abstract Specifies the automatic resizing state for the image view.

func (*IKImageView) BackgroundColor

func (o *IKImageView) BackgroundColor() *appkit.NSColor

@property backgroundColor @abstract Specifies the background color for the image view.

func (*IKImageView) ConvertImagePointToViewPoint

func (o *IKImageView) ConvertImagePointToViewPoint(imagePoint corefoundation.CGPoint) corefoundation.CGPoint

Converts an image coordinate to an image view coordinate.

func (*IKImageView) ConvertImageRectToViewRect

func (o *IKImageView) ConvertImageRectToViewRect(imageRect corefoundation.CGRect) corefoundation.CGRect

Converts an image rectangle to an image view rectangle.

func (*IKImageView) ConvertViewPointToImagePoint

func (o *IKImageView) ConvertViewPointToImagePoint(viewPoint corefoundation.CGPoint) corefoundation.CGPoint

Converts an image view coordinate to an image coordinate.

func (*IKImageView) ConvertViewRectToImageRect

func (o *IKImageView) ConvertViewRectToImageRect(viewRect corefoundation.CGRect) corefoundation.CGRect

Converts an image view rectangle to an image rectangle.

func (*IKImageView) Crop

func (o *IKImageView) Crop(sender objc.ID)

Crops the image using the current selection.

func (*IKImageView) CurrentToolMode

func (o *IKImageView) CurrentToolMode() *foundation.NSString

@property currentToolMode @abstract Specifies the current tool mode for the image view.

func (*IKImageView) Delegate

func (o *IKImageView) Delegate() objc.ID

@property delegate @abstract Specifies the delegate object of the receiver.

func (*IKImageView) DoubleClickOpensImageEditPanel

func (o *IKImageView) DoubleClickOpensImageEditPanel() bool

@property doubleClickOpensImageEditPane @abstract Specifies the image-opening state of the editing pane in the image view.

func (*IKImageView) Editable

func (o *IKImageView) Editable() bool

@property editable @abstract Specifies the editable state for the image view.

func (*IKImageView) FlipImageHorizontal

func (o *IKImageView) FlipImageHorizontal(sender objc.ID)

Flips an image along the horizontal axis.

func (*IKImageView) FlipImageVertical

func (o *IKImageView) FlipImageVertical(sender objc.ID)

Flips an image along the vertical axis.

func (*IKImageView) HasHorizontalScroller

func (o *IKImageView) HasHorizontalScroller() bool

@property hasHorizontalScroller @abstract Specifies the horizontal scroll bar state for the image view.

func (*IKImageView) HasVerticalScroller

func (o *IKImageView) HasVerticalScroller() bool

@property hasVerticalScroller @abstract Specifies the vertical scroll bar state for the image view.

func (*IKImageView) Image

func (o *IKImageView) Image() unsafe.Pointer

Returns the image associated with the view, after any image corrections.

func (*IKImageView) ImageCorrection

func (o *IKImageView) ImageCorrection() *coreimage.CIFilter

@property imageCorrection @abstract Specifies a Core Image filter for image correction.

func (*IKImageView) ImageProperties

func (o *IKImageView) ImageProperties() *foundation.NSDictionary[objc.ID, objc.ID]

Returns the metadata for the image in the view.

func (*IKImageView) ImageSize

func (o *IKImageView) ImageSize() corefoundation.CGSize

Returns the size of the image in the image view.

func (*IKImageView) OverlayForType

func (o *IKImageView) OverlayForType(layerType *foundation.NSString) *quartzcore.CALayer

Returns the Core Animation layer associated with a layer type.

func (*IKImageView) RotateImageLeft

func (o *IKImageView) RotateImageLeft(sender objc.ID)

Rotates the image left (counter-clockwise).

func (*IKImageView) RotateImageRight

func (o *IKImageView) RotateImageRight(sender objc.ID)

Rotates the image right (clockwise).

func (*IKImageView) RotationAngle

func (o *IKImageView) RotationAngle() float64

@property rotationAngle @abstract Specifies the rotation angle for the image view.

func (*IKImageView) ScrollToPoint

func (o *IKImageView) ScrollToPoint(point corefoundation.CGPoint)

Scrolls the view to the specified point.

func (*IKImageView) ScrollToRect

func (o *IKImageView) ScrollToRect(rect corefoundation.CGRect)

Scrolls the view so that it includes the provided rectangular area.

func (*IKImageView) SetAutohidesScrollers

func (o *IKImageView) SetAutohidesScrollers(autohidesScrollers bool)

func (*IKImageView) SetAutoresizes

func (o *IKImageView) SetAutoresizes(autoresizes bool)

func (*IKImageView) SetBackgroundColor

func (o *IKImageView) SetBackgroundColor(backgroundColor *appkit.NSColor)

func (*IKImageView) SetCurrentToolMode

func (o *IKImageView) SetCurrentToolMode(currentToolMode *foundation.NSString)

func (*IKImageView) SetDelegate

func (o *IKImageView) SetDelegate(delegate objc.ID)

func (*IKImageView) SetDoubleClickOpensImageEditPanel

func (o *IKImageView) SetDoubleClickOpensImageEditPanel(doubleClickOpensImageEditPanel bool)

func (*IKImageView) SetEditable

func (o *IKImageView) SetEditable(editable bool)

func (*IKImageView) SetHasHorizontalScroller

func (o *IKImageView) SetHasHorizontalScroller(hasHorizontalScroller bool)

func (*IKImageView) SetHasVerticalScroller

func (o *IKImageView) SetHasVerticalScroller(hasVerticalScroller bool)

func (*IKImageView) SetImageCorrection

func (o *IKImageView) SetImageCorrection(imageCorrection *coreimage.CIFilter)

func (*IKImageView) SetImageImageProperties

func (o *IKImageView) SetImageImageProperties(image unsafe.Pointer, metaData *foundation.NSDictionary[objc.ID, objc.ID])

Sets the image to display in an image view.

func (*IKImageView) SetImageWithURL

func (o *IKImageView) SetImageWithURL(url *foundation.NSURL)

Initializes an image view with the image specified by a URL.

func (*IKImageView) SetImageZoomFactorCenterPoint

func (o *IKImageView) SetImageZoomFactorCenterPoint(zoomFactor float64, centerPoint corefoundation.CGPoint)

Sets the zoom factor at the provided origin.

func (*IKImageView) SetOverlayForType

func (o *IKImageView) SetOverlayForType(layer *quartzcore.CALayer, layerType *foundation.NSString)

Sets an overlay type for a Core Animation layer.

func (*IKImageView) SetRotationAngle

func (o *IKImageView) SetRotationAngle(rotationAngle float64)

func (*IKImageView) SetRotationAngleCenterPoint

func (o *IKImageView) SetRotationAngleCenterPoint(rotationAngle float64, centerPoint corefoundation.CGPoint)

Sets the rotation angle at the provided origin.

func (*IKImageView) SetSupportsDragAndDrop

func (o *IKImageView) SetSupportsDragAndDrop(supportsDragAndDrop bool)

func (*IKImageView) SetZoomFactor

func (o *IKImageView) SetZoomFactor(zoomFactor float64)

func (*IKImageView) SupportsDragAndDrop

func (o *IKImageView) SupportsDragAndDrop() bool

@property supportsDragAndDrop @abstract Specifies the drag-and-drop support state for the image view.

func (*IKImageView) ZoomFactor

func (o *IKImageView) ZoomFactor() float64

@property zoomFactor @abstract Specifies the zoom factor for the image view.

func (*IKImageView) ZoomImageToActualSize

func (o *IKImageView) ZoomImageToActualSize(sender objc.ID)

Zooms the image so that it is displayed using its true size.

func (*IKImageView) ZoomImageToFit

func (o *IKImageView) ZoomImageToFit(sender objc.ID)

Zooms the image so that it fits in the image view.

func (*IKImageView) ZoomImageToRect

func (o *IKImageView) ZoomImageToRect(rect corefoundation.CGRect)

Zooms the image so that it fits in the specified rectangle.

func (*IKImageView) ZoomIn

func (o *IKImageView) ZoomIn(sender objc.ID)

Zooms the image in.

func (*IKImageView) ZoomOut

func (o *IKImageView) ZoomOut(sender objc.ID)

Zooms the image out.

type IKPictureTaker

type IKPictureTaker struct {
	appkit.NSPanel
}

The IKPictureTaker class represents a panel that allows users to choose images by browsing the file system. The picture taker panel provides an Open Recent menu, supports image cropping, and supports taking snapshots from an iSight or other digital camera.

Apple documentation: https://developer.apple.com/documentation/quartz/ikpicturetaker

func IKPictureTakerFromID

func IKPictureTakerFromID(id objc.ID) *IKPictureTaker

func (*IKPictureTaker) BeginPictureTakerSheetForWindowWithDelegateDidEndSelectorContextInfo

func (o *IKPictureTaker) BeginPictureTakerSheetForWindowWithDelegateDidEndSelectorContextInfo(aWindow *appkit.NSWindow, delegate objc.ID, didEndSelector objc.SEL, contextInfo unsafe.Pointer)

Opens a picture taker as a sheet whose parent is the specified window.

func (*IKPictureTaker) BeginPictureTakerWithDelegateDidEndSelectorContextInfo

func (o *IKPictureTaker) BeginPictureTakerWithDelegateDidEndSelectorContextInfo(delegate objc.ID, didEndSelector objc.SEL, contextInfo unsafe.Pointer)

Opens a picture taker pane.

func (*IKPictureTaker) InputImage

func (o *IKPictureTaker) InputImage() *appkit.NSImage

Returns the input image associated with the picture taker.

func (*IKPictureTaker) Mirroring

func (o *IKPictureTaker) Mirroring() bool

Returns whether video mirroring is enabled during snapshots.

func (*IKPictureTaker) OutputImage

func (o *IKPictureTaker) OutputImage() *appkit.NSImage

Returns the edited image.

func (*IKPictureTaker) PopUpRecentsMenuForViewWithDelegateDidEndSelectorContextInfo

func (o *IKPictureTaker) PopUpRecentsMenuForViewWithDelegateDidEndSelectorContextInfo(aView *appkit.NSView, delegate objc.ID, didEndSelector objc.SEL, contextInfo unsafe.Pointer)

Displays the Open Recent popup menu associated with the picture taker.

func (*IKPictureTaker) RunModal

func (o *IKPictureTaker) RunModal() int

Opens a modal picture taker dialog.

func (*IKPictureTaker) SetInputImage

func (o *IKPictureTaker) SetInputImage(image *appkit.NSImage)

Set the image input for the picture taker.

func (*IKPictureTaker) SetMirroring

func (o *IKPictureTaker) SetMirroring(b bool)

Controls whether the receiver enables video mirroring during snapshots.

type IKSaveOptions

type IKSaveOptions struct {
	foundation.NSObject
}

The IKSaveOptions class initializes, adds, and manages user interface options for saving image data.

Apple documentation: https://developer.apple.com/documentation/quartz/iksaveoptions

func IKSaveOptionsFromID

func IKSaveOptionsFromID(id objc.ID) *IKSaveOptions

func (*IKSaveOptions) AddSaveOptionsAccessoryViewToSavePanel

func (o *IKSaveOptions) AddSaveOptionsAccessoryViewToSavePanel(savePanel *appkit.NSSavePanel)

Adds IKSaveOptions accessory view to a NSSavePanel.

func (*IKSaveOptions) AddSaveOptionsToView

func (o *IKSaveOptions) AddSaveOptionsToView(view *appkit.NSView)

@method addSaveOptionsToView: @abstract Adds IKSaveOptions UI to a NSView.

func (*IKSaveOptions) Delegate

func (o *IKSaveOptions) Delegate() objc.ID

@property delegate @abstract Delegate of the IKSaveOptions.

func (*IKSaveOptions) ImageProperties

func (o *IKSaveOptions) ImageProperties() *foundation.NSDictionary[objc.ID, objc.ID]

@property imageProperties @abstract current imageProperties (respecting user UI selection).

func (*IKSaveOptions) ImageUTType

func (o *IKSaveOptions) ImageUTType() *foundation.NSString

@property imageUTType @abstract current imageUTType (respecting user UI selection).

func (*IKSaveOptions) InitWithImagePropertiesImageUTType

func (o *IKSaveOptions) InitWithImagePropertiesImageUTType(imageProperties *foundation.NSDictionary[objc.ID, objc.ID], imageUTType *foundation.NSString) *IKSaveOptions

Initializes a save options accessory pane for the provided image properties and uniform type identifier.

func (*IKSaveOptions) RememberLastSetting

func (o *IKSaveOptions) RememberLastSetting() bool

@property rememberLastSetting @abstract If set, the last used UI choices are preserved for the next time IKSaveOptions is used. [default is YES]

func (*IKSaveOptions) SetDelegate

func (o *IKSaveOptions) SetDelegate(delegate objc.ID)

func (*IKSaveOptions) SetRememberLastSetting

func (o *IKSaveOptions) SetRememberLastSetting(rememberLastSetting bool)

func (*IKSaveOptions) UserSelection

func (o *IKSaveOptions) UserSelection() *foundation.NSDictionary[objc.ID, objc.ID]

@property userSelection @abstract information about the UI settings.

type IKScannerDeviceView

type IKScannerDeviceView struct {
	appkit.NSView
}

The IKScannerDeviceView class displays a view that allows scanning. It can be customized by specifying the display mode. The delegate receives the scanned data and must implement the IKScannerDeviceViewDelegate protocol.

Apple documentation: https://developer.apple.com/documentation/quartz/ikscannerdeviceview

func IKScannerDeviceViewFromID

func IKScannerDeviceViewFromID(id objc.ID) *IKScannerDeviceView

func (*IKScannerDeviceView) Delegate

func (o *IKScannerDeviceView) Delegate() objc.ID

@property delegate @abstract delegate of the IKScannerDeviceView.

func (*IKScannerDeviceView) DisplaysDownloadsDirectoryControl

func (o *IKScannerDeviceView) DisplaysDownloadsDirectoryControl() bool

@property displaysDownloadsDirectoryControl @abstract show a downloads directory control.

func (*IKScannerDeviceView) DisplaysPostProcessApplicationControl

func (o *IKScannerDeviceView) DisplaysPostProcessApplicationControl() bool

@property displaysPostProcessApplicationControl @abstract show a postprocessing application control.

func (*IKScannerDeviceView) DocumentName

func (o *IKScannerDeviceView) DocumentName() *foundation.NSString

@property documentName @abstract document name.

func (*IKScannerDeviceView) DownloadsDirectory

func (o *IKScannerDeviceView) DownloadsDirectory() *foundation.NSURL

@property downloadsDirectory @abstract downloads directory.

func (*IKScannerDeviceView) HasDisplayModeAdvanced

func (o *IKScannerDeviceView) HasDisplayModeAdvanced() bool

@property hasDisplayModeAdvanced @abstract support advanced scanning UI.

func (*IKScannerDeviceView) HasDisplayModeSimple

func (o *IKScannerDeviceView) HasDisplayModeSimple() bool

@property hasDisplayModeSimple @abstract support a simple scanning UI.

func (*IKScannerDeviceView) Mode

func (o *IKScannerDeviceView) Mode() objc.ID

@property mode @abstract current display mode.

func (*IKScannerDeviceView) OverviewControlLabel

func (o *IKScannerDeviceView) OverviewControlLabel() *foundation.NSString

@property overviewControlLabel @abstract label for the 'Overview' control.

func (*IKScannerDeviceView) PostProcessApplication

func (o *IKScannerDeviceView) PostProcessApplication() *foundation.NSURL

@property postProcessApplication @abstract postprocessing application.

func (*IKScannerDeviceView) ScanControlLabel

func (o *IKScannerDeviceView) ScanControlLabel() *foundation.NSString

@property scanControlLabel @abstract label for the 'Scan' control.

func (*IKScannerDeviceView) ScannerDevice

@property scannerDevice @abstract the scanner device.

func (*IKScannerDeviceView) SetDelegate

func (o *IKScannerDeviceView) SetDelegate(delegate objc.ID)

func (*IKScannerDeviceView) SetDisplaysDownloadsDirectoryControl

func (o *IKScannerDeviceView) SetDisplaysDownloadsDirectoryControl(displaysDownloadsDirectoryControl bool)

func (*IKScannerDeviceView) SetDisplaysPostProcessApplicationControl

func (o *IKScannerDeviceView) SetDisplaysPostProcessApplicationControl(displaysPostProcessApplicationControl bool)

func (*IKScannerDeviceView) SetDocumentName

func (o *IKScannerDeviceView) SetDocumentName(documentName *foundation.NSString)

func (*IKScannerDeviceView) SetDownloadsDirectory

func (o *IKScannerDeviceView) SetDownloadsDirectory(downloadsDirectory *foundation.NSURL)

func (*IKScannerDeviceView) SetHasDisplayModeAdvanced

func (o *IKScannerDeviceView) SetHasDisplayModeAdvanced(hasDisplayModeAdvanced bool)

func (*IKScannerDeviceView) SetHasDisplayModeSimple

func (o *IKScannerDeviceView) SetHasDisplayModeSimple(hasDisplayModeSimple bool)

func (*IKScannerDeviceView) SetMode

func (o *IKScannerDeviceView) SetMode(mode objc.ID)

func (*IKScannerDeviceView) SetOverviewControlLabel

func (o *IKScannerDeviceView) SetOverviewControlLabel(overviewControlLabel *foundation.NSString)

func (*IKScannerDeviceView) SetPostProcessApplication

func (o *IKScannerDeviceView) SetPostProcessApplication(postProcessApplication *foundation.NSURL)

func (*IKScannerDeviceView) SetScanControlLabel

func (o *IKScannerDeviceView) SetScanControlLabel(scanControlLabel *foundation.NSString)

func (*IKScannerDeviceView) SetScannerDevice

func (o *IKScannerDeviceView) SetScannerDevice(scannerDevice *imagecapturecore.ICScannerDevice)

func (*IKScannerDeviceView) SetTransferMode

func (o *IKScannerDeviceView) SetTransferMode(transferMode objc.ID)

func (*IKScannerDeviceView) TransferMode

func (o *IKScannerDeviceView) TransferMode() objc.ID

@property transferMode @abstract transfer mode either file based - or - in memory.

type IKSlideshow

type IKSlideshow struct {
	foundation.NSObject
}

The IKSlideshow class encapsulates a data source and options for a slideshow.

Apple documentation: https://developer.apple.com/documentation/quartz/ikslideshow

func IKSlideshowFromID

func IKSlideshowFromID(id objc.ID) *IKSlideshow

func (*IKSlideshow) AutoPlayDelay

func (o *IKSlideshow) AutoPlayDelay() float64

@property autoPlayDelay @abstract Array of filters reflecting the current user adjustments in the adjust or effects tab.

func (*IKSlideshow) IndexOfCurrentSlideshowItem

func (o *IKSlideshow) IndexOfCurrentSlideshowItem() uint

Returns the index of the current slideshow item.

func (*IKSlideshow) ReloadData

func (o *IKSlideshow) ReloadData()

Reloads the data for a slideshow.

func (*IKSlideshow) ReloadSlideshowItemAtIndex

func (o *IKSlideshow) ReloadSlideshowItemAtIndex(index uint)

Reloads the data for a slideshow, starting at the specified index.

func (*IKSlideshow) RunSlideshowWithDataSourceInModeOptions

func (o *IKSlideshow) RunSlideshowWithDataSourceInModeOptions(dataSource objc.ID, slideshowMode *foundation.NSString, slideshowOptions *foundation.NSDictionary[objc.ID, objc.ID])

Runs a slideshow that contains the specified kind of items, provided from a data source.

func (*IKSlideshow) SetAutoPlayDelay

func (o *IKSlideshow) SetAutoPlayDelay(autoPlayDelay float64)

func (*IKSlideshow) StopSlideshow

func (o *IKSlideshow) StopSlideshow(sender objc.ID)

Stops a slideshow.

type Idtype_t

type Idtype_t int64
const (
	P_ALL  Idtype_t = 0
	P_PID  Idtype_t = 1
	P_PGID Idtype_t = 2
)

func (Idtype_t) String

func (e Idtype_t) String() string

type Ipc_info_object_type_t

type Ipc_info_object_type_t int64
const (
	IPC_OTYPE_NONE                 Ipc_info_object_type_t = 0
	IPC_OTYPE_THREAD_CONTROL       Ipc_info_object_type_t = 1
	IPC_OTYPE_TASK_CONTROL         Ipc_info_object_type_t = 2
	IPC_OTYPE_HOST                 Ipc_info_object_type_t = 3
	IPC_OTYPE_HOST_PRIV            Ipc_info_object_type_t = 4
	IPC_OTYPE_PROCESSOR            Ipc_info_object_type_t = 5
	IPC_OTYPE_PROCESSOR_SET        Ipc_info_object_type_t = 6
	IPC_OTYPE_PROCESSOR_SET_NAME   Ipc_info_object_type_t = 7
	IPC_OTYPE_TIMER                Ipc_info_object_type_t = 8
	IPC_OTYPE_PORT_SUBST_ONCE      Ipc_info_object_type_t = 9
	IPC_OTYPE_MIG                  Ipc_info_object_type_t = 10
	IPC_OTYPE_MEMORY_OBJECT        Ipc_info_object_type_t = 11
	IPC_OTYPE_XMM_PAGER            Ipc_info_object_type_t = 12
	IPC_OTYPE_XMM_KERNEL           Ipc_info_object_type_t = 13
	IPC_OTYPE_XMM_REPLY            Ipc_info_object_type_t = 14
	IPC_OTYPE_UND_REPLY            Ipc_info_object_type_t = 15
	IPC_OTYPE_HOST_NOTIFY          Ipc_info_object_type_t = 16
	IPC_OTYPE_HOST_SECURITY        Ipc_info_object_type_t = 17
	IPC_OTYPE_LEDGER               Ipc_info_object_type_t = 18
	IPC_OTYPE_MAIN_DEVICE          Ipc_info_object_type_t = 19
	IPC_OTYPE_TASK_NAME            Ipc_info_object_type_t = 20
	IPC_OTYPE_SUBSYSTEM            Ipc_info_object_type_t = 21
	IPC_OTYPE_IO_DONE_QUEUE        Ipc_info_object_type_t = 22
	IPC_OTYPE_SEMAPHORE            Ipc_info_object_type_t = 23
	IPC_OTYPE_LOCK_SET             Ipc_info_object_type_t = 24
	IPC_OTYPE_CLOCK                Ipc_info_object_type_t = 25
	IPC_OTYPE_CLOCK_CTRL           Ipc_info_object_type_t = 26
	IPC_OTYPE_IOKIT_IDENT          Ipc_info_object_type_t = 27
	IPC_OTYPE_NAMED_ENTRY          Ipc_info_object_type_t = 28
	IPC_OTYPE_IOKIT_CONNECT        Ipc_info_object_type_t = 29
	IPC_OTYPE_IOKIT_OBJECT         Ipc_info_object_type_t = 30
	IPC_OTYPE_UPL                  Ipc_info_object_type_t = 31
	IPC_OTYPE_MEM_OBJ_CONTROL      Ipc_info_object_type_t = 32
	IPC_OTYPE_AU_SESSIONPORT       Ipc_info_object_type_t = 33
	IPC_OTYPE_FILEPORT             Ipc_info_object_type_t = 34
	IPC_OTYPE_LABELH               Ipc_info_object_type_t = 35
	IPC_OTYPE_TASK_RESUME          Ipc_info_object_type_t = 36
	IPC_OTYPE_VOUCHER              Ipc_info_object_type_t = 37
	IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38
	IPC_OTYPE_WORK_INTERVAL        Ipc_info_object_type_t = 39
	IPC_OTYPE_UX_HANDLER           Ipc_info_object_type_t = 40
	IPC_OTYPE_UEXT_OBJECT          Ipc_info_object_type_t = 41
	IPC_OTYPE_ARCADE_REG           Ipc_info_object_type_t = 42
	IPC_OTYPE_EVENTLINK            Ipc_info_object_type_t = 43
	IPC_OTYPE_TASK_INSPECT         Ipc_info_object_type_t = 44
	IPC_OTYPE_TASK_READ            Ipc_info_object_type_t = 45
	IPC_OTYPE_THREAD_INSPECT       Ipc_info_object_type_t = 46
	IPC_OTYPE_THREAD_READ          Ipc_info_object_type_t = 47
	IPC_OTYPE_SUID_CRED            Ipc_info_object_type_t = 48
	IPC_OTYPE_HYPERVISOR           Ipc_info_object_type_t = 49
	IPC_OTYPE_TASK_ID_TOKEN        Ipc_info_object_type_t = 50
	IPC_OTYPE_TASK_FATAL           Ipc_info_object_type_t = 51
	IPC_OTYPE_KCDATA               Ipc_info_object_type_t = 52
	IPC_OTYPE_EXCLAVES_RESOURCE    Ipc_info_object_type_t = 53
	IPC_OTYPE_THREAD_RESUME        Ipc_info_object_type_t = 54
	IPC_OTYPE_UNKNOWN              Ipc_info_object_type_t = 4294967295
)

func (Ipc_info_object_type_t) String

func (e Ipc_info_object_type_t) String() string

type Launch_data_type_t

type Launch_data_type_t int64
const (
	LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1
	LAUNCH_DATA_ARRAY      Launch_data_type_t = 2
	LAUNCH_DATA_FD         Launch_data_type_t = 3
	LAUNCH_DATA_INTEGER    Launch_data_type_t = 4
	LAUNCH_DATA_REAL       Launch_data_type_t = 5
	LAUNCH_DATA_BOOL       Launch_data_type_t = 6
	LAUNCH_DATA_STRING     Launch_data_type_t = 7
	LAUNCH_DATA_OPAQUE     Launch_data_type_t = 8
	LAUNCH_DATA_ERRNO      Launch_data_type_t = 9
	LAUNCH_DATA_MACHPORT   Launch_data_type_t = 10
)

func (Launch_data_type_t) String

func (e Launch_data_type_t) String() string

type MDLabelDomain

type MDLabelDomain int64

@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

type MDQueryOptionFlags

type MDQueryOptionFlags int64
const (
	KMDQuerySynchronous        MDQueryOptionFlags = 1
	KMDQueryWantsUpdates       MDQueryOptionFlags = 4
	KMDQueryAllowFSTranslation MDQueryOptionFlags = 8
)

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int64

@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.

const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

type Mach_vm_range_flags_t

type Mach_vm_range_flags_t int64
const (
	MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)

func (Mach_vm_range_flags_t) String

func (e Mach_vm_range_flags_t) String() string

type Mach_vm_range_flavor_t

type Mach_vm_range_flavor_t int64
const (
	MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0
	MACH_VM_RANGE_FLAVOR_V1      Mach_vm_range_flavor_t = 1
)

func (Mach_vm_range_flavor_t) String

func (e Mach_vm_range_flavor_t) String() string

type Mach_vm_range_tag_t

type Mach_vm_range_tag_t int64
const (
	MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0
	MACH_VM_RANGE_DATA    Mach_vm_range_tag_t = 1
	MACH_VM_RANGE_FIXED   Mach_vm_range_tag_t = 2
)

func (Mach_vm_range_tag_t) String

func (e Mach_vm_range_tag_t) String() string

type Mpo_flags_t

type Mpo_flags_t int64
const (
	MPO_PORT                            Mpo_flags_t = 0
	MPO_SERVICE_PORT                    Mpo_flags_t = 1024
	MPO_CONNECTION_PORT                 Mpo_flags_t = 2048
	MPO_REPLY_PORT                      Mpo_flags_t = 4096
	MPO_WEAK_REPLY_PORT                 Mpo_flags_t = 16384
	MPO_NOTIFICATION_PORT               Mpo_flags_t = 17408
	MPO_EXCEPTION_PORT                  Mpo_flags_t = 32768
	MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536
)

func (Mpo_flags_t) String

func (e Mpo_flags_t) String() string

type NXMouseButton

type NXMouseButton int64
const (
	NX_OneButton   NXMouseButton = 0
	NX_LeftButton  NXMouseButton = 1
	NX_RightButton NXMouseButton = 2
)

func (NXMouseButton) String

func (e NXMouseButton) String() string

type Os_clockid_t

type Os_clockid_t int64
const (
	OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)

func (Os_clockid_t) String

func (e Os_clockid_t) String() string

type Os_unfair_lock_flags_t

type Os_unfair_lock_flags_t int64
const (
	OS_UNFAIR_LOCK_FLAG_NONE          Os_unfair_lock_flags_t = 0
	OS_UNFAIR_LOCK_FLAG_ADAPTIVE_SPIN Os_unfair_lock_flags_t = 262144
)

func (Os_unfair_lock_flags_t) String

func (e Os_unfair_lock_flags_t) String() string

type PMPageToPaperMappingType

type PMPageToPaperMappingType int64
const (
	KPMPageToPaperMappingNone       PMPageToPaperMappingType = 1
	KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2
)

func (PMPageToPaperMappingType) String

func (e PMPageToPaperMappingType) String() string

type Ptrauth_key

type Ptrauth_key int64
const (
	Ptrauth_key_none                     Ptrauth_key = -1
	Ptrauth_key_asia                     Ptrauth_key = 0
	Ptrauth_key_asib                     Ptrauth_key = 1
	Ptrauth_key_asda                     Ptrauth_key = 2
	Ptrauth_key_asdb                     Ptrauth_key = 3
	Ptrauth_key_process_independent_code Ptrauth_key = 0
	Ptrauth_key_process_dependent_code   Ptrauth_key = 1
	Ptrauth_key_process_independent_data Ptrauth_key = 2
	Ptrauth_key_process_dependent_data   Ptrauth_key = 3
	Ptrauth_key_return_address           Ptrauth_key = 1
	Ptrauth_key_frame_pointer            Ptrauth_key = 3
	Ptrauth_key_function_pointer         Ptrauth_key = 0
	Ptrauth_key_block_function           Ptrauth_key = 0
	Ptrauth_key_cxx_vtable_pointer       Ptrauth_key = 2
	Ptrauth_key_method_list_pointer      Ptrauth_key = 2
	Ptrauth_key_objc_isa_pointer         Ptrauth_key = 2
	Ptrauth_key_objc_super_pointer       Ptrauth_key = 2
	Ptrauth_key_objc_sel_pointer         Ptrauth_key = 3
	Ptrauth_key_objc_class_ro_pointer    Ptrauth_key = 2
	Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2
	Ptrauth_key_init_fini_pointer        Ptrauth_key = 0
)

func (Ptrauth_key) String

func (e Ptrauth_key) String() string

type QCComposition

type QCComposition struct {
	foundation.NSObject
}

The QCComposition class represents a Quartz Composer composition that either:

Apple documentation: https://developer.apple.com/documentation/quartz/qccomposition

func QCCompositionCompositionWithData

func QCCompositionCompositionWithData(data *foundation.NSData) *QCComposition

Returns a composition object initialized with the contents of a Quartz Composer composition file.

func QCCompositionCompositionWithFile

func QCCompositionCompositionWithFile(path *foundation.NSString) *QCComposition

Returns a composition object initialized with a Quartz Composer composition file.

func QCCompositionFromID

func QCCompositionFromID(id objc.ID) *QCComposition

func (*QCComposition) Attributes

func (o *QCComposition) Attributes() *foundation.NSDictionary[objc.ID, objc.ID]

Returns the attributes of the composition.

func (*QCComposition) InputKeys

func (o *QCComposition) InputKeys() *foundation.NSArray[objc.ID]

Returns an array listing the keys that identify the input ports of the root patch of the composition.

func (*QCComposition) OutputKeys

func (o *QCComposition) OutputKeys() *foundation.NSArray[objc.ID]

Returns an array listing the keys that identify the output ports of the root patch of the composition.

func (*QCComposition) Protocols

func (o *QCComposition) Protocols() *foundation.NSArray[objc.ID]

Returns the list of protocols to which the composition conforms.

type QCCompositionLayer

type QCCompositionLayer struct {
	quartzcore.CAOpenGLLayer
}

A layer that loads, plays, and controls Quartz Composer compositions in a Core Animation layer hierarchy.

Apple documentation: https://developer.apple.com/documentation/quartz/qccompositionlayer

func QCCompositionLayerCompositionLayerWithComposition

func QCCompositionLayerCompositionLayerWithComposition(composition *QCComposition) *QCCompositionLayer

Creates and returns an instance of a composition layer using the provided Quartz Composer composition.

func QCCompositionLayerCompositionLayerWithFile

func QCCompositionLayerCompositionLayerWithFile(path *foundation.NSString) *QCCompositionLayer

Creates and returns an instance of a composition layer using the Quartz Composer composition in the specified file.

func QCCompositionLayerFromID

func QCCompositionLayerFromID(id objc.ID) *QCCompositionLayer

func (*QCCompositionLayer) Composition

func (o *QCCompositionLayer) Composition() *QCComposition

Returns the composition associated with the layer.

func (*QCCompositionLayer) InitWithComposition

func (o *QCCompositionLayer) InitWithComposition(composition *QCComposition) objc.ID

Initializes and returns a composition layer using the provided Quartz Composer composition.

func (*QCCompositionLayer) InitWithFile

func (o *QCCompositionLayer) InitWithFile(path *foundation.NSString) objc.ID

Initializes and returns a composition layer using the Quartz Composer composition in the specified file.

type QCCompositionParameterView

type QCCompositionParameterView struct {
	appkit.NSView
}

A class that allows users to edit the input parameters of a composition in real time. The composition can be rendering in any of the following objects: QCRenderer, QCView, or QCCompositionLayer.

Apple documentation: https://developer.apple.com/documentation/quartz/qccompositionparameterview

func QCCompositionParameterViewFromID

func QCCompositionParameterViewFromID(id objc.ID) *QCCompositionParameterView

func (*QCCompositionParameterView) BackgroundColor

func (o *QCCompositionParameterView) BackgroundColor() *appkit.NSColor

Retrieves the background color of the composition parameter view.

func (*QCCompositionParameterView) CompositionRenderer

func (o *QCCompositionParameterView) CompositionRenderer() objc.ID

Returns the renderer object associated with the composition parameter view.

func (*QCCompositionParameterView) Delegate

func (o *QCCompositionParameterView) Delegate() objc.ID

Returns the composition parameter view delegate.

func (*QCCompositionParameterView) DrawsBackground

func (o *QCCompositionParameterView) DrawsBackground() bool

Returns whether the composition parameter view draws its background.

func (*QCCompositionParameterView) HasParameters

func (o *QCCompositionParameterView) HasParameters() bool

Checks whether the composition that is currently edited by the composition parameter view has any input parameters.

func (*QCCompositionParameterView) SetBackgroundColor

func (o *QCCompositionParameterView) SetBackgroundColor(color *appkit.NSColor)

Sets the background color of the composition parameter view.

func (*QCCompositionParameterView) SetCompositionRenderer

func (o *QCCompositionParameterView) SetCompositionRenderer(renderer objc.ID)

Sets the composition parameter view for editing the input parameters of the provided renderer object.

func (*QCCompositionParameterView) SetDelegate

func (o *QCCompositionParameterView) SetDelegate(delegate objc.ID)

Sets the composition parameter view delegate.

func (*QCCompositionParameterView) SetDrawsBackground

func (o *QCCompositionParameterView) SetDrawsBackground(flag bool)

Sets whether the composition parameter view draws its background.

type QCCompositionPickerPanel

type QCCompositionPickerPanel struct {
	appkit.NSPanel
}

The QCCompositionPickerPanel class represents a utility window that allows users to browse compositions that are in the Quartz Composer composition repository and, if supported, preview the composition. The QCCompositionPickerPanel class cannot be subclassed.

Apple documentation: https://developer.apple.com/documentation/quartz/qccompositionpickerpanel

func QCCompositionPickerPanelFromID

func QCCompositionPickerPanelFromID(id objc.ID) *QCCompositionPickerPanel

func QCCompositionPickerPanelSharedCompositionPickerPanel

func QCCompositionPickerPanelSharedCompositionPickerPanel() *QCCompositionPickerPanel

Returns the shared instance of the composition picker panel.

func (*QCCompositionPickerPanel) CompositionPickerView

func (o *QCCompositionPickerPanel) CompositionPickerView() *QCCompositionPickerView

Returns the composition picker view used by the panel so that it can be configured.

type QCCompositionPickerView

type QCCompositionPickerView struct {
	appkit.NSView
}

The QCCompositionPickerView class allows users to browse compositions that are in the Quartz Composer composition repository, and to preview them. You can set the default input parameters for a composition preview by using the method setDefaultValue:forInputKey:.

Apple documentation: https://developer.apple.com/documentation/quartz/qccompositionpickerview

func QCCompositionPickerViewFromID

func QCCompositionPickerViewFromID(id objc.ID) *QCCompositionPickerView

func (*QCCompositionPickerView) AllowsEmptySelection

func (o *QCCompositionPickerView) AllowsEmptySelection() bool

Retrieves the empty-selection state of the composition picker view.

func (*QCCompositionPickerView) BackgroundColor

func (o *QCCompositionPickerView) BackgroundColor() *appkit.NSColor

Returns the background color of the composition picker view.

func (*QCCompositionPickerView) CompositionAspectRatio

func (o *QCCompositionPickerView) CompositionAspectRatio() corefoundation.CGSize

Retrieves the aspect ratio used to display compositions in the composition picker view.

func (*QCCompositionPickerView) Compositions

func (o *QCCompositionPickerView) Compositions() *foundation.NSArray[objc.ID]

Returns the list of compositions that are currently in the composition picker view.

func (*QCCompositionPickerView) Delegate

func (o *QCCompositionPickerView) Delegate() objc.ID

Retrieves the composition picker view delegate.

func (*QCCompositionPickerView) DrawsBackground

func (o *QCCompositionPickerView) DrawsBackground() bool

Returns whether the composition picker view draws its background.

func (*QCCompositionPickerView) IsAnimating

func (o *QCCompositionPickerView) IsAnimating() bool

Returns whether or not the composition picker view is currently animating its composition.

func (*QCCompositionPickerView) MaxAnimationFrameRate

func (o *QCCompositionPickerView) MaxAnimationFrameRate() float32

Retrieves the maximum frame rate for animating compositions.

func (*QCCompositionPickerView) NumberOfColumns

func (o *QCCompositionPickerView) NumberOfColumns() uint

Retrieves the number of columns in the composition picker view.

func (*QCCompositionPickerView) NumberOfRows

func (o *QCCompositionPickerView) NumberOfRows() uint

Retrieves the number of rows in the composition picker view.

func (*QCCompositionPickerView) ResetDefaultInputValues

func (o *QCCompositionPickerView) ResetDefaultInputValues()

Clears all previously set default values for composition input parameters.

func (*QCCompositionPickerView) SelectedComposition

func (o *QCCompositionPickerView) SelectedComposition() *QCComposition

Returns the composition that is currently selected in the composition picker view.

func (*QCCompositionPickerView) SetAllowsEmptySelection

func (o *QCCompositionPickerView) SetAllowsEmptySelection(flag bool)

Sets whether to allow an empty selection in the composition picker view.

func (*QCCompositionPickerView) SetBackgroundColor

func (o *QCCompositionPickerView) SetBackgroundColor(color *appkit.NSColor)

Sets the background color for the composition picker view.

func (*QCCompositionPickerView) SetCompositionAspectRatio

func (o *QCCompositionPickerView) SetCompositionAspectRatio(ratio corefoundation.CGSize)

Sets the aspect ratio used to display compositions in the composition picker view.

func (*QCCompositionPickerView) SetCompositionsFromRepositoryWithProtocolAndAttributes

func (o *QCCompositionPickerView) SetCompositionsFromRepositoryWithProtocolAndAttributes(protocol *foundation.NSString, attributes *foundation.NSDictionary[objc.ID, objc.ID])

Sets the compositions in the composition picker view to those that match the specified criteria.

func (*QCCompositionPickerView) SetDefaultValueForInputKey

func (o *QCCompositionPickerView) SetDefaultValueForInputKey(value objc.ID, key *foundation.NSString)

Sets the default value to use for a composition input parameter.

func (*QCCompositionPickerView) SetDelegate

func (o *QCCompositionPickerView) SetDelegate(delegate objc.ID)

Sets the composition picker view delegate.

func (*QCCompositionPickerView) SetDrawsBackground

func (o *QCCompositionPickerView) SetDrawsBackground(flag bool)

Sets whether the composition picker view draws its background.

func (*QCCompositionPickerView) SetMaxAnimationFrameRate

func (o *QCCompositionPickerView) SetMaxAnimationFrameRate(maxFPS float32)

Sets the maximum frame rate for animating compositions.

func (*QCCompositionPickerView) SetNumberOfColumns

func (o *QCCompositionPickerView) SetNumberOfColumns(columns uint)

Sets the number of columns in the composition picker view.

func (*QCCompositionPickerView) SetNumberOfRows

func (o *QCCompositionPickerView) SetNumberOfRows(rows uint)

Sets the number of rows in the composition picker view.

func (*QCCompositionPickerView) SetSelectedComposition

func (o *QCCompositionPickerView) SetSelectedComposition(composition *QCComposition)

Sets a composition as selected in the composition picker view.

func (*QCCompositionPickerView) SetShowsCompositionNames

func (o *QCCompositionPickerView) SetShowsCompositionNames(flag bool)

Enables the display of composition names in the composition picker view.

func (*QCCompositionPickerView) ShowsCompositionNames

func (o *QCCompositionPickerView) ShowsCompositionNames() bool

Retrieves whether composition names can be shown in the composition picker view.

func (*QCCompositionPickerView) StartAnimation

func (o *QCCompositionPickerView) StartAnimation(sender objc.ID)

Starts animating the composition in the composition picker view.

func (*QCCompositionPickerView) StopAnimation

func (o *QCCompositionPickerView) StopAnimation(sender objc.ID)

Stops animating the composition that is currently animating in the composition picker view.

type QCCompositionRepository

type QCCompositionRepository struct {
	foundation.NSObject
}

The QCCompositionRepository class represents a system-wide centralized repository of built-in and installed Quartz Composer compositions (/Library/Compositions and ~/Library/Compositions). The QCCompositionRepository class cannot be subclassed.

Apple documentation: https://developer.apple.com/documentation/quartz/qccompositionrepository

func QCCompositionRepositoryFromID

func QCCompositionRepositoryFromID(id objc.ID) *QCCompositionRepository

func QCCompositionRepositorySharedCompositionRepository

func QCCompositionRepositorySharedCompositionRepository() *QCCompositionRepository

Returns the shared instance of the composition repository.

func (*QCCompositionRepository) AllCompositions

func (o *QCCompositionRepository) AllCompositions() *foundation.NSArray[objc.ID]

Returns an array that contains all compositions currently in the composition repository.

func (*QCCompositionRepository) CompositionWithIdentifier

func (o *QCCompositionRepository) CompositionWithIdentifier(identifier *foundation.NSString) *QCComposition

Returns the composition that corresponds to the identifier.

func (*QCCompositionRepository) CompositionsWithProtocolsAndAttributes

func (o *QCCompositionRepository) CompositionsWithProtocolsAndAttributes(protocols *foundation.NSArray[objc.ID], attributes *foundation.NSDictionary[objc.ID, objc.ID]) *foundation.NSArray[objc.ID]

Returns an array of compositions that match a set of criteria.

type QCPatchController

type QCPatchController struct {
	appkit.NSController
}

Apple documentation: https://developer.apple.com/documentation/quartz/qcpatchcontroller

func QCPatchControllerFromID

func QCPatchControllerFromID(id objc.ID) *QCPatchController

type QCPlugIn

type QCPlugIn struct {
	foundation.NSObject
}

A base class to subclass for writing custom patches.

Apple documentation: https://developer.apple.com/documentation/quartz/qcplugin

func QCPlugInFromID

func QCPlugInFromID(id objc.ID) *QCPlugIn

func (*QCPlugIn) DisableExecution

func (o *QCPlugIn) DisableExecution(context_ objc.ID)

Allows you to perform custom tasks when the execution of the QCPlugIn object is paused.

func (*QCPlugIn) EnableExecution

func (o *QCPlugIn) EnableExecution(context_ objc.ID)

Allows you to perform custom tasks when the execution of the QCPlugIn object is resumed.

func (*QCPlugIn) ExecuteAtTimeWithArguments

func (o *QCPlugIn) ExecuteAtTimeWithArguments(context_ objc.ID, time_ float64, arguments *foundation.NSDictionary[objc.ID, objc.ID]) bool

Performs the processing or rendering tasks appropriate for the custom patch.

func (*QCPlugIn) ExecutionTimeForContextAtTimeWithArguments

func (o *QCPlugIn) ExecutionTimeForContextAtTimeWithArguments(context_ objc.ID, time_ float64, arguments *foundation.NSDictionary[objc.ID, objc.ID]) float64

func (*QCPlugIn) SerializedValueForKey

func (o *QCPlugIn) SerializedValueForKey(key *foundation.NSString) objc.ID

A method implemented to override serialization.

func (*QCPlugIn) SetSerializedValueForKey

func (o *QCPlugIn) SetSerializedValueForKey(serializedValue objc.ID, key *foundation.NSString)

Provides custom deserialization for patch internal settings that were previously serialized using the method serializedValueForKey:.

func (*QCPlugIn) StartExecution

func (o *QCPlugIn) StartExecution(context_ objc.ID) bool

Allows you to perform custom setup tasks before the Quartz Composer engine starts rendering.

func (*QCPlugIn) StopExecution

func (o *QCPlugIn) StopExecution(context_ objc.ID)

Allows you to perform custom tasks when the QCPlugIn object stops executing.

type QCPlugInExecutionMode

type QCPlugInExecutionMode int64

Execution modes for custom patches.

const (
	KQCPlugInExecutionModeProvider  QCPlugInExecutionMode = 1
	KQCPlugInExecutionModeProcessor QCPlugInExecutionMode = 2
	KQCPlugInExecutionModeConsumer  QCPlugInExecutionMode = 3
)

func QCPlugInExecutionModeClass

func QCPlugInExecutionModeClass() QCPlugInExecutionMode

Returns the execution mode of the custom patch.

func (QCPlugInExecutionMode) String

func (e QCPlugInExecutionMode) String() string

type QCPlugInTimeMode

type QCPlugInTimeMode int64

Time modes for custom patches.

const (
	KQCPlugInTimeModeNone     QCPlugInTimeMode = 0
	KQCPlugInTimeModeIdle     QCPlugInTimeMode = 1
	KQCPlugInTimeModeTimeBase QCPlugInTimeMode = 2
)

func QCPlugInTimeModeClass

func QCPlugInTimeModeClass() QCPlugInTimeMode

Returns the time mode for the custom patch.

func (QCPlugInTimeMode) String

func (e QCPlugInTimeMode) String() string

type QCPlugInViewController

type QCPlugInViewController struct {
	appkit.NSViewController
}

The QCPlugInViewController class communicates (through Cocoa bindings) between a custom patch and the view used for the internal settings of the custom patch. Only custom patches that use internal settings exposed to the user need to use the QCPlugInViewController class.

Apple documentation: https://developer.apple.com/documentation/quartz/qcpluginviewcontroller

func QCPlugInViewControllerFromID

func QCPlugInViewControllerFromID(id objc.ID) *QCPlugInViewController

func (*QCPlugInViewController) InitWithPlugInViewNibName

func (o *QCPlugInViewController) InitWithPlugInViewNibName(plugIn *QCPlugIn, name *foundation.NSString) objc.ID

Creates and initializes a controller for the specified QCPlugIn object and nib file.

func (*QCPlugInViewController) PlugIn

func (o *QCPlugInViewController) PlugIn() *QCPlugIn

Returns the QCPlugIn object associated with the view controller for the custom patch.

type QCRenderer

type QCRenderer struct {
	foundation.NSObject
}

A base class for low-level rendering.

Apple documentation: https://developer.apple.com/documentation/quartz/qcrenderer

func QCRendererFromID

func QCRendererFromID(id objc.ID) *QCRenderer

func (*QCRenderer) Composition

func (o *QCRenderer) Composition() *QCComposition

Returns the composition object associated with the renderer.

func (*QCRenderer) CreateSnapshotImageOfType

func (o *QCRenderer) CreateSnapshotImageOfType(type_ *foundation.NSString) objc.ID

Returns the current image in the OpenGL context associated with the renderer, as an image object of the provided image type.

func (*QCRenderer) InitOffScreenWithSizeColorSpaceComposition

func (o *QCRenderer) InitOffScreenWithSizeColorSpaceComposition(size corefoundation.CGSize, colorSpace unsafe.Pointer, composition *QCComposition) objc.ID

Creates an offscreen renderer of a given size with the provided color space and composition object.

func (*QCRenderer) InitWithCGLContextPixelFormatColorSpaceComposition

func (o *QCRenderer) InitWithCGLContextPixelFormatColorSpaceComposition(context_ unsafe.Pointer, format unsafe.Pointer, colorSpace unsafe.Pointer, composition *QCComposition) objc.ID

Creates a renderer object with a CGLContextObj object, a pixel format, a color space, and a composition object.

func (*QCRenderer) InitWithCompositionColorSpace

func (o *QCRenderer) InitWithCompositionColorSpace(composition *QCComposition, colorSpace unsafe.Pointer) objc.ID

Creates a renderer object with a composition object and a color space.

func (*QCRenderer) InitWithOpenGLContextPixelFormatFile

func (o *QCRenderer) InitWithOpenGLContextPixelFormatFile(context_ *appkit.NSOpenGLContext, format *appkit.NSOpenGLPixelFormat, path *foundation.NSString) objc.ID

Creates a renderer object with an NSOpenGLContext object and a composition file.

func (*QCRenderer) RenderAtTimeArguments

func (o *QCRenderer) RenderAtTimeArguments(time_ float64, arguments *foundation.NSDictionary[objc.ID, objc.ID]) bool

Renders a frame of a composition at the specified time.

func (*QCRenderer) RenderingTimeForTimeArguments

func (o *QCRenderer) RenderingTimeForTimeArguments(time_ float64, arguments *foundation.NSDictionary[objc.ID, objc.ID]) float64

func (*QCRenderer) SnapshotImage

func (o *QCRenderer) SnapshotImage() *appkit.NSImage

Returns an NSImage object of the current image in the OpenGL context associated with the renderer.

type QCView

type QCView struct {
	appkit.NSView
}

The QCView class is a custom NSView class that loads, plays, and controls Quartz Composer compositions. It is an autonomous view that is driven by an internal timer running on the main thread.

Apple documentation: https://developer.apple.com/documentation/quartz/qcview

func QCViewFromID

func QCViewFromID(id objc.ID) *QCView

func (*QCView) AutostartsRendering

func (o *QCView) AutostartsRendering() bool

Checks whether the view is set to start rendering automatically.

func (*QCView) CreateSnapshotImageOfType

func (o *QCView) CreateSnapshotImageOfType(type_ *foundation.NSString) objc.ID

Returns the current image in the view as an image object of the provided image type.

func (*QCView) Erase

func (o *QCView) Erase()

Clears the view using the current erase color.

func (*QCView) EraseColor

func (o *QCView) EraseColor() *appkit.NSColor

Retrieves the current color used to erase the view.

func (*QCView) EventForwardingMask

func (o *QCView) EventForwardingMask() uint

Retrieves the mask used to filter which types of events are forwarded from the view to the composition during rendering.

func (*QCView) IsPausedRendering

func (o *QCView) IsPausedRendering() bool

Returns whether or not the rendering in the view is paused.

func (*QCView) IsRendering

func (o *QCView) IsRendering() bool

Checks whether a composition is rendering in the view.

func (*QCView) LoadComposition

func (o *QCView) LoadComposition(composition *QCComposition) bool

Loads a QCComposition object into the view.

func (*QCView) LoadCompositionFromFile

func (o *QCView) LoadCompositionFromFile(path *foundation.NSString) bool

Loads the composition file located at the specified path.

func (*QCView) LoadedComposition

func (o *QCView) LoadedComposition() *QCComposition

Returns the composition loaded in the view.

func (*QCView) MaxRenderingFrameRate

func (o *QCView) MaxRenderingFrameRate() float32

Returns the maximum frame rate for rendering.

func (*QCView) OpenGLContext

func (o *QCView) OpenGLContext() *appkit.NSOpenGLContext

Returns the OpenGL context used by the view.

func (*QCView) OpenGLPixelFormat

func (o *QCView) OpenGLPixelFormat() *appkit.NSOpenGLPixelFormat

Returns the OpenGL pixel format used by the view.

func (*QCView) PauseRendering

func (o *QCView) PauseRendering()

Pauses rendering in the view.

func (*QCView) RenderAtTimeArguments

func (o *QCView) RenderAtTimeArguments(time_ float64, arguments *foundation.NSDictionary[objc.ID, objc.ID]) bool

Overrides to perform your custom operations prior to or after rendering a frame of a composition.

func (*QCView) ResumeRendering

func (o *QCView) ResumeRendering()

Resumes rendering a paused composition.

func (*QCView) SetAutostartsRendering

func (o *QCView) SetAutostartsRendering(flag bool)

Sets whether the composition that is in the view starts rendering automatically when the view is put on the screen.

func (*QCView) SetEraseColor

func (o *QCView) SetEraseColor(color *appkit.NSColor)

Sets the color used to erase the view.

func (*QCView) SetEventForwardingMask

func (o *QCView) SetEventForwardingMask(mask uint)

Sets the mask used to filter which types of events are forwarded from the view to the composition during rendering.

func (*QCView) SetMaxRenderingFrameRate

func (o *QCView) SetMaxRenderingFrameRate(maxFPS float32)

Sets the maximum rendering frame rate.

func (*QCView) SnapshotImage

func (o *QCView) SnapshotImage() *appkit.NSImage

Returns an NSImage object of the current image in the view.

func (*QCView) StartRendering

func (o *QCView) StartRendering() bool

Starts rendering the composition that is in the view.

func (*QCView) StopRendering

func (o *QCView) StopRendering()

Stops rendering the composition that is in the view.

func (*QCView) UnloadComposition

func (o *QCView) UnloadComposition()

Unloads the composition from the view.

type QLPreviewPDFStyle deprecated

type QLPreviewPDFStyle int64

Deprecated: Use a QLPreviewingController in a Preview Extension to provide previews for your file types.

const (
	KQLPreviewPDFStandardStyle                   QLPreviewPDFStyle = 0
	KQLPreviewPDFPagesWithThumbnailsOnRightStyle QLPreviewPDFStyle = 3
	KQLPreviewPDFPagesWithThumbnailsOnLeftStyle  QLPreviewPDFStyle = 4
)

func (QLPreviewPDFStyle) String

func (e QLPreviewPDFStyle) String() string

type Qos_class_t

type Qos_class_t uint32
const (
	QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33
	QOS_CLASS_USER_INITIATED   Qos_class_t = 25
	QOS_CLASS_DEFAULT          Qos_class_t = 21
	QOS_CLASS_UTILITY          Qos_class_t = 17
	QOS_CLASS_BACKGROUND       Qos_class_t = 9
	QOS_CLASS_UNSPECIFIED      Qos_class_t = 0
)

func (Qos_class_t) String

func (e Qos_class_t) String() string

type QuartzFilter

type QuartzFilter struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/quartz/quartzfilter

func QuartzFilterFromID

func QuartzFilterFromID(id objc.ID) *QuartzFilter

func QuartzFilterQuartzFilterWithOutputIntents

func QuartzFilterQuartzFilterWithOutputIntents(outputIntents *foundation.NSArray[objc.ID]) *QuartzFilter

func QuartzFilterQuartzFilterWithProperties

func QuartzFilterQuartzFilterWithProperties(properties *foundation.NSDictionary[objc.ID, objc.ID]) *QuartzFilter

func QuartzFilterQuartzFilterWithURL

func QuartzFilterQuartzFilterWithURL(aURL *foundation.NSURL) *QuartzFilter

func (*QuartzFilter) ApplyToContext

func (o *QuartzFilter) ApplyToContext(aContext unsafe.Pointer) bool

func (*QuartzFilter) LocalizedName

func (o *QuartzFilter) LocalizedName() *foundation.NSString

func (*QuartzFilter) Properties

func (o *QuartzFilter) Properties() *foundation.NSDictionary[objc.ID, objc.ID]

func (*QuartzFilter) RemoveFromContext

func (o *QuartzFilter) RemoveFromContext(aContext unsafe.Pointer)

func (*QuartzFilter) Url

func (o *QuartzFilter) Url() *foundation.NSURL

type QuartzFilterManager

type QuartzFilterManager struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/quartz/quartzfiltermanager

func QuartzFilterManagerFilterManager

func QuartzFilterManagerFilterManager() *QuartzFilterManager

func QuartzFilterManagerFromID

func QuartzFilterManagerFromID(id objc.ID) *QuartzFilterManager

func (*QuartzFilterManager) Delegate

func (o *QuartzFilterManager) Delegate() objc.ID

func (*QuartzFilterManager) FilterPanel

func (o *QuartzFilterManager) FilterPanel() *appkit.NSPanel

func (*QuartzFilterManager) FilterView

func (o *QuartzFilterManager) FilterView() *QuartzFilterView

func (*QuartzFilterManager) ImportFilter

func (o *QuartzFilterManager) ImportFilter(filterProperties *foundation.NSDictionary[objc.ID, objc.ID]) *QuartzFilter

func (*QuartzFilterManager) SelectFilter

func (o *QuartzFilterManager) SelectFilter(filter *QuartzFilter) bool

func (*QuartzFilterManager) SelectedFilter

func (o *QuartzFilterManager) SelectedFilter() *QuartzFilter

func (*QuartzFilterManager) SetDelegate

func (o *QuartzFilterManager) SetDelegate(aDelegate objc.ID)

type QuartzFilterView

type QuartzFilterView struct {
	appkit.NSView
}

Apple documentation: https://developer.apple.com/documentation/quartz/quartzfilterview

func QuartzFilterViewFromID

func QuartzFilterViewFromID(id objc.ID) *QuartzFilterView

func (*QuartzFilterView) SizeToFit

func (o *QuartzFilterView) SizeToFit()

type Virtual_memory_guard_exception_code_t

type Virtual_memory_guard_exception_code_t int64
const (
	KGUARD_EXC_DEALLOC_GAP                   Virtual_memory_guard_exception_code_t = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        Virtual_memory_guard_exception_code_t = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         Virtual_memory_guard_exception_code_t = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    Virtual_memory_guard_exception_code_t = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    Virtual_memory_guard_exception_code_t = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         Virtual_memory_guard_exception_code_t = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         Virtual_memory_guard_exception_code_t = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  Virtual_memory_guard_exception_code_t = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    Virtual_memory_guard_exception_code_t = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              Virtual_memory_guard_exception_code_t = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        Virtual_memory_guard_exception_code_t = 99
	KGUARD_EXC_SEC_COPY_DENIED               Virtual_memory_guard_exception_code_t = 100
	KGUARD_EXC_SEC_SHARING_DENIED            Virtual_memory_guard_exception_code_t = 101
	KGUARD_EXC_MTE_SYNC_FAULT                Virtual_memory_guard_exception_code_t = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          Virtual_memory_guard_exception_code_t = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          Virtual_memory_guard_exception_code_t = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204
)

func (Virtual_memory_guard_exception_code_t) String

type Xpc_listener_create_flags_t

type Xpc_listener_create_flags_t int64
const (
	XPC_LISTENER_CREATE_NONE             Xpc_listener_create_flags_t = 0
	XPC_LISTENER_CREATE_INACTIVE         Xpc_listener_create_flags_t = 1
	XPC_LISTENER_CREATE_FORCE_MACH       Xpc_listener_create_flags_t = 2
	XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4
)

func (Xpc_listener_create_flags_t) String

type Xpc_session_create_flags_t

type Xpc_session_create_flags_t int64
const (
	XPC_SESSION_CREATE_NONE            Xpc_session_create_flags_t = 0
	XPC_SESSION_CREATE_INACTIVE        Xpc_session_create_flags_t = 1
	XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2
)

func (Xpc_session_create_flags_t) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL