-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMSSliceMaker.hx
58 lines (41 loc) · 1.65 KB
/
MSSliceMaker.hx
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@:publicFields
extern class MSSliceMaker{
static function bitmapImageRepForLayers(id:MSLayer,inRect:Dynamic):Dynamic{
return untyped MSSLiceMaker.bitmapRectForLayers_inRect(id,inRect);
}
static function shouldTrimBitmapForPasteboardLayers(id:Dynamic):Bool;
//todo overload
// static function bitmapRectForLayers(id:Dynamic):Dynamic;
// static function bitmapImageRepForLayers(id:Dynamic,trimmedRect:Dynamic):Dynamic{
// return untyped MSSLiceMaker.bitmapImageRepForLayers_trimmedRect(id,trimmedRect);
// }
//TODO overload it
//static function slicesFromExportableLayer:(id)arg1 sizes:(id)arg2;
static inline function slicesFromExportableLayer(l:MSLayer,inRect:GKRect.CGRect):SketchArray<MSExportRequest>{
return untyped MSSliceMaker.slicesFromExportableLayer_inRect(l,inRect);
}
//sketchNExt
// + (id)slicesFromExportableLayer:(id)arg1 sizes:(id)arg2 inRect:(struct CGRect)arg3;
// + (id)slicesFromExportableLayer:(id)arg1 inRect:(struct CGRect)arg2;
// + (id)slicesFromExportableLayer:(id)arg1 sizes:(id)arg2;
// + (id)slicesFromExportableLayer:(id)arg1;
}
/*
SketchNext
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface MSSliceMaker : NSObject
{
}
+ (void)configureSliceOptions:(id)arg1 forLayer:(id)arg2;
+ (id)sliceFromExportSize:(id)arg1 layer:(id)arg2 inRect:(struct CGRect)arg3;
+ (id)slicesFromExportableLayer:(id)arg1 sizes:(id)arg2 inRect:(struct CGRect)arg3;
+ (id)slicesFromExportableLayer:(id)arg1 inRect:(struct CGRect)arg2;
+ (id)slicesFromExportableLayer:(id)arg1 sizes:(id)arg2;
+ (id)slicesFromExportableLayer:(id)arg1;
@end
*/