forked from coo-ona/cooViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLoupeView.h
42 lines (33 loc) · 772 Bytes
/
LoupeView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// LoupeView.h
// cooViewer
//
// Created by coo on 2020/01/02.
//
#import "Controller.h"
#import <Cocoa/Cocoa.h>
@interface LoupeView : NSView
{
NSPoint mPoint;
NSRect fRect;
NSRect sRect;
float lensRate;
int rotateMode;
Controller *targetController;
NSAffineTransform *transform;
int lensSize;
int interpolation;
NSRect parentFrame;
BOOL ignoreImageDpi;
}
-(void)setTargetController:(Controller *)c;
-(void)setMPoint:(NSPoint)p;
-(void)setFRect:(NSRect)fr;
-(void)setSRect:(NSRect)sr;
-(void)setLensRate:(float)lr;
-(void)setLensSize:(int)ls;
-(void)setRotateMode:(int)rm;
-(void)setInterpolation:(int)index;
-(void)setIgnoreImageDpi:(BOOL)ignoreImageDpi;
-(void)setParentFrame:(NSRect)pf;
@end