mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-08 20:39:31 +00:00

git-subtree-dir: submodules/LegacyComponents git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9 git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
15 lines
659 B
Objective-C
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
|