2024-05-02 15:08:24 +00:00
|
|
|
/**
|
|
|
|
* 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 <CoreText/CoreText.h>
|
2024-11-20 14:28:34 +00:00
|
|
|
#import <QuartzCore/QuartzCore.h>
|
2024-05-02 15:08:24 +00:00
|
|
|
#import <React/RCTConvert.h>
|
2024-11-20 14:28:34 +00:00
|
|
|
#import "RCTConvert+RNSVG.h"
|
2024-05-02 15:08:24 +00:00
|
|
|
#import "RNSVGCGFCRule.h"
|
2024-11-20 14:28:34 +00:00
|
|
|
#import "RNSVGColorMatrixType.h"
|
|
|
|
#import "RNSVGEdgeMode.h"
|
2024-05-02 15:08:24 +00:00
|
|
|
#import "RNSVGLength.h"
|
2024-11-20 14:28:34 +00:00
|
|
|
#import "RNSVGMaskType.h"
|
2024-05-02 15:08:24 +00:00
|
|
|
#import "RNSVGPathParser.h"
|
2024-11-20 14:28:34 +00:00
|
|
|
#import "RNSVGUnits.h"
|
|
|
|
#import "RNSVGVBMOS.h"
|
2024-05-02 15:08:24 +00:00
|
|
|
|
|
|
|
@class RNSVGBrush;
|
|
|
|
|
|
|
|
@interface RCTConvert (RNSVG)
|
|
|
|
|
2024-11-20 14:28:34 +00:00
|
|
|
+ (RNSVGLength *)RNSVGLength:(id)json;
|
|
|
|
+ (NSArray<RNSVGLength *> *)RNSVGLengthArray:(id)json;
|
2024-05-02 15:08:24 +00:00
|
|
|
+ (RNSVGCGFCRule)RNSVGCGFCRule:(id)json;
|
|
|
|
+ (RNSVGVBMOS)RNSVGVBMOS:(id)json;
|
|
|
|
+ (RNSVGUnits)RNSVGUnits:(id)json;
|
2024-11-20 14:28:34 +00:00
|
|
|
+ (RNSVGMaskType)RNSVGMaskType:(id)json;
|
2024-05-02 15:08:24 +00:00
|
|
|
+ (RNSVGBrush *)RNSVGBrush:(id)json;
|
|
|
|
+ (RNSVGPathParser *)RNSVGCGPath:(NSString *)d;
|
|
|
|
+ (CGRect)RNSVGCGRect:(id)json offset:(NSUInteger)offset;
|
2024-11-20 14:28:34 +00:00
|
|
|
+ (RNSVGColor *)RNSVGColor:(id)json offset:(NSUInteger)offset;
|
2024-05-02 15:08:24 +00:00
|
|
|
+ (CGGradientRef)RNSVGCGGradient:(id)json;
|
|
|
|
|
|
|
|
@end
|