Swiftgram/LegacyComponents/PGPhotoEditorValues.h
2017-07-22 01:05:13 +03:00

15 lines
633 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;
@end