summaryrefslogtreecommitdiff
path: root/platform/ios/Classes/MuAnnotation.m
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/Classes/MuAnnotation.m')
-rw-r--r--platform/ios/Classes/MuAnnotation.m31
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