4 * Cell used by the ITImageView control.
6 * Original Author : Matthew Judy <mjudy@ithinksw.com>
7 * Responsibility : Matthew Judy <mjudy@ithinksw.com>
9 * Copyright (c) 2003 iThink Software.
15 #import <Cocoa/Cocoa.h>
18 @interface ITImageCell : NSImageCell {
24 float shadowElevation;
29 float shadowSaturation;
32 - (BOOL)scalesSmoothly;
33 - (void)setScalesSmoothly:(BOOL)flag;
36 - (void)setCastsShadow:(BOOL)newSetting;
38 - (float)shadowElevation; /* Light source elevation in degrees. Defaults to 45.0 */
39 - (void)setShadowElevation:(float)newElevation;
41 - (float)shadowAzimuth; /* Light source azimuth in degrees. Defaults to 90.0 */
42 - (void)setShadowAzimuth:(float)newAzimuth;
44 - (float)shadowAmbient; /* Amount of ambient light. Defaults to 0.15 */
45 - (void)setShadowAmbient:(float)newAmbient;
47 - (float)shadowHeight; /* Height above the canvas. Defaults to 1.0 */
48 - (void)setShadowHeight:(float)newHeight;
50 - (float)shadowRadius; /* Blur radius. Defaults to 4.0 */
51 - (void)setShadowRadius:(float)newRadius;
53 - (float)shadowSaturation; /* Maximum saturation. Defaults to 1.0 */
54 - (void)setShadowSaturation:(float)newSaturation;