mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
29 lines
1.3 KiB
C
29 lines
1.3 KiB
C
//#import "TGPhotoEditorTabController.h"
|
|
//
|
|
//#import <LegacyComponents/LegacyComponentsContext.h>
|
|
//
|
|
//@class PGPhotoEditor;
|
|
//@class TGPhotoEditorPreviewView;
|
|
//
|
|
//@protocol TGPhotoPaintStickersContext;
|
|
//
|
|
//@interface TGPhotoPaintController : TGPhotoEditorTabController
|
|
//
|
|
//@property (nonatomic, strong) id<TGPhotoPaintStickersContext> stickersContext;
|
|
//
|
|
//- (instancetype)initWithContext:(id<LegacyComponentsContext>)context photoEditor:(PGPhotoEditor *)photoEditor previewView:(TGPhotoEditorPreviewView *)previewView entitiesView:(TGPhotoEntitiesContainerView *)entitiesView;
|
|
//
|
|
//- (TGPaintingData *)paintingData;
|
|
//
|
|
//+ (CGRect)photoContainerFrameForParentViewFrame:(CGRect)parentViewFrame toolbarLandscapeSize:(CGFloat)toolbarLandscapeSize orientation:(UIInterfaceOrientation)orientation panelSize:(CGFloat)panelSize hasOnScreenNavigation:(bool)hasOnScreenNavigation;
|
|
//
|
|
//+ (CGSize)fittedContentSize:(CGRect)cropRect orientation:(UIImageOrientation)orientation originalSize:(CGSize)originalSize;
|
|
//+ (CGRect)fittedCropRect:(CGRect)cropRect originalSize:(CGSize)originalSize keepOriginalSize:(bool)originalSize;
|
|
//+ (CGPoint)fittedCropRect:(CGRect)cropRect centerScale:(CGFloat)scale;
|
|
//+ (CGSize)maximumPaintingSize;
|
|
//
|
|
//@end
|
|
//
|
|
//extern const CGFloat TGPhotoPaintTopPanelSize;
|
|
//extern const CGFloat TGPhotoPaintBottomPanelSize;
|