mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00

git-subtree-dir: submodules/LegacyComponents git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9 git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
16 lines
361 B
Objective-C
16 lines
361 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import <CoreGraphics/CoreGraphics.h>
|
|
|
|
@class TGPainting;
|
|
|
|
@interface TGPaintSlice : NSObject
|
|
|
|
@property (nonatomic, readonly) CGRect bounds;
|
|
@property (nonatomic, readonly) NSData *data;
|
|
|
|
- (instancetype)initWithData:(NSData *)data bounds:(CGRect)bounds;
|
|
|
|
- (instancetype)swappedSliceForPainting:(TGPainting *)painting;
|
|
|
|
@end
|