| Framework | System/Library/Frameworks/Quartz.framework/ImageKit.framework |
| Availability | Available in Mac OS X v10.5 and later. |
| Companion guide | |
| Declared in | IKImageEditPanel.h |
The IKImageEditPanelDataSource protocol describes the methods that an IKImageEditPanel object uses to access the contents of its data source object.
– imageProperties
– setImage:imageProperties: required method
– image required method
– thumbnailWithMaximumSize:
Returns whether the adjust mode view tab should be displayed.
- (BOOL)hasAdjustMode
YES if the tab should be displayed, otherwise NO.
IKImageEditPanel.hReturns whether the details mode view tab should be displayed.
- (BOOL)hasDetailsMode
YES if the tab should be displayed, otherwise NO.
IKImageEditPanel.hReturns whether the effects mode view tab should be displayed.
- (BOOL)hasEffectsMode
YES if the tab should be displayed, otherwise NO.
IKImageEditPanel.hReturns an image. (required)
- (CGImageRef)image
An image.
Your data source must implement this method.
IKImageEditPanel.hReturns a dictionary of the image properties associated with the image in the image edit panel.
- (NSDictionary *)imageProperties
A dictionary that contains the properties of the image.
– setImage:imagePropertiesIKImageEditPanel.hSets an image with the specified properties. (required)
- (void)setImage:(CGImageRef)image imageProperties:(NSDictionary *)metaData
Your data source must implement this method.
– imagePropertiesIKImageEditPanel.hReturns a thumbnail image whose size is no larger than the specified size.
- (CGImageRef)thumbnailWithMaximumSize:(NSSize)size
An image.
IKImageEditPanel.h© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-08-25)