blob: 1bd626fdd0899dc172185229ee9a9d4b719a3aae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
//
// MuPageView.h
// MuPDF
//
// Copyright (c) 2013 Artifex Software, Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
#undef ABS
#undef MIN
#undef MAX
#include "mupdf/fitz.h"
#import "MuHitView.h"
#import "MuPageView.h"
#import "MuDocRef.h"
@interface MuPageViewNormal : UIScrollView <UIScrollViewDelegate,MuPageView>
{
MuDocRef *docRef;
fz_document *doc;
fz_page *page;
int number;
UIActivityIndicatorView *loadingView;
UIImageView *imageView;
UIImageView *tileView;
MuHitView *hitView;
MuHitView *linkView;
CGSize pageSize;
CGRect tileFrame;
float tileScale;
BOOL cancel;
}
- (id) initWithFrame: (CGRect)frame document: (MuDocRef *)aDoc page: (int)aNumber;
- (void) displayImage: (UIImage*)image;
- (void) resizeImage;
- (void) loadPage;
- (void) loadTile;
@end
|