mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
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
|