mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
19 lines
674 B
Objective-C
19 lines
674 B
Objective-C
#import "TGMediaEditingContext.h"
|
|
|
|
@interface TGPhotoEditAdjustments : NSObject <TGMediaEditAdjustments>
|
|
|
|
@property (nonatomic, readonly) CGFloat cropRotation;
|
|
|
|
@property (nonatomic, readonly) NSDictionary *toolValues;
|
|
|
|
- (bool)toolsApplied;
|
|
|
|
+ (instancetype)editorValuesWithOriginalSize:(CGSize)originalSize
|
|
cropRect:(CGRect)cropRect
|
|
cropRotation:(CGFloat)cropRotation
|
|
cropOrientation:(UIImageOrientation)cropOrientation
|
|
cropLockedAspectRatio:(CGFloat)cropLockedAspectRatio
|
|
toolValues:(NSDictionary *)toolValues;
|
|
|
|
@end
|