//
//  CRBackgroundProviderCIGenerator.h
//  CRGraphics
//
//  Created by Yaroslav Glushchenko on 4/7/10.
//  Copyright 2010 Corner-A. All rights reserved.
//

#import "CRBackgroundProvider.h"

//////////////////////////////////////////////////////////////////////
// CIFilter-based background provider
//////////////////////////////////////////////////////////////////////
@interface CRBackgroundProviderCIGenerator : CRBackgroundProvider
{
@protected
	CIFilter* generator;
	CIFilter* crop;
}

@property (readonly) CIFilter* generator;

- (id)initWithGeneratorName:(NSString *)filterName;
- (CIImage *)imageOfSize:(CGSize)size;

@end