diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2013-11-14 15:24:53 +0000 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2013-11-19 10:18:28 +0000 |
commit | 6f532f78076d2bb24a8c6cf47c0f45994fa5b707 (patch) | |
tree | 870193262147eba8f35d06f3fd72ffba8369ebee /platform/ios/Classes/MuTextSelectView.h | |
parent | e4c8dcc641b9cd3c7645b034b6f632e0965a059b (diff) | |
download | mupdf-6f532f78076d2bb24a8c6cf47c0f45994fa5b707.tar.xz |
iOS: add support for creating markup annotations
Diffstat (limited to 'platform/ios/Classes/MuTextSelectView.h')
-rw-r--r-- | platform/ios/Classes/MuTextSelectView.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/platform/ios/Classes/MuTextSelectView.h b/platform/ios/Classes/MuTextSelectView.h new file mode 100644 index 00000000..95710bd3 --- /dev/null +++ b/platform/ios/Classes/MuTextSelectView.h @@ -0,0 +1,21 @@ +// +// MuTextSelectView.h +// MuPDF +// +// Copyright (c) 2013 Artifex Software, Inc. All rights reserved. +// + +#include "common.h" + +@interface MuTextSelectView : UIView +{ + NSArray *words; + CGSize pageSize; + UIColor *color; + CGPoint start; + CGPoint end; +} +- (id) initWithWords:(NSArray *)_words pageSize:(CGSize)_pageSize; +- (NSArray *) selectionRects; +- (NSString *) selectedText; +@end |