diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-01-09 13:27:17 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-01-09 17:46:26 +0100 |
commit | 9d96d035d3b7af53256ee64b5ddb0ad8bcf8df38 (patch) | |
tree | 408cbbb72315089db1b8efe58bce322f8734bb1b /platform/ios/Classes/MuAnnotation.m | |
parent | 50b39c939345c36eb5e95c8a71ccdb8cd24c9aad (diff) | |
download | mupdf-9d96d035d3b7af53256ee64b5ddb0ad8bcf8df38.tar.xz |
Remove platform/ios directory.
The iOS viewer has been moved to its own git repository.
Diffstat (limited to 'platform/ios/Classes/MuAnnotation.m')
-rw-r--r-- | platform/ios/Classes/MuAnnotation.m | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/platform/ios/Classes/MuAnnotation.m b/platform/ios/Classes/MuAnnotation.m deleted file mode 100644 index 57fd7ea6..00000000 --- a/platform/ios/Classes/MuAnnotation.m +++ /dev/null @@ -1,31 +0,0 @@ -#import "MuAnnotation.h" - -@implementation MuAnnotation -{ - int type; - CGRect rect; -} - -@synthesize type, rect; - --(instancetype) initFromAnnot:(fz_annot *)annot; -{ - self = [super init]; - if (self) - { - fz_rect frect; - type = pdf_annot_type(ctx, (pdf_annot *)annot); - fz_bound_annot(ctx, annot, &frect); - rect.origin.x = frect.x0; - rect.origin.y = frect.y0; - rect.size.width = frect.x1 - frect.x0; - rect.size.height = frect.y1 - frect.y0; - } - return self; -} - -+(MuAnnotation *) annotFromAnnot:(fz_annot *)annot; -{ - return [[[MuAnnotation alloc] initFromAnnot:annot] autorelease]; -} -@end |