#import "TGPhotoEditorTabController.h" #import @class PGPhotoEditor; @class TGPhotoEditorPreviewView; @interface TGPhotoPaintController : TGPhotoEditorTabController - (instancetype)initWithContext:(id)context photoEditor:(PGPhotoEditor *)photoEditor previewView:(TGPhotoEditorPreviewView *)previewView; - (TGPaintingData *)paintingData; + (CGRect)photoContainerFrameForParentViewFrame:(CGRect)parentViewFrame toolbarLandscapeSize:(CGFloat)toolbarLandscapeSize orientation:(UIInterfaceOrientation)orientation panelSize:(CGFloat)panelSize hasOnScreenNavigation:(bool)hasOnScreenNavigation; @end extern const CGFloat TGPhotoPaintTopPanelSize; extern const CGFloat TGPhotoPaintBottomPanelSize;