//
//  CRCommonDraw+CoreImage.h
//  CRGraphics
//
//  Created by Yaroslav Glushchenko on 5/10/09.
//  Copyright 2009 Corner-A. All rights reserved.
//

extern NSString* const CRColorSpaceDeviceRGB;

//////////////////////////////////////////////////////////////////////
// CoreImage support
//////////////////////////////////////////////////////////////////////
@interface CRCommonDraw (CRGraphics)

+ (CIContext *)coreContextFor:(NSGraphicsContext *)context colorSpace:(NSString *)colorSpaceName forceSoftware:(BOOL)forceSoftware;
+ (CIContext *)coreContextFor:(NSGraphicsContext *)context forceSoftware:(BOOL)forceSoftware;
+ (CIContext *)coreContextFor:(NSGraphicsContext *)context;
+ (CIContext *)coreContext;

@end