Next Page > Hide TOC

IKImageEditPanelDataSource Protocol Reference

Framework
System/Library/Frameworks/Quartz.framework/ImageKit.framework
Availability
Available in Mac OS X v10.5 and later.
Declared in
IKImageEditPanel.h

Overview

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

Tasks

Getting and Setting Image Properties

Getting Images From the Data Source

Instance Methods

image

Returns an image.

- (CGImageRef)image;

Return Value

An image.

Discussion

Your data source must implement this method.

Availability
Declared In
IKImageEditPanel.h

imageProperties

Returns a dictionary of the image properties associated with the image in the image edit panel.

- (NSDictionary*)imageProperties;

Return Value

A dictionary that contains the properties of the image.

Discussion

This method is optional.

Availability
See Also
Declared In
IKImageEditPanel.h

setImage:imageProperties:

Sets an image with the specified properties.

- (void)setImage: (CGImageRef)image imageProperties: (NSDictionary*)metaData;

Discussion

Your data source must implement this method.

Availability
See Also
Declared In
IKImageEditPanel.h

thumbnailWithMaximumSize:

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

- (CGImageRef)thumbnailWithMaximumSize: (NSSize)size;

Return Value

An image.

Discussion

This method is optional.

Availability
Declared In
IKImageEditPanel.h

Next Page > Hide TOC


© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-12-06)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.