//
//  GSSVGtoPath.h
//  GlyphsCore
//
//  Created by Georg Seifert on 16.11.11.
//  Copyright 2011 schriftgestaltung.de. All rights reserved.
//

#import <GlyphsCore/GSOutlineImporter.h>
#if TARGET_OS_IOS
#import <KissXML/KissXML.h>
#endif

@class GSPathPen;
@class GSLayer;

@interface GSSVGtoPath : NSObject <GSOutlineImporter>

@property NSRect bounds;

@property (copy) NSDictionary *styles;

@property (strong, nonatomic) NSMutableDictionary *resources;

@property (retain) NSURL *fileURL;

#if !TARGET_OS_IOS // TODO
- (void)setUpPen:(GSLayer *)layer scale:(CGFloat)scale offsetX:(CGFloat)offsetX offsetY:(CGFloat)offsetY;

- (BOOL)drawSVGNode:(NSXMLElement *)node error:(NSError **)error;

- (BOOL)drawPathString:(NSString *)pathString error:(NSError **)error;
#endif

@end
