Removing the use of private CoreGraphics APIs to draw shadows, and replacing with...
[ITKit.git] / ITImageView.h
1 /*
2  *      ITKit
3  *      ITImageView.h
4  *
5  *      Custom NSImageView subclass that uses ITImageCell.
6  *
7  *      Copyright (c) 2005 iThink Software
8  *
9  */
10
11 #import <Cocoa/Cocoa.h>
12
13 @interface ITImageView : NSImageView {
14
15 }
16
17 - (BOOL)scalesSmoothly;
18 - (void)setScalesSmoothly:(BOOL)flag;
19
20 - (BOOL)castsShadow;
21 - (void)setCastsShadow:(BOOL)newSetting;
22
23 - (float)shadowElevation; /* Light source elevation in degrees. Defaults to 45.0 */
24 - (void)setShadowElevation:(float)newElevation;
25
26 - (float)shadowAzimuth; /* Light source azimuth in degrees. Defaults to 90.0 */
27 - (void)setShadowAzimuth:(float)newAzimuth;
28
29 - (float)shadowAmbient; /* Amount of ambient light. Defaults to 0.15 */
30 - (void)setShadowAmbient:(float)newAmbient;
31
32 - (float)shadowHeight; /* Height above the canvas. Defaults to 1.0 */
33 - (void)setShadowHeight:(float)newHeight;
34
35 - (float)shadowRadius; /* Blur radius. Defaults to 4.0 */
36 - (void)setShadowRadius:(float)newRadius;
37
38 - (float)shadowSaturation; /* Maximum saturation. Defaults to 1.0 */
39 - (void)setShadowSaturation:(float)newSaturation;
40
41 @end