mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
27 lines
869 B
Objective-C
27 lines
869 B
Objective-C
#import "TGPhotoEditorTabController.h"
|
|
|
|
@class PGCameraShotMetadata;
|
|
@class PGPhotoEditor;
|
|
@class TGPhotoEditorPreviewView;
|
|
|
|
@interface TGPhotoCropController : TGPhotoEditorTabController
|
|
|
|
@property (nonatomic, readonly) bool switching;
|
|
@property (nonatomic, readonly) UIImageOrientation cropOrientation;
|
|
|
|
@property (nonatomic, copy) void (^finishedPhotoProcessing)(void);
|
|
@property (nonatomic, copy) void (^cropReset)(void);
|
|
|
|
- (instancetype)initWithPhotoEditor:(PGPhotoEditor *)photoEditor previewView:(TGPhotoEditorPreviewView *)previewView metadata:(PGCameraShotMetadata *)metadata forVideo:(bool)forVideo;
|
|
|
|
- (void)setAutorotationAngle:(CGFloat)autorotationAngle;
|
|
|
|
- (void)rotate;
|
|
|
|
- (void)setImage:(UIImage *)image;
|
|
- (void)setBackdropImage:(UIImage *)image;
|
|
- (void)setSnapshotImage:(UIImage *)snapshotImage;
|
|
- (void)setSnapshotView:(UIView *)snapshotView;
|
|
|
|
@end
|