Skip to content

Instantly share code, notes, and snippets.

@aegzorz
aegzorz / UIImage+Additions.h
Created May 30, 2012 17:19
UIImage+Additions.h
typedef void (^UIImageDrawBlock)( CGContextRef ctx, CGRect rect );
@interface UIImage (Additions)
+ (UIImage*)imageWithSize:(CGSize)size opaque:(BOOL)opaque scale:(CGFloat)scale draw:(UIImageDrawBlock)draw;
@end