Swiftgram/LegacyComponents/PGPhotoEditorValues.h
Ilya Laktyushin 50c8bb3afb no message
2017-12-11 20:18:49 +04:00

15 lines
659 B
Objective-C

#import <LegacyComponents/TGMediaEditingContext.h>
@class TGPaintingData;
@interface PGPhotoEditorValues : 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 cropMirrored:(bool)cropMirrored toolValues:(NSDictionary *)toolValues paintingData:(TGPaintingData *)paintingData sendAsGif:(bool)sendAsGif;
@end