//
//  CRImageFilterCaption.h
//  CRGraphics
//
//  Created by Yaroslav Glushchenko on 9/10/09.
//  Copyright 2009 Corner-A. All rights reserved.
//

#import "CRCIImageFilter.h"

@class CRTextGenerator;

extern NSString* const CRImageFilterInscriptorTextGeneratorKey;

//////////////////////////////////////////////////////////////////////
// CRImageFilterCaption
//////////////////////////////////////////////////////////////////////
@interface CRImageFilterCaption : CRCIImageFilter
{
	CRTextGenerator* textGenerator;
}

// Properties
@property (nonatomic, strong) CRTextGenerator*	textGenerator;
@property (nonatomic, assign) CGFloat			textOffsetX;
@property (nonatomic, assign) CGFloat			textOffsetY;

@end