diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2013-11-22 13:12:14 +0000 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2013-11-22 13:12:14 +0000 |
commit | 6fc675335c3403887d641cc2e7ecb35a8464dd65 (patch) | |
tree | dccb684820e210d5a11b7d3803431b62839ca6b2 /platform/ios/Classes/MuAnnotation.h | |
parent | 26a6b6464c868552487acd91b3738fdee78757d3 (diff) | |
download | mupdf-6fc675335c3403887d641cc2e7ecb35a8464dd65.tar.xz |
iOS: support annotation deletion
Diffstat (limited to 'platform/ios/Classes/MuAnnotation.h')
-rw-r--r-- | platform/ios/Classes/MuAnnotation.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/platform/ios/Classes/MuAnnotation.h b/platform/ios/Classes/MuAnnotation.h new file mode 100644 index 00000000..0f37b9a5 --- /dev/null +++ b/platform/ios/Classes/MuAnnotation.h @@ -0,0 +1,22 @@ +// +// MuAnnotation.h +// MuPDF +// +// Created by Paul Gardiner on 20/11/2013. +// Copyright (c) 2013 Artifex Software, Inc. All rights reserved. +// + +#include "common.h" +#include "mupdf/pdf.h" +#import <Foundation/Foundation.h> + +@interface MuAnnotation : NSObject +{ + int type; + CGRect rect; +} +-(id) initFromAnnot:(fz_annot *)annot forDoc:(fz_document *)doc; +@property(readonly) int type; +@property(readonly) CGRect rect; ++(MuAnnotation *) annotFromAnnot:(fz_annot *)annot forDoc:(fz_document *)doc; +@end |