Merge commit '7621e2f8dec938cf48181c8b10afc9b01f444e68' into beta

This commit is contained in:
Ilya Laktyushin
2025-12-06 02:17:48 +04:00
commit 8344b97e03
28070 changed files with 7995182 additions and 0 deletions
@@ -0,0 +1,29 @@
#import <LegacyComponents/TGPhotoEditorTabController.h>
#import <LegacyComponents/LegacyComponentsContext.h>
@class PGCameraShotMetadata;
@class PGPhotoEditor;
@class TGPhotoEditorPreviewView;
@interface TGPhotoCropController : TGPhotoEditorTabController
@property (nonatomic, readonly) bool switching;
@property (nonatomic, readonly) UIImageOrientation cropOrientation;
@property (nonatomic, copy) void (^finishedPhotoProcessing)(void);
@property (nonatomic, copy) void (^cropReset)(void);
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context photoEditor:(PGPhotoEditor *)photoEditor previewView:(TGPhotoEditorPreviewView *)previewView metadata:(PGCameraShotMetadata *)metadata forVideo:(bool)forVideo;
- (void)setAutorotationAngle:(CGFloat)autorotationAngle;
- (void)rotate;
- (void)mirror;
- (void)aspectRatioButtonPressed;
- (void)setImage:(UIImage *)image;
- (void)setSnapshotImage:(UIImage *)snapshotImage;
- (void)setSnapshotView:(UIView *)snapshotView;
@end