//
//  GSFlattenPen.h
//  GlyphsCore
//
//  Created by Georg Seifert on 13.05.15.
//  Copyright (c) 2015 schriftgestaltung.de. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "GSPenProtocol.h"

@interface GSFlattenPen : NSObject <GSPenProtocol> {
	CGFloat _threshold;
	NSPoint _lastPoint;
	NSObject<GSPenProtocol> *_outPen;
}
@property (nonatomic) CGFloat threshold;

- (instancetype)initWithOutPen:(NSObject<GSPenProtocol> *)outPen threshold:(CGFloat)threshold;
@end
