quartz

package
v0.5.0-preview....-32e7360 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Allow users to browse, edit, and save images, using slideshows and Core Image filters.

Apple Documentation

Index

Constants

This section is empty.

Variables

View Source
var CameraDeviceViewClass = _CameraDeviceViewClass{objc.GetClass("IKCameraDeviceView")}

The class instance for the CameraDeviceView class.

View Source
var CompositionClass = _CompositionClass{objc.GetClass("QCComposition")}

The class instance for the Composition class.

View Source
var CompositionLayerClass = _CompositionLayerClass{objc.GetClass("QCCompositionLayer")}

The class instance for the CompositionLayer class.

View Source
var CompositionParameterViewClass = _CompositionParameterViewClass{objc.GetClass("QCCompositionParameterView")}

The class instance for the CompositionParameterView class.

View Source
var CompositionPickerPanelClass = _CompositionPickerPanelClass{objc.GetClass("QCCompositionPickerPanel")}

The class instance for the CompositionPickerPanel class.

View Source
var CompositionPickerViewClass = _CompositionPickerViewClass{objc.GetClass("QCCompositionPickerView")}

The class instance for the CompositionPickerView class.

View Source
var CompositionRepositoryClass = _CompositionRepositoryClass{objc.GetClass("QCCompositionRepository")}

The class instance for the CompositionRepository class.

View Source
var DeviceBrowserViewClass = _DeviceBrowserViewClass{objc.GetClass("IKDeviceBrowserView")}

The class instance for the DeviceBrowserView class.

View Source
var FilterBrowserPanelClass = _FilterBrowserPanelClass{objc.GetClass("IKFilterBrowserPanel")}

The class instance for the FilterBrowserPanel class.

View Source
var FilterBrowserViewClass = _FilterBrowserViewClass{objc.GetClass("IKFilterBrowserView")}

The class instance for the FilterBrowserView class.

View Source
var FilterUIViewClass = _FilterUIViewClass{objc.GetClass("IKFilterUIView")}

The class instance for the FilterUIView class.

View Source
var ImageBrowserCellClass = _ImageBrowserCellClass{objc.GetClass("IKImageBrowserCell")}

The class instance for the ImageBrowserCell class.

View Source
var ImageBrowserViewClass = _ImageBrowserViewClass{objc.GetClass("IKImageBrowserView")}

The class instance for the ImageBrowserView class.

View Source
var ImageEditPanelClass = _ImageEditPanelClass{objc.GetClass("IKImageEditPanel")}

The class instance for the ImageEditPanel class.

View Source
var ImageViewClass = _ImageViewClass{objc.GetClass("IKImageView")}

The class instance for the ImageView class.

View Source
var PatchControllerClass = _PatchControllerClass{objc.GetClass("QCPatchController")}

The class instance for the PatchController class.

View Source
var PictureTakerClass = _PictureTakerClass{objc.GetClass("IKPictureTaker")}

The class instance for the PictureTaker class.

View Source
var PlugInClass = _PlugInClass{objc.GetClass("QCPlugIn")}

The class instance for the PlugIn class.

View Source
var PlugInViewControllerClass = _PlugInViewControllerClass{objc.GetClass("QCPlugInViewController")}

The class instance for the PlugInViewController class.

View Source
var QuartzFilterClass = _QuartzFilterClass{objc.GetClass("QuartzFilter")}

The class instance for the QuartzFilter class.

View Source
var QuartzFilterManagerClass = _QuartzFilterManagerClass{objc.GetClass("QuartzFilterManager")}

The class instance for the QuartzFilterManager class.

View Source
var QuartzFilterViewClass = _QuartzFilterViewClass{objc.GetClass("QuartzFilterView")}

The class instance for the QuartzFilterView class.

View Source
var RendererClass = _RendererClass{objc.GetClass("QCRenderer")}

The class instance for the Renderer class.

View Source
var SaveOptionsClass = _SaveOptionsClass{objc.GetClass("IKSaveOptions")}

The class instance for the SaveOptions class.

View Source
var ScannerDeviceViewClass = _ScannerDeviceViewClass{objc.GetClass("IKScannerDeviceView")}

The class instance for the ScannerDeviceView class.

View Source
var SlideshowClass = _SlideshowClass{objc.GetClass("IKSlideshow")}

The class instance for the Slideshow class.

View Source
var ViewClass = _ViewClass{objc.GetClass("QCView")}

The class instance for the View class.

Functions

func FilterBrowserPanel_FilterBrowserPanelWithStyleMask

func FilterBrowserPanel_FilterBrowserPanelWithStyleMask(styleMask int) objc.Object

Creates a shared instance of the IKFilterBrowserPanel class. Full Topic

func FilterUIView_ViewWithFrameFilter

func FilterUIView_ViewWithFrameFilter(frameRect foundation.Rect, inFilter coreimage.IFilter) objc.Object

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

func QuartzFilterManager_FiltersInDomains

func QuartzFilterManager_FiltersInDomains(domains []objc.IObject) []objc.Object
[Full Topic]

func Slideshow_CanExportToApplication

func Slideshow_CanExportToApplication(applicationBundleIdentifier string) bool

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

func Slideshow_ExportSlideshowItemToApplication

func Slideshow_ExportSlideshowItemToApplication(item objc.IObject, applicationBundleIdentifier string)

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

Types

type CameraDeviceView

type CameraDeviceView struct {
	appkit.View
}

The IKCameraDeviceView class displays the contents of the selected camera. Full Topic

func CameraDeviceViewFrom

func CameraDeviceViewFrom(ptr unsafe.Pointer) CameraDeviceView

func NewCameraDeviceView

func NewCameraDeviceView() CameraDeviceView

func NewCameraDeviceViewWithFrame

func NewCameraDeviceViewWithFrame(frameRect foundation.Rect) CameraDeviceView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func (CameraDeviceView) CanDeleteSelectedItems

func (c_ CameraDeviceView) CanDeleteSelectedItems() bool

Returns whether the selected items can be deleted. Full Topic

func (CameraDeviceView) CanDownloadSelectedItems

func (c_ CameraDeviceView) CanDownloadSelectedItems() bool

Returns whether the selected items can be downloaded Full Topic

func (CameraDeviceView) CanRotateSelectedItemsLeft

func (c_ CameraDeviceView) CanRotateSelectedItemsLeft() bool

Returns whether the selected items can be rotated left. Full Topic

func (CameraDeviceView) CanRotateSelectedItemsRight

func (c_ CameraDeviceView) CanRotateSelectedItemsRight() bool

Returns whether the selected items can be rotated right. Full Topic

func (CameraDeviceView) Delegate

The camera device view delegate. Full Topic

func (CameraDeviceView) DeleteSelectedItems

func (c_ CameraDeviceView) DeleteSelectedItems(sender objc.IObject) objc.Object

Deletes the currently selected items. Full Topic

func (CameraDeviceView) DisplaysDownloadsDirectoryControl

func (c_ CameraDeviceView) DisplaysDownloadsDirectoryControl() bool

Specifies whether the downloads directory control should be displayed. Full Topic

func (CameraDeviceView) DisplaysPostProcessApplicationControl

func (c_ CameraDeviceView) DisplaysPostProcessApplicationControl() bool

Displays whether the post process application control should be displayed. Full Topic

func (CameraDeviceView) DownloadAllControlLabel

func (c_ CameraDeviceView) DownloadAllControlLabel() string

Allows the “Download All” control to be renamed. Full Topic

func (CameraDeviceView) DownloadAllItems

func (c_ CameraDeviceView) DownloadAllItems(sender objc.IObject) objc.Object

Downloads all the items. Full Topic

func (CameraDeviceView) DownloadSelectedControlLabel

func (c_ CameraDeviceView) DownloadSelectedControlLabel() string

Allows the “Download Selected” control to be renamed. Full Topic

func (CameraDeviceView) DownloadSelectedItems

func (c_ CameraDeviceView) DownloadSelectedItems(sender objc.IObject) objc.Object

Deletes the selected items from the camera. Full Topic

func (CameraDeviceView) DownloadsDirectory

func (c_ CameraDeviceView) DownloadsDirectory() foundation.URL

Specifies the directory where files are downloaded Full Topic

func (CameraDeviceView) HasDisplayModeIcon

func (c_ CameraDeviceView) HasDisplayModeIcon() bool

Returns whether the device view is being displayed in icon mode. Full Topic

func (CameraDeviceView) HasDisplayModeTable

func (c_ CameraDeviceView) HasDisplayModeTable() bool

Returns whether the device view is being displayed in table mode. Full Topic

func (CameraDeviceView) IconSize

func (c_ CameraDeviceView) IconSize() uint

Specifies the icon size. Full Topic

func (CameraDeviceView) Init

func (CameraDeviceView) InitWithFrame

func (c_ CameraDeviceView) InitWithFrame(frameRect foundation.Rect) CameraDeviceView

func (CameraDeviceView) Mode

Specifies the display mode of the camera device view. Full Topic

func (CameraDeviceView) PostProcessApplication

func (c_ CameraDeviceView) PostProcessApplication() foundation.URL

The URL of the application used to post process the image. Full Topic

func (CameraDeviceView) RotateLeft

func (c_ CameraDeviceView) RotateLeft(sender objc.IObject) objc.Object

Rotates the selected image to the left. Full Topic

func (CameraDeviceView) RotateRight

func (c_ CameraDeviceView) RotateRight(sender objc.IObject) objc.Object

Rotates the selected image to the right. Full Topic

func (CameraDeviceView) SelectIndexesByExtendingSelection

func (c_ CameraDeviceView) SelectIndexesByExtendingSelection(indexes foundation.IIndexSet, extend bool)

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

func (CameraDeviceView) SelectedIndexes

func (c_ CameraDeviceView) SelectedIndexes() foundation.IndexSet

The selected indexes of the camera files. Full Topic

func (CameraDeviceView) SetCustomActionControl

func (c_ CameraDeviceView) SetCustomActionControl(control appkit.ISegmentedControl)
[Full Topic]

func (CameraDeviceView) SetCustomDeleteControl

func (c_ CameraDeviceView) SetCustomDeleteControl(control appkit.ISegmentedControl)
[Full Topic]

func (CameraDeviceView) SetCustomIconSizeSlider

func (c_ CameraDeviceView) SetCustomIconSizeSlider(slider appkit.ISlider)
[Full Topic]

func (CameraDeviceView) SetCustomModeControl

func (c_ CameraDeviceView) SetCustomModeControl(control appkit.ISegmentedControl)
[Full Topic]

func (CameraDeviceView) SetCustomRotateControl

func (c_ CameraDeviceView) SetCustomRotateControl(control appkit.ISegmentedControl)
[Full Topic]

func (CameraDeviceView) SetDelegate

func (c_ CameraDeviceView) SetDelegate(value PCameraDeviceViewDelegate)

The camera device view delegate. Full Topic

func (CameraDeviceView) SetDelegateObject

func (c_ CameraDeviceView) SetDelegateObject(valueObject objc.IObject)

The camera device view delegate. Full Topic

func (CameraDeviceView) SetDisplaysDownloadsDirectoryControl

func (c_ CameraDeviceView) SetDisplaysDownloadsDirectoryControl(value bool)

Specifies whether the downloads directory control should be displayed. Full Topic

func (CameraDeviceView) SetDisplaysPostProcessApplicationControl

func (c_ CameraDeviceView) SetDisplaysPostProcessApplicationControl(value bool)

Displays whether the post process application control should be displayed. Full Topic

func (CameraDeviceView) SetDownloadAllControlLabel

func (c_ CameraDeviceView) SetDownloadAllControlLabel(value string)

Allows the “Download All” control to be renamed. Full Topic

func (CameraDeviceView) SetDownloadSelectedControlLabel

func (c_ CameraDeviceView) SetDownloadSelectedControlLabel(value string)

Allows the “Download Selected” control to be renamed. Full Topic

func (CameraDeviceView) SetDownloadsDirectory

func (c_ CameraDeviceView) SetDownloadsDirectory(value foundation.IURL)

Specifies the directory where files are downloaded Full Topic

func (CameraDeviceView) SetHasDisplayModeIcon

func (c_ CameraDeviceView) SetHasDisplayModeIcon(value bool)

Returns whether the device view is being displayed in icon mode. Full Topic

func (CameraDeviceView) SetHasDisplayModeTable

func (c_ CameraDeviceView) SetHasDisplayModeTable(value bool)

Returns whether the device view is being displayed in table mode. Full Topic

func (CameraDeviceView) SetIconSize

func (c_ CameraDeviceView) SetIconSize(value uint)

Specifies the icon size. Full Topic

func (CameraDeviceView) SetMode

Specifies the display mode of the camera device view. Full Topic

func (CameraDeviceView) SetPostProcessApplication

func (c_ CameraDeviceView) SetPostProcessApplication(value foundation.IURL)

The URL of the application used to post process the image. Full Topic

func (CameraDeviceView) SetShowStatusInfoAsWindowSubtitle

func (c_ CameraDeviceView) SetShowStatusInfoAsWindowSubtitle(value bool)
[Full Topic]

func (CameraDeviceView) SetTransferMode

func (c_ CameraDeviceView) SetTransferMode(value CameraDeviceViewTransferMode)

Determines how the contents are saved by the delegate. Full Topic

func (CameraDeviceView) TransferMode

Determines how the contents are saved by the delegate. Full Topic

type CameraDeviceViewDelegate

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

A delegate implementation builder for the PCameraDeviceViewDelegate protocol.

func (*CameraDeviceViewDelegate) CameraDeviceViewDidDownloadFileLocationFileDataError

func (di *CameraDeviceViewDelegate) CameraDeviceViewDidDownloadFileLocationFileDataError(cameraDeviceView CameraDeviceView, file objc.Object, url foundation.URL, data []byte, error foundation.Error)

Invoked for each file that is downloaded from the camera device. Full Topic

func (*CameraDeviceViewDelegate) CameraDeviceViewDidEncounterError

func (di *CameraDeviceViewDelegate) CameraDeviceViewDidEncounterError(cameraDeviceView CameraDeviceView, error foundation.Error)

Invoked when the camera encounters an error. Full Topic

func (*CameraDeviceViewDelegate) CameraDeviceViewSelectionDidChange

func (di *CameraDeviceViewDelegate) CameraDeviceViewSelectionDidChange(cameraDeviceView CameraDeviceView)

Invoked when the selection changed. Full Topic

func (*CameraDeviceViewDelegate) HasCameraDeviceViewDidDownloadFileLocationFileDataError

func (di *CameraDeviceViewDelegate) HasCameraDeviceViewDidDownloadFileLocationFileDataError() bool

func (*CameraDeviceViewDelegate) HasCameraDeviceViewDidEncounterError

func (di *CameraDeviceViewDelegate) HasCameraDeviceViewDidEncounterError() bool

func (*CameraDeviceViewDelegate) HasCameraDeviceViewSelectionDidChange

func (di *CameraDeviceViewDelegate) HasCameraDeviceViewSelectionDidChange() bool

func (*CameraDeviceViewDelegate) SetCameraDeviceViewDidDownloadFileLocationFileDataError

func (di *CameraDeviceViewDelegate) SetCameraDeviceViewDidDownloadFileLocationFileDataError(f func(cameraDeviceView CameraDeviceView, file objc.Object, url foundation.URL, data []byte, error foundation.Error))

Invoked for each file that is downloaded from the camera device. Full Topic

func (*CameraDeviceViewDelegate) SetCameraDeviceViewDidEncounterError

func (di *CameraDeviceViewDelegate) SetCameraDeviceViewDidEncounterError(f func(cameraDeviceView CameraDeviceView, error foundation.Error))

Invoked when the camera encounters an error. Full Topic

func (*CameraDeviceViewDelegate) SetCameraDeviceViewSelectionDidChange

func (di *CameraDeviceViewDelegate) SetCameraDeviceViewSelectionDidChange(f func(cameraDeviceView CameraDeviceView))

Invoked when the selection changed. Full Topic

type CameraDeviceViewDelegateObject

type CameraDeviceViewDelegateObject struct {
	objc.Object
}

A concrete type for the PCameraDeviceViewDelegate protocol.

func (CameraDeviceViewDelegateObject) CameraDeviceViewDidDownloadFileLocationFileDataError

func (c_ CameraDeviceViewDelegateObject) CameraDeviceViewDidDownloadFileLocationFileDataError(cameraDeviceView CameraDeviceView, file objc.Object, url foundation.URL, data []byte, error foundation.Error)

Invoked for each file that is downloaded from the camera device. Full Topic

func (CameraDeviceViewDelegateObject) CameraDeviceViewDidEncounterError

func (c_ CameraDeviceViewDelegateObject) CameraDeviceViewDidEncounterError(cameraDeviceView CameraDeviceView, error foundation.Error)

Invoked when the camera encounters an error. Full Topic

func (CameraDeviceViewDelegateObject) CameraDeviceViewSelectionDidChange

func (c_ CameraDeviceViewDelegateObject) CameraDeviceViewSelectionDidChange(cameraDeviceView CameraDeviceView)

Invoked when the selection changed. Full Topic

func (CameraDeviceViewDelegateObject) HasCameraDeviceViewDidDownloadFileLocationFileDataError

func (c_ CameraDeviceViewDelegateObject) HasCameraDeviceViewDidDownloadFileLocationFileDataError() bool

func (CameraDeviceViewDelegateObject) HasCameraDeviceViewDidEncounterError

func (c_ CameraDeviceViewDelegateObject) HasCameraDeviceViewDidEncounterError() bool

func (CameraDeviceViewDelegateObject) HasCameraDeviceViewSelectionDidChange

func (c_ CameraDeviceViewDelegateObject) HasCameraDeviceViewSelectionDidChange() bool

type CameraDeviceViewDisplayMode

type CameraDeviceViewDisplayMode int

These constants specify the display mode used by the camera view. These constants are used by quartz/ikcameradeviceview/mode. Full Topic

const (
	CameraDeviceViewDisplayModeIcon  CameraDeviceViewDisplayMode = 1
	CameraDeviceViewDisplayModeNone  CameraDeviceViewDisplayMode = -1
	CameraDeviceViewDisplayModeTable CameraDeviceViewDisplayMode = 0
)

type CameraDeviceViewTransferMode

type CameraDeviceViewTransferMode int

These constants specify the transfer mode used by the camera view. These constants are used by quartz/ikcameradeviceview/mode. Full Topic

const (
	CameraDeviceViewTransferModeFileBased   CameraDeviceViewTransferMode = 0
	CameraDeviceViewTransferModeMemoryBased CameraDeviceViewTransferMode = 1
)

type Composition

type Composition struct {
	objc.Object
}

The QCComposition class represents a Quartz Composer composition that either: Full Topic

func CompositionFrom

func CompositionFrom(ptr unsafe.Pointer) Composition

func NewComposition

func NewComposition() Composition

func (Composition) Init

func (c_ Composition) Init() Composition

type CompositionLayer

type CompositionLayer struct {
	quartzcore.OpenGLLayer
}

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

func CompositionLayerFrom

func CompositionLayerFrom(ptr unsafe.Pointer) CompositionLayer

func CompositionLayer_Layer

func CompositionLayer_Layer() CompositionLayer

Creates and returns an instance of the layer object. Full Topic

func CompositionLayer_ModelLayer

func CompositionLayer_ModelLayer() CompositionLayer

Returns the model layer object associated with the receiver, if any. Full Topic

func CompositionLayer_PresentationLayer

func CompositionLayer_PresentationLayer() CompositionLayer

Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic

func NewCompositionLayer

func NewCompositionLayer() CompositionLayer

func NewCompositionLayerWithLayer

func NewCompositionLayerWithLayer(layer objc.IObject) CompositionLayer

Override to copy or initialize custom fields of the specified layer. Full Topic

func (CompositionLayer) Init

func (CompositionLayer) InitWithLayer

func (c_ CompositionLayer) InitWithLayer(layer objc.IObject) CompositionLayer

func (CompositionLayer) ModelLayer

func (c_ CompositionLayer) ModelLayer() CompositionLayer

func (CompositionLayer) PresentationLayer

func (c_ CompositionLayer) PresentationLayer() CompositionLayer

type CompositionParameterView

type CompositionParameterView struct {
	appkit.View
}

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. Full Topic

func CompositionParameterViewFrom

func CompositionParameterViewFrom(ptr unsafe.Pointer) CompositionParameterView

func NewCompositionParameterView

func NewCompositionParameterView() CompositionParameterView

func NewCompositionParameterViewWithFrame

func NewCompositionParameterViewWithFrame(frameRect foundation.Rect) CompositionParameterView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func (CompositionParameterView) Init

func (CompositionParameterView) InitWithFrame

type CompositionPickerPanel

type CompositionPickerPanel struct {
	appkit.Panel
}

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. Full Topic

func CompositionPickerPanelFrom

func CompositionPickerPanelFrom(ptr unsafe.Pointer) CompositionPickerPanel

func CompositionPickerPanel_WindowWithContentViewController

func CompositionPickerPanel_WindowWithContentViewController(contentViewController appkit.IViewController) CompositionPickerPanel

Creates a titled window that contains the specified content view controller. Full Topic

func NewCompositionPickerPanel

func NewCompositionPickerPanel() CompositionPickerPanel

func NewCompositionPickerPanelWithContentRectStyleMaskBackingDefer

func NewCompositionPickerPanelWithContentRectStyleMaskBackingDefer(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool) CompositionPickerPanel

Initializes the window with the specified values. Full Topic

func NewCompositionPickerPanelWithContentRectStyleMaskBackingDeferScreen

func NewCompositionPickerPanelWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool, screen appkit.IScreen) CompositionPickerPanel

Initializes an allocated window with the specified values. Full Topic

func (CompositionPickerPanel) Init

func (CompositionPickerPanel) InitWithContentRectStyleMaskBackingDefer

func (c_ CompositionPickerPanel) InitWithContentRectStyleMaskBackingDefer(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool) CompositionPickerPanel

func (CompositionPickerPanel) InitWithContentRectStyleMaskBackingDeferScreen

func (c_ CompositionPickerPanel) InitWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool, screen appkit.IScreen) CompositionPickerPanel

type CompositionPickerView

type CompositionPickerView struct {
	appkit.View
}

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:. Full Topic

func CompositionPickerViewFrom

func CompositionPickerViewFrom(ptr unsafe.Pointer) CompositionPickerView

func NewCompositionPickerView

func NewCompositionPickerView() CompositionPickerView

func NewCompositionPickerViewWithFrame

func NewCompositionPickerViewWithFrame(frameRect foundation.Rect) CompositionPickerView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func (CompositionPickerView) Init

func (CompositionPickerView) InitWithFrame

func (c_ CompositionPickerView) InitWithFrame(frameRect foundation.Rect) CompositionPickerView

type CompositionRendererObject

type CompositionRendererObject struct {
	objc.Object
}

A concrete type for the PCompositionRenderer protocol.

type CompositionRepository

type CompositionRepository struct {
	objc.Object
}

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. Full Topic

func CompositionRepositoryFrom

func CompositionRepositoryFrom(ptr unsafe.Pointer) CompositionRepository

func NewCompositionRepository

func NewCompositionRepository() CompositionRepository

func (CompositionRepository) Init

type DeviceBrowserView

type DeviceBrowserView struct {
	appkit.View
}

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

func DeviceBrowserViewFrom

func DeviceBrowserViewFrom(ptr unsafe.Pointer) DeviceBrowserView

func NewDeviceBrowserView

func NewDeviceBrowserView() DeviceBrowserView

func NewDeviceBrowserViewWithFrame

func NewDeviceBrowserViewWithFrame(frameRect foundation.Rect) DeviceBrowserView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func (DeviceBrowserView) Delegate

Specifies the delegate object. Full Topic

func (DeviceBrowserView) DisplaysLocalCameras

func (d_ DeviceBrowserView) DisplaysLocalCameras() bool

Specifies whether local cameras are displayed by the browser. Full Topic

func (DeviceBrowserView) DisplaysLocalScanners

func (d_ DeviceBrowserView) DisplaysLocalScanners() bool

Specifies whether local scanners are displayed by the browser. Full Topic

func (DeviceBrowserView) DisplaysNetworkCameras

func (d_ DeviceBrowserView) DisplaysNetworkCameras() bool

Specifies whether network cameras are displayed by the browser. Full Topic

func (DeviceBrowserView) DisplaysNetworkScanners

func (d_ DeviceBrowserView) DisplaysNetworkScanners() bool

Specifies whether network scanners are displayed by the browser. Full Topic

func (DeviceBrowserView) Init

func (DeviceBrowserView) InitWithFrame

func (d_ DeviceBrowserView) InitWithFrame(frameRect foundation.Rect) DeviceBrowserView

func (DeviceBrowserView) Mode

Specifies the browser display mode. Full Topic

func (DeviceBrowserView) SetDelegate

func (d_ DeviceBrowserView) SetDelegate(value PDeviceBrowserViewDelegate)

Specifies the delegate object. Full Topic

func (DeviceBrowserView) SetDelegateObject

func (d_ DeviceBrowserView) SetDelegateObject(valueObject objc.IObject)

Specifies the delegate object. Full Topic

func (DeviceBrowserView) SetDisplaysLocalCameras

func (d_ DeviceBrowserView) SetDisplaysLocalCameras(value bool)

Specifies whether local cameras are displayed by the browser. Full Topic

func (DeviceBrowserView) SetDisplaysLocalScanners

func (d_ DeviceBrowserView) SetDisplaysLocalScanners(value bool)

Specifies whether local scanners are displayed by the browser. Full Topic

func (DeviceBrowserView) SetDisplaysNetworkCameras

func (d_ DeviceBrowserView) SetDisplaysNetworkCameras(value bool)

Specifies whether network cameras are displayed by the browser. Full Topic

func (DeviceBrowserView) SetDisplaysNetworkScanners

func (d_ DeviceBrowserView) SetDisplaysNetworkScanners(value bool)

Specifies whether network scanners are displayed by the browser. Full Topic

func (DeviceBrowserView) SetMode

Specifies the browser display mode. Full Topic

type DeviceBrowserViewDelegate

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

A delegate implementation builder for the PDeviceBrowserViewDelegate protocol.

func (*DeviceBrowserViewDelegate) DeviceBrowserViewDidEncounterError

func (di *DeviceBrowserViewDelegate) DeviceBrowserViewDidEncounterError(deviceBrowserView DeviceBrowserView, error foundation.Error)

Invoked when the device browser encounters an error. Full Topic

func (*DeviceBrowserViewDelegate) HasDeviceBrowserViewDidEncounterError

func (di *DeviceBrowserViewDelegate) HasDeviceBrowserViewDidEncounterError() bool

func (*DeviceBrowserViewDelegate) SetDeviceBrowserViewDidEncounterError

func (di *DeviceBrowserViewDelegate) SetDeviceBrowserViewDidEncounterError(f func(deviceBrowserView DeviceBrowserView, error foundation.Error))

Invoked when the device browser encounters an error. Full Topic

type DeviceBrowserViewDelegateObject

type DeviceBrowserViewDelegateObject struct {
	objc.Object
}

A concrete type for the PDeviceBrowserViewDelegate protocol.

func (DeviceBrowserViewDelegateObject) DeviceBrowserViewDidEncounterError

func (d_ DeviceBrowserViewDelegateObject) DeviceBrowserViewDidEncounterError(deviceBrowserView DeviceBrowserView, error foundation.Error)

Invoked when the device browser encounters an error. Full Topic

func (DeviceBrowserViewDelegateObject) HasDeviceBrowserViewDidEncounterError

func (d_ DeviceBrowserViewDelegateObject) HasDeviceBrowserViewDidEncounterError() bool

type DeviceBrowserViewDisplayMode

type DeviceBrowserViewDisplayMode int

These constants specify the display mode of the device browser. Full Topic

const (
	DeviceBrowserViewDisplayModeIcon    DeviceBrowserViewDisplayMode = 2
	DeviceBrowserViewDisplayModeOutline DeviceBrowserViewDisplayMode = 1
	DeviceBrowserViewDisplayModeTable   DeviceBrowserViewDisplayMode = 0
)

type FilterBrowserPanel

type FilterBrowserPanel struct {
	appkit.Panel
}

The IKFilterBrowserPanel class provides a user interface that allows users to browse Core Image filters (CIFilter), to preview a filter, and to get additional information about the filter, such as its description. Full Topic

func FilterBrowserPanelFrom

func FilterBrowserPanelFrom(ptr unsafe.Pointer) FilterBrowserPanel

func FilterBrowserPanel_WindowWithContentViewController

func FilterBrowserPanel_WindowWithContentViewController(contentViewController appkit.IViewController) FilterBrowserPanel

Creates a titled window that contains the specified content view controller. Full Topic

func NewFilterBrowserPanel

func NewFilterBrowserPanel() FilterBrowserPanel

func NewFilterBrowserPanelWithContentRectStyleMaskBackingDefer

func NewFilterBrowserPanelWithContentRectStyleMaskBackingDefer(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool) FilterBrowserPanel

Initializes the window with the specified values. Full Topic

func NewFilterBrowserPanelWithContentRectStyleMaskBackingDeferScreen

func NewFilterBrowserPanelWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool, screen appkit.IScreen) FilterBrowserPanel

Initializes an allocated window with the specified values. Full Topic

func (FilterBrowserPanel) BeginSheetWithOptionsModalForWindowModalDelegateDidEndSelectorContextInfo

func (f_ FilterBrowserPanel) BeginSheetWithOptionsModalForWindowModalDelegateDidEndSelectorContextInfo(inOptions foundation.Dictionary, docWindow appkit.IWindow, modalDelegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

Displays the filter browser in a sheet—that is, a dialog that is attached to its parent window and must be dismissed by the user. Full Topic

func (FilterBrowserPanel) BeginWithOptionsModelessDelegateDidEndSelectorContextInfo

func (f_ FilterBrowserPanel) BeginWithOptionsModelessDelegateDidEndSelectorContextInfo(inOptions foundation.Dictionary, modelessDelegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

Displays the filter browser in a new utility window, unless the filter browser is already open. Full Topic

func (FilterBrowserPanel) FilterBrowserViewWithOptions

func (f_ FilterBrowserPanel) FilterBrowserViewWithOptions(inOptions foundation.Dictionary) FilterBrowserView

Returns a view that contains a filter browser. Full Topic

func (FilterBrowserPanel) FilterName

func (f_ FilterBrowserPanel) FilterName() string

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

func (FilterBrowserPanel) Finish

func (f_ FilterBrowserPanel) Finish(sender objc.IObject)

Closes a filter browser view. Full Topic

func (FilterBrowserPanel) Init

func (FilterBrowserPanel) InitWithContentRectStyleMaskBackingDefer

func (f_ FilterBrowserPanel) InitWithContentRectStyleMaskBackingDefer(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool) FilterBrowserPanel

func (FilterBrowserPanel) InitWithContentRectStyleMaskBackingDeferScreen

func (f_ FilterBrowserPanel) InitWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool, screen appkit.IScreen) FilterBrowserPanel

func (FilterBrowserPanel) RunModalWithOptions

func (f_ FilterBrowserPanel) RunModalWithOptions(inOptions foundation.Dictionary) int

Displays the filter browser in a modal dialog that must be dismissed by the user but that is not attached to a window. Full Topic

type FilterBrowserView

type FilterBrowserView struct {
	appkit.View
}

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

func FilterBrowserViewFrom

func FilterBrowserViewFrom(ptr unsafe.Pointer) FilterBrowserView

func NewFilterBrowserView

func NewFilterBrowserView() FilterBrowserView

func NewFilterBrowserViewWithFrame

func NewFilterBrowserViewWithFrame(frameRect foundation.Rect) FilterBrowserView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func (FilterBrowserView) FilterName

func (f_ FilterBrowserView) FilterName() string

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

func (FilterBrowserView) Init

func (FilterBrowserView) InitWithFrame

func (f_ FilterBrowserView) InitWithFrame(frameRect foundation.Rect) FilterBrowserView

func (FilterBrowserView) SetPreviewState

func (f_ FilterBrowserView) SetPreviewState(inState bool)

Sets the preview state. Full Topic

type FilterCustomUIProviderObject

type FilterCustomUIProviderObject struct {
	objc.Object
}

A concrete type for the PFilterCustomUIProvider protocol.

func (FilterCustomUIProviderObject) HasProvideViewForUIConfigurationExcludedKeys

func (f_ FilterCustomUIProviderObject) HasProvideViewForUIConfigurationExcludedKeys() bool

func (FilterCustomUIProviderObject) ProvideViewForUIConfigurationExcludedKeys

func (f_ FilterCustomUIProviderObject) ProvideViewForUIConfigurationExcludedKeys(inUIConfiguration foundation.Dictionary, inKeys []objc.Object) FilterUIView

Provides a custom view for a filter. Full Topic

type FilterUIView

type FilterUIView struct {
	appkit.View
}

The IKFilterUIView class provides a view that contains input parameter controls for a Core Image filter (CIFilter). You need to use this class when providing a user interface for a custom filter. The class creates a view that has an object controller for the given filter. It also retains the filter. Full Topic

func FilterUIViewFrom

func FilterUIViewFrom(ptr unsafe.Pointer) FilterUIView

func NewFilterUIView

func NewFilterUIView() FilterUIView

func NewFilterUIViewWithFrame

func NewFilterUIViewWithFrame(frameRect foundation.Rect) FilterUIView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func (FilterUIView) Filter

func (f_ FilterUIView) Filter() coreimage.Filter

Returns the Core Image filter associated with the view. Full Topic

func (FilterUIView) Init

func (f_ FilterUIView) Init() FilterUIView

func (FilterUIView) InitWithFrame

func (f_ FilterUIView) InitWithFrame(frameRect foundation.Rect) FilterUIView

func (FilterUIView) InitWithFrameFilter

func (f_ FilterUIView) InitWithFrameFilter(frameRect foundation.Rect, inFilter coreimage.IFilter) objc.Object

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

func (FilterUIView) ObjectController

func (f_ FilterUIView) ObjectController() appkit.ObjectController

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

type ICameraDeviceView

type ICameraDeviceView interface {
	appkit.IView
	SelectedIndexes() foundation.IndexSet
	SetCustomDeleteControl(control appkit.ISegmentedControl)
	RotateRight(sender objc.IObject) objc.Object
	DownloadSelectedItems(sender objc.IObject) objc.Object
	SetCustomRotateControl(control appkit.ISegmentedControl)
	SetShowStatusInfoAsWindowSubtitle(value bool)
	DownloadAllItems(sender objc.IObject) objc.Object
	SelectIndexesByExtendingSelection(indexes foundation.IIndexSet, extend bool)
	SetCustomIconSizeSlider(slider appkit.ISlider)
	SetCustomActionControl(control appkit.ISegmentedControl)
	DeleteSelectedItems(sender objc.IObject) objc.Object
	SetCustomModeControl(control appkit.ISegmentedControl)
	RotateLeft(sender objc.IObject) objc.Object
	CanDownloadSelectedItems() bool
	Mode() CameraDeviceViewDisplayMode
	SetMode(value CameraDeviceViewDisplayMode)
	DownloadSelectedControlLabel() string
	SetDownloadSelectedControlLabel(value string)
	HasDisplayModeIcon() bool
	SetHasDisplayModeIcon(value bool)
	Delegate() CameraDeviceViewDelegateObject
	SetDelegate(value PCameraDeviceViewDelegate)
	SetDelegateObject(valueObject objc.IObject)
	CanRotateSelectedItemsRight() bool
	PostProcessApplication() foundation.URL
	SetPostProcessApplication(value foundation.IURL)
	CanRotateSelectedItemsLeft() bool
	DisplaysPostProcessApplicationControl() bool
	SetDisplaysPostProcessApplicationControl(value bool)
	DisplaysDownloadsDirectoryControl() bool
	SetDisplaysDownloadsDirectoryControl(value bool)
	TransferMode() CameraDeviceViewTransferMode
	SetTransferMode(value CameraDeviceViewTransferMode)
	DownloadAllControlLabel() string
	SetDownloadAllControlLabel(value string)
	IconSize() uint
	SetIconSize(value uint)
	CanDeleteSelectedItems() bool
	DownloadsDirectory() foundation.URL
	SetDownloadsDirectory(value foundation.IURL)
	HasDisplayModeTable() bool
	SetHasDisplayModeTable(value bool)
}

An interface definition for the CameraDeviceView class.

type IComposition

type IComposition interface {
	objc.IObject
}

An interface definition for the Composition class.

type ICompositionLayer

type ICompositionLayer interface {
	quartzcore.IOpenGLLayer
}

An interface definition for the CompositionLayer class.

type ICompositionParameterView

type ICompositionParameterView interface {
	appkit.IView
}

An interface definition for the CompositionParameterView class.

type ICompositionPickerPanel

type ICompositionPickerPanel interface {
	appkit.IPanel
}

An interface definition for the CompositionPickerPanel class.

type ICompositionPickerView

type ICompositionPickerView interface {
	appkit.IView
}

An interface definition for the CompositionPickerView class.

type ICompositionRepository

type ICompositionRepository interface {
	objc.IObject
}

An interface definition for the CompositionRepository class.

type IDeviceBrowserView

type IDeviceBrowserView interface {
	appkit.IView
	Delegate() DeviceBrowserViewDelegateObject
	SetDelegate(value PDeviceBrowserViewDelegate)
	SetDelegateObject(valueObject objc.IObject)
	DisplaysLocalCameras() bool
	SetDisplaysLocalCameras(value bool)
	DisplaysNetworkScanners() bool
	SetDisplaysNetworkScanners(value bool)
	DisplaysNetworkCameras() bool
	SetDisplaysNetworkCameras(value bool)
	DisplaysLocalScanners() bool
	SetDisplaysLocalScanners(value bool)
	Mode() DeviceBrowserViewDisplayMode
	SetMode(value DeviceBrowserViewDisplayMode)
}

An interface definition for the DeviceBrowserView class.

type IFilterBrowserPanel

type IFilterBrowserPanel interface {
	appkit.IPanel
	FilterName() string
	BeginWithOptionsModelessDelegateDidEndSelectorContextInfo(inOptions foundation.Dictionary, modelessDelegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
	BeginSheetWithOptionsModalForWindowModalDelegateDidEndSelectorContextInfo(inOptions foundation.Dictionary, docWindow appkit.IWindow, modalDelegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
	Finish(sender objc.IObject)
	RunModalWithOptions(inOptions foundation.Dictionary) int
	FilterBrowserViewWithOptions(inOptions foundation.Dictionary) FilterBrowserView
}

An interface definition for the FilterBrowserPanel class.

type IFilterBrowserView

type IFilterBrowserView interface {
	appkit.IView
	SetPreviewState(inState bool)
	FilterName() string
}

An interface definition for the FilterBrowserView class.

type IFilterUIView

type IFilterUIView interface {
	appkit.IView
	InitWithFrameFilter(frameRect foundation.Rect, inFilter coreimage.IFilter) objc.Object
	Filter() coreimage.Filter
	ObjectController() appkit.ObjectController
}

An interface definition for the FilterUIView class.

type IImageBrowserCell

type IImageBrowserCell interface {
	objc.IObject
	ImageBrowserView() ImageBrowserView
	Opacity() float64
	SelectionFrame() foundation.Rect
	ImageAlignment() appkit.ImageAlignment
	ImageFrame() foundation.Rect
	SubtitleFrame() foundation.Rect
	IsSelected() bool
	IndexOfRepresentedItem() uint
	ImageContainerFrame() foundation.Rect
	RepresentedItem() objc.Object
	TitleFrame() foundation.Rect
	Frame() foundation.Rect
	LayerForType(type_ string) quartzcore.Layer
	CellState() ImageBrowserCellState
}

An interface definition for the ImageBrowserCell class.

type IImageBrowserView

type IImageBrowserView interface {
	appkit.IView
}

An interface definition for the ImageBrowserView class.

type IImageEditPanel

type IImageEditPanel interface {
	appkit.IPanel
	ReloadData()
	FilterArray() []objc.Object
	DataSource() ImageEditPanelDataSourceObject
	SetDataSource(value PImageEditPanelDataSource)
	SetDataSourceObject(valueObject objc.IObject)
}

An interface definition for the ImageEditPanel class.

type IImageView

type IImageView interface {
	appkit.IView
	ScrollToPoint(point foundation.Point)
	Image() coregraphics.ImageRef
	ZoomImageToFit(sender objc.IObject) objc.Object
	ConvertViewPointToImagePoint(viewPoint foundation.Point) foundation.Point
	SetRotationAngleCenterPoint(rotationAngle float64, centerPoint foundation.Point)
	SetOverlayForType(layer quartzcore.ILayer, layerType string)
	FlipImageVertical(sender objc.IObject) objc.Object
	RotateImageRight(sender objc.IObject) objc.Object
	ScrollToRect(rect foundation.Rect)
	Crop(sender objc.IObject) objc.Object
	ConvertViewRectToImageRect(viewRect foundation.Rect) foundation.Rect
	SetImageImageProperties(image coregraphics.ImageRef, metaData foundation.Dictionary)
	RotateImageLeft(sender objc.IObject) objc.Object
	ImageProperties() foundation.Dictionary
	OverlayForType(layerType string) quartzcore.Layer
	ConvertImagePointToViewPoint(imagePoint foundation.Point) foundation.Point
	ZoomOut(sender objc.IObject) objc.Object
	ZoomImageToActualSize(sender objc.IObject) objc.Object
	FlipImageHorizontal(sender objc.IObject) objc.Object
	SetImageZoomFactorCenterPoint(zoomFactor float64, centerPoint foundation.Point)
	ImageSize() foundation.Size
	ZoomIn(sender objc.IObject) objc.Object
	SetImageWithURL(url foundation.IURL)
	ZoomImageToRect(rect foundation.Rect)
	ConvertImageRectToViewRect(imageRect foundation.Rect) foundation.Rect
	ZoomFactor() float64
	SetZoomFactor(value float64)
	Autoresizes() bool
	SetAutoresizes(value bool)
	AutohidesScrollers() bool
	SetAutohidesScrollers(value bool)
	Editable() bool
	SetEditable(value bool)
	HasHorizontalScroller() bool
	SetHasHorizontalScroller(value bool)
	RotationAngle() float64
	SetRotationAngle(value float64)
	HasVerticalScroller() bool
	SetHasVerticalScroller(value bool)
	DoubleClickOpensImageEditPanel() bool
	SetDoubleClickOpensImageEditPanel(value bool)
	CurrentToolMode() string
	SetCurrentToolMode(value string)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	ImageCorrection() coreimage.Filter
	SetImageCorrection(value coreimage.IFilter)
	BackgroundColor() appkit.Color
	SetBackgroundColor(value appkit.IColor)
	SupportsDragAndDrop() bool
	SetSupportsDragAndDrop(value bool)
}

An interface definition for the ImageView class.

type IPatchController

type IPatchController interface {
	appkit.IController
}

An interface definition for the PatchController class.

type IPictureTaker

type IPictureTaker interface {
	appkit.IPanel
	Mirroring() bool
	SetMirroring(b bool)
	InputImage() appkit.Image
	BeginPictureTakerSheetForWindowWithDelegateDidEndSelectorContextInfo(aWindow appkit.IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
	PopUpRecentsMenuForViewWithDelegateDidEndSelectorContextInfo(aView appkit.IView, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
	SetInputImage(image appkit.IImage)
	OutputImage() appkit.Image
	RunModal() int
	BeginPictureTakerWithDelegateDidEndSelectorContextInfo(delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
}

An interface definition for the PictureTaker class.

type IPlugIn

type IPlugIn interface {
	objc.IObject
}

An interface definition for the PlugIn class.

type IPlugInViewController

type IPlugInViewController interface {
	appkit.IViewController
}

An interface definition for the PlugInViewController class.

type IQuartzFilter

type IQuartzFilter interface {
	objc.IObject
	Properties() foundation.Dictionary
	Url() foundation.URL
	RemoveFromContext(aContext coregraphics.ContextRef)
	LocalizedName() string
	ApplyToContext(aContext coregraphics.ContextRef) bool
}

An interface definition for the QuartzFilter class.

type IQuartzFilterManager

type IQuartzFilterManager interface {
	objc.IObject
	SetDelegate(aDelegate objc.IObject)
	Delegate() objc.Object
	SelectedFilter() QuartzFilter
	SelectFilter(filter IQuartzFilter) bool
	FilterView() QuartzFilterView
	FilterPanel() appkit.Panel
	ImportFilter(filterProperties foundation.Dictionary) QuartzFilter
}

An interface definition for the QuartzFilterManager class.

type IQuartzFilterView

type IQuartzFilterView interface {
	appkit.IView
	SizeToFit()
}

An interface definition for the QuartzFilterView class.

type IRenderer

type IRenderer interface {
	objc.IObject
}

An interface definition for the Renderer class.

type ISaveOptions

type ISaveOptions interface {
	objc.IObject
	AddSaveOptionsToView(view appkit.IView)
	AddSaveOptionsAccessoryViewToSavePanel(savePanel appkit.ISavePanel)
	UserSelection() foundation.Dictionary
	ImageUTType() string
	ImageProperties() foundation.Dictionary
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	RememberLastSetting() bool
	SetRememberLastSetting(value bool)
}

An interface definition for the SaveOptions class.

type IScannerDeviceView

type IScannerDeviceView interface {
	appkit.IView
	OverviewControlLabel() string
	SetOverviewControlLabel(value string)
	DisplaysDownloadsDirectoryControl() bool
	SetDisplaysDownloadsDirectoryControl(value bool)
	Delegate() ScannerDeviceViewDelegateObject
	SetDelegate(value PScannerDeviceViewDelegate)
	SetDelegateObject(valueObject objc.IObject)
	DocumentName() string
	SetDocumentName(value string)
	PostProcessApplication() foundation.URL
	SetPostProcessApplication(value foundation.IURL)
	ScanControlLabel() string
	SetScanControlLabel(value string)
	TransferMode() ScannerDeviceViewTransferMode
	SetTransferMode(value ScannerDeviceViewTransferMode)
	Mode() ScannerDeviceViewDisplayMode
	SetMode(value ScannerDeviceViewDisplayMode)
	HasDisplayModeSimple() bool
	SetHasDisplayModeSimple(value bool)
	DownloadsDirectory() foundation.URL
	SetDownloadsDirectory(value foundation.IURL)
	DisplaysPostProcessApplicationControl() bool
	SetDisplaysPostProcessApplicationControl(value bool)
	HasDisplayModeAdvanced() bool
	SetHasDisplayModeAdvanced(value bool)
}

An interface definition for the ScannerDeviceView class.

type ISlideshow

type ISlideshow interface {
	objc.IObject
	ReloadSlideshowItemAtIndex(index uint)
	ReloadData()
	RunSlideshowWithDataSourceInModeOptions(dataSource PSlideshowDataSource, slideshowMode string, slideshowOptions foundation.Dictionary)
	RunSlideshowWithDataSourceObjectInModeOptions(dataSourceObject objc.IObject, slideshowMode string, slideshowOptions foundation.Dictionary)
	StopSlideshow(sender objc.IObject)
	IndexOfCurrentSlideshowItem() uint
	AutoPlayDelay() foundation.TimeInterval
	SetAutoPlayDelay(value foundation.TimeInterval)
}

An interface definition for the Slideshow class.

type IView

type IView interface {
	appkit.IView
}

An interface definition for the View class.

type ImageBrowserCell

type ImageBrowserCell struct {
	objc.Object
}

A class that is used to display a cell conforming to the quartz/imagekit/ikimagebrowseritem_protocol in an IKImageBrowserView. Full Topic

func ImageBrowserCellFrom

func ImageBrowserCellFrom(ptr unsafe.Pointer) ImageBrowserCell

func NewImageBrowserCell

func NewImageBrowserCell() ImageBrowserCell

func (ImageBrowserCell) CellState

func (i_ ImageBrowserCell) CellState() ImageBrowserCellState

Returns the current cell state of the receiver. Full Topic

func (ImageBrowserCell) Frame

func (i_ ImageBrowserCell) Frame() foundation.Rect

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

func (ImageBrowserCell) ImageAlignment

func (i_ ImageBrowserCell) ImageAlignment() appkit.ImageAlignment

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

func (ImageBrowserCell) ImageBrowserView

func (i_ ImageBrowserCell) ImageBrowserView() ImageBrowserView

Returns the view the receiver uses to display the cell. Full Topic

func (ImageBrowserCell) ImageContainerFrame

func (i_ ImageBrowserCell) ImageContainerFrame() foundation.Rect

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

func (ImageBrowserCell) ImageFrame

func (i_ ImageBrowserCell) ImageFrame() foundation.Rect

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

func (ImageBrowserCell) IndexOfRepresentedItem

func (i_ ImageBrowserCell) IndexOfRepresentedItem() uint

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

func (ImageBrowserCell) Init

func (ImageBrowserCell) IsSelected

func (i_ ImageBrowserCell) IsSelected() bool

Returns whether the cell is selected. Full Topic

func (ImageBrowserCell) LayerForType

func (i_ ImageBrowserCell) LayerForType(type_ string) quartzcore.Layer

Returns a layer for the specified position. Full Topic

func (ImageBrowserCell) Opacity

func (i_ ImageBrowserCell) Opacity() float64

Returns the opacity of the receiver. Full Topic

func (ImageBrowserCell) RepresentedItem

func (i_ ImageBrowserCell) RepresentedItem() objc.Object

Returns the receiver’s represented object. Full Topic

func (ImageBrowserCell) SelectionFrame

func (i_ ImageBrowserCell) SelectionFrame() foundation.Rect

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

func (ImageBrowserCell) SubtitleFrame

func (i_ ImageBrowserCell) SubtitleFrame() foundation.Rect

Returns the receiver’s subtitle frame rectangle. Full Topic

func (ImageBrowserCell) TitleFrame

func (i_ ImageBrowserCell) TitleFrame() foundation.Rect

Returns the receiver’s title frame rectangle. Full Topic

type ImageBrowserCellState

type ImageBrowserCellState int

The possible states for the browser cell. These values are used by the quartz/ikimagebrowsercell/cellstate method. Full Topic

const (
	ImageStateInvalid ImageBrowserCellState = 1
	ImageStateNoImage ImageBrowserCellState = 0
	ImageStateReady   ImageBrowserCellState = 2
)

type ImageBrowserDropOperation

type ImageBrowserDropOperation int

These constants specify the locations for dropping items onto the browser view. Used by the method quartz/ikimagebrowserview/setdropindex. Full Topic

const (
	ImageBrowserDropBefore ImageBrowserDropOperation = 1
	ImageBrowserDropOn     ImageBrowserDropOperation = 0
)

type ImageBrowserView

type ImageBrowserView struct {
	appkit.View
}

The IKImageBrowserView class is a view for displaying and browsing a large amount of images and movies efficiently. This class will be deprecated in a future release. Please switch to NSCollectionView instead. Full Topic

func ImageBrowserViewFrom

func ImageBrowserViewFrom(ptr unsafe.Pointer) ImageBrowserView

func NewImageBrowserView

func NewImageBrowserView() ImageBrowserView

func NewImageBrowserViewWithFrame

func NewImageBrowserViewWithFrame(frameRect foundation.Rect) ImageBrowserView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func (ImageBrowserView) Init

func (ImageBrowserView) InitWithFrame

func (i_ ImageBrowserView) InitWithFrame(frameRect foundation.Rect) ImageBrowserView

type ImageEditPanel

type ImageEditPanel struct {
	appkit.Panel
}

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

func ImageEditPanelFrom

func ImageEditPanelFrom(ptr unsafe.Pointer) ImageEditPanel

func ImageEditPanel_SharedImageEditPanel

func ImageEditPanel_SharedImageEditPanel() ImageEditPanel

Creates a shared instance of an image editing panel. Full Topic

func ImageEditPanel_WindowWithContentViewController

func ImageEditPanel_WindowWithContentViewController(contentViewController appkit.IViewController) ImageEditPanel

Creates a titled window that contains the specified content view controller. Full Topic

func NewImageEditPanel

func NewImageEditPanel() ImageEditPanel

func NewImageEditPanelWithContentRectStyleMaskBackingDefer

func NewImageEditPanelWithContentRectStyleMaskBackingDefer(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool) ImageEditPanel

Initializes the window with the specified values. Full Topic

func NewImageEditPanelWithContentRectStyleMaskBackingDeferScreen

func NewImageEditPanelWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool, screen appkit.IScreen) ImageEditPanel

Initializes an allocated window with the specified values. Full Topic

func (ImageEditPanel) DataSource

Specifies the edit panel’s dataSource. Full Topic

func (ImageEditPanel) FilterArray

func (i_ ImageEditPanel) FilterArray() []objc.Object

Returns the current array of user adjustments to effects. Full Topic

func (ImageEditPanel) Init

func (i_ ImageEditPanel) Init() ImageEditPanel

func (ImageEditPanel) InitWithContentRectStyleMaskBackingDefer

func (i_ ImageEditPanel) InitWithContentRectStyleMaskBackingDefer(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool) ImageEditPanel

func (ImageEditPanel) InitWithContentRectStyleMaskBackingDeferScreen

func (i_ ImageEditPanel) InitWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool, screen appkit.IScreen) ImageEditPanel

func (ImageEditPanel) ReloadData

func (i_ ImageEditPanel) ReloadData()

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

func (ImageEditPanel) SetDataSource

func (i_ ImageEditPanel) SetDataSource(value PImageEditPanelDataSource)

Specifies the edit panel’s dataSource. Full Topic

func (ImageEditPanel) SetDataSourceObject

func (i_ ImageEditPanel) SetDataSourceObject(valueObject objc.IObject)

Specifies the edit panel’s dataSource. Full Topic

type ImageEditPanelDataSourceObject

type ImageEditPanelDataSourceObject struct {
	objc.Object
}

A concrete type for the PImageEditPanelDataSource protocol.

func (ImageEditPanelDataSourceObject) HasSetImageImageProperties

func (i_ ImageEditPanelDataSourceObject) HasSetImageImageProperties() bool

func (ImageEditPanelDataSourceObject) HasThumbnailWithMaximumSize

func (i_ ImageEditPanelDataSourceObject) HasThumbnailWithMaximumSize() bool

func (ImageEditPanelDataSourceObject) SetImageImageProperties

func (i_ ImageEditPanelDataSourceObject) SetImageImageProperties(image coregraphics.ImageRef, metaData foundation.Dictionary)

Sets an image with the specified properties. Full Topic

func (ImageEditPanelDataSourceObject) ThumbnailWithMaximumSize

func (i_ ImageEditPanelDataSourceObject) ThumbnailWithMaximumSize(size foundation.Size) coregraphics.ImageRef

Returns a thumbnail image whose size is no larger than the specified size. Full Topic

type ImageView

type ImageView struct {
	appkit.View
}

The IKImageView class provides an efficient way to display images in a view while at the same time supporting a number of image editing operations such as rotating, zooming, and cropping. It supports drag and drop for the NSFilenamesPboardType flavor so that the user can drag an image to the view. If possible, image rendering uses hardware acceleration to achieve optimal performance. The IKImageView class is implemented as a subclass of NSView. Similar to NSImageView, the IKImageView class is used to display a single image. Full Topic

func ImageViewFrom

func ImageViewFrom(ptr unsafe.Pointer) ImageView

func NewImageView

func NewImageView() ImageView

func NewImageViewWithFrame

func NewImageViewWithFrame(frameRect foundation.Rect) ImageView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func (ImageView) AutohidesScrollers

func (i_ ImageView) AutohidesScrollers() bool

Specifies the automatic-hiding scroll bar state for the image view. Full Topic

func (ImageView) Autoresizes

func (i_ ImageView) Autoresizes() bool

Specifies the automatic resizing state for the image view. Full Topic

func (ImageView) BackgroundColor

func (i_ ImageView) BackgroundColor() appkit.Color

Specifies the background color for the image view. Full Topic

func (ImageView) ConvertImagePointToViewPoint

func (i_ ImageView) ConvertImagePointToViewPoint(imagePoint foundation.Point) foundation.Point

Converts an image coordinate to an image view coordinate. Full Topic

func (ImageView) ConvertImageRectToViewRect

func (i_ ImageView) ConvertImageRectToViewRect(imageRect foundation.Rect) foundation.Rect

Converts an image rectangle to an image view rectangle. Full Topic

func (ImageView) ConvertViewPointToImagePoint

func (i_ ImageView) ConvertViewPointToImagePoint(viewPoint foundation.Point) foundation.Point

Converts an image view coordinate to an image coordinate. Full Topic

func (ImageView) ConvertViewRectToImageRect

func (i_ ImageView) ConvertViewRectToImageRect(viewRect foundation.Rect) foundation.Rect

Converts an image view rectangle to an image rectangle. Full Topic

func (ImageView) Crop

func (i_ ImageView) Crop(sender objc.IObject) objc.Object

Crops the image using the current selection. Full Topic

func (ImageView) CurrentToolMode

func (i_ ImageView) CurrentToolMode() string

Specifies the current tool mode for the image view. Full Topic

func (ImageView) Delegate

func (i_ ImageView) Delegate() objc.Object

Specifies the delegate object of the receiver. Full Topic

func (ImageView) DoubleClickOpensImageEditPanel

func (i_ ImageView) DoubleClickOpensImageEditPanel() bool

Specifies the image-opening state of the editing pane in the image view. Full Topic

func (ImageView) Editable

func (i_ ImageView) Editable() bool

Specifies the editable state for the image view. Full Topic

func (ImageView) FlipImageHorizontal

func (i_ ImageView) FlipImageHorizontal(sender objc.IObject) objc.Object

Flips an image along the horizontal axis. Full Topic

func (ImageView) FlipImageVertical

func (i_ ImageView) FlipImageVertical(sender objc.IObject) objc.Object

Flips an image along the vertical axis. Full Topic

func (ImageView) HasHorizontalScroller

func (i_ ImageView) HasHorizontalScroller() bool

Specifies the horizontal scroll bar state for the image view. Full Topic

func (ImageView) HasVerticalScroller

func (i_ ImageView) HasVerticalScroller() bool

Specifies the vertical scroll bar state for the image view. Full Topic

func (ImageView) Image

func (i_ ImageView) Image() coregraphics.ImageRef

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

func (ImageView) ImageCorrection

func (i_ ImageView) ImageCorrection() coreimage.Filter

Specifies a Core Image filter for image correction. Full Topic

func (ImageView) ImageProperties

func (i_ ImageView) ImageProperties() foundation.Dictionary

Returns the metadata for the image in the view. Full Topic

func (ImageView) ImageSize

func (i_ ImageView) ImageSize() foundation.Size

Returns the size of the image in the image view. Full Topic

func (ImageView) Init

func (i_ ImageView) Init() ImageView

func (ImageView) InitWithFrame

func (i_ ImageView) InitWithFrame(frameRect foundation.Rect) ImageView

func (ImageView) OverlayForType

func (i_ ImageView) OverlayForType(layerType string) quartzcore.Layer

Returns the Core Animation layer associated with a layer type. Full Topic

func (ImageView) RotateImageLeft

func (i_ ImageView) RotateImageLeft(sender objc.IObject) objc.Object

Rotates the image left (counter-clockwise). Full Topic

func (ImageView) RotateImageRight

func (i_ ImageView) RotateImageRight(sender objc.IObject) objc.Object

Rotates the image right (clockwise). Full Topic

func (ImageView) RotationAngle

func (i_ ImageView) RotationAngle() float64

Specifies the rotation angle for the image view. Full Topic

func (ImageView) ScrollToPoint

func (i_ ImageView) ScrollToPoint(point foundation.Point)

Scrolls the view to the specified point. Full Topic

func (ImageView) ScrollToRect

func (i_ ImageView) ScrollToRect(rect foundation.Rect)

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

func (ImageView) SetAutohidesScrollers

func (i_ ImageView) SetAutohidesScrollers(value bool)

Specifies the automatic-hiding scroll bar state for the image view. Full Topic

func (ImageView) SetAutoresizes

func (i_ ImageView) SetAutoresizes(value bool)

Specifies the automatic resizing state for the image view. Full Topic

func (ImageView) SetBackgroundColor

func (i_ ImageView) SetBackgroundColor(value appkit.IColor)

Specifies the background color for the image view. Full Topic

func (ImageView) SetCurrentToolMode

func (i_ ImageView) SetCurrentToolMode(value string)

Specifies the current tool mode for the image view. Full Topic

func (ImageView) SetDelegate

func (i_ ImageView) SetDelegate(value objc.IObject)

Specifies the delegate object of the receiver. Full Topic

func (ImageView) SetDoubleClickOpensImageEditPanel

func (i_ ImageView) SetDoubleClickOpensImageEditPanel(value bool)

Specifies the image-opening state of the editing pane in the image view. Full Topic

func (ImageView) SetEditable

func (i_ ImageView) SetEditable(value bool)

Specifies the editable state for the image view. Full Topic

func (ImageView) SetHasHorizontalScroller

func (i_ ImageView) SetHasHorizontalScroller(value bool)

Specifies the horizontal scroll bar state for the image view. Full Topic

func (ImageView) SetHasVerticalScroller

func (i_ ImageView) SetHasVerticalScroller(value bool)

Specifies the vertical scroll bar state for the image view. Full Topic

func (ImageView) SetImageCorrection

func (i_ ImageView) SetImageCorrection(value coreimage.IFilter)

Specifies a Core Image filter for image correction. Full Topic

func (ImageView) SetImageImageProperties

func (i_ ImageView) SetImageImageProperties(image coregraphics.ImageRef, metaData foundation.Dictionary)

Sets the image to display in an image view. Full Topic

func (ImageView) SetImageWithURL

func (i_ ImageView) SetImageWithURL(url foundation.IURL)

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

func (ImageView) SetImageZoomFactorCenterPoint

func (i_ ImageView) SetImageZoomFactorCenterPoint(zoomFactor float64, centerPoint foundation.Point)

Sets the zoom factor at the provided origin. Full Topic

func (ImageView) SetOverlayForType

func (i_ ImageView) SetOverlayForType(layer quartzcore.ILayer, layerType string)

Sets an overlay type for a Core Animation layer. Full Topic

func (ImageView) SetRotationAngle

func (i_ ImageView) SetRotationAngle(value float64)

Specifies the rotation angle for the image view. Full Topic

func (ImageView) SetRotationAngleCenterPoint

func (i_ ImageView) SetRotationAngleCenterPoint(rotationAngle float64, centerPoint foundation.Point)

Sets the rotation angle at the provided origin. Full Topic

func (ImageView) SetSupportsDragAndDrop

func (i_ ImageView) SetSupportsDragAndDrop(value bool)

Specifies the drag-and-drop support state for the image view. Full Topic

func (ImageView) SetZoomFactor

func (i_ ImageView) SetZoomFactor(value float64)

Specifies the zoom factor for the image view. Full Topic

func (ImageView) SupportsDragAndDrop

func (i_ ImageView) SupportsDragAndDrop() bool

Specifies the drag-and-drop support state for the image view. Full Topic

func (ImageView) ZoomFactor

func (i_ ImageView) ZoomFactor() float64

Specifies the zoom factor for the image view. Full Topic

func (ImageView) ZoomImageToActualSize

func (i_ ImageView) ZoomImageToActualSize(sender objc.IObject) objc.Object

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

func (ImageView) ZoomImageToFit

func (i_ ImageView) ZoomImageToFit(sender objc.IObject) objc.Object

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

func (ImageView) ZoomImageToRect

func (i_ ImageView) ZoomImageToRect(rect foundation.Rect)

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

func (ImageView) ZoomIn

func (i_ ImageView) ZoomIn(sender objc.IObject) objc.Object

Zooms the image in. Full Topic

func (ImageView) ZoomOut

func (i_ ImageView) ZoomOut(sender objc.IObject) objc.Object

Zooms the image out. Full Topic

type PCameraDeviceViewDelegate

type PCameraDeviceViewDelegate interface {
	// optional
	CameraDeviceViewDidEncounterError(cameraDeviceView CameraDeviceView, error foundation.Error)
	HasCameraDeviceViewDidEncounterError() bool

	// optional
	CameraDeviceViewDidDownloadFileLocationFileDataError(cameraDeviceView CameraDeviceView, file objc.Object, url foundation.URL, data []byte, error foundation.Error)
	HasCameraDeviceViewDidDownloadFileLocationFileDataError() bool

	// optional
	CameraDeviceViewSelectionDidChange(cameraDeviceView CameraDeviceView)
	HasCameraDeviceViewSelectionDidChange() bool
}

The IKCameraDeviceViewDelegate protocol is adopted by the delegate of the IKCameraDeviceView class. It allows downloading of camera content, handling selection changes, and handling errors. Full Topic

type PCompositionRenderer

type PCompositionRenderer interface {
}

The QCRenderer protocol defines the methods used to pass data to the input ports or retrieve data from the output ports of the root patch of a Quartz Composer composition. This protocol is adopted by the QCRenderer, QCView, and QCCompositionLayer classes. Full Topic

type PDeviceBrowserViewDelegate

type PDeviceBrowserViewDelegate interface {
	// optional
	DeviceBrowserViewDidEncounterError(deviceBrowserView DeviceBrowserView, error foundation.Error)
	HasDeviceBrowserViewDidEncounterError() bool
}

The IKDeviceBrowserViewDelegate defines the methods that the delegate of the IKDeviceBrowserView class can implement. All the methods are optional. Full Topic

type PFilterCustomUIProvider

type PFilterCustomUIProvider interface {
	// optional
	ProvideViewForUIConfigurationExcludedKeys(inUIConfiguration foundation.Dictionary, inKeys []objc.Object) FilterUIView
	HasProvideViewForUIConfigurationExcludedKeys() bool
}

The IKFilterCustomUIProvider protocol is an addition to the CIFilter class that defines a method for providing a view for a filter. This protocol is implemented by any filter that provides its own user interface. Full Topic

type PImageEditPanelDataSource

type PImageEditPanelDataSource interface {
	// optional
	SetImageImageProperties(image coregraphics.ImageRef, metaData foundation.Dictionary)
	HasSetImageImageProperties() bool

	// optional
	ThumbnailWithMaximumSize(size foundation.Size) coregraphics.ImageRef
	HasThumbnailWithMaximumSize() bool
}

The IKImageEditPanelDataSource protocol describes the methods that an IKImageEditPanel object uses to access the contents of its data source object. Full Topic

type PPlugInContext

type PPlugInContext interface {
}

The QCPlugInContext protocol defines methods that you use only from within the execution method (quartz/qcplugin/execute) of a QCPlugIn object. Full Topic

type PPlugInInputImageSource

type PPlugInInputImageSource interface {
}

The QCPlugInInputImageSource protocol eliminates the need to use explicit image types for the image input ports on your custom patch. Not only does using the protocol avoid restrictions of a specific image type, but it avoids impedance mismatches, and provides better performance by deferring pixel computation until it is needed. When you need to access the pixels in an image, you simply convert the image to a representation (texture or buffer) using one of the methods defined by the QCPlugInInputImageSource protocol. Use a texture representation when you want to use input images on the GPU. Use a buffer representation when you want to use input images on the CPU. Full Topic

type PPlugInOutputImageProvider

type PPlugInOutputImageProvider interface {
}

The QCPlugInOuputImageProvider protocol eliminates the need to use explicit image types for the image output ports on a custom patch. The methods in this protocol are called by the Quartz Composer engine when the output image is needed. If your custom patch has an image output port, you need to implement the appropriate methods for rendering image data and to supply information about the rendering destination and the image bounds. Full Topic

type PScannerDeviceViewDelegate

type PScannerDeviceViewDelegate interface {
	// optional
	ScannerDeviceViewDidScanToURLError(scannerDeviceView ScannerDeviceView, url foundation.URL, error foundation.Error)
	HasScannerDeviceViewDidScanToURLError() bool

	// optional
	ScannerDeviceViewDidEncounterError(scannerDeviceView ScannerDeviceView, error foundation.Error)
	HasScannerDeviceViewDidEncounterError() bool

	// optional
	ScannerDeviceViewDidScanToURLFileDataError(scannerDeviceView ScannerDeviceView, url foundation.URL, data []byte, error foundation.Error)
	HasScannerDeviceViewDidScanToURLFileDataError() bool

	// optional
	ScannerDeviceViewDidScanToBandDataScanInfoError(scannerDeviceView ScannerDeviceView, data objc.Object, scanInfo foundation.Dictionary, error foundation.Error)
	HasScannerDeviceViewDidScanToBandDataScanInfoError() bool
}

The IKScannerDeviceViewDelegate protocol defines the delegate protocol that the IKScannerDeviceView delegate must conform to. Full Topic

type PSlideshowDataSource

type PSlideshowDataSource interface {
	// optional
	NumberOfSlideshowItems() uint
	HasNumberOfSlideshowItems() bool

	// optional
	SlideshowWillStart()
	HasSlideshowWillStart() bool

	// optional
	NameOfSlideshowItemAtIndex(index uint) string
	HasNameOfSlideshowItemAtIndex() bool

	// optional
	CanExportSlideshowItemAtIndexToApplication(index uint, applicationBundleIdentifier string) bool
	HasCanExportSlideshowItemAtIndexToApplication() bool

	// optional
	SlideshowItemAtIndex(index uint) objc.Object
	HasSlideshowItemAtIndex() bool

	// optional
	SlideshowDidStop()
	HasSlideshowDidStop() bool

	// optional
	SlideshowDidChangeCurrentIndex(newIndex uint)
	HasSlideshowDidChangeCurrentIndex() bool
}

The IKSlideshowDataSource protocol describes the methods that an IKSlideshow object uses to access the contents of its data source object. Full Topic

type PatchController

type PatchController struct {
	appkit.Controller
}
[Full Topic]

func NewPatchController

func NewPatchController() PatchController

func PatchControllerFrom

func PatchControllerFrom(ptr unsafe.Pointer) PatchController

func (PatchController) Init

func (p_ PatchController) Init() PatchController

type PictureTaker

type PictureTaker struct {
	appkit.Panel
}

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. Full Topic

func NewPictureTaker

func NewPictureTaker() PictureTaker

func NewPictureTakerWithContentRectStyleMaskBackingDefer

func NewPictureTakerWithContentRectStyleMaskBackingDefer(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool) PictureTaker

Initializes the window with the specified values. Full Topic

func NewPictureTakerWithContentRectStyleMaskBackingDeferScreen

func NewPictureTakerWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool, screen appkit.IScreen) PictureTaker

Initializes an allocated window with the specified values. Full Topic

func PictureTakerFrom

func PictureTakerFrom(ptr unsafe.Pointer) PictureTaker

func PictureTaker_PictureTaker

func PictureTaker_PictureTaker() PictureTaker

Returns a shared IKPictureTaker instance, creating it if necessary. Full Topic

func PictureTaker_WindowWithContentViewController

func PictureTaker_WindowWithContentViewController(contentViewController appkit.IViewController) PictureTaker

Creates a titled window that contains the specified content view controller. Full Topic

func (PictureTaker) BeginPictureTakerSheetForWindowWithDelegateDidEndSelectorContextInfo

func (p_ PictureTaker) BeginPictureTakerSheetForWindowWithDelegateDidEndSelectorContextInfo(aWindow appkit.IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

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

func (PictureTaker) BeginPictureTakerWithDelegateDidEndSelectorContextInfo

func (p_ PictureTaker) BeginPictureTakerWithDelegateDidEndSelectorContextInfo(delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

Opens a picture taker pane. Full Topic

func (PictureTaker) Init

func (p_ PictureTaker) Init() PictureTaker

func (PictureTaker) InitWithContentRectStyleMaskBackingDefer

func (p_ PictureTaker) InitWithContentRectStyleMaskBackingDefer(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool) PictureTaker

func (PictureTaker) InitWithContentRectStyleMaskBackingDeferScreen

func (p_ PictureTaker) InitWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style appkit.WindowStyleMask, backingStoreType appkit.BackingStoreType, flag bool, screen appkit.IScreen) PictureTaker

func (PictureTaker) InputImage

func (p_ PictureTaker) InputImage() appkit.Image

Returns the input image associated with the picture taker. Full Topic

func (PictureTaker) Mirroring

func (p_ PictureTaker) Mirroring() bool

Returns whether video mirroring is enabled during snapshots. Full Topic

func (PictureTaker) OutputImage

func (p_ PictureTaker) OutputImage() appkit.Image

Returns the edited image. Full Topic

func (PictureTaker) PopUpRecentsMenuForViewWithDelegateDidEndSelectorContextInfo

func (p_ PictureTaker) PopUpRecentsMenuForViewWithDelegateDidEndSelectorContextInfo(aView appkit.IView, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

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

func (PictureTaker) RunModal

func (p_ PictureTaker) RunModal() int

Opens a modal picture taker dialog. Full Topic

func (PictureTaker) SetInputImage

func (p_ PictureTaker) SetInputImage(image appkit.IImage)

Set the image input for the picture taker. Full Topic

func (PictureTaker) SetMirroring

func (p_ PictureTaker) SetMirroring(b bool)

Controls whether the receiver enables video mirroring during snapshots. Full Topic

type PlugIn

type PlugIn struct {
	objc.Object
}

The QCPlugIn class provides the base class to subclass for writing custom Quartz Composer patches. You implement a custom patch by subclassing QCPlugIn, overriding the appropriate methods, packaging the code as an NSBundle object, and installing the bundle in the appropriate location. A bundle can contain more than one subclass of QCPlugIn, allowing you to provide a suite of custom patches in one bundle. [devLink-1733122] provides detailed instructions on how to create and package a custom patch. QCPlugIn Class Reference supplements the information in the programming guide. Full Topic

func NewPlugIn

func NewPlugIn() PlugIn

func PlugInFrom

func PlugInFrom(ptr unsafe.Pointer) PlugIn

func (PlugIn) Init

func (p_ PlugIn) Init() PlugIn

type PlugInBufferReleaseCallback

type PlugInBufferReleaseCallback = func(address unsafe.Pointer, context unsafe.Pointer)
[Full Topic]

type PlugInContextObject

type PlugInContextObject struct {
	objc.Object
}

A concrete type for the PPlugInContext protocol.

type PlugInExecutionMode

type PlugInExecutionMode int

Execution modes for custom patches. Full Topic

const (
	KPlugInExecutionModeConsumer  PlugInExecutionMode = 3
	KPlugInExecutionModeProcessor PlugInExecutionMode = 2
	KPlugInExecutionModeProvider  PlugInExecutionMode = 1
)

type PlugInInputImageSourceObject

type PlugInInputImageSourceObject struct {
	objc.Object
}

A concrete type for the PPlugInInputImageSource protocol.

type PlugInOutputImageProviderObject

type PlugInOutputImageProviderObject struct {
	objc.Object
}

A concrete type for the PPlugInOutputImageProvider protocol.

type PlugInTextureReleaseCallback

type PlugInTextureReleaseCallback = func(cgl_ctx objc.Object, name objc.Object, context unsafe.Pointer)
[Full Topic]

type PlugInTimeMode

type PlugInTimeMode int

Time modes for custom patches. Full Topic

const (
	KPlugInTimeModeIdle     PlugInTimeMode = 1
	KPlugInTimeModeNone     PlugInTimeMode = 0
	KPlugInTimeModeTimeBase PlugInTimeMode = 2
)

type PlugInViewController

type PlugInViewController struct {
	appkit.ViewController
}

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. Full Topic

func NewPlugInViewController

func NewPlugInViewController() PlugInViewController

func NewPlugInViewControllerWithNibNameBundle

func NewPlugInViewControllerWithNibNameBundle(nibNameOrNil appkit.NibName, nibBundleOrNil foundation.IBundle) PlugInViewController

Returns a view controller object initialized to the nib file in the specified bundle. Full Topic

func PlugInViewControllerFrom

func PlugInViewControllerFrom(ptr unsafe.Pointer) PlugInViewController

func (PlugInViewController) Init

func (PlugInViewController) InitWithNibNameBundle

func (p_ PlugInViewController) InitWithNibNameBundle(nibNameOrNil appkit.NibName, nibBundleOrNil foundation.IBundle) PlugInViewController

type QuartzFilter

type QuartzFilter struct {
	objc.Object
}
[Full Topic]

func NewQuartzFilter

func NewQuartzFilter() QuartzFilter

func QuartzFilterFrom

func QuartzFilterFrom(ptr unsafe.Pointer) QuartzFilter

func QuartzFilter_QuartzFilterWithOutputIntents

func QuartzFilter_QuartzFilterWithOutputIntents(outputIntents []objc.IObject) QuartzFilter
[Full Topic]

func QuartzFilter_QuartzFilterWithProperties

func QuartzFilter_QuartzFilterWithProperties(properties foundation.Dictionary) QuartzFilter
[Full Topic]

func QuartzFilter_QuartzFilterWithURL

func QuartzFilter_QuartzFilterWithURL(aURL foundation.IURL) QuartzFilter
[Full Topic]

func (QuartzFilter) ApplyToContext

func (q_ QuartzFilter) ApplyToContext(aContext coregraphics.ContextRef) bool
[Full Topic]

func (QuartzFilter) Init

func (q_ QuartzFilter) Init() QuartzFilter

func (QuartzFilter) LocalizedName

func (q_ QuartzFilter) LocalizedName() string
[Full Topic]

func (QuartzFilter) Properties

func (q_ QuartzFilter) Properties() foundation.Dictionary
[Full Topic]

func (QuartzFilter) RemoveFromContext

func (q_ QuartzFilter) RemoveFromContext(aContext coregraphics.ContextRef)
[Full Topic]

func (QuartzFilter) Url

func (q_ QuartzFilter) Url() foundation.URL
[Full Topic]

type QuartzFilterManager

type QuartzFilterManager struct {
	objc.Object
}
[Full Topic]

func NewQuartzFilterManager

func NewQuartzFilterManager() QuartzFilterManager

func QuartzFilterManagerFrom

func QuartzFilterManagerFrom(ptr unsafe.Pointer) QuartzFilterManager

func QuartzFilterManager_FilterManager

func QuartzFilterManager_FilterManager() QuartzFilterManager
[Full Topic]

func (QuartzFilterManager) Delegate

func (q_ QuartzFilterManager) Delegate() objc.Object
[Full Topic]

func (QuartzFilterManager) FilterPanel

func (q_ QuartzFilterManager) FilterPanel() appkit.Panel
[Full Topic]

func (QuartzFilterManager) FilterView

func (q_ QuartzFilterManager) FilterView() QuartzFilterView
[Full Topic]

func (QuartzFilterManager) ImportFilter

func (q_ QuartzFilterManager) ImportFilter(filterProperties foundation.Dictionary) QuartzFilter
[Full Topic]

func (QuartzFilterManager) Init

func (QuartzFilterManager) SelectFilter

func (q_ QuartzFilterManager) SelectFilter(filter IQuartzFilter) bool
[Full Topic]

func (QuartzFilterManager) SelectedFilter

func (q_ QuartzFilterManager) SelectedFilter() QuartzFilter
[Full Topic]

func (QuartzFilterManager) SetDelegate

func (q_ QuartzFilterManager) SetDelegate(aDelegate objc.IObject)
[Full Topic]

type QuartzFilterView

type QuartzFilterView struct {
	appkit.View
}
[Full Topic]

func NewQuartzFilterView

func NewQuartzFilterView() QuartzFilterView

func NewQuartzFilterViewWithFrame

func NewQuartzFilterViewWithFrame(frameRect foundation.Rect) QuartzFilterView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func QuartzFilterViewFrom

func QuartzFilterViewFrom(ptr unsafe.Pointer) QuartzFilterView

func (QuartzFilterView) Init

func (QuartzFilterView) InitWithFrame

func (q_ QuartzFilterView) InitWithFrame(frameRect foundation.Rect) QuartzFilterView

func (QuartzFilterView) SizeToFit

func (q_ QuartzFilterView) SizeToFit()
[Full Topic]

type Renderer

type Renderer struct {
	objc.Object
}

A QCRenderer class is designed for low-level rendering of Quartz Composer compositions. This is the class to use if you want to be in charge of rendering a composition to a specific OpenGL context—either using the NSOpenGLContext class or a CGLContextObj object. QCRenderer also allows you to load, play, and control a composition. Full Topic

func NewRenderer

func NewRenderer() Renderer

func RendererFrom

func RendererFrom(ptr unsafe.Pointer) Renderer

func (Renderer) Init

func (r_ Renderer) Init() Renderer

type SaveOptions

type SaveOptions struct {
	objc.Object
}

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

func NewSaveOptions

func NewSaveOptions() SaveOptions

func NewSaveOptionsWithImagePropertiesImageUTType

func NewSaveOptionsWithImagePropertiesImageUTType(imageProperties foundation.Dictionary, imageUTType string) SaveOptions

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

func SaveOptionsFrom

func SaveOptionsFrom(ptr unsafe.Pointer) SaveOptions

func (SaveOptions) AddSaveOptionsAccessoryViewToSavePanel

func (s_ SaveOptions) AddSaveOptionsAccessoryViewToSavePanel(savePanel appkit.ISavePanel)

Adds IKSaveOptions accessory view to a NSSavePanel. Full Topic

func (SaveOptions) AddSaveOptionsToView

func (s_ SaveOptions) AddSaveOptionsToView(view appkit.IView)
[Full Topic]

func (SaveOptions) Delegate

func (s_ SaveOptions) Delegate() objc.Object

Specifies the delegate object. Full Topic

func (SaveOptions) ImageProperties

func (s_ SaveOptions) ImageProperties() foundation.Dictionary

Returns a dictionary of updated image properties that reflects the user’s selection. Full Topic

func (SaveOptions) ImageUTType

func (s_ SaveOptions) ImageUTType() string

Returns the uniform type identifier that reflects the user’s selection. Full Topic

func (SaveOptions) Init

func (s_ SaveOptions) Init() SaveOptions

func (SaveOptions) InitWithImagePropertiesImageUTType

func (s_ SaveOptions) InitWithImagePropertiesImageUTType(imageProperties foundation.Dictionary, imageUTType string) SaveOptions

func (SaveOptions) RememberLastSetting

func (s_ SaveOptions) RememberLastSetting() bool
[Full Topic]

func (SaveOptions) SetDelegate

func (s_ SaveOptions) SetDelegate(value objc.IObject)

Specifies the delegate object. Full Topic

func (SaveOptions) SetRememberLastSetting

func (s_ SaveOptions) SetRememberLastSetting(value bool)
[Full Topic]

func (SaveOptions) UserSelection

func (s_ SaveOptions) UserSelection() foundation.Dictionary

Returns a dictionary that contains the save options selected by the user. Full Topic

type ScannerDeviceView

type ScannerDeviceView struct {
	appkit.View
}

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. Full Topic

func NewScannerDeviceView

func NewScannerDeviceView() ScannerDeviceView

func NewScannerDeviceViewWithFrame

func NewScannerDeviceViewWithFrame(frameRect foundation.Rect) ScannerDeviceView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func ScannerDeviceViewFrom

func ScannerDeviceViewFrom(ptr unsafe.Pointer) ScannerDeviceView

func (ScannerDeviceView) Delegate

The scanner device delegate Full Topic

func (ScannerDeviceView) DisplaysDownloadsDirectoryControl

func (s_ ScannerDeviceView) DisplaysDownloadsDirectoryControl() bool

Determines whether the downloads directory control is displayed. Full Topic

func (ScannerDeviceView) DisplaysPostProcessApplicationControl

func (s_ ScannerDeviceView) DisplaysPostProcessApplicationControl() bool

Specifies whether the post processing application control is displayed. Full Topic

func (ScannerDeviceView) DocumentName

func (s_ ScannerDeviceView) DocumentName() string

Returns the document name. Full Topic

func (ScannerDeviceView) DownloadsDirectory

func (s_ ScannerDeviceView) DownloadsDirectory() foundation.URL

The directory where scans are saved. Full Topic

func (ScannerDeviceView) HasDisplayModeAdvanced

func (s_ ScannerDeviceView) HasDisplayModeAdvanced() bool

The property that determines whether the scanner view uses the advanced display mode. Full Topic

func (ScannerDeviceView) HasDisplayModeSimple

func (s_ ScannerDeviceView) HasDisplayModeSimple() bool

The property that determines whether the scanner view uses the simple display mode. Full Topic

func (ScannerDeviceView) Init

func (ScannerDeviceView) InitWithFrame

func (s_ ScannerDeviceView) InitWithFrame(frameRect foundation.Rect) ScannerDeviceView

func (ScannerDeviceView) Mode

The display mode used by the device view. Full Topic

func (ScannerDeviceView) OverviewControlLabel

func (s_ ScannerDeviceView) OverviewControlLabel() string

Allows customization of the “Overview” label. Full Topic

func (ScannerDeviceView) PostProcessApplication

func (s_ ScannerDeviceView) PostProcessApplication() foundation.URL

The URL of the application to use for post processing of the scan. Full Topic

func (ScannerDeviceView) ScanControlLabel

func (s_ ScannerDeviceView) ScanControlLabel() string

Allows customization of the “Scan” label. Full Topic

func (ScannerDeviceView) SetDelegate

func (s_ ScannerDeviceView) SetDelegate(value PScannerDeviceViewDelegate)

The scanner device delegate Full Topic

func (ScannerDeviceView) SetDelegateObject

func (s_ ScannerDeviceView) SetDelegateObject(valueObject objc.IObject)

The scanner device delegate Full Topic

func (ScannerDeviceView) SetDisplaysDownloadsDirectoryControl

func (s_ ScannerDeviceView) SetDisplaysDownloadsDirectoryControl(value bool)

Determines whether the downloads directory control is displayed. Full Topic

func (ScannerDeviceView) SetDisplaysPostProcessApplicationControl

func (s_ ScannerDeviceView) SetDisplaysPostProcessApplicationControl(value bool)

Specifies whether the post processing application control is displayed. Full Topic

func (ScannerDeviceView) SetDocumentName

func (s_ ScannerDeviceView) SetDocumentName(value string)

Returns the document name. Full Topic

func (ScannerDeviceView) SetDownloadsDirectory

func (s_ ScannerDeviceView) SetDownloadsDirectory(value foundation.IURL)

The directory where scans are saved. Full Topic

func (ScannerDeviceView) SetHasDisplayModeAdvanced

func (s_ ScannerDeviceView) SetHasDisplayModeAdvanced(value bool)

The property that determines whether the scanner view uses the advanced display mode. Full Topic

func (ScannerDeviceView) SetHasDisplayModeSimple

func (s_ ScannerDeviceView) SetHasDisplayModeSimple(value bool)

The property that determines whether the scanner view uses the simple display mode. Full Topic

func (ScannerDeviceView) SetMode

The display mode used by the device view. Full Topic

func (ScannerDeviceView) SetOverviewControlLabel

func (s_ ScannerDeviceView) SetOverviewControlLabel(value string)

Allows customization of the “Overview” label. Full Topic

func (ScannerDeviceView) SetPostProcessApplication

func (s_ ScannerDeviceView) SetPostProcessApplication(value foundation.IURL)

The URL of the application to use for post processing of the scan. Full Topic

func (ScannerDeviceView) SetScanControlLabel

func (s_ ScannerDeviceView) SetScanControlLabel(value string)

Allows customization of the “Scan” label. Full Topic

func (ScannerDeviceView) SetTransferMode

func (s_ ScannerDeviceView) SetTransferMode(value ScannerDeviceViewTransferMode)

Determines how the scanned content is provided to the delegate. Full Topic

func (ScannerDeviceView) TransferMode

Determines how the scanned content is provided to the delegate. Full Topic

type ScannerDeviceViewDelegate

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

A delegate implementation builder for the PScannerDeviceViewDelegate protocol.

func (*ScannerDeviceViewDelegate) HasScannerDeviceViewDidEncounterError

func (di *ScannerDeviceViewDelegate) HasScannerDeviceViewDidEncounterError() bool

func (*ScannerDeviceViewDelegate) HasScannerDeviceViewDidScanToBandDataScanInfoError

func (di *ScannerDeviceViewDelegate) HasScannerDeviceViewDidScanToBandDataScanInfoError() bool

func (*ScannerDeviceViewDelegate) HasScannerDeviceViewDidScanToURLError

func (di *ScannerDeviceViewDelegate) HasScannerDeviceViewDidScanToURLError() bool

func (*ScannerDeviceViewDelegate) HasScannerDeviceViewDidScanToURLFileDataError

func (di *ScannerDeviceViewDelegate) HasScannerDeviceViewDidScanToURLFileDataError() bool

func (*ScannerDeviceViewDelegate) ScannerDeviceViewDidEncounterError

func (di *ScannerDeviceViewDelegate) ScannerDeviceViewDidEncounterError(scannerDeviceView ScannerDeviceView, error foundation.Error)

Invoked whenever the scanner encounters an error. Full Topic

func (*ScannerDeviceViewDelegate) ScannerDeviceViewDidScanToBandDataScanInfoError

func (di *ScannerDeviceViewDelegate) ScannerDeviceViewDidScanToBandDataScanInfoError(scannerDeviceView ScannerDeviceView, data objc.Object, scanInfo foundation.Dictionary, error foundation.Error)
[Full Topic]

func (*ScannerDeviceViewDelegate) ScannerDeviceViewDidScanToURLError

func (di *ScannerDeviceViewDelegate) ScannerDeviceViewDidScanToURLError(scannerDeviceView ScannerDeviceView, url foundation.URL, error foundation.Error)
[Full Topic]

func (*ScannerDeviceViewDelegate) ScannerDeviceViewDidScanToURLFileDataError

func (di *ScannerDeviceViewDelegate) ScannerDeviceViewDidScanToURLFileDataError(scannerDeviceView ScannerDeviceView, url foundation.URL, data []byte, error foundation.Error)

Invoked when the scan has completed and the data is available. Full Topic

func (*ScannerDeviceViewDelegate) SetScannerDeviceViewDidEncounterError

func (di *ScannerDeviceViewDelegate) SetScannerDeviceViewDidEncounterError(f func(scannerDeviceView ScannerDeviceView, error foundation.Error))

Invoked whenever the scanner encounters an error. Full Topic

func (*ScannerDeviceViewDelegate) SetScannerDeviceViewDidScanToBandDataScanInfoError

func (di *ScannerDeviceViewDelegate) SetScannerDeviceViewDidScanToBandDataScanInfoError(f func(scannerDeviceView ScannerDeviceView, data objc.Object, scanInfo foundation.Dictionary, error foundation.Error))
[Full Topic]

func (*ScannerDeviceViewDelegate) SetScannerDeviceViewDidScanToURLError

func (di *ScannerDeviceViewDelegate) SetScannerDeviceViewDidScanToURLError(f func(scannerDeviceView ScannerDeviceView, url foundation.URL, error foundation.Error))
[Full Topic]

func (*ScannerDeviceViewDelegate) SetScannerDeviceViewDidScanToURLFileDataError

func (di *ScannerDeviceViewDelegate) SetScannerDeviceViewDidScanToURLFileDataError(f func(scannerDeviceView ScannerDeviceView, url foundation.URL, data []byte, error foundation.Error))

Invoked when the scan has completed and the data is available. Full Topic

type ScannerDeviceViewDelegateObject

type ScannerDeviceViewDelegateObject struct {
	objc.Object
}

A concrete type for the PScannerDeviceViewDelegate protocol.

func (ScannerDeviceViewDelegateObject) HasScannerDeviceViewDidEncounterError

func (s_ ScannerDeviceViewDelegateObject) HasScannerDeviceViewDidEncounterError() bool

func (ScannerDeviceViewDelegateObject) HasScannerDeviceViewDidScanToBandDataScanInfoError

func (s_ ScannerDeviceViewDelegateObject) HasScannerDeviceViewDidScanToBandDataScanInfoError() bool

func (ScannerDeviceViewDelegateObject) HasScannerDeviceViewDidScanToURLError

func (s_ ScannerDeviceViewDelegateObject) HasScannerDeviceViewDidScanToURLError() bool

func (ScannerDeviceViewDelegateObject) HasScannerDeviceViewDidScanToURLFileDataError

func (s_ ScannerDeviceViewDelegateObject) HasScannerDeviceViewDidScanToURLFileDataError() bool

func (ScannerDeviceViewDelegateObject) ScannerDeviceViewDidEncounterError

func (s_ ScannerDeviceViewDelegateObject) ScannerDeviceViewDidEncounterError(scannerDeviceView ScannerDeviceView, error foundation.Error)

Invoked whenever the scanner encounters an error. Full Topic

func (ScannerDeviceViewDelegateObject) ScannerDeviceViewDidScanToBandDataScanInfoError

func (s_ ScannerDeviceViewDelegateObject) ScannerDeviceViewDidScanToBandDataScanInfoError(scannerDeviceView ScannerDeviceView, data objc.Object, scanInfo foundation.Dictionary, error foundation.Error)
[Full Topic]

func (ScannerDeviceViewDelegateObject) ScannerDeviceViewDidScanToURLError

func (s_ ScannerDeviceViewDelegateObject) ScannerDeviceViewDidScanToURLError(scannerDeviceView ScannerDeviceView, url foundation.URL, error foundation.Error)
[Full Topic]

func (ScannerDeviceViewDelegateObject) ScannerDeviceViewDidScanToURLFileDataError

func (s_ ScannerDeviceViewDelegateObject) ScannerDeviceViewDidScanToURLFileDataError(scannerDeviceView ScannerDeviceView, url foundation.URL, data []byte, error foundation.Error)

Invoked when the scan has completed and the data is available. Full Topic

type ScannerDeviceViewDisplayMode

type ScannerDeviceViewDisplayMode int

These constants specify the display mode the scanner view will use. They are used by the quartz/ikscannerdeviceview/mode property. Full Topic

const (
	ScannerDeviceViewDisplayModeAdvanced ScannerDeviceViewDisplayMode = 1
	ScannerDeviceViewDisplayModeNone     ScannerDeviceViewDisplayMode = -1
	ScannerDeviceViewDisplayModeSimple   ScannerDeviceViewDisplayMode = 0
)

type ScannerDeviceViewTransferMode

type ScannerDeviceViewTransferMode int

These constants determine how the scanner data is returned to the delegate. They are used by the quartz/ikscannerdeviceview/transfermode property. Full Topic

const (
	ScannerDeviceViewTransferModeFileBased   ScannerDeviceViewTransferMode = 0
	ScannerDeviceViewTransferModeMemoryBased ScannerDeviceViewTransferMode = 1
)

type Slideshow

type Slideshow struct {
	objc.Object
}

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

func NewSlideshow

func NewSlideshow() Slideshow

func SlideshowFrom

func SlideshowFrom(ptr unsafe.Pointer) Slideshow

func Slideshow_SharedSlideshow

func Slideshow_SharedSlideshow() Slideshow

Returns a shared instance of a slideshow. Full Topic

func (Slideshow) AutoPlayDelay

func (s_ Slideshow) AutoPlayDelay() foundation.TimeInterval

Controls the interval of time before a slideshow starts to play automatically. Full Topic

func (Slideshow) IndexOfCurrentSlideshowItem

func (s_ Slideshow) IndexOfCurrentSlideshowItem() uint

Returns the index of the current slideshow item. Full Topic

func (Slideshow) Init

func (s_ Slideshow) Init() Slideshow

func (Slideshow) ReloadData

func (s_ Slideshow) ReloadData()

Reloads the data for a slideshow. Full Topic

func (Slideshow) ReloadSlideshowItemAtIndex

func (s_ Slideshow) ReloadSlideshowItemAtIndex(index uint)

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

func (Slideshow) RunSlideshowWithDataSourceInModeOptions

func (s_ Slideshow) RunSlideshowWithDataSourceInModeOptions(dataSource PSlideshowDataSource, slideshowMode string, slideshowOptions foundation.Dictionary)

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

func (Slideshow) RunSlideshowWithDataSourceObjectInModeOptions

func (s_ Slideshow) RunSlideshowWithDataSourceObjectInModeOptions(dataSourceObject objc.IObject, slideshowMode string, slideshowOptions foundation.Dictionary)

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

func (Slideshow) SetAutoPlayDelay

func (s_ Slideshow) SetAutoPlayDelay(value foundation.TimeInterval)

Controls the interval of time before a slideshow starts to play automatically. Full Topic

func (Slideshow) StopSlideshow

func (s_ Slideshow) StopSlideshow(sender objc.IObject)

Stops a slideshow. Full Topic

type SlideshowDataSourceObject

type SlideshowDataSourceObject struct {
	objc.Object
}

A concrete type for the PSlideshowDataSource protocol.

func (SlideshowDataSourceObject) CanExportSlideshowItemAtIndexToApplication

func (s_ SlideshowDataSourceObject) CanExportSlideshowItemAtIndexToApplication(index uint, applicationBundleIdentifier string) bool

Reports whether the export button should be enabled for a slideshow item. Full Topic

func (SlideshowDataSourceObject) HasCanExportSlideshowItemAtIndexToApplication

func (s_ SlideshowDataSourceObject) HasCanExportSlideshowItemAtIndexToApplication() bool

func (SlideshowDataSourceObject) HasNameOfSlideshowItemAtIndex

func (s_ SlideshowDataSourceObject) HasNameOfSlideshowItemAtIndex() bool

func (SlideshowDataSourceObject) HasNumberOfSlideshowItems

func (s_ SlideshowDataSourceObject) HasNumberOfSlideshowItems() bool

func (SlideshowDataSourceObject) HasSlideshowDidChangeCurrentIndex

func (s_ SlideshowDataSourceObject) HasSlideshowDidChangeCurrentIndex() bool

func (SlideshowDataSourceObject) HasSlideshowDidStop

func (s_ SlideshowDataSourceObject) HasSlideshowDidStop() bool

func (SlideshowDataSourceObject) HasSlideshowItemAtIndex

func (s_ SlideshowDataSourceObject) HasSlideshowItemAtIndex() bool

func (SlideshowDataSourceObject) HasSlideshowWillStart

func (s_ SlideshowDataSourceObject) HasSlideshowWillStart() bool

func (SlideshowDataSourceObject) NameOfSlideshowItemAtIndex

func (s_ SlideshowDataSourceObject) NameOfSlideshowItemAtIndex(index uint) string

Returns the display name for item at the specified index. Full Topic

func (SlideshowDataSourceObject) NumberOfSlideshowItems

func (s_ SlideshowDataSourceObject) NumberOfSlideshowItems() uint

Returns the number of items in a slideshow. Full Topic

func (SlideshowDataSourceObject) SlideshowDidChangeCurrentIndex

func (s_ SlideshowDataSourceObject) SlideshowDidChangeCurrentIndex(newIndex uint)

Performs custom tasks when the slideshow changes to the item at the specified index. Full Topic

func (SlideshowDataSourceObject) SlideshowDidStop

func (s_ SlideshowDataSourceObject) SlideshowDidStop()

Performs custom tasks when the slideshow stops. Full Topic

func (SlideshowDataSourceObject) SlideshowItemAtIndex

func (s_ SlideshowDataSourceObject) SlideshowItemAtIndex(index uint) objc.Object

Returns the item for a given index Full Topic

func (SlideshowDataSourceObject) SlideshowWillStart

func (s_ SlideshowDataSourceObject) SlideshowWillStart()

Performs custom tasks when the slideshow is about to start. Full Topic

type View

type View struct {
	appkit.View
}

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. Full Topic

func NewView

func NewView() View

func NewViewWithFrame

func NewViewWithFrame(frameRect foundation.Rect) View

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func ViewFrom

func ViewFrom(ptr unsafe.Pointer) View

func (View) Init

func (v_ View) Init() View

func (View) InitWithFrame

func (v_ View) InitWithFrame(frameRect foundation.Rect) View

Jump to

Keyboard shortcuts

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