//
//  PDFTiledView.h
//  PDFReader
//
//  Created by Dong Li on 12-4-8.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@interface PDFTiledView : UIView {
    CGPDFDocumentRef _PDFDocument;
    CGPDFPageRef _PDFPage;
    CGFloat _scale;
    CGFloat _rotate;
    CGPoint _offset;
    CAShapeLayer *_shapeLayer;
}

- (id)initWithFrame:(CGRect)frame document:(CGPDFDocumentRef)document page:(CGPDFPageRef)page;
- (void)setScale:(CGFloat)scale rotate:(CGFloat)rotate offset:(CGPoint)offset;

@end
