mirror of
https://github.com/danog/Telegram.git
synced 2024-12-12 17:37:33 +01:00
16 lines
582 B
Objective-C
16 lines
582 B
Objective-C
#import "TGMediaEditingContext.h"
|
|
|
|
@interface PGPhotoEditorValues : NSObject <TGMediaEditAdjustments>
|
|
|
|
@property (nonatomic, readonly) CGFloat cropRotation;
|
|
|
|
@property (nonatomic, readonly) NSDictionary *toolValues;
|
|
|
|
- (bool)toolsApplied;
|
|
|
|
- (bool)isCropEqualWith:(id<TGMediaEditAdjustments>)adjusments;
|
|
|
|
+ (instancetype)editorValuesWithOriginalSize:(CGSize)originalSize cropRect:(CGRect)cropRect cropRotation:(CGFloat)cropRotation cropOrientation:(UIImageOrientation)cropOrientation cropLockedAspectRatio:(CGFloat)cropLockedAspectRatio toolValues:(NSDictionary *)toolValues;
|
|
|
|
@end
|