//
//  ScrollView.h
//  traceWrite
//
//  Created by 今井 彰彦 on 2011/12/12.
//  Copyright (c) 2011 AIG-Soft. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ScrollView : UIScrollView
{
	CGSize		orgSize;	// オリジナルのビューサイズ
	BOOL		ftategaki;	// 縦書きかどうか
}
@property (nonatomic) NSInteger index;	// ビューのインデックス番号

-(void)initWithArea:(CGSize)size delegate:(id)delegate_ ftategaki:(BOOL)ftategaki_;
-(void)resetContentSize;
-(NSInteger)indexSet:(NSArray *)viewArray;
-(void)homeScrollPoint:(CGSize)size;
-(void)contentSizeRecalc;
-(void)contentSizeRecalcAtZoom:(CGFloat)zoom;
-(void)contentSizeRecalcWithZoom:(CGFloat)zoom;
//
-(CGPoint)getZoomCenter;
-(CGPoint)setContentOffsetWithPoint:(CGPoint)point;

@end
