You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
847 B
43 lines
847 B
/**
|
|
* Copyright (c) 2015-present, Horcrux.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the MIT-style license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import "RNSVGBrush.h"
|
|
#import <React/RCTDefines.h>
|
|
|
|
@implementation RNSVGBrush
|
|
|
|
- (instancetype)initWithArray:(NSArray *)data
|
|
{
|
|
return [super init];
|
|
}
|
|
|
|
- (void)paint:(CGContextRef)context opacity:(CGFloat)opacity painter:(RNSVGPainter *)painter bounds:(CGRect)bounds
|
|
{
|
|
}
|
|
|
|
- (BOOL)applyFillColor:(CGContextRef)context opacity:(CGFloat)opacity
|
|
{
|
|
return NO;
|
|
}
|
|
|
|
- (BOOL)applyStrokeColor:(CGContextRef)context opacity:(CGFloat)opacity
|
|
{
|
|
return NO;
|
|
}
|
|
|
|
- (CGColorRef)getColorWithOpacity:(CGFloat)opacity
|
|
{
|
|
return nil;
|
|
}
|
|
|
|
- (void)paint:(CGContextRef)context opacity:(CGFloat)opacity painter:(RNSVGPainter *)painter
|
|
{
|
|
// abstract
|
|
}
|
|
@end
|