//
//  table__m_a_x_p.h
//  GSFontTools
//
//  Created by Georg Seifert on 24.07.11.
//  Copyright 2011 schriftgestaltung.de. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "TTable.h"

@class TTFont;

@interface table__m_a_x_p : TTable {

	NSInteger _tableVersion;
	NSUInteger _glyphCount;
	u_int16_t _maxPoints;
	u_int16_t _maxContours;
	u_int16_t _maxCompositePoints; 
	u_int16_t _maxCompositeContours;
	u_int16_t _maxZones;
	u_int16_t _maxTwilightPoints;
	u_int16_t _maxStorage;
	u_int16_t _maxFunctionDefs;
	u_int16_t _maxInstructionDefs;
	u_int16_t _maxStackElements;
	u_int16_t _maxSizeOfInstructions;
	u_int16_t _maxComponentElements;
	u_int16_t _maxComponentDepth;
}

@property (nonatomic, assign) NSUInteger glyphCount;
@property (nonatomic, assign) NSInteger tableVersion;
@property (nonatomic, assign) u_int16_t maxPoints;
@property (nonatomic, assign) u_int16_t maxContours;
@property (nonatomic, assign) u_int16_t maxCompositePoints;
@property (nonatomic, assign) u_int16_t maxCompositeContours;
@property (nonatomic, assign) u_int16_t maxZones;
@property (nonatomic, assign) u_int16_t maxTwilightPoints;
@property (nonatomic, assign) u_int16_t maxStorage;
@property (nonatomic, assign) u_int16_t maxFunctionDefs;
@property (nonatomic, assign) u_int16_t maxInstructionDefs;
@property (nonatomic, assign) u_int16_t maxStackElements;
@property (nonatomic, assign) u_int16_t maxSizeOfInstructions;
@property (nonatomic, assign) u_int16_t maxComponentElements;
@property (nonatomic, assign) u_int16_t maxComponentDepth;

- (void) recalc:(TTFont*)Font ;
@end
