mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-03 07:06:04 +00:00
Prepare for new GlyphContext.
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "RNSVGGroup.h"
|
||||
#import "RNSVGTextAnchor.h"
|
||||
#import "RNSVGGlyphContext.h"
|
||||
|
||||
@interface RNSVGText : RNSVGGroup
|
||||
|
||||
@@ -18,15 +17,10 @@
|
||||
@property (nonatomic, strong) NSArray<NSString *> *deltaY;
|
||||
@property (nonatomic, strong) NSArray<NSString *> *positionX;
|
||||
@property (nonatomic, strong) NSArray<NSString *> *positionY;
|
||||
@property (nonatomic, strong) NSDictionary *font;
|
||||
|
||||
- (RNSVGText *)getTextRoot;
|
||||
- (void)releaseCachedPath;
|
||||
- (CGPathRef)getGroupPath:(CGContextRef)context;
|
||||
|
||||
- (RNSVGGlyphContext *)getGlyphContext;
|
||||
- (void)pushGlyphContext;
|
||||
- (void)popGlyphContext;
|
||||
- (CTFontRef)getFontFromContext;
|
||||
- (CGPoint)getGlyphPointFromContext:(CGPoint)offset glyphWidth:(CGFloat)glyphWidth;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user