blob: 0087df1e466dc7bbe496becdfbc691797bb5c639 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//
// MuWord.h
// MuPDF
//
// Copyright (c) 2013 Artifex Software, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface MuWord : NSObject
{
NSMutableString *string;
CGRect rect;
}
@property(retain) NSString *string;
@property(assign) CGRect rect;
+ (MuWord *) word;
- (void) appendChar:(unichar)c withRect:(CGRect)rect;
+ (void) selectFrom:(CGPoint)pt1 to:(CGPoint)pt2 fromWords:(NSArray *)words onStartLine:(void (^)(void))startBlock onWord:(void (^)(MuWord *))wordBlock onEndLine:(void (^)(void))endBLock;
@end
|