//
//  COGlyph.h
//  GSFontTools
//
//  Created by Georg Seifert on 01.03.12.
//  Copyright (c) 2012 schriftgestaltung.de. All rights reserved.
//

@class COFont;
@class OTBasePen;
@class NSBezierPath;

@interface COGlyph : NSObject
// class Glyph(object):

@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) id source;
@property (nonatomic, readonly) CGFloat width;
@property (nonatomic, assign) COFont *font;
@property (nonatomic, assign) NSUInteger index;
@property (nonatomic, retain) NSBezierPath *bezierPath;

- (instancetype)initWithName:(NSString *)name index:(NSUInteger)idx TTGlyph:(id)source parent:(COFont *)parent;
- (void)draw:(OTBasePen *)pen;
- (NSRect)bounds;

@end
