PageRenderTime 10ms CodeModel.GetById 8ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/BWToolkitFramework.framework/Versions/A/Headers/NSImage+BWAdditions.h

http://rtm2cocoa.googlecode.com/
C++ Header | 19 lines | 5 code | 5 blank | 9 comment | 0 complexity | 985ad6a73898294b7e9de99be15d139d MD5 | raw file
 1//
 2//  NSImage+BWAdditions.h
 3//  BWToolkit
 4//
 5//  Created by Brandon Walkin (www.brandonwalkin.com)
 6//  All code is provided under the New BSD license.
 7//
 8
 9#import <Cocoa/Cocoa.h>
10
11@interface NSImage (BWAdditions)
12
13// Draw a solid color over an image - taking into account alpha. Useful for coloring template images.
14- (NSImage *)tintedImageWithColor:(NSColor *)tint;
15
16// Rotate an image 90 degrees clockwise or counterclockwise
17- (NSImage *)rotateImage90DegreesClockwise:(BOOL)clockwise;
18
19@end